/* =========================================================
    GLOBAL
========================================================= */

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

body {
    font-family: "Mukta", sans-serif;

    background: linear-gradient(
        rgba(241, 245, 249, 0.92),
        rgba(241, 245, 249, 0.92)
    );

    min-height: 100vh;
    color: #0f172a;
}

/* =========================================================
    WRAPPER
========================================================= */

.main-wrapper {
    min-height: 100vh;

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

    padding: 25px 15px;
}

.reset-container {
    width: 100%;
    max-width: 520px;
}

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

.reset-card {
    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #e2e8f0;

    border-radius: 24px;

    padding: 35px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

    transition: all 0.3s ease;
}

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

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

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

.login-top {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 90px;
    height: 90px;

    margin: 0 auto 20px;

    border-radius: 24px;

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

    font-size: 40px;
    color: #fff;

    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);

    box-shadow: 0 12px 24px rgba(20, 184, 166, 0.25);
}

.login-title {
    font-size: 28px;
    font-weight: 800;

    color: #0f172a;

    margin-bottom: 8px;
}

.login-subtitle {
    color: #64748b;

    font-size: 14px;

    line-height: 1.7;

    max-width: 350px;
    margin: auto;
}

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

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

.form-label {
    display: block;

    margin-bottom: 8px;

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

    color: #334155;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;

    left: 18px;
    top: 50%;

    transform: translateY(-50%);

    color: #64748b;

    font-size: 15px;
}

.custom-input {
    width: 100%;

    height: 56px;

    border-radius: 16px;

    border: 1px solid #dbe3ea;

    background: #f8fafc;

    padding: 0 18px 0 25px;

    font-size: 15px;

    transition: all 0.3s ease;
}

.custom-input:focus {
    outline: none;

    background: #fff;

    border-color: #0f766e;

    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.custom-input::placeholder {
    color: #94a3b8;
}

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

.btn-login {
    width: 100%;
    height: 56px;

    border: none;

    border-radius: 16px;

    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);

    color: #fff;

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

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}

.btn-login:hover {
    transform: translateY(-1px);

    box-shadow: 0 16px 30px rgba(15, 118, 110, 0.32);
}

.btn-login:active {
    transform: scale(0.99);
}

/* =========================================================
    ALERTS
========================================================= */

.custom-alert {
    border-radius: 14px;

    padding: 14px 16px;

    font-size: 14px;

    margin-bottom: 18px;

    border: 1px solid transparent;
}

.custom-alert.success {
    background: #ecfdf5;
    color: #047857;
    border-color: #bbf7d0;
}

.custom-alert.error {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* =========================================================
    FOOTER LINK
========================================================= */

.back-link {
    display: block;

    text-align: center;

    margin-top: 22px;

    color: #0f766e;

    font-weight: 700;

    text-decoration: none;

    transition: 0.3s;
}

.back-link:hover {
    color: #115e59;
}

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

@media (max-width: 768px) {
    .main-wrapper {
        padding: 20px 15px;
    }

    .reset-card {
        padding: 28px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 13px;
    }
}

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

@media (max-width: 576px) {
    .main-wrapper {
        padding: 15px;
    }

    .reset-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .login-logo {
        width: 75px;
        height: 75px;

        font-size: 32px;

        border-radius: 20px;
    }

    .login-title {
        font-size: 22px;
    }

    .custom-input {
        height: 52px;
        font-size: 14px;
    }

    .btn-login {
        height: 52px;
        font-size: 15px;
    }
}

.back-link {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    color: #0f766e;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-link i {
    font-size: 13px;
    transition: transform 0.3s ease;
}

.back-link:hover {
    color: #115e59;
}

.back-link:hover i {
    transform: translateX(-4px);
}

/* =========================================================
    SMALL MOBILE
========================================================= */

@media (max-width: 380px) {
    .reset-card {
        padding: 20px 16px;
    }

    .login-title {
        font-size: 20px;
    }

    .login-subtitle {
        font-size: 12px;
    }

    .custom-input {
        height: 50px;
        padding-left: 15px;
    }

    .btn-login {
        height: 50px;
        font-size: 14px;
    }
}
@media (max-width: 576px) {
    .back-link {
        font-size: 14px;
        margin-top: 20px;
    }

    .back-link i {
        font-size: 12px;
    }
}
