:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
}

.recovery-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
}

.recovery-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.recovery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.recovery-card .card-header {
    background: none;
    border: none;
    padding: 0 0 1rem 0;
    text-align: center;
    position: relative;
}

.recovery-card .card-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.recovery-card h2 {
    color: #2c3e50;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.recovery-card .subtitle {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.recovery-card .form-group {
    margin-bottom: 1.8rem;
    text-align: center;
}

.recovery-card label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.8rem;
    display: block;
    font-size: 1.1rem;
    text-align: left;
}

.recovery-card .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    text-align: center;
    width: 100%;
}

.recovery-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    background: white;
}

.recovery-card .btn-primary {
    background: var(--primary);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.recovery-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
    background: var(--primary-dark);
}

.recovery-card .btn-primary:active {
    transform: translateY(0);
}

/* Loader */
.loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.btn-primary.loading {
    color: transparent;
}

.btn-primary.loading .loader {
    display: block;
}

/* Message d'erreur */
.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
    text-align: center;
}

/* Animation d'entrée */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
