*,
*::before,
*::after{
    box-sizing:border-box;
}


/* =========================================================
   ОСНОВА СТРАНИЦЫ
========================================================= */

.paw-auth-page{
    width:100%;
    min-height:calc(100vh - 40px);

    padding:20px 20px 60px;

    background:#ffffff;
}


.paw-auth-shell{
    width:calc(100% - 20px);
    max-width:1500px;

    margin:0 auto;

    overflow:hidden;

    border:1px solid #e6e9f1;
    border-radius:28px;

    background:#ffffff;

    box-shadow:
        0 20px 60px rgba(26,34,61,.07);
}


/* =========================================================
   ВЕРХНЯЯ ШАПКА
========================================================= */

.paw-auth-header{
    min-height:82px;

    padding:16px 24px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    border-bottom:1px solid #edf0f5;

    background:#ffffff;
}


.paw-auth-brand{
    display:flex;
    align-items:center;

    gap:12px;

    color:#172033;
    text-decoration:none;
}


.paw-auth-brand:hover{
    color:#172033;
    text-decoration:none;
}


.paw-auth-brand-icon{
    width:48px;
    height:48px;

    flex:0 0 48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            #22cec5,
            #12b8b0
        );

    color:#ffffff;

    font-size:24px;

    box-shadow:
        0 10px 24px rgba(18,184,176,.22);
}


.paw-auth-brand-copy{
    min-width:0;

    display:flex;
    flex-direction:column;
}


.paw-auth-brand-copy strong{
    color:#172033;

    font-size:18px;
    font-weight:950;
    line-height:1.1;
}


.paw-auth-brand-copy small{
    margin-top:4px;

    color:#6f7786;

    font-size:12px;
    font-weight:650;
}


.paw-auth-language{
    min-height:42px;

    padding:0 14px;

    display:flex;
    align-items:center;

    gap:7px;

    border:1px solid #e5e8ef;
    border-radius:13px;

    background:#ffffff;

    color:#5f6878;

    font-size:12px;
    font-weight:800;
}


.paw-auth-language i{
    font-size:16px;
}


/* =========================================================
   ВКЛАДКИ ВХОД / РЕГИСТРАЦИЯ
========================================================= */

.paw-auth-tabs{
    padding:12px 24px;

    display:flex;
    align-items:center;

    gap:8px;

    border-bottom:1px solid #edf0f5;

    background:#fbfcfe;

    position:relative;
    z-index:20;
}


