@font-face {
    font-family: "mtnbrightersans-regular-webfont";
    src: url('../fonts/mtnbrightersans-regular-webfont.ttf');
}

@font-face {
    font-family: "mtnbrightersans-bold-webfont";
    src: url('../fonts/mtnbrightersans-bold-webfont.ttf');
}

@font-face {
    font-family: "MTN Brighter Sans";
    src: url('../fonts/mtnbrightersans-regular-webfont.ttf');
}

/* Basic reset */
body, h1, p, form, input, button {
    margin: 0;
    padding: 0;
}

body {
    font-family: mtnbrightersans-regular-webfont, Arial, sans-serif;
    background-color: #FEFDF6;
    color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 15vh;
}

/* Center container */
.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 16px 0;
    text-align: center;
}

.padd {
    padding: 8px;
}
.py {
    padding: 16px;
}

/* Header: logo and banner */
.header {
    text-align: center;
    padding: 13px 0;
}

.header .banner {
    width: 320px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border-radius: 8px
}

/* Title and cost info */
.service-title {
    font-weight: normal;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 20px;
    padding-left: 10%;
    padding-right: 10%;
}

.service-wording {
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
}

.service-discount {
    font-size: 24px;
    margin-bottom: 8px;
    display: block;
}

label {
    font-size: 14px;
}

/* Form styles */
.form-label {
    display: block;
    text-align: left;
    font-size: 0.9rem;
    margin: 10px 0 5px;
}

.input-field {
    width: 100%;
    padding: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
}

.input-field:focus {
    border-color: #66AFE9;
    outline: none;
}

/* Buttons */
.btn, .btn:disabled {
    font-family: mtnbrightersans-regular-webfont, Arial, sans-serif;
    display: inline-block;
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    text-align: left;
}
.btn.validated {
    background: url("../images/mutli-sub-btn-icon-right.png");
    background-position-y: center;
    background-position-x: 95%;
    background-repeat: no-repeat;
    text-align: left;
    padding-left: 15px;
    background-color: #FFCB03 !important;
}
.btn:disabled {
    background-color: lightgrey;
}
.btn-primary {
    background-color: #FFCC00;
    color: #000000;
}

.btn-primary:active {
    background-color: #e6b800;
}
#btn-send{
    text-align: left;
    padding-left: 15px;
    min-width: 250px;
    background-color: rgba(0,0,0,.12)!important;
    max-width: 60%;
    border-radius: 30px;
}

#btn-send.validated {
    background-color: #FFCB03 !important;
}

#phone {
    padding: 13px 18px;
    border: 3px solid #ffcb03;
    border-radius: 16px;
    font-size: 20px;
    background: white;
    outline: none;
    color: #333;
    text-align: left;
    transition: border-color 0.2s;
}

.autorenewal-text{
    font-size: 10px;
}
#phone-error {
    display: none;
}

.form-step-pin{
    display: none;
}
#subscribe-form-pin {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pin-input{
    margin: 8px;
    width: 8vw;
    height: 8vw;
    max-width: 45px;
    min-width: 30px;
    max-height: 45px;
    min-height: 30px;
    border-radius: 6px;
    border: solid 1px #999999;
    font-size: 16px;
    padding: 1px;
    color: #999999;
    text-align: center;
}
/* Errors & info */
.error-message {
    display: none;
    color: #D8000C;
    font-size: 0.85rem;
    margin-top: 5px;
    text-align: left;
}

.text-error {
    color: #d21c1c;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin: 0 2px;
}

#phone .error {
    border: 2px solid #d21c1c !important;
    box-shadow: none !important;
    outline: 0;
}

.info-text {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.info-text #display-phone {
    font-weight: bold;
}

/* Success */
.success-message {
    display: none;
    margin: 20px 0;
    font-size: 1rem;
    color: #006600;
    font-weight: bold;
}

.warning-message {
    display: none;
    margin: 20px 0;
    font-size: 1rem;
    color: #dc843b;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    padding: 15px 5px;
    margin-top: 30px;
    font-size: 11px;
    width: 100%;
}

.footer-logo {
    margin: 10px auto;
}

