.sbc-wrap{
    position:relative;
    width:100vw;
    max-width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    background:linear-gradient(180deg,#f7fbff 0%,#ffffff 180px);
    color:#111;
    padding:36px 16px 80px;
    box-sizing:border-box;
}

.sbc-container{
    width:100%;
    max-width:980px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
}

.sbc-container > *{
    width:100%;
}

.sbc-title{
    font-size:clamp(30px,5vw,42px);
    line-height:1.05;
    margin:0 auto 22px;
    font-weight:800;
    letter-spacing:-.03em;
    max-width:760px;
}

.sbc-card{
    background:#fff;
    border:1px solid #e6edf5;
    border-radius:24px;
    padding:28px;
    box-shadow:0 18px 50px rgba(17,24,39,.06);
}

.sbc-card + .sbc-card{
    margin-top:18px;
}

.sbc-grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px 20px;
}

.sbc-panel{
    border:1px solid #eceff4;
    border-radius:18px;
    padding:22px;
    background:#fff;
}

.sbc-panel h2{
    margin:0 0 14px;
    font-size:22px;
}

.sbc-form{
    margin-top:8px;
}

.sbc-field{
    position:relative;
}

.sbc-form label{
    display:block;
    font-weight:800;
    font-size:14px;
    letter-spacing:-.01em;
    margin:0 0 8px;
    color:#111827;
}

