/**
 * LS Événements - Styles Frontend (Portail Client)
 * Version: 1.0.0
 */

/* ========================================
   Variables
======================================== */
:root {
    --lse-primary: #639FAB;
    --lse-primary-dark: #4a7580;
    --lse-secondary: #2c3e50;
    --lse-success: #27ae60;
    --lse-warning: #f39c12;
    --lse-danger: #e74c3c;
    --lse-info: #3498db;
    --lse-light: #ecf0f1;
    --lse-dark: #34495e;
    --lse-border: #ddd;
    --lse-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --lse-radius: 8px;
}

/* ========================================
   Reset et Base
======================================== */
.lse-portail-login,
.lse-portail-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--lse-dark);
    line-height: 1.6;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ========================================
   Page de Connexion
======================================== */
.lse-login-container {
    max-width: 450px;
    margin: 80px auto;
    background: white;
    padding: 40px;
    border-radius: var(--lse-radius);
    box-shadow: var(--lse-shadow);
}

.lse-login-header {
    text-align: center;
    margin-bottom: 30px;
}

.lse-login-header h2 {
    color: var(--lse-primary);
    margin: 0 0 10px 0;
    font-size: 28px;
}

.lse-login-header p {
    color: #666;
    margin: 0;
}

.lse-alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.lse-alert-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.lse-alert-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #3c3;
}

.lse-login-form {
    margin-top: 30px;
}

.lse-form-group {
    margin-bottom: 20px;
}

.lse-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--lse-dark);
}

.lse-icon {
    margin-right: 5px;
}

.lse-form-group input[type="text"],
.lse-form-group input[type="email"],
.lse-form-group input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--lse-border);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.lse-form-group input:focus {
    outline: none;
    border-color: var(--lse-primary);
}

.lse-remember {
    margin: 20px 0;
}

.lse-remember label {
    font-weight: normal;
    cursor: pointer;
}

.lse-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.lse-btn-primary {
    background: var(--lse-primary);
    color: white;
    width: 100%;
}

.lse-btn-primary:hover {
    background: var(--lse-primary-dark);
}

.lse-btn-secondary {
    background: var(--lse-secondary);
    color: white;
}

.lse-btn-secondary:hover {
    background: #1a252f;
}

.lse-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.lse-login-footer {
    text-align: center;
    margin-top: 20px;
}

.lse-login-footer a {
    color: var(--lse-primary);
    text-decoration: none;
}

.lse-login-footer a:hover {
    text-decoration: underline;
}

.lse-login-help {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--lse-border);
    text-align: center;
}

.lse-login-help p {
    margin: 10px 0;
    color: #666;
}

/* ========================================
   Header du Portail
======================================== */
.lse-portail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: var(--lse-radius);
    box-shadow: var(--lse-shadow);
    margin-bottom: 20px;
}

.lse-portail-logo h1 {
    margin: 0;
    font-size: 24px;
    color: var(--lse-primary);
}

.lse-portail-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ========================================
   Navigation
======================================== */
.lse-portail-nav {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: var(--lse-radius);
    box-shadow: var(--lse-shadow);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.lse-portail-nav a {
    padding: 12px 20px;
    color: var(--lse-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.lse-portail-nav a:hover {
    background: var(--lse-light);
}

.lse-portail-nav a.active {
    background: var(--lse-primary);
    color: white;
}

/* ========================================
   Contenu Principal
======================================== */
.lse-portail-content {
    background: white;
    padding: 30px;
    border-radius: var(--lse-radius);
    box-shadow: var(--lse-shadow);
}

/* Hero Section */
.lse-portail-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--lse-primary) 0%, var(--lse-primary-dark) 100%);
    color: white;
    border-radius: var(--lse-radius);
    margin-bottom: 30px;
}

.lse-portail-hero h2 {
    margin: 0 0 20px 0;
    font-size: 32px;
}

.lse-hero-date {
    font-size: 20px;
    margin-bottom: 30px;
}

.lse-date-icon {
    font-size: 24px;
    margin-right: 10px;
}

.lse-countdown {
    margin-top: 20px;
}

.lse-countdown-number {
    font-size: 60px;
    font-weight: bold;
}

.lse-countdown-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Stats Grid */
.lse-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.lse-stat-card {
    background: white;
    border: 1px solid var(--lse-border);
    border-radius: var(--lse-radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--lse-shadow);
}

.lse-stat-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.lse-stat-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--lse-primary);
    margin-bottom: 5px;
}

