* {
    font-family: "Baloo Bhaijaan 2", cursive !important;
}

body {
    background: linear-gradient(135deg, #c8d0cc 0%, #a3ada4 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

html {
    background-color: #a3ada4;
}

.forgot-password-container {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.forgot-password-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff7f50, #fa683b);
}

.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.header-section h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.header-section p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #ff7f50;
    box-shadow: 0 0 0 0.2rem rgba(255, 127, 80, 0.25);
    background-color: white;
}

.form-floating label {
    color: #666;
}

.btn-custom {
    background: linear-gradient(135deg, #ff7f50, #fa683b);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-custom:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 127, 80, 0.4);
}

.btn-custom:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-back {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-back:hover {
    background: #f8f9fa;
    border-color: #ff7f50;
    color: #ff7f50;
    text-decoration: none;
}

.success-message {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left: 4px solid #28a745;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: none;
}

.success-message h4 {
    color: #155724;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.success-message p {
    color: #155724;
    margin-bottom: 0;
    line-height: 1.6;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.error-message {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border-left: 4px solid #dc3545;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: #721c24;
    display: none;
}

.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-spinner.show {
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.info-box {
    background: #e8f5fe;
    border-left: 4px solid #2196f3;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #0c5460;
}

.info-box strong {
    display: block;
    margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
    .forgot-password-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .header-section h2 {
        font-size: 1.75rem;
    }
}
