.alfapay_btn {
	background-color: rgb(33, 33, 36);
    cursor: pointer;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    user-select: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    border: none;
    min-width: 72px;
    padding: 0px;
    opacity: 1;
    width: 100%;
    height: 52px;
    border-radius: 12px;
	margin-bottom: 16px;
}

.alfapay_btn-cont {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	opacity: 1;
}

.alfapay_btn:hover .alfapay_btn-cont {
	opacity: .8;
}

.alfapay_btn-top {
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding-bottom: 1px;
}

.alfapay_btn-text {
	color: rgb(255, 255, 255);
    font-weight: 500;
    line-height: 18px;
    height: 18px;
    margin-right: 4px;
    letter-spacing: -0.5px;
    font-family: "Styrene UI", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;
    font-feature-settings: "ss01";
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
}

.alfapay_btn-icon {
	display: flex;
    height: 18px;
	width: 73px;
	background-image: url('../img/alfapay.svg');
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

html[data-appearance-theme="dark"] .alfapay_btn-icon {
    background-image: url('../img/alfapay_white.svg');
}

html[data-appearance-theme="dark"] .alfapay_btn {
    background-color: #ef3124;
}

.alfapay_btn-bottom {
	opacity: 0.76;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.alfapay_btn-tip {
	color: rgba(255, 255, 255, 0.94);
    font-weight: 500;
    line-height: 14px;
    font-size: 12px;
    letter-spacing: -0.35px;
    font-family: "Styrene UI", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;
    font-feature-settings: "ss01";
    -webkit-font-smoothing: antialiased;
}

.alfaPayErrorWrap {
    left: 50%;
    top: 0;
    box-sizing: border-box;
    color: #fff;
    padding: 4px;
    padding-top: 1em;
    position: fixed;
    min-width: 350px;
    z-index: 9999;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    animation-name: alfaPayErrorSlideTop;
    transform: translate(-50%, -100%);
}

.alfaPayErrorShow {
    animation-name: alfaPayErrorSlideBottom;
    transform: translate(-50%, -0%);
}

.alfaPayErrorBody {
    line-height: 20px;
    margin: auto 0;
}

.alfaPayError {
    border-radius: 5px;
    box-shadow: 0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);
    box-sizing: border-box;
    cursor: pointer;
    direction: ltr;
    display: flex;
    font-family: MTS Sans,sans-serif;
    font-size: 16px;
    justify-content: space-between;
    max-height: 800px;
    min-height: 64px;
    overflow: hidden;
    padding: 14px;
    padding-right: 8px;
    position: relative;
    background: #ef3124;
}

.alfaPayErrorCloseButton {
    display: flex;
    align-self: flex-start;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: .7;
    outline: none;
    padding: 0;
    transition: .3s ease;
}

.alfaPayErrorCloseButton>svg {
    fill: currentColor;
    height: 16px;
    width: 14px;
}

.alfaPayErrorCloseButton:hover {
    opacity: 1;
}

.alfaPayApiDescription {
    font-size: 12px;
}

@keyframes alfaPayErrorSlideTop {
    from {
        transform: translate(-50%, 0%);
    }
    to {
        transform: translate(-50%, -100%);
    }
}

@keyframes alfaPayErrorSlideBottom {
    from {
        transform: translate(-50%, -100%);
    }
    to {
        transform: translate(-50%, 0%);
    }
}

@media (max-width: 430px) { 
    .alfaPayErrorWrap {
        width: 100%;
        padding: 0;
    }
    .alfaPayError {
        border-radius: 0 0 5px 5px;
    }
}