.lse-stat-label {
    font-size: 14px;
    color: #666;
}

/* Progress Bar */
.lse-progress-section {
    margin: 30px 0;
}

.lse-progress-section h3 {
    margin-bottom: 15px;
    color: var(--lse-dark);
}

.lse-progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.lse-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--lse-primary) 0%, var(--lse-primary-dark) 100%);
    transition: width 0.5s ease;
}

.lse-progress-text {
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
    color: var(--lse-primary);
}

/* Section */
.lse-section {
    margin: 30px 0;
}

.lse-section h3 {
    margin-bottom: 20px;
    color: var(--lse-dark);
    border-bottom: 2px solid var(--lse-primary);
    padding-bottom: 10px;
}

/* Tâches List */
.lse-taches-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lse-tache-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--lse-light);
    border-radius: 4px;
    transition: transform 0.2s;
}

.lse-tache-item:hover {
    transform: translateX(5px);
}

.lse-tache-icon {
    font-size: 24px;
    margin-right: 15px;
}

.lse-tache-content {
    flex: 1;
}

.lse-tache-title {
    margin: 0 0 5px 0;
    font-weight: 600;
}

.lse-tache-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.lse-tache-category {
    background: var(--lse-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

/* Actions Grid */
.lse-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lse-action-card {
    display: block;
    padding: 25px;
    background: white;
    border: 2px solid var(--lse-border);
    border-radius: var(--lse-radius);
    text-align: center;
    text-decoration: none;
    color: var(--lse-dark);
    transition: all 0.3s;
}

.lse-action-card:hover {
    border-color: var(--lse-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.lse-action-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.lse-action-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--lse-primary);
}

.lse-action-desc {
    font-size: 14px;
    color: #666;
}

/* Info Grid */
.lse-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lse-info-card {
    padding: 20px;
    background: var(--lse-light);
    border-radius: var(--lse-radius);
}

.lse-info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.lse-info-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--lse-dark);
}

/* Lieu Card */
.lse-lieu-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--lse-light);
    border-radius: var(--lse-radius);
}

.lse-lieu-icon {
    font-size: 48px;
}

.lse-lieu-content h4 {
    margin: 0 0 10px 0;
    color: var(--lse-primary);
}

.lse-lieu-content p {
    margin: 8px 0;
}

/* Prestations */
.lse-prestations-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lse-prestation-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--lse-light);
    border-radius: var(--lse-radius);
}

.lse-prestation-icon {
    font-size: 24px;
    color: var(--lse-success);
}

.lse-prestation-content h4 {
    margin: 0 0 5px 0;
}

.lse-prestation-content p {
    margin: 0;
    color: #666;
}

/* Budget Card */
.lse-budget-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, var(--lse-primary) 0%, var(--lse-primary-dark) 100%);
    color: white;
    border-radius: var(--lse-radius);
}

.lse-budget-amount {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.lse-budget-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Notes Card */
.lse-notes-card {
    padding: 20px;
    background: var(--lse-light);
    border-radius: var(--lse-radius);
    white-space: pre-wrap;
}

/* Contact Card */
.lse-contact-card {
    text-align: center;
    padding: 30px;
    background: var(--lse-light);
    border-radius: var(--lse-radius);
}

.lse-contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* Tâches Page */
.lse-taches-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.lse-stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border: 2px solid var(--lse-border);
    border-radius: var(--lse-radius);
}

.lse-stat-item.lse-stat-success {
    border-color: var(--lse-success);
}

.lse-stat-item.lse-stat-primary {
    border-color: var(--lse-primary);
}

.lse-taches-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.lse-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--lse-border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.lse-filter-btn:hover {
    border-color: var(--lse-primary);
}

.lse-filter-btn.active {
    background: var(--lse-primary);
    border-color: var(--lse-primary);
    color: white;
}

.lse-taches-category {
    margin-bottom: 30px;
}

.lse-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--lse-primary);
    color: white;
    border-radius: var(--lse-radius);
}

.lse-category-count {
    margin-left: auto;
    font-size: 14px;
    opacity: 0.9;
}

.lse-tache-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border: 2px solid var(--lse-border);
    border-radius: var(--lse-radius);
    margin-bottom: 15px;
    transition: all 0.2s;
}

.lse-tache-card:hover {
    box-shadow: var(--lse-shadow);
}

.lse-tache-completed {
    opacity: 0.7;
    border-color: var(--lse-success);
}

.lse-tache-checkbox {
    font-size: 24px;
}

