/* Styles extracted from forgot-password.php
   Keep dynamic color variables in the page via a small :root inline block.
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f4f6f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.forgot-wrapper {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.forgot-header {
    background: linear-gradient(135deg, var(--lms-dark) 0%, color-mix(in srgb, var(--lms-dark), #16213e 30%) 100%);
    padding: 2.5rem;
    text-align: center;
    color: #fff;
}

.forgot-logo {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.forgot-logo img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.forgot-logo i {
    font-size: 2rem;
    color: #fff;
}

.forgot-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.forgot-body {
    padding: 2.5rem;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating > .form-control {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 1rem 1rem 1rem 3rem;
    height: auto;
    font-size: 1rem;
}

.form-floating > .form-control:focus {
    border-color: var(--lms-primary);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.form-floating > label {
    padding: 1rem 1rem 1rem 3rem;
    color: #6c757d;
}

.form-floating > label i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.btn-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lms-primary) 0%, var(--lms-secondary) 100%);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
    color: #fff;
}

.alert {
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: #6c757d;
    text-decoration: none;
}

.back-link:hover {
    color: var(--lms-primary);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2dc653 0%, #28a745 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    font-size: 2.5rem;
    color: #fff;
}

.info-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 576px) {
    .forgot-wrapper {
        border-radius: 0;
        min-height: 100vh;
    }
    
    .forgot-body {
        padding: 2rem 1.5rem;
    }
}