/* Page Mot de passe oublié - SherpaCourtage */

/* Couleur primaire rouge */
.btn-primary {
    background: linear-gradient(135deg, #8B1538 0%, #A91D4A 100%) !important;
    border-color: #8B1538 !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #A91D4A 0%, #8B1538 100%) !important;
    border-color: #A91D4A !important;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3) !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-primary:active,
.btn-primary:focus {
    background: linear-gradient(135deg, #8B1538 0%, #A91D4A 100%) !important;
    border-color: #8B1538 !important;
    box-shadow: 0 2px 8px rgba(139, 21, 56, 0.4) !important;
}

/* Message de succès */
.success-message {
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.08) 0%, rgba(169, 29, 74, 0.08) 100%);
    border: 2px solid #8B1538;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
}

.success-icon {
    font-size: 64px;
    color: #8B1538;
    margin-bottom: 15px;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-message h5 {
    color: #8B1538;
    font-weight: 700;
}

.success-message strong {
    color: #A91D4A;
}

/* Centrer le confirm dialog */
.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
}

.ui-confirmdialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.ui-dialog-titlebar {
    background: linear-gradient(135deg, #8B1538 0%, #A91D4A 100%) !important;
    border-color: #8B1538 !important;
    color: white !important;
}

.ui-confirmdialog-yes.btn-primary {
    background: linear-gradient(135deg, #8B1538 0%, #A91D4A 100%) !important;
    border-color: #8B1538 !important;
}

/* Liens */
a:not(.btn) {
    color: #8B1538 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:not(.btn):hover {
    color: #A91D4A !important;
    text-decoration: none;
}

/* Focus sur les inputs */
.form-control:focus {
    border-color: #8B1538 !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 21, 56, 0.25) !important;
}

/* Messages PrimeFaces */
.ui-messages-error {
    background-color: #fee !important;
    border-color: #8B1538 !important;
    color: #8B1538 !important;
}

.ui-messages-info {
    background-color: rgba(139, 21, 56, 0.1) !important;
    border-color: #8B1538 !important;
    color: #8B1538 !important;
}

/* Logo hover effect */
.app-brand-link:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Titre principal */
h4 {
    color: #2C3E50;
    font-weight: 700;
}

/* Animation d'entrée */
.card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .success-message {
        padding: 20px;
    }
    
    .success-icon {
        font-size: 48px;
    }
    
    .card {
        margin: 10px;
    }
}

@media (max-width: 576px) {
    .success-message {
        padding: 15px;
    }
    
    .success-icon {
        font-size: 40px;
    }
}