.paw-auth-tab-button{
    min-height:44px;

    padding:0 18px;

    border:1px solid transparent;
    border-radius:13px;

    background:transparent;

    color:#626b79;

    font-family:inherit;

    font-size:13px;
    font-weight:850;

    cursor:pointer;

    position:relative;
    z-index:21;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


.paw-auth-tab-button:hover{
    background:#e8faf9;

    color:#12b8b0;
}


.paw-auth-tab-button.active{
    border-color:#c8efec;

    background:#ffffff;

    color:#12b8b0;

    box-shadow:
        0 8px 20px rgba(18,184,176,.10);
}


/* =========================================================
   СЕКЦИИ
========================================================= */

.paw-auth-section{
    display:none;
}


.paw-auth-section.active{
    display:block;
}


/* =========================================================
   ВХОД
========================================================= */

.paw-login-card{
    width:100%;
    max-width:620px;

    margin:0 auto;

    padding:58px 44px 64px;
}


.paw-login-head{
    text-align:center;
}


.paw-login-icon{
    width:72px;
    height:72px;

    margin:0 auto 18px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:22px;

    background:
        linear-gradient(
            135deg,
            #e8faf9,
            #dff7f5
        );

    color:#12b8b0;

    font-size:31px;
}


.paw-login-head h1{
    margin:0;

    color:#172033;

    font-size:30px;
    font-weight:950;
    line-height:1.15;
}


.paw-login-head p{
    max-width:420px;

    margin:10px auto 0;

    color:#697281;

    font-size:14px;
    font-weight:600;
    line-height:1.55;
}


.paw-login-field{
    margin-top:22px;
}


.paw-login-field > label:first-child{
    display:block;

    margin-bottom:8px;

    color:#323a4a;

    font-size:13px;
    font-weight:850;
}


.paw-login-field .form-control{
    width:100%;
    height:56px;

    padding:0 16px;

    border:1px solid #dfe3eb;
    border-radius:15px;

    background:#ffffff;

    color:#172033;

    font-family:inherit;
    font-size:14px;
    font-weight:650;

    outline:none;

    box-shadow:none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


.paw-login-field .form-control::placeholder{
    color:#7e8795;
}


.paw-login-field .form-control:focus{
    border-color:#82ddd6;

    box-shadow:
        0 0 0 4px rgba(18,184,176,.08);
}


.form-label-error{
    display:none;

    margin-top:6px;

    color:#d04655;

    font-size:12px;
    font-weight:700;
    line-height:1.4;
}


.paw-login-remember{
    margin-top:18px;
}


.paw-auth-checkbox{
    display:inline-flex;
    align-items:center;

    gap:9px;

    color:#626b7b;

    font-size:12px;
    font-weight:750;

    cursor:pointer;
}


.paw-auth-checkbox input{
    position:absolute;

    opacity:0;
    pointer-events:none;
}


.paw-auth-checkbox-mark{
    width:20px;
    height:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid #d7dce5;
    border-radius:6px;

    background:#ffffff;

    color:transparent;

    transition:.18s ease;
}


.paw-auth-checkbox input:checked + .paw-auth-checkbox-mark{
    border-color:#12b8b0;

    background:#12b8b0;

    color:#ffffff;
}


.paw-login-submit{
    width:100%;
    min-height:56px;

    margin-top:24px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:9px;

    border:0;
    border-radius:15px;

    background:
        linear-gradient(
            135deg,
            #22cec5,
            #12b8b0
        );

    color:#ffffff;

    font-family:inherit;
    font-size:14px;
    font-weight:900;

    cursor:pointer;

    box-shadow:
        0 14px 30px rgba(18,184,176,.24);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}


.paw-login-submit:hover{
    transform:translateY(-1px);

    box-shadow:
        0 18px 38px rgba(18,184,176,.28);
}


.paw-login-actions{
    margin-top:18px;

    text-align:center;
}


.paw-login-actions span{
    color:#12b8b0;

    font-size:12px;
    font-weight:850;

    cursor:pointer;
}


.paw-login-actions span:hover{
    text-decoration:underline;
}


/* =========================================================
   РЕГИСТРАЦИЯ — ОСНОВНОЙ LAYOUT
========================================================= */

.gar-register-layout{
    min-height:660px;

    display:grid;
    grid-template-columns:360px minmax(0,1fr);

    background:#ffffff;
}


/* =========================================================
   ЛЕВАЯ ПАНЕЛЬ
========================================================= */

.gar-sidebar{
    position:relative;

    min-height:660px;

    padding:40px 32px 36px;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(255,255,255,.18),
            transparent 26%
        ),
        linear-gradient(
            155deg,
            #12b8b0,
            #087a77
        );

    color:#ffffff;
}


.gar-sidebar-intro{
    position:relative;
    z-index:3;
}


.gar-sidebar-intro h1{
    margin:0;

    color:#ffffff;

    font-size:30px;
    font-weight:950;
    line-height:1.12;
}


.gar-sidebar-intro p{
    margin:10px 0 0;

    max-width:275px;

    color:rgba(255,255,255,.88);

    font-size:13px;
    font-weight:600;
    line-height:1.6;
}


/* =========================================================
   МЕНЮ ШАГОВ
========================================================= */

.gar-step-menu{
    position:relative;
    z-index:3;

    margin-top:34px;
}


.gar-step-menu-item{
    position:relative;

    min-height:72px;

    padding:11px 10px;

    display:grid;
    grid-template-columns:26px 38px minmax(0,1fr);
    align-items:center;

    gap:10px;

    border-radius:15px;

    color:rgba(255,255,255,.78);

    transition:.2s ease;
}


.gar-step-menu-item + .gar-step-menu-item{
    margin-top:5px;
}


.gar-step-menu-item.active{
    background:rgba(255,255,255,.13);

    color:#ffffff;
}


.gar-step-menu-item.completed{
    color:rgba(255,255,255,.94);
}


.gar-step-menu-number{
    width:25px;
    height:25px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.35);
    border-radius:8px;

    font-size:11px;
    font-weight:900;
}


