/* ============================================
   PLATEFORME ADLUCEM - ESPACE PARTENAIRES
   ============================================ */

.plateforme-main {
    min-height: 100vh;
    padding-top: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* ============================================
   SECTION CONNEXION
   ============================================ */

.login-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
}

.login-container {
    width: 100%;
    max-width: 500px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    opacity: 0.8;
    font-size: 1rem;
}

.login-buttons {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #1a1a2e;
    color: white;
}

.btn-primary:hover {
    background: #16213e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 26, 46, 0.3);
}

.btn-secondary {
    background: white;
    color: #1a1a2e;
    border: 2px solid #1a1a2e;
}

.btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.login-note {
    text-align: center;
    padding: 20px 40px;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.login-note a {
    color: #c9a227;
    text-decoration: none;
}

.login-info {
    background: #f8f9fa;
    padding: 30px 40px;
    border-top: 1px solid #e9ecef;
}

.login-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.login-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.login-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: #495057;
    font-size: 0.95rem;
}

.login-info li svg {
    color: #28a745;
    flex-shrink: 0;
}

/* ============================================
   SECTION DASHBOARD
   ============================================ */

.dashboard-section {
    padding: 40px 20px;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.welcome-message h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.welcome-message h1 span {
    color: #c9a227;
}

.welcome-message p {
    color: #6c757d;
    font-size: 1rem;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #dc3545;
    border: 1px solid #dc3545;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #dc3545;
    color: white;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c9a227, #e8c547);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.dashboard-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.dashboard-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-action {
    display: inline-flex;
    align-items: center;
    color: #c9a227;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-action:hover {
    color: #1a1a2e;
    gap: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .login-header {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }

    .login-buttons {
        padding: 30px 20px;
    }

    .login-info {
        padding: 20px;
    }

    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .welcome-message h1 {
        font-size: 1.5rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   NETLIFY IDENTITY WIDGET CUSTOMIZATION
   ============================================ */

/* Personnalisation du modal Netlify Identity */
.netlify-identity-menu,
.netlify-identity-button {
    font-family: 'Inter', sans-serif !important;
}
