/* ==========================================================================
   PASSWORD CHANGE — SHAIYA ADDICTED
   ========================================================================== */

body:has(.pwchange-page)
.column-left
.content-bg
> .content-header {
    display: none !important;
}


.pwchange-page {
    padding: 18px 0 9px;

    color: #c8ced3;
}


.pwchange-page *,
.pwchange-page *::before,
.pwchange-page *::after {
    box-sizing: border-box;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.pwchange-hero {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 26px;

    min-height: 164px;
    margin-bottom: 16px;
    padding: 27px 28px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 18%,
            rgba(208, 196, 130, .075),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            rgba(18, 22, 25, .985),
            rgba(10, 14, 17, .99)
        );

    border: 1px solid rgba(210, 199, 143, .12);
    border-radius: 4px;

    box-shadow:
        0 11px 28px rgba(0, 0, 0, .13);
}


.pwchange-hero::before {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 3px;

    background:
        linear-gradient(
            180deg,
            #dfd28a,
            rgba(223, 210, 138, .28)
        );
}


.pwchange-hero__content {
    position: relative;
    z-index: 2;

    max-width: 600px;
}


.pwchange-eyebrow,
.pwchange-section-kicker {
    color: #b9ab70;

    font-size: 10px;
    line-height: 13px;
    font-weight: 700;

    letter-spacing: .8px;
    text-transform: uppercase;
}


.pwchange-title {
    margin: 7px 0 7px;

    color: #f0f2f3;

    font-size: 31px;
    line-height: 35px;
    font-weight: 700;
}


.pwchange-description {
    max-width: 570px;

    margin: 0;

    color: #7f8990;

    font-size: 13px;
    line-height: 19px;
}


/* ==========================================================================
   BALANCE — EXACT COPY OF REPAIR GEOMETRY
   ========================================================================== */

.pwchange-balance {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(130px, 1fr) 104px;
    grid-template-rows: auto auto;

    min-width: 270px;
    min-height: 68px;

    overflow: hidden;

    background: rgba(7, 10, 12, .78);

    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 4px;
}


.pwchange-balance__label {
    grid-column: 1;
    grid-row: 1;

    padding: 11px 14px 0;

    color: #667078;

    font-size: 8px;
    line-height: 10px;

    letter-spacing: .4px;
    text-transform: uppercase;
}


.pwchange-balance__value {
    grid-column: 1;
    grid-row: 2;

    padding: 1px 14px 11px;

    color: #ddd083;

    font-size: 20px;
    line-height: 24px;
    font-weight: 700;

    white-space: nowrap;
}


.pwchange-balance__value small {
    font-size: 12px;
}


.pwchange-balance__button {
    grid-column: 2;
    grid-row: 1 / 3;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #262719 !important;

    background:
        linear-gradient(
            180deg,
            #ddd18d,
            #c8bc77
        );

    border-left: 1px solid rgba(255, 255, 255, .07);

    font-size: 10px;
    font-weight: 700;

    text-decoration: none !important;
}


/* ==========================================================================
   LAYOUT
   ========================================================================== */

.pwchange-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(250px, .70fr);

    gap: 12px;

    align-items: start;
}


.pwchange-form-card,
.pwchange-info-card {
    background:
        linear-gradient(
            180deg,
            rgba(12, 16, 19, .975),
            rgba(9, 13, 16, .985)
        );

    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 4px;

    box-shadow:
        0 8px 23px rgba(0, 0, 0, .10);
}


.pwchange-form-card {
    padding: 19px 18px 20px;
}


/* ==========================================================================
   HEAD
   ========================================================================== */

.pwchange-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 17px;
    padding-bottom: 13px;

    border-bottom:
        1px solid rgba(255, 255, 255, .045);
}


.pwchange-section-head h2 {
    margin: 4px 0 0;

    color: #e3e7e9;

    font-size: 21px;
    line-height: 25px;
    font-weight: 700;
}