.gar-step-menu-item.active .gar-step-menu-number{
    border-color:#ffffff;

    background:#ffffff;

    color:#07958f;
}


.gar-step-menu-item.completed .gar-step-menu-number{
    border-color:rgba(255,255,255,.75);
}


.gar-step-menu-icon{
    width:36px;
    height:36px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:11px;

    background:rgba(255,255,255,.12);

    font-size:17px;
}


.gar-step-menu-text{
    min-width:0;
}


.gar-step-menu-text strong{
    display:block;

    color:inherit;

    font-size:12px;
    font-weight:900;
}


.gar-step-menu-text span{
    display:block;

    margin-top:3px;

    color:inherit;

    opacity:.90;

    font-size:11px;
    font-weight:600;
    line-height:1.4;
}


/* =========================================================
   БЕЗОПАСНОСТЬ В SIDEBAR
========================================================= */

.gar-sidebar-security{
    position:relative;
    z-index:3;

    margin-top:28px;

    padding:14px;

    display:flex;
    align-items:flex-start;

    gap:10px;

    border:1px solid rgba(255,255,255,.16);
    border-radius:15px;

    background:rgba(255,255,255,.10);
}


.gar-sidebar-security-icon{
    width:34px;
    height:34px;

    flex:0 0 34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:rgba(255,255,255,.14);

    font-size:16px;
}


.gar-sidebar-security strong{
    display:block;

    color:#ffffff;

    font-size:12px;
    font-weight:900;
}


.gar-sidebar-security p{
    margin:4px 0 0;

    color:rgba(255,255,255,.82);

    font-size:11px;
    line-height:1.5;
}


/* =========================================================
   ДЕКОР SIDEBAR
========================================================= */

.gar-sidebar-decoration{
    position:absolute;

    inset:0;

    pointer-events:none;

    overflow:hidden;
}


.gar-sidebar-paw{
    position:absolute;

    color:rgba(255,255,255,.06);

    font-size:52px;
}


.gar-sidebar-paw-1{
    right:18px;
    top:95px;

    transform:rotate(15deg);
}


.gar-sidebar-paw-2{
    left:-10px;
    bottom:150px;

    transform:rotate(-20deg);
}


.gar-sidebar-paw-3{
    right:45px;
    bottom:90px;

    font-size:35px;

    transform:rotate(30deg);
}


.gar-sidebar-pets{
    position:absolute;

    right:20px;
    bottom:18px;

    display:flex;
    align-items:flex-end;

    gap:8px;

    color:rgba(255,255,255,.13);
}


.gar-sidebar-pet{
    font-size:52px;
}


.gar-sidebar-cat{
    font-size:44px;
}


/* =========================================================
   ПРАВАЯ ЧАСТЬ
========================================================= */

.gar-content{
    min-width:0;

    padding:42px 50px 46px;

    background:#ffffff;
}


/* =========================================================
   МОБИЛЬНЫЙ ПРОГРЕСС
========================================================= */

.gar-mobile-progress{
    display:none;

    margin-bottom:24px;
}


.gar-mobile-progress-top{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:15px;

    color:#5f6878;

    font-size:12px;
    font-weight:800;
}


.gar-mobile-progress-line{
    width:100%;
    height:5px;

    margin-top:9px;

    overflow:hidden;

    border-radius:999px;

    background:#eceef4;
}


.gar-mobile-progress-fill{
    width:25%;
    height:100%;

    border-radius:999px;

    background:
        linear-gradient(
            90deg,
            #22cec5,
            #12b8b0
        );

    transition:width .25s ease;
}


/* =========================================================
   ШАГИ
========================================================= */