.lse-check {
    color: var(--lse-success);
}

.lse-uncheck {
    color: #ccc;
}

.lse-tache-badge {
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.lse-badge-success {
    background: var(--lse-success);
    color: white;
}

.lse-badge-warning {
    background: var(--lse-warning);
    color: white;
}

.lse-badge-danger {
    background: var(--lse-danger);
    color: white;
}

/* Documents */
.lse-documents-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lse-document-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border: 2px solid var(--lse-border);
    border-radius: var(--lse-radius);
}

.lse-document-icon {
    font-size: 48px;
}

.lse-document-content {
    flex: 1;
}

.lse-document-content h3 {
    margin: 0 0 10px 0;
}

.lse-document-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.lse-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.lse-badge-envoye {
    background: var(--lse-info);
    color: white;
}

.lse-badge-accepte {
    background: var(--lse-success);
    color: white;
}

.lse-badge-refuse {
    background: var(--lse-danger);
    color: white;
}

.lse-badge-brouillon {
    background: #95a5a6;
    color: white;
}

/* Empty State */
.lse-empty-state {
    text-align: center;
    padding: 80px 20px;
}

.lse-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.lse-empty-state h2 {
    color: var(--lse-dark);
    margin-bottom: 10px;
}

.lse-empty-state p {
    color: #666;
    margin-bottom: 30px;
}

/* ========================================
   Responsive (base)
======================================== */
@media (max-width: 768px) {
    .lse-portail-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .lse-portail-nav {
        flex-direction: column;
    }

    .lse-stats-grid {
        grid-template-columns: 1fr;
    }

    .lse-actions-grid {
        grid-template-columns: 1fr;
    }

    .lse-contact-buttons {
        flex-direction: column;
    }

    .lse-lieu-card {
        flex-direction: column;
    }

    .lse-document-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   DASHBOARD STYLE - Inspiré WeddingPlan
======================================== */

/* Header Couple */
.lse-dashboard-header {
    position: relative;
    background: linear-gradient(135deg, #639FAB 0%, #4a7580 100%);
    padding: 40px 30px;
    border-radius: var(--lse-radius);
    margin-bottom: 30px;
    color: white;
    box-shadow: var(--lse-shadow);
}

.lse-dashboard-couple {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.lse-couple-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lse-couple-initials {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.lse-couple-info h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 300;
}

.lse-couple-date {
    font-size: 20px;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lse-weather-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
}

.lse-weather-icon {
    font-size: 32px;
}

/* Countdown */
.lse-dashboard-countdown {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--lse-radius);
    box-shadow: var(--lse-shadow);
    margin-bottom: 30px;
}

.lse-countdown-days {
    font-size: 72px;
    font-weight: bold;
    color: #639FAB;
    line-height: 1;
    margin-bottom: 10px;
}

.lse-countdown-text {
    font-size: 24px;
    color: var(--lse-dark);
}

/* Dashboard Grid */
.lse-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Widgets */
.lse-dashboard-widget {
    background: white;
    padding: 30px;
    border-radius: var(--lse-radius);
    box-shadow: var(--lse-shadow);
    min-height: 450px;
}

.lse-widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #639FAB;
}

.lse-widget-icon {
    font-size: 28px;
    color: #639FAB;
}

.lse-widget-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--lse-dark);
}

/* Budget Widget */
.lse-budget-summary {
    margin-bottom: 30px;
    text-align: center;
}

.lse-budget-amount {
    font-size: 42px;
    font-weight: bold;
    color: #639FAB;
    margin-bottom: 5px;
}

.lse-budget-label {
    color: #666;
    font-size: 16px;
}

.lse-budget-progress {
    margin-top: 30px;
}

.lse-progress-bar {
    width: 100%;
    height: 32px;
    background: #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 15px;
}

.lse-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #639FAB 0%, #4a7580 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 15px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    transition: width 0.5s ease;
}

.lse-budget-details {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #666;
    font-weight: 600;
}

/* Chart Container - GRANDES TAILLES comme WeddingPlan */
.lse-chart-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 20px auto 30px;
}

.lse-chart-container canvas {
    max-height: 400px;
}

/* Chart Center Text pour Donut */
.lse-chart-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    z-index: 10;
}

.lse-chart-number {
    font-size: 56px;
    font-weight: bold;
    color: #639FAB;
    line-height: 1;
}

.lse-chart-label {
    font-size: 16px;
    color: #666;
    margin-top: 8px;
}

