body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f7f9fc, #eef2f8);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #2f2f2f;
}

.forgot-container {
    width: 100%;
    max-width: 620px;
    padding: 24px;
}

.forgot-card {
    background: #ffffff;
    padding: 44px;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #e6eaf2;
}

.logo {
    width: 260px;
    margin-bottom: 18px;
}

h2 {
    margin: 10px 0 28px;
    color: #2E5CB8;
    font-size: 30px;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0 24px;
}

.subtitle {
    font-size: 15px;
    color: #6c757d;
    margin: 0;
}

.line {
    height: 1px;
    width: 50px;
    background: #e6eaf2;
}

.forgot-text {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0 0 24px;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

label {
    font-size: 14px;
    font-weight: bold;
    color: #2f2f2f;
}

input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid #d6dbe3;
    font-size: 15px;
    outline: none;
    background: #fff;
    box-sizing: border-box;
}

input:focus {
    border-color: #2E5CB8;
    box-shadow: 0 0 0 3px rgba(46, 92, 184, 0.12);
}

.btn-submit {
    width: 100%;
    height: 48px;
    margin-top: 10px;
    background: #2E5CB8;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: 0.2s;
}

.btn-submit:hover {
    background-color: #1F3F86;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.error-message {
    background: #ffe8e8;
    color: #a00000;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
}

.success-message {
    background: #e9f8ef;
    color: #176b35;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 10px;
    text-align: left;
    font-size: 14px;
}

.back-login-link {
    margin-top: 20px;
    font-size: 14px;
    color: #6c757d;
    text-align: center;
}

.back-login-link a {
    color: #2E5CB8;
    font-weight: 700;
    text-decoration: none;
}

.back-login-link a:hover {
    text-decoration: underline;
    color: #1F3F86;
}

@media (max-width: 600px) {
    .forgot-container {
        padding: 16px;
    }

    .forgot-card {
        padding: 32px 22px;
    }

    .logo {
        width: 220px;
    }

    h2 {
        font-size: 25px;
    }

    .line {
        width: 34px;
    }
}