html,body {margin:0;padding:0}
*,*::before,*::after {box-sizing:border-box}
img {max-width:100%;border:0;display:block}

body{
    font-family: "Roboto", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
    background:#edf1f5;
    color:#0b0b0b;
    -webkit-text-size-adjust:100%; /* iOS zoom */
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 1vh;
}

.container{
    min-width: 80%;
    min-height: 1000px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    position:relative;
}

.card{
    background:#fff;
    border-radius:22px;
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
    overflow:hidden;
    border:1px solid #e9edf2;
    position: relative;
    padding: 0 20px 300px;
    padding-bottom: 22vh;
    min-height: 400px;
    min-height: 78vh;
    max-width: 500px;
    margin:0 auto;
}

.hero{
    display:flex;
    height:110px;
    overflow:hidden;
}
.hero img{
    flex:1;
    object-fit:cover;
    height:110px;
}

main{
    padding:18px 16px 22px;
}
footer{
    height:22vh;
    position: absolute;
    bottom:0;
    left:0;
    right:0;
}

.top_img {
    margin:0 auto -20px ;
    position: relative;
    max-width: 500px;
}
.h1{
    font-weight:700;
    text-align:center;
    font-size:24px;
    margin:20px 0 10px;
}
.h2{
    font-weight:normal;
    text-align:center;
    font-size:16px;
    margin:2px 0 6px;
    line-height: 24px;
}
.h2.h2_bold{
    font-weight: bold;
}

.sub{
    text-align:center;
    color:#6b7280;
    font-size:14px;
    line-height:1.4;
    margin:0 6px 14px;
}

.section-title{
    text-align:center;
    font-weight:700;
    font-size:16px;
    margin:4px 0 14px;
}

.packs{display: flex;}
.pack{
    max-width:135px;
    min-width:125px;
    margin:0 auto 18px;
    border-radius:18px;
    background:#0f1a11;
    border:2px solid #1bd45a;
    color:#e5f7eb;
    padding:14px 12px;
    text-align:center;
    position:relative;
    box-shadow: inset 0 0 0 1px rgba(27,212,90,.15);
}

.pack.pack_small{
    width: 105px;
}
.pack .badge{
    position:absolute;
    top:14px; left:50%;
    transform:translateX(-50%);
    background:#0f1a11;
    padding:0 10px;
    font-weight:700;
    font-size:16px;
    color:#c6f6d5;
    letter-spacing:.3px;
}
.check{
    width:30px;
    height:30px;
    margin:30px auto 10px;
    border-radius:50%;
    background:#1bd45a;
    display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 12px rgba(27,212,90,.45);
}
.check svg{width:22px;height:22px;fill:#0f1a11}

.price{
    font-weight:800;
    font-size:22px;
    letter-spacing:.2px;
    margin:2px 0 2px;
}
.per{
    font-size:12px;
    color:#fff;
}

.pill{
    display:inline-block;
    margin-top:10px;
    font-size:12px;
    font-weight:700;
    color:#0f1a11;
    background:#1bd45a;
    padding:7px 14px;
    border-radius:999px;
    box-shadow:0 3px 10px rgba(27,212,90,.45);

}
.pack .pill{
    display:none;
}
.pack.checked .pill{
    display:block;
}

.btn-wrap{padding:0 8px;margin-top:6px}
.btn{
    -webkit-appearance:none; appearance:none;
    display:block;
    width:100%;
    background:#ffbd55;
    background:linear-gradient(#ffbd55,#ffa726);
    font-weight:bold;
    text-transform:uppercase;
    letter-spacing:.6px;
    padding:16px 14px;
    border:0; border-radius:28px;
    box-shadow: 0 10px 20px rgba(255,167,38,.35);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    color:#fff;
    font-size: 18px;
}
.btn:active{transform:translateY(1px)}
.btn.subscribe-btn{
    margin-top: 0;
}
#btn-send{
    width: 310px;
    margin: 10px auto;
    text-transform:none;
}
.notice{
    margin:10px;
    text-align:center;
    font-size:11px;
    color:#6b7280;
    line-height:1.45;
}
.notice.notice_big{
    font-size: 13px;
}
.logo{
    width:84px;
    height:48px;
    margin:10px auto 2px;
    display:flex;align-items:center;justify-content:center;
}
.copy{
    text-align:center;
    font-size:11px;
    color:#9aa3ad;
    padding:8px 0 14px;
    margin:0;
}
.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;
}
#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;
    width: 100%;
    max-width: 400px;
}
#phone.validated {
    border: 3px solid #1bd45a;
}
#phone-error, #step_2 {
    display: none;
}

.pin-input{
    margin: 8px;
    width: 8vw;
    height: 8vw;
    max-width: 70px;
    min-width: 50px;
    max-height: 70px;
    min-height: 50px;
    border-radius: 6px;
    border: solid 2px #ffcb03;
    font-size: 16px;
    padding: 1px;
    color: #999999;
    text-align: center;
}
input[name=sub][type=radio]{
    display: none;
}

.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;
}

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

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

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

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


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

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


#toggle-off {
    transition: all 0.01s;
}
.autorenewal-text{
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111111;
    gap: 5px;
    flex-direction: row-reverse;
}
@media (max-width:360px){
    .pack{width:160px}
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
