html {
    font-size: 16px;
}

body {
    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #eef2f7,
            #f8fafc
        );

    color: #172033;
}

header,
footer {
    display: none;
}

main {
    padding: 0 !important;
}


/* =========================================================
   PAGE
   ========================================================= */

.password-page {
    min-height: 100vh;

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

    padding: 40px 25px;

    box-sizing: border-box;
}


.password-wrapper {
    width: 100%;
    max-width: 1050px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 0.9fr);

    gap: 24px;

    align-items: stretch;
}


/* =========================================================
   CARDS
   ========================================================= */

.password-card,
.policy-card {
    background: #ffffff;

    border-radius: 18px;

    box-shadow:
        0 15px 45px
        rgba(15, 23, 42, 0.08);

    box-sizing: border-box;
}


.password-card {
    padding: 38px 42px;
}


.policy-card {
    padding: 38px 36px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    text-align: center;

    margin-bottom: 30px;
}


.logo-badge {
    width: 58px;
    height: 58px;

    margin:
        0 auto
        15px;

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

    background: #111827;

    color: white;

    border-radius: 15px;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: 0.5px;
}


.brand h1 {
    margin: 0;

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

    color: #172033;
}


.brand p {
    margin:
        7px 0
        0;

    color: #6b7280;

    font-size: 15px;
}


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

.form-group {
    margin-bottom: 19px;
}


label {
    display: block;

    margin-bottom: 7px;

    font-size: 15px;
    font-weight: 600;

    color: #172033;
}


input {
    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding:
        0 14px;

    border:
        1px solid #d1d5db;

    border-radius: 8px;

    background: white;

    font-size: 15px;

    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}


input::placeholder {
    color: #9ca3af;
}


input:focus {
    outline: none;

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.12);
}


/* =========================================================
   PASSWORD INPUT
   ========================================================= */

.password-input {
    position: relative;
}


.password-input input {
    padding-right: 65px;
}


.show-password {
    position: absolute;

    right: 13px;
    top: 50%;

    transform:
        translateY(-50%);

    padding: 5px;

    border: 0;

    background: transparent;

    color: #2563eb;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}


.show-password:hover {
    color: #1d4ed8;
}


/* =========================================================
   CHANGE BUTTON
   ========================================================= */

.change-button {
    width: 100%;

    height: 50px;

    margin-top: 5px;

    border: none;

    border-radius: 8px;

    background: #2563eb;

    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.15s,
        transform 0.1s;
}


.change-button:hover {
    background: #1d4ed8;
}


.change-button:active {
    transform:
        translateY(1px);
}


/* =========================================================
   VALIDATION / STATUS
   ========================================================= */

.validation {
    color: #dc2626;

    font-size: 13px;

    margin-top: 5px;
}


.status {
    padding: 12px 14px;

    margin-bottom: 20px;

    border-radius: 8px;

    font-size: 14px;
}


.status.success {
    background: #ecfdf5;

    border:
        1px solid #a7f3d0;

    color: #065f46;
}


.status.error {
    background: #fef2f2;

    border:
        1px solid #fecaca;

    color: #991b1b;
}


.security-note {
    margin-top: 22px;

    text-align: center;

    color: #9ca3af;

    font-size: 12px;
}


/* =========================================================
   POLICY HEADER
   ========================================================= */

.policy-header {
    display: flex;

    gap: 14px;

    align-items: flex-start;

    padding-bottom: 22px;

    margin-bottom: 24px;

    border-bottom:
        1px solid #e5e7eb;
}


.policy-icon {
    flex:
        0 0
        42px;

    width: 42px;
    height: 42px;

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

    border-radius: 10px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 21px;
    font-weight: 700;
}


.policy-header h2 {
    margin: 0;

    color: #172033;

    font-size: 22px;
}


.policy-header p {
    margin:
        6px 0
        0;

    color: #6b7280;

    line-height: 1.5;

    font-size: 13px;
}


/* =========================================================
   POLICY SECTIONS
   ========================================================= */

.policy-section {
    margin-bottom: 24px;
}


.policy-section h3 {
    margin:
        0 0
        15px;

    color: #374151;

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

    text-transform: uppercase;

    letter-spacing: 0.5px;
}


.policy-item {
    display: flex;

    gap: 11px;

    align-items: flex-start;

    margin-bottom: 13px;
}


.check {
    flex:
        0 0
        22px;

    width: 22px;
    height: 22px;

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

    margin-top: 1px;

    border-radius: 50%;

    background: #ecfdf5;

    color: #059669;

    font-size: 12px;
    font-weight: 700;
}


.policy-item strong {
    display: block;

    margin-bottom: 2px;

    color: #374151;

    font-size: 13px;
}


.policy-item p {
    margin: 0;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.45;
}


/* =========================================================
   POLICY WARNING
   ========================================================= */

.policy-warning {
    padding: 14px 15px;

    margin-top: 6px;

    background: #fffbeb;

    border:
        1px solid #fde68a;

    border-radius: 9px;
}


.policy-warning strong {
    color: #92400e;

    font-size: 13px;
}


.policy-warning p {
    margin:
        5px 0
        0;

    color: #92400e;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SECURE CONNECTION
   ========================================================= */

.secure-connection {
    display: flex;

    gap: 11px;

    margin-top: 20px;

    padding-top: 18px;

    border-top:
        1px solid #e5e7eb;
}


.secure-connection span {
    font-size: 18px;
}


.secure-connection strong {
    display: block;

    color: #374151;

    font-size: 13px;
}


.secure-connection p {
    margin:
        4px 0
        0;

    color: #9ca3af;

    font-size: 12px;

    line-height: 1.45;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .password-page {
        align-items: flex-start;

        padding:
            25px 15px;
    }


    .password-wrapper {
        max-width: 520px;

        grid-template-columns: 1fr;
    }


    .password-card,
    .policy-card {
        padding:
            32px 28px;
    }

}


@media (max-width: 480px) {

    .password-page {
        padding:
            15px 10px;
    }


    .password-card,
    .policy-card {
        padding:
            27px 20px;

        border-radius: 14px;
    }


    .brand h1 {
        font-size: 25px;
    }


    .policy-header h2 {
        font-size: 20px;
    }

}