.footer .legal {
    margin-bottom: 8px;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (min-width: 1280px) {
    .selector {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .selector > .content.desktop {
        width: 187px;
        height: 222px;
        border: 1px #eaeaea solid;
        background-color: #fff;
    }

    .selector > .content.mobile .mobile {
        display: none;
    }

    .selector > .content.desktop .label {
        position: absolute;
        top: 40px;
        left: 12px;
        width: 163px;
    }

    .selector > .content.mobile .label .mobile {
        display: none;
    }

    .selector > .content.desktop .label .desktop {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .selector > .content.desktop .label .desktop .desktopTitle {
        font-size: 18px;
        line-height: 10.6px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .selector > .content.desktop .label .desktop .underTitle {
        font-size: 12px;
        font-weight: 400;
        line-height: 15px;
        letter-spacing: 0em;
    }

    .selector > .content.desktop .label .desktop .pricing {
        margin: 32px 0 21px 0;
        font-size: 41px;
        font-weight: 500;
        line-height: 31px;
        letter-spacing: 0em;
    }

    .selector > .content.desktop .label .desktop .optionStatus {
        padding: 12px 24px;
        border-radius: 105px;
        border: 1px #000000 solid;
        font-size: 14px;
        font-weight: 700;
        line-height: 15px;
        letter-spacing: 0em;
        transition: all 0.4s ease-in-out;
    }

    /* transition: margin 4s ease-in-out; */
    .selector > .content.desktop .label .desktop .optionStatus.checked {
        background-color: #ffcb03;
        border: none;
        padding: 8px 12px;
        width: 90px;
        margin: 0 auto;
    }

    .selector > .content.mobile > .checked > svg.desktop-icon {
        width: unset;
        height: unset;
        opacity: 0;
        animation: fade-in 400ms forwards;
    }

    .selector > .content.mobile > .unchecked > svg.mobile-icon {
        display: none;
    }

    svg.desktop-icon {
        position: absolute;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 1279px) {
    .selector > .content.mobile.desktop {
        padding: 8px 16px;
        margin-left: 16px;
        margin-right: 16px
    }

    .selector > .content.mobile > .checked {
        border-radius: 48px;
        padding: 4px 6px;
        font-weight: 700;
        color: #000000;
        width: 51px;
        text-align: center;
        font-size: 10px;
        letter-spacing: 0.6px;
        opacity: 0;
        animation: fade-in 400ms forwards;
    }

    .selector > .content.mobile > .checked > svg.desktop-icon {
        display: none;
    }

    .selector > .content.mobile > .unchecked > svg.mobile-icon {
        width: unset;
        height: unset;
        opacity: 0;
        animation: fade-in 400ms forwards;
    }

    .selector > .content.mobile .label .mobile {
        display: flex;
        flex-direction: column;
    }

    .selector > .content.mobile .label .desktop {
        display: none;
    }

    .selector > .content.mobile:not(:last-child) {
        margin-bottom: 8px;
    }

    .selector > .content.mobile .mobile div.mobileTitle {
        font-weight: 700;
        line-height: 20px;
        text-align: left;
    }

    .selector > .content.mobile .mobile div.underTitle {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
    }
}

.selector > .content.mobile.desktop {
    display: flex;
    flex-direction: row-reverse;
    background-color: white;
    border-radius: 8px;
    border: 2px #eaeaea solid;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.selector > .content.mobile.checked {
    border: 2px #ffcb03 solid;
}

.selector > .content.mobile > input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
    box-sizing: border-box;
    display: block;
    margin: 0;
    right: 28px;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.selector > .content.mobile {
    transition: border 0.4s ease-in-out;
}

input[type="checkbox"]#autorenewal {
    pointer-events: none;
}


.autorenewal-text {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111111;
    gap: 5px;
    flex-direction: row-reverse;
}

/* toggle in label designing */
.toggle {
    position: relative;
    display: inline-block;
    width: 47px;
    height: 24px;
    background-color: #F0F2F4;
    border-radius: 30px;
    border: 1px solid #F0F2F4;
    display: flex;
    justify-content: space-evenly;
}

/* After slide changes */
.toggle:after {
    content: url('../images/Check.svg');
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: white;
    font-size: 16px;
    top: 1px;
    left: 1px;
    transition: all 0.5s;
}

.toggle.active:after {
    left: 1px!important;
}

/* Toggle text */
label.toggle > div {
    font-weight: bold;
    align-self: center;
    color: white;
    font-size: 10px;
}

label.toggle > div#toggle-off {
    color: #969696;
}


.toggle::after {
    left: 24px;
}


.toggle {
    background-color: #6B6B6B;
}


#toggle-off {
    transition: all 0.01s;
}

.loader {
    display: none;
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid;
    border-color: #FF3D00 transparent;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
