/* =====================================================
   PASSWORD RESET PAGE — AI Vault Dashboard Theme
   Same Blue / Purple Design as login.css
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    background: #f5f6ff;
    color: #202044;
    min-height: 100vh;
}

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

.reset-container {
    width: 100%;
    min-height: 100vh;

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

    padding: 0 20px;

    background:
        radial-gradient(
            circle at top right,
            rgba(92, 75, 230, 0.12),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(45, 142, 219, 0.10),
            transparent 40%
        ),
        #f6f7ff;
}

/* =====================================================
   RESET CARD
===================================================== */

.reset-card {
    width: 100%;
    max-width: 420px;

    background: #fff;

    border: 1px solid rgba(81, 70, 223, 0.10);
    border-radius: 25px;

    padding: 40px 34px;

    text-align: center;

    box-shadow: 0 12px 35px rgba(46, 42, 120, 0.08);
}

/* =====================================================
   LOGO
===================================================== */

.reset-card .logo {
    width: 64px;
    height: 64px;

    margin: 0 auto 18px;

    border-radius: 18px;

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

    background: linear-gradient(
        135deg,
        #5146df,
        #2d8edb
    );

    color: #fff;

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

    box-shadow: 0 10px 25px rgba(81, 70, 223, 0.30);
}

/* =====================================================
   HEADING
===================================================== */

.reset-card h1 {
    font-size: 24px;
    font-weight: 800;
    color: #161650;

    margin-bottom: 6px;
}

.reset-card h1::first-letter {
    color: #5146df;
}

/* =====================================================
   DESCRIPTION
===================================================== */

.description {
    color: #77778d;

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

    line-height: 1.6;

    margin-top: 6px;
    margin-bottom: 26px;
}

.description strong {
    display: block;

    margin-top: 6px;

    color: #5146df;

    font-weight: 700;

    word-break: break-word;
}

/* =====================================================
   MESSAGE / ALERT
===================================================== */

.message {
    display: flex;
    align-items: center;

    padding: 13px 18px;

    border-radius: 14px;

    margin-bottom: 20px;

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

    text-align: left;

    line-height: 1.5;
}

.message.danger {
    background: #fdecea;
    color: #b3261e;

    border: 1px solid rgba(179, 38, 30, 0.18);
}

.message.success {
    background: #e9f9ef;
    color: #1c7a3f;

    border: 1px solid rgba(28, 122, 63, 0.20);
}

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

.reset-card form {
    text-align: left;
}

.reset-card label {
    display: block;

    margin-bottom: 8px;

    color: #20204c;

    font-size: 13px;
    font-weight: 600;
}

/* =====================================================
   INPUTS
===================================================== */

.reset-card input {
    width: 100%;

    border: 1px solid rgba(81, 70, 223, 0.14);

    border-radius: 50px;

    background: #f5f6fd;

    padding: 14px 18px;

    margin-bottom: 18px;

    outline: none;

    font-size: 14px;

    font-family: inherit;

    color: #20204c;

    transition: 0.25s ease;
}

.reset-card input::placeholder {
    color: #9999aa;
}

.reset-card input:focus {
    border-color: #5146df;

    background: #fff;

    box-shadow:
        0 8px 20px rgba(81, 70, 223, 0.12);
}

/* =====================================================
   OTP INPUT
===================================================== */

.reset-card .otp-input {
    text-align: center;

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

    letter-spacing: 7px;

    padding-left: 22px;
}

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

.reset-card button {
    width: 100%;

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

    padding: 15px 22px;

    border: none;
    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #5146df,
        #2d8edb
    );

    color: #fff;

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

    font-family: inherit;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(81, 70, 223, 0.28);

    transition: 0.25s ease;
}

.reset-card button:hover {
    transform: translateY(-3px);

    color: #fff;

    box-shadow:
        0 13px 28px rgba(81, 70, 223, 0.32);
}

.reset-card button:active {
    transform: translateY(0);
}

/* =====================================================
   BACK TO LOGIN / REQUEST NEW OTP
===================================================== */

.back-login {
    display: block;

    text-align: center;

    margin-top: 22px;

    color: #5146df;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.back-login:hover {
    text-decoration: underline;
}

/* =====================================================
   SUCCESS ICON
===================================================== */

.success-icon {
    width: 68px;
    height: 68px;

    margin: 10px auto 20px;

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

    border-radius: 50%;

    background: #e9f9ef;

    color: #1c7a3f;

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

    border: 1px solid rgba(28, 122, 63, 0.15);
}

/* =====================================================
   SUCCESS TEXT
===================================================== */

.success-text {
    text-align: center;

    color: #77778d;

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

    line-height: 1.6;

    margin-bottom: 22px;
}

/* =====================================================
   GO TO LOGIN BUTTON
===================================================== */

.login-button {
    width: 100%;

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

    padding: 15px 22px;

    border-radius: 50px;

    background: linear-gradient(
        135deg,
        #5146df,
        #2d8edb
    );

    color: #fff;

    text-decoration: none;

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

    box-shadow:
        0 10px 25px rgba(81, 70, 223, 0.28);

    transition: 0.25s ease;
}

.login-button:hover {
    transform: translateY(-3px);

    color: #fff;

    box-shadow:
        0 13px 28px rgba(81, 70, 223, 0.32);
}

/* =====================================================
   TABLET — ≤600px
===================================================== */

@media (max-width: 600px) {

    .reset-container {
        padding: 0 14px;
    }

    .reset-card {
        padding: 32px 22px;

        border-radius: 20px;
    }

    .reset-card h1 {
        font-size: 21px;
    }

    .reset-card .logo {
        width: 56px;
        height: 56px;

        font-size: 22px;

        border-radius: 15px;
    }

    .reset-card input {
        padding: 12px 16px;

        font-size: 13px;
    }

    .reset-card button,
    .login-button {
        padding: 13px 18px;

        font-size: 13px;
    }

    .reset-card .otp-input {
        font-size: 20px;

        letter-spacing: 5px;
    }
}

/* =====================================================
   VERY SMALL PHONES — ≤380px
===================================================== */

@media (max-width: 380px) {

    .reset-card {
        padding: 26px 18px;
    }

    .reset-card h1 {
        font-size: 20px;
    }

    .description {
        font-size: 13px;
    }

    .reset-card .otp-input {
        font-size: 18px;

        letter-spacing: 4px;
    }
}