.gar-step{
    display:none;
}


.gar-step.active{
    display:block;

    animation:garStepShow .25s ease;
}


@keyframes garStepShow{

    from{
        opacity:0;
        transform:translateY(6px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/* =========================================================
   ЗАГОЛОВОК ШАГА
========================================================= */

.gar-step-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;

    gap:25px;
}


.gar-step-heading{
    max-width:760px;
}


.gar-step-heading small{
    display:block;

    color:#12b8b0;

    font-size:11px;
    font-weight:900;

    letter-spacing:.08em;
    text-transform:uppercase;
}


.gar-step-heading h2{
    margin:6px 0 0;

    color:#172033;

    font-size:28px;
    font-weight:950;
    line-height:1.15;
}


.gar-step-heading p{
    margin:9px 0 0;

    color:#66707f;

    font-size:13px;
    font-weight:600;
    line-height:1.6;
}


.gar-step-header-icon{
    width:56px;
    height:56px;

    flex:0 0 56px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:17px;

    background:#e8faf9;

    color:#12b8b0;

    font-size:25px;
}


.gar-step-divider{
    height:1px;

    margin:24px 0;

    background:#edf0f5;
}


/* =========================================================
   ПОЛЯ
========================================================= */

.gar-fields{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:18px;
}


.gar-fields-password{
    max-width:820px;
}


.gar-field{
    min-width:0;
}


.gar-field > label:first-child{
    display:block;

    margin-bottom:8px;

    color:#343c4b;

    font-size:13px;
    font-weight:850;
}


.gar-field > label:first-child span{
    color:#d74c5d;
}


.gar-input-wrap{
    position:relative;
}


.gar-input-wrap > i{
    position:absolute;

    left:15px;
    top:50%;

    transform:translateY(-50%);

    z-index:2;

    color:#7c8594;

    font-size:17px;

    pointer-events:none;
}


.gar-input-wrap input,
.gar-input-wrap select{
    width:100%;
    height:54px;

    padding:0 16px 0 43px;

    border:1px solid #dde1e9;
    border-radius:14px;

    background:#ffffff;

    color:#172033;

    font-family:inherit;
    font-size:13px;
    font-weight:650;

    outline:none;

    box-shadow:none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.gar-input-wrap select{
    padding-right:38px;

    cursor:pointer;
}


.gar-input-wrap input::placeholder{
    color:#7e8795;
}


.gar-input-wrap input:hover,
.gar-input-wrap select:hover{
    border-color:#b8e6e1;
}


.gar-input-wrap input:focus,
.gar-input-wrap select:focus{
    border-color:#72d8d0;

    box-shadow:
        0 0 0 4px rgba(18,184,176,.07);
}


/* =========================================================
   ИНФО КАРТОЧКИ
========================================================= */

.gar-security-card{
    margin-top:24px;

    padding:16px 18px;

    display:flex;
    align-items:flex-start;

    gap:12px;

    border:1px solid #cfeeea;
    border-radius:16px;

    background:#f2fbfa;
}


.gar-security-card-icon{
    width:38px;
    height:38px;

    flex:0 0 38px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:11px;

    background:#e2f8f6;

    color:#12b8b0;

    font-size:18px;
}


.gar-security-card strong{
    display:block;

    color:#303847;

    font-size:12px;
    font-weight:900;
}


.gar-security-card p{
    margin:4px 0 0;

    color:#697281;

    font-size:11px;
    font-weight:600;
    line-height:1.55;
}


/* =========================================================
   НИЖНЯЯ ЧАСТЬ ШАГА
========================================================= */

.gar-step-footer{
    margin-top:30px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:18px;

    border-top:1px solid #edf0f5;

    padding-top:24px;
}


.gar-step-help{
    max-width:340px;

    display:flex;
    align-items:flex-start;

    gap:10px;
}


.gar-step-help-icon{
    width:34px;
    height:34px;

    flex:0 0 34px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:10px;

    background:#e8faf9;

    color:#12b8b0;

    font-size:16px;
}


.gar-step-help strong{
    display:block;

    color:#45505f;

    font-size:12px;
    font-weight:900;
}


.gar-step-help p{
    margin:4px 0 0;

    color:#707987;

    font-size:11px;
    line-height:1.5;
}


.gar-step-action{
    display:flex;
    flex-direction:column;
    align-items:flex-end;

    gap:6px;
}


.gar-step-action small{
    color:#747d8c;

    font-size:10px;
    font-weight:700;
}


.gar-button{
    min-height:48px;

    padding:0 19px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    border:0;
    border-radius:13px;

    font-family:inherit;

    font-size:12px;
    font-weight:900;

    cursor:pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.gar-button-next{
    background:
        linear-gradient(
            135deg,
            #22cec5,
            #12b8b0
        );

    color:#ffffff;

    box-shadow:
        0 12px 24px rgba(18,184,176,.20);
}


.gar-button-next:hover{
    color:#ffffff;

    transform:translateY(-1px);

    box-shadow:
        0 16px 30px rgba(18,184,176,.25);
}


.gar-button-back{
    border:1px solid #dde1e9;

    background:#ffffff;

    color:#5d6677;
}


.gar-button-back:hover{
    background:#f8f9fc;

    color:#3e4655;
}


/* =========================================================
   ПРОВЕРКА ДАННЫХ
========================================================= */

.gar-review-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:14px;
}


.gar-review-card{
    padding:16px;

    display:flex;
    align-items:center;

    gap:12px;

    border:1px solid #e7e9ef;
    border-radius:15px;

    background:#ffffff;
}


.gar-review-card-icon{
    width:42px;
    height:42px;

    flex:0 0 42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    background:#e8faf9;

    color:#12b8b0;

    font-size:19px;
}


.gar-review-card span{
    display:block;

    color:#747d8c;

    font-size:11px;
    font-weight:750;
}


.gar-review-card strong{
    display:block;

    margin-top:3px;

    color:#2d3544;

    font-size:13px;
    font-weight:900;
}


/* =========================================================
   SUCCESS
========================================================= */

.gar-success{
    text-align:center;
}


.gar-success-icon{
    width:76px;
    height:76px;

    margin:0 auto 16px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:24px;

    background:#e3f9f7;

    color:#12b8b0;

    font-size:34px;
}


.gar-success small{
    display:block;

    color:#12b8b0;

    font-size:11px;
    font-weight:900;

    letter-spacing:.08em;
    text-transform:uppercase;
}


.gar-success h2{
    margin:7px 0 0;

    color:#172033;

    font-size:28px;
    font-weight:950;
}


.gar-success p{
    max-width:600px;

    margin:10px auto 0;

    color:#697281;

    font-size:13px;
    font-weight:600;
    line-height:1.6;
}


/* =========================================================
   PAW ID / PAW KEY
========================================================= */

.gar-id-grid{
    margin-top:28px;

    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:16px;
}


.gar-id-card{
    padding:20px;

    border:1px solid #e3e6ed;
    border-radius:18px;

    background:#ffffff;
}


.gar-id-card-dark{
    border-color:#0b5e5b;

    background:#0b5e5b;

    color:#ffffff;
}


.gar-id-card-head{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:12px;
}


.gar-id-label{
    display:inline-flex;
    align-items:center;

    gap:7px;

    color:#12b8b0;

    font-size:11px;
    font-weight:900;

    letter-spacing:.06em;
}


.gar-id-card-dark .gar-id-label{
    color:#9ceae5;
}


.gar-id-status,
.gar-id-secret{
    padding:5px 8px;

    border-radius:999px;

    font-size:10px;
    font-weight:900;
}


.gar-id-status{
    background:#e3f9f7;

    color:#07958f;
}


.gar-id-secret{
    background:rgba(255,255,255,.10);

    color:#ffffff;
}


.gar-id-value{
    margin-top:18px;

    word-break:break-all;

    color:#172033;

    font-size:22px;
    font-weight:950;
    line-height:1.25;

    letter-spacing:.02em;
}


.gar-id-card-dark .gar-id-value{
    color:#ffffff;
}


.gar-id-card p{
    margin:12px 0 0;

    color:#707987;

    font-size:11px;
    line-height:1.5;
}


.gar-id-card-dark p{
    color:rgba(255,255,255,.78);
}


/* =========================================================
   WARNING
========================================================= */

.gar-warning{
    margin-top:18px;

    padding:16px 18px;

    display:flex;
    align-items:flex-start;

    gap:11px;

    border:1px solid #f0dfbc;
    border-radius:15px;

    background:#fffaf0;

    color:#8d6926;
}


.gar-warning > i{
    margin-top:2px;

    font-size:20px;
}


.gar-warning strong{
    display:block;

    color:#78571c;

    font-size:12px;
    font-weight:900;
}


.gar-warning p{
    margin:4px 0 0;

    color:#8b6e38;

    font-size:11px;
    line-height:1.5;
}


/* =========================================================
   FINISH
========================================================= */

.gar-step-footer-finish{
    justify-content:flex-end;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1050px){

    .paw-auth-shell{
        width:100%;
        max-width:960px;
    }

    .gar-register-layout{
        grid-template-columns:280px minmax(0,1fr);
    }

    .gar-sidebar{
        padding:32px 22px;
    }

    .gar-content{
        padding:32px 28px;
    }

}


/* =========================================================
   MOBILE
   iPhone / Android
========================================================= */

@media screen and (max-width:991px){

    .paw-auth-page{
        width:100%;
        min-height:100vh;
        min-height:100dvh;

        padding-top:max(18px, env(safe-area-inset-top));
        padding-right:max(12px, env(safe-area-inset-right));
        padding-bottom:max(28px, env(safe-area-inset-bottom));
        padding-left:max(12px, env(safe-area-inset-left));

        overflow-x:hidden;
    }


    .paw-auth-shell{
        width:100%;
        max-width:100%;

        margin:0;

        border-radius:22px;
    }


    /* =====================================================
       TABS
    ===================================================== */

    .paw-auth-tabs{
        width:100%;

        padding:12px;

        display:grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap:8px;
    }


    .paw-auth-tab-button{
        width:100%;
        min-width:0;

        min-height:48px;

        padding:6px 8px;

        font-size:13px;
        line-height:1.25;

        white-space:normal;

        text-align:center;
    }


    /* =====================================================
       LOGIN
    ===================================================== */

    .paw-login-card{
        width:100%;
        max-width:100%;

        padding:28px 18px 34px;
    }


    .paw-login-head h1{
        font-size:26px;
    }


    .paw-login-field .form-control{
        height:54px;

        font-size:16px;
    }


    /* =====================================================
       REGISTRATION LAYOUT
    ===================================================== */

    .gar-register-layout{
        width:100%;

        min-height:0;

        display:block;
    }


    .gar-sidebar{
        display:none !important;
    }


    .gar-content{
        width:100%;
        min-width:0;

        padding:22px 16px 30px;
    }


    /* =====================================================
       PROGRESS
    ===================================================== */

    .gar-mobile-progress{
        display:block;

        width:100%;

        margin-bottom:18px;
    }


    /* =====================================================
       STEP HEADER
    ===================================================== */

    .gar-step-header{
        width:100%;

        display:flex;

        align-items:flex-start;
        justify-content:space-between;

        gap:12px;
    }


    .gar-step-heading{
        width:auto;
        max-width:none;
        min-width:0;

        flex:1 1 auto;
    }


    .gar-step-heading h2{
        font-size:24px;
        line-height:1.12;
    }


    .gar-step-heading p{
        width:100%;
        max-width:none;

        font-size:13px;
        line-height:1.55;
    }


    .gar-step-header-icon{
        width:48px;
        height:48px;

        flex:0 0 48px;

        font-size:22px;
    }


    /* =====================================================
       FIELDS — ОДНА КОЛОНКА
    ===================================================== */

    .gar-fields,
    .gar-fields-password{
        width:100%;
        max-width:100%;

        display:grid !important;

        grid-template-columns:
            minmax(0,1fr) !important;

        gap:16px !important;
    }


    .gar-fields > *,
    .gar-fields-password > *{
        width:100%;
        max-width:100%;
        min-width:0;

        grid-column:1 / -1 !important;
    }


    .gar-field{
        width:100%;
        min-width:0;
    }


    .gar-input-wrap{
        width:100%;
        min-width:0;
    }


    .gar-input-wrap input,
    .gar-input-wrap select{
        width:100%;
        max-width:100%;

        height:54px;

        font-size:16px;
    }


    /* =====================================================
       SECURITY
    ===================================================== */

    .gar-security-card{
        width:100%;

        margin-top:20px;
    }


    /* =====================================================
       FOOTER — ВЕРТИКАЛЬНО
    ===================================================== */

    .gar-step-footer{
        width:100%;

        margin-top:24px;

        padding-top:20px;

        display:flex !important;

        flex-direction:column !important;

        align-items:stretch !important;
        justify-content:flex-start !important;

        gap:14px !important;
    }


    .gar-step-footer > *{
        width:100%;
        max-width:100%;
        min-width:0;
    }


    .gar-step-help{
        width:100%;
        max-width:100%;

        order:2;
    }


    .gar-step-action{
        width:100%;

        order:1;

        align-items:stretch;
    }


    .gar-button{
        width:100%;

        min-height:54px;

        font-size:14px;
    }


    .gar-step-action small{
        text-align:center;
    }


    .gar-button-back{
        width:100%;

        order:2;
    }


    /* =====================================================
       REVIEW
    ===================================================== */

    .gar-review-grid{
        width:100%;

        display:grid !important;

        grid-template-columns:
            minmax(0,1fr) !important;

        gap:12px !important;
    }


    .gar-review-grid > *{
        grid-column:1 / -1 !important;
    }


    /* =====================================================
       PAW ID / PAW KEY
    ===================================================== */

    .gar-id-grid{
        width:100%;

        display:grid !important;

        grid-template-columns:
            minmax(0,1fr) !important;

        gap:14px !important;
    }


    .gar-id-grid > *{
        grid-column:1 / -1 !important;
    }


    .gar-id-value{
        font-size:18px;

        overflow-wrap:anywhere;
        word-break:break-word;
    }


    /* =====================================================
       FINISH
    ===================================================== */

    .gar-step-footer-finish{
        display:block !important;
    }


    .gar-step-footer-finish > div:first-child{
        display:none;
    }


    .gar-step-footer-finish .gar-step-action{
        width:100%;
    }

}


/* =========================================================
   iPHONE
========================================================= */

@media screen and (max-width:430px){

    .paw-auth-page{
        padding-left:max(10px, env(safe-area-inset-left));
        padding-right:max(10px, env(safe-area-inset-right));
    }


    .paw-auth-tabs{
        padding:10px;
    }


    .gar-content{
        padding:
            20px
            14px
            28px;
    }


    .gar-step-heading h2{
        font-size:23px;
    }


    .gar-step-heading p{
        font-size:13px;
    }


    .gar-step-header-icon{
        width:44px;
        height:44px;

        flex:0 0 44px;

        font-size:20px;
    }


    .gar-fields,
    .gar-fields-password{
        grid-template-columns:
            minmax(0,1fr) !important;
    }


    .gar-field{
        grid-column:1 / -1 !important;
    }

}


/* =========================================================
   SMALL iPHONE
========================================================= */

@media screen and (max-width:375px){

    .paw-auth-page{
        padding-left:max(8px, env(safe-area-inset-left));
        padding-right:max(8px, env(safe-area-inset-right));
    }


    .paw-auth-tab-button{
        font-size:12px;
    }


    .gar-content{
        padding-left:12px;
        padding-right:12px;
    }


    .gar-step-header{
        gap:9px;
    }


    .gar-step-heading h2{
        font-size:21px;
    }


    .gar-step-header-icon{
        width:40px;
        height:40px;

        flex:0 0 40px;

        font-size:19px;
    }

}