.pwchange-section-head p {
    margin: 3px 0 0;

    color: #69737a;

    font-size: 10px;
    line-height: 15px;
}


.pwchange-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    color: #cbbb72;
    background: rgba(205, 190, 112, .05);

    border: 1px solid rgba(205, 190, 112, .10);
    border-radius: 4px;

    font-size: 14px;
}


/* ==========================================================================
   FORM
   ========================================================================== */

.pwchange-form {
    display: grid;

    gap: 13px;
}


.pwchange-field {
    display: block;
}


.pwchange-field__label {
    display: block;

    margin-bottom: 6px;

    color: #79838a;

    font-size: 10px;
    line-height: 14px;
    font-weight: 700;
}


.pwchange-field__control {
    display: grid;
    grid-template-columns: 43px minmax(0, 1fr) 42px;

    align-items: center;

    min-height: 48px;

    overflow: hidden;

    background: rgba(5, 8, 10, .72);

    border: 1px solid rgba(255, 255, 255, .065);
    border-radius: 4px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


.pwchange-field__control:focus-within {
    border-color:
        rgba(208, 194, 116, .18);

    box-shadow:
        0 0 0 2px rgba(208, 194, 116, .025);
}


.pwchange-field__control > i {
    color: #756d50;

    font-size: 12px;

    text-align: center;
}


.pwchange-field__control input {
    width: 100%;
    height: 46px;

    padding: 0 11px;

    color: #d9dde0 !important;
    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;

    box-shadow: none !important;

    font-family: inherit;
    font-size: 13px;
    line-height: 18px;
}


.pwchange-field__control input::placeholder {
    color: #4f5a60;
}


.pwchange-password-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 46px;

    padding: 0;

    color: #626d73;
    background: transparent;

    border: 0;
    outline: 0;

    font-size: 12px;

    cursor: pointer;

    transition:
        color .18s ease,
        background .18s ease;
}


.pwchange-password-toggle:hover {
    color: #c5b76e;
    background: rgba(208, 194, 116, .025);
}


.pwchange-captcha {
    display: flex;
    justify-content: center;

    padding: 5px 0 1px;
}


.pwchange-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;
    min-height: 40px;

    padding: 0 13px;

    color: #ded17e;

    background:
        linear-gradient(
            180deg,
            rgba(57, 51, 28, .78),
            rgba(20, 20, 14, .96)
        );

    border: 1px solid #77693c;
    border-radius: 4px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        0 5px 13px rgba(0, 0, 0, .22);

    outline: 0;

    font-family: inherit;
    font-size: 11px;
    line-height: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        color .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


.pwchange-submit:hover {
    color: #f0e4aa;

    border-color: #a18d50;

    box-shadow:
        0 0 15px rgba(190, 158, 68, .08),
        inset 0 1px 0 rgba(255, 255, 255, .035);

    transform: translateY(-1px);
}


/* ==========================================================================
   INFO
   ========================================================================== */

.pwchange-info-card {
    overflow: hidden;
}


.pwchange-info-head {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 16px;

    border-bottom:
        1px solid rgba(255, 255, 255, .04);
}


.pwchange-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    color: #8ea886;
    background: rgba(105, 145, 95, .045);

    border: 1px solid rgba(105, 145, 95, .09);
    border-radius: 4px;
}


.pwchange-info-head strong {
    display: block;

    margin-top: 3px;

    color: #d0d5d7;

    font-size: 13px;
    line-height: 17px;
}


.pwchange-rules {
    margin: 0;
    padding: 15px 16px 6px;

    list-style: none;
}


.pwchange-rules li {
    position: relative;

    padding: 0 0 13px 16px;

    color: #6c777d;

    font-size: 10px;
    line-height: 16px;
}


.pwchange-rules li::before {
    content: "";

    position: absolute;

    top: 7px;
    left: 2px;

    width: 4px;
    height: 4px;

    background: #9c8e55;

    border-radius: 50%;
}