.sbc-label-row{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.sbc-help-wrap{
    position:relative;
    display:inline-flex;
    align-items:center;
    flex-shrink:0;
}

.sbc-help-toggle{
    width:24px;
    height:24px;
    border:none;
    border-radius:999px;
    background:#eef6ff;
    color:#1D91FF;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:14px;
    box-shadow:inset 0 0 0 1px rgba(29,145,255,.12);
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}

.sbc-help-toggle:hover,
.sbc-help-toggle:focus{
    outline:none;
    background:#1D91FF;
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(29,145,255,.18);
}

.sbc-tooltip{
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    width:min(320px,80vw);
    padding:14px 15px;
    border-radius:16px;
    background:#111827;
    color:#fff;
    font-size:13px;
    line-height:1.6;
    font-weight:500;
    box-shadow:0 18px 40px rgba(17,24,39,.28);
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
    z-index:30;
    pointer-events:none;
}

.sbc-tooltip:before{
    content:"";
    position:absolute;
    top:-7px;
    right:10px;
    width:14px;
    height:14px;
    background:#111827;
    transform:rotate(45deg);
}

.sbc-help-wrap:hover .sbc-tooltip,
.sbc-help-wrap:focus-within .sbc-tooltip{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.sbc-form input[type=text],
.sbc-form input[type=email],
.sbc-form select,
.sbc-form textarea{
    width:100%;
    padding:15px 16px;
    border:1px solid #d8e2ee;
    border-radius:16px;
    background:#fff;
    color:#111;
    font-size:15px;
    line-height:1.45;
    box-sizing:border-box;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.sbc-form textarea{
    resize:vertical;
    min-height:140px;
}

.sbc-form input::placeholder,
.sbc-form textarea::placeholder{
    color:#98a2b3;
}

.sbc-form input:hover,
.sbc-form select:hover,
.sbc-form textarea:hover{
    border-color:#bfdcff;
}

.sbc-form input:focus,
.sbc-form select:focus,
.sbc-form textarea:focus{
    outline:none;
    border-color:#1D91FF;
    box-shadow:0 0 0 5px rgba(29,145,255,.12);
    transform:translateY(-1px);
}

.sbc-form-card{
    position:relative;
    overflow:visible;
    max-width:860px;
    margin:0 auto;
    padding-top:30px;
}

.sbc-form-card:before,
.sbc-card-login:before,
.sbc-success-card:before,
.sbc-terms:before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:0;
    height:5px;
    background:linear-gradient(90deg,#1D91FF 0%,#7bbcff 100%);
}

.sbc-auth-head{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:10px;
    margin:0 auto 20px;
    max-width:520px;
}

.sbc-auth-head h2{
    margin:0;
    font-size:26px;
    line-height:1.1;
    letter-spacing:-.02em;
}

.sbc-auth-head p{
    margin:0;
    color:#667085;
    line-height:1.65;
    font-size:15px;
}

.sbc-auth-icon{
    width:62px;
    height:62px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(180deg,#eef6ff 0%,#dcebff 100%);
    color:#1D91FF;
    font-size:24px;
    box-shadow:inset 0 0 0 1px rgba(29,145,255,.14);
}

.sbc-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 20px;
    border-radius:16px;
    background:#111827;
    color:#fff;
    text-decoration:none;
    border:none;
    cursor:pointer;
    font-weight:800;
    font-size:15px;
    letter-spacing:-.01em;
    margin-top:18px;
    transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease;
    box-shadow:0 10px 22px rgba(17,24,39,.18);
}

.sbc-btn:hover{
    opacity:1;
    transform:translateY(-1px);
}

.sbc-btn-secondary{
    background:#1D91FF;
    box-shadow:0 12px 28px rgba(29,145,255,.24);
}

.sbc-btn-google{
    background:#fff;
    color:#111827;
    border:1px solid #d8e2ee;
    box-shadow:none;
}

.sbc-btn-google:hover{
    border-color:#1D91FF;
    box-shadow:0 10px 24px rgba(29,145,255,.12);
}

.sbc-google-icon{
    display:inline-flex;
    width:18px;
    height:18px;
    flex:0 0 18px;
}

.sbc-google-icon img{
    display:block;
    width:18px;
    height:18px;
    object-fit:contain;
    border-radius:50%;
}

.sbc-btn-full{
    width:100%;
}

.sbc-notice{
    padding:16px 18px;
    border-radius:18px;
    margin:0 0 18px;
    border:1px solid transparent;
    line-height:1.65;
    font-size:14px;
}

.sbc-success{
    background:#f0fdf4;
    border-color:#bbf7d0;
}

.sbc-error{
    background:#fff1f2;
    border-color:#fecdd3;
}

.sbc-warning{
    background:#fff7ed;
    border-color:#fed7aa;
}

.sbc-info{
    background:#eff6ff;
    border-color:#bfdbfe;
}

.sbc-lead{
    font-size:16px;
    line-height:1.8;
    margin:0 0 20px;
    color:#475467;
}

.sbc-note,
.sbc-help{
    font-size:13px;
    color:#667085;
    line-height:1.65;
    margin-top:8px;
}

.sbc-help strong{
    color:#111827;
}

.sbc-check{
    display:flex !important;
    gap:12px;
    align-items:flex-start;
    line-height:1.65;
    font-weight:600 !important;
    font-size:14px;
    color:#344054;
    margin-top:16px;
    padding:14px 16px;
    border:1px solid #e7edf4;
    border-radius:16px;
    background:#fafcff;
}

.sbc-check input{
    margin-top:3px;
    accent-color:#1D91FF;
    transform:scale(1.1);
}

.sbc-check a{
    color:#1D91FF;
    text-decoration:none;
    font-weight:800;
}

.sbc-sep{
    border:none;
    border-top:1px solid #eceff4;
    margin:24px 0;
}

.sbc-reason{
    margin:0 0 18px;
    padding:16px 18px;
    border-radius:16px;
    background:#fff7ed;
    border:1px solid #fed7aa;
    line-height:1.7;
}

.sbc-terms p{
    line-height:1.8;
    margin:0 0 18px;
    color:#475467;
}

.sbc-card-login{
    width:100%;
    max-width:480px;
    margin:0 auto;
    padding:32px;
}

.sbc-form-compact label{
    margin-top:0;
    text-align:left;
    width:100%;
}

.sbc-step{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:92px;
    height:32px;
    padding:0 14px;
    font-size:11px;
    font-weight:900;
    letter-spacing:.16em;
    color:#1D91FF;
    text-transform:uppercase;
    margin:0 auto 18px;
    border-radius:999px;
    background:#eef6ff;
    border:1px solid #d7e9ff;
}

.sbc-code-input{
    text-align:center;
    font-size:30px;
    letter-spacing:10px;
    font-weight:900;
}

.sbc-or{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    margin:18px 0;
}

.sbc-or:before{
    content:'';
    position:absolute;
    left:0;
    right:0;
    top:50%;
    height:1px;
    background:#e5e7eb;
}

.sbc-or span{
    position:relative;
    background:#fff;
    padding:0 14px;
    color:#98a2b3;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.12em;
}

.sbc-login-links{
    display:flex;
    gap:10px;
    justify-content:center;
    align-items:center;
    margin-top:16px;
    font-size:14px;
}

.sbc-login-links a{
    text-decoration:none;
    color:#1D91FF;
    font-weight:700;
}

.sbc-login-links span{
    color:#c3cad5;
}

.sbc-page-login .sbc-title,
.sbc-page-send .sbc-title,
.sbc-page-terms .sbc-title,
.sbc-page-new .sbc-title,
.sbc-page-edit .sbc-title{
    display:flex;
    justify-content:center;
    text-align:center;
}

.sbc-page-login .sbc-container{
    width:100%;
    max-width:980px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
}

.sbc-page-login .sbc-card-login{
    width:100%;
    max-width:480px;
    margin-left:auto;
    margin-right:auto;
}

.sbc-page-login .sbc-step,
.sbc-page-login .sbc-form-compact > label{
    display:flex;
    justify-content:center;
    text-align:center;
}

.sbc-page-login .sbc-form-compact input[type=email],
.sbc-page-login .sbc-form-compact input[type=text]{
    text-align:left;
}

.sbc-page-new .sbc-form-card button,
.sbc-page-edit .sbc-form-card button{
    min-width:240px;
}

.sbc-page-new .sbc-form-card,
.sbc-page-edit .sbc-form-card,
.sbc-page-send .sbc-card,
.sbc-page-terms .sbc-card{
    margin-left:auto;
    margin-right:auto;
}

.sbc-page-send .sbc-card,
.sbc-page-terms .sbc-card{
    max-width:760px;
    margin:0 auto;
}

@media (max-width:1000px){
    .sbc-wrap{
        position:relative;
        width:100vw;
        max-width:100vw;
        margin-left:calc(50% - 50vw);
        margin-right:calc(50% - 50vw);
        padding:24px 14px 60px;
        box-sizing:border-box;
    }

    .sbc-title{
        font-size:29px;
        line-height:1.08;
    }

    .sbc-card,
    .sbc-panel,
    .sbc-card-login{
        padding:20px;
    }

    .sbc-grid-2{
        grid-template-columns:1fr;
        gap:16px;
    }

    .sbc-auth-head h2{
        font-size:22px;
    }

    .sbc-code-input{
        font-size:24px;
        letter-spacing:7px;
    }

    .sbc-check{
        padding:13px 14px;
    }

    .sbc-page-new .sbc-form-card button,
    .sbc-page-edit .sbc-form-card button{
        width:100%;
    }

    .sbc-tooltip{
        left:0;
        right:auto;
        width:min(280px,78vw);
    }

    .sbc-tooltip:before{
        left:10px;
        right:auto;
    }

    .sbc-page-login .sbc-container{
        padding-left:0;
        padding-right:0;
    }

    .sbc-page-login .sbc-card-login{
        width:100%;
        margin-left:auto;
        margin-right:auto;
    }
}