﻿/* ========================================
   AUTH COMMON - STYLES PARTAGÉS
   Login + FirstLogin + ForgotPassword
   ======================================== */

/* Container principal */
.auth-container-pro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0F1419 0%, #1C2127 50%, #2D3436 100%);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

/* Effet de fond animé */
.tire-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(92,184,92,0.08) 3px, transparent 2px);
    background-size: 60px 60px;
    opacity: 0.5;
    animation: patternMove 50s linear infinite;
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(60px, 60px);
    }
}

/* Layout principal */
.auth-content {
    display: grid;
    grid-template-columns: 500px 350px;
    gap: 40px;
    position: relative;
    z-index: 1;
    max-width: 1000px;
}

/* Carte principale */
.auth-card-pro {
    background: white;
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(92, 184, 92, 0.2);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.auth-header-pro {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo-pro {
    height: 70px;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(92, 184, 92, 0.3));
}

.auth-title-pro {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #2D3436;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

.auth-subtitle-pro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #636E72;
    font-size: 14px;
    margin: 0;
}

/* Formulaires */
.form-group-pro {
    margin-bottom: 24px;
}

.form-label-pro {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2D3436;
    margin-bottom: 8px;
    font-size: 14px;
}

.label-icon {
    color: #5CB85C;
}

/* Liens */
.auth-links-pro {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #DFE6E9;
}

.link-pro {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #449D44;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

    .link-pro:hover {
        color: #5CB85C;
        gap: 10px;
    }

/* Footer avec téléphone */
.auth-footer-pro {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(92,184,92,0.05) 0%, rgba(92,184,92,0.1) 100%);
    border-radius: 12px;
    border-left: 4px solid #5CB85C;
}

.footer-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(92, 184, 92, 0.2);
}

.footer-text {
    flex: 1;
}

.footer-label {
    margin: 0;
    font-size: 12px;
    color: #636E72;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact {
    margin: 4px 0 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #449D44;
    font-family: 'Orbitron', sans-serif;
}

/* Info Panel (cards à droite) */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(92, 184, 92, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

    .info-card:nth-child(1) {
        animation: slideIn 0.6s ease-out 0.1s backwards;
    }

    .info-card:nth-child(2) {
        animation: slideIn 0.6s ease-out 0.2s backwards;
    }

    .info-card:nth-child(3) {
        animation: slideIn 0.6s ease-out 0.3s backwards;
    }

    .info-card:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(8px);
        box-shadow: 0 8px 24px rgba(92, 184, 92, 0.3);
    }

    .info-card h3 {
        margin: 16px 0 8px 0;
        font-size: 20px;
        font-weight: 700;
        color: white;
        font-family: 'Orbitron', sans-serif;
    }

    .info-card p {
        margin: 0;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.7);
    }

/* Responsive */
@media (max-width: 1024px) {
    .auth-content {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .info-panel {
        flex-direction: row;
        overflow-x: auto;
    }

    .info-card {
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .auth-card-pro {
        padding: 32px 24px;
    }

    .auth-title-pro {
        font-size: 22px;
    }

    .auth-content {
        padding: 16px;
    }

    .info-panel {
        flex-direction: column;
    }
}