.pwchange-info-note {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);

    gap: 8px;

    margin: 4px 13px 13px;
    padding: 10px;

    color: #667178;
    background: rgba(255, 255, 255, .012);

    border: 1px solid rgba(255, 255, 255, .035);
    border-radius: 4px;

    font-size: 9px;
    line-height: 14px;
}


.pwchange-info-note i {
    color: #807850;
    padding-top: 2px;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {

    .pwchange-hero {
        align-items: stretch;
        flex-direction: column;
    }


    .pwchange-balance {
        width: 100%;
    }


    .pwchange-layout {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 620px) {

    .pwchange-hero {
        padding: 21px 18px;
    }


    .pwchange-title {
        font-size: 27px;
        line-height: 31px;
    }


    .pwchange-balance {
        min-width: 0;
    }

}

/* ==========================================================================
   V3 — FIX PASSWORD FIELD ICON ALIGNMENT
   ========================================================================== */

.pwchange-field__control {
    grid-template-columns: 54px minmax(0, 1fr) 44px !important;
}

/* Фиксируем левую иконку внутри своей колонки */
.pwchange-field__control > i {
    position: static !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 54px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    color: #8a825d !important;

    font-size: 14px !important;
    line-height: 1 !important;

    text-align: center;
}

/* Текст больше не прилипает к иконке */
.pwchange-field__control input {
    margin: 0 !important;
    padding: 0 14px 0 10px !important;

    position: static !important;
    transform: none !important;
}

/* Глаз справа тоже фиксируем, чтобы все три поля были одинаковыми */
.pwchange-password-toggle {
    position: static !important;

    width: 44px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}

/* На случай глобальных правил для FontAwesome внутри input/form */
.pwchange-page .pwchange-field__control > .fas,
.pwchange-page .pwchange-field__control > .far {
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
}

/* ==========================================================================
   V4 — ICONS SLIGHTLY TO THE RIGHT
   ========================================================================== */

.pwchange-field__control {
    grid-template-columns: 56px minmax(0, 1fr) 44px !important;
}

.pwchange-field__control > i {
    width: 56px !important;
    justify-content: flex-start !important;
    padding-left: 16px !important;
}

.pwchange-field__control input {
    padding: 0 14px 0 8px !important;
}

/* ==========================================================================
   V5 — ROBUST FIELD ICON WRAPPER
   Font Awesome replaces <i> with <svg>, so geometry is controlled by span.
   ========================================================================== */

.pwchange-field__control {
    grid-template-columns: 52px minmax(0, 1fr) 44px !important;
}

/* Стабильная первая колонка — больше не зависит от Font Awesome SVG */
.pwchange-field__icon {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 52px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 0 0 8px !important;

    overflow: visible !important;

    color: #8a825d !important;

    box-sizing: border-box !important;
}

/* И исходный <i>, и сгенерированный Font Awesome <svg> */
.pwchange-field__icon > i,
.pwchange-field__icon > svg,
.pwchange-field__icon .svg-inline--fa {
    position: static !important;

    display: block !important;

    width: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;

    height: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;

    margin: 0 !important;
    padding: 0 !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    transform: none !important;

    color: #c8ced3 !important;

    font-size: 17px !important;
    line-height: 17px !important;

    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Старое правило для direct-child icon больше не участвует */
.pwchange-field__control > i,
.pwchange-field__control > svg {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
}

/* Текст начинается строго после фиксированной иконки */
.pwchange-field__control input {
    position: static !important;

    width: 100% !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 14px 0 11px !important;

    transform: none !important;
}

/* Правая иконка глаза */
.pwchange-password-toggle {
    position: static !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 44px !important;
    height: 46px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;
}

.pwchange-password-toggle > i,
.pwchange-password-toggle > svg,
.pwchange-password-toggle .svg-inline--fa {
    position: static !important;

    width: 13px !important;
    height: 13px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    box-sizing: border-box !important;
}