/* Legend */
.lse-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.lse-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.lse-legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    flex-shrink: 0;
}

.lse-legend-label {
    flex: 1;
    color: var(--lse-dark);
}

.lse-legend-value {
    font-weight: 700;
    color: #639FAB;
    font-size: 16px;
}

/* Button voir plus */
.lse-widget-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #639FAB;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-top: 20px;
    transition: all 0.2s;
}

.lse-widget-action:hover {
    gap: 12px;
    color: #4a7580;
}

/* Agenda Sidebar */
.lse-dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.lse-agenda-widget {
    position: sticky;
    top: 20px;
}

/* Calendar - Style WeddingPlan */
.lse-calendar {
    margin-bottom: 25px;
}

.lse-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}

.lse-calendar-nav {
    display: flex;
    gap: 15px;
}

.lse-calendar-nav button {
    background: none;
    border: none;
    font-size: 20px;
    color: #639FAB;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s;
}

.lse-calendar-nav button:hover {
    background: #f0f0f0;
}

.lse-calendar-month {
    font-weight: 600;
    font-size: 16px;
    color: var(--lse-dark);
}

.lse-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.lse-calendar-day-header {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    padding: 8px 0;
}

.lse-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    background: #f8f9fa;
    color: var(--lse-dark);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.lse-calendar-day:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

.lse-calendar-day.today {
    background: #639FAB;
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(99, 159, 171, 0.4);
}

.lse-calendar-day.event-day {
    background: #ffd700;
    color: var(--lse-dark);
    font-weight: 700;
    position: relative;
}

.lse-calendar-day.other-month {
    opacity: 0.3;
}

/* Tasks List in Agenda */
.lse-agenda-tasks-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--lse-dark);
}

.lse-agenda-tasks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lse-agenda-task {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #639FAB;
    transition: all 0.2s;
    cursor: pointer;
}

.lse-agenda-task:hover {
    background: #e9ecef;
    transform: translateX(3px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.lse-task-status {
    font-size: 18px;
    margin-top: 2px;
}

.lse-task-content {
    flex: 1;
}

.lse-task-title {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--lse-dark);
    font-size: 14px;
}

.lse-task-deadline {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lse-task-deadline.urgent {
    color: var(--lse-danger);
    font-weight: 600;
}

.lse-task-deadline.today {
    color: var(--lse-warning);
    font-weight: 600;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .lse-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .lse-agenda-widget {
        position: relative;
        top: 0;
    }

    .lse-chart-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .lse-dashboard-header {
        padding: 25px 20px;
    }

    .lse-dashboard-couple {
        flex-direction: column;
        text-align: center;
    }

    .lse-couple-photo,
    .lse-couple-initials {
        width: 100px;
        height: 100px;
    }

    .lse-couple-info h1 {
        font-size: 24px;
    }

    .lse-countdown-days {
        font-size: 56px;
    }

    .lse-weather-banner {
        font-size: 16px;
    }

    .lse-dashboard-widget {
        padding: 20px;
        min-height: auto;
    }

    .lse-chart-container {
        height: 300px;
    }
}

/* ========================================
   PERFECTIONNEMENT (ajouts sûrs en fin)
   Objectif : rendu "app" + cartes + graphs moins géants
======================================== */

/* Fond app + largeur propre (type WeddingPlan) */
.lse-portail-dashboard {
    background: #f5f6f7;
    max-width: none;
    margin: 0;
    padding: 30px 0;
}

/* Si tu as un wrapper, utilise .lse-dashboard-container (recommandé) */
.lse-portail-dashboard .lse-container,
.lse-portail-dashboard .lse-dashboard-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Harmonisation cartes */
.lse-dashboard-widget,
.lse-stat-card,
.lse-portail-header,
.lse-portail-nav,
.lse-portail-content {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
}

/* Header dashboard moins haut */
.lse-dashboard-header {
    padding: 28px 26px;
}

/* Grille plus proche de la référence : agenda plus large */
.lse-dashboard-grid {
    grid-template-columns: 1fr 1.4fr;
}

/* Graphiques plus compacts (sinon page trop longue) */
.lse-chart-container {
    height: 320px;
    margin: 16px auto 18px;
}

.lse-chart-container canvas {
    max-height: 320px;
}

.lse-chart-number {
    font-size: 44px;
}

@media (max-width: 768px) {
    .lse-chart-container {
        height: 260px;
    }

    .lse-chart-container canvas {
        max-height: 260px;
    }

    .lse-chart-number {
        font-size: 38px;
    }
}
