        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
                'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
                sans-serif;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            background-color: #f5f5f5;
            color: #333;
        }

        .app {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        .main-content {
            flex: 1;
            padding: 20px;
            max-width: 1400px;
            width: 100%;
            margin: 0 auto;
        }

        /* Navigation */
        .navigation {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .nav-logo img {
            height: 50px;
            width: auto;
            object-fit: contain;
        }

        .nav-logo h1 {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
            color: white;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 0;
            margin: 0;
            padding: 0;
        }

        .nav-menu li {
            margin: 0;
        }

        .nav-link {
            background: none;
            border: none;
            color: white;
            padding: 20px 25px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: block;
            position: relative;
            font-family: inherit;
        }

        .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

        .nav-link.active {
            background-color: rgba(255, 255, 255, 0.15);
            color: #fff;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            gap: 5px;
        }

        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: white;
            transition: all 0.3s ease;
        }

        /* Accueil */
        .accueil {
            padding: 40px 0;
        }

        .hero-section {
            text-align: center;
            padding: 0;
            background: transparent;
            border-radius: 12px;
            margin-bottom: 40px;
        }

        .hero-section img {
            width: 100%;
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            display: block;
        }

        .hero-section h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            font-weight: 700;
            display: none;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            opacity: 0.95;
            font-weight: 300;
            margin-top: 20px;
            color: #333;
        }

        .content-section-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .info-card {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .info-card h2 {
            color: #667eea;
            margin-bottom: 15px;
            font-size: 1.5rem;
        }

        .info-card p {
            color: #666;
            line-height: 1.6;
            font-size: 1rem;
        }

        /* Sections */
        .content-section {
            display: none;
        }

        .content-section.active {
            display: block;
        }

        .les-meutes,
        .le-club {
            padding: 40px 0;
        }

        .les-meutes h1,
        .le-club h1 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: #333;
        }

        .meutes-content,
        .club-content {
            background: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .coming-soon {
            text-align: center;
            padding: 60px 20px;
            color: #999;
            font-size: 1.2rem;
        }

        /* Adhésion Form */
        .adhesion {
            padding: 40px 0;
        }

        .adhesion h1 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: #333;
        }

        .adhesion-content {
            background: white;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .adhesion-form {
            max-width: 900px;
            margin: 0 auto;
        }

        .form-section {
            margin-bottom: 10px;
            padding-bottom: 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .form-section:last-of-type {
            border-bottom: none;
        }

        .form-section h2 {
            font-size: 1.5rem;
            color: #667eea;
            margin-bottom: 20px;
        }

        .form-section h3 {
            font-size: 1.2rem;
            color: #555;
            margin-bottom: 15px;
            margin-top: 20px;
        }

        .form-group {
            margin-bottom: 10px;
            display: block;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #333;
        }

        .form-group input[type="text"],
        .form-group input[type="date"],
        .form-group input[type="number"],
        .form-group input[type="email"],
        .form-group select {
            width: 100%;
            padding: 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.3s ease;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .form-group.inline-group {
            display: flex;
            align-items: center;
            flex-direction: row;
            gap: 20px;
        }

        .form-group.inline-group label {
            margin-bottom: 0;
        }

        .radio-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .radio-group.vertical {
            flex-direction: column;
            gap: 10px;
        }

        .radio-label {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-weight: normal;
        }

        .radio-label input[type="radio"] {
            width: auto;
            margin: 0;
            cursor: pointer;
        }

        .checkbox-group {
            display: flex;
            flex-direction: wrap;
            gap: 30px;
        }

        .checkbox-label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            cursor: pointer;
            font-weight: normal;
        }

        .checkbox-label input[type="checkbox"] {
            width: auto;
            margin-top: 4px;
            cursor: pointer;
            flex-shrink: 0;
        }

        .checkbox-label input[type="checkbox"]:disabled {
            cursor: not-allowed;
            opacity: 0.7;
        }

        .checkbox-label:has(input[type="checkbox"]:disabled) {
            opacity: 0.7;
            cursor: not-allowed;
            color: #999;
        }

        .checkbox-label:has(input[type="checkbox"]:disabled) span {
            color: #999;
        }

        .health-questionnaire {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 4px;
            margin-bottom: 15px;
        }

        .health-questionnaire p {
            margin-bottom: 10px;
            color: #555;
            line-height: 1.6;
        }

        .dossier-section {
            margin-top: 15px;
        }

        .form-note {
            font-size: 0.9rem;
            color: #666;
            font-style: italic;
            margin-top: 5px;
            margin-left: 28px;
        }

        .checkbox-note {
            font-size: 0.75rem;
            color: #070707;
            font-style: italic;
            margin: 2px 0 0 28px;
            padding: 0;
        }

        .form-actions {
            margin-top: 40px;
            text-align: center;
        }

        .submit-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 15px 40px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            font-family: inherit;
        }

        .submit-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
        }

        .submit-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .message {
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 20px;
            display: none;
        }

        .message.active {
            display: block;
        }

        .message.success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .message.error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }

            .radio-group {
                flex-direction: column;
                gap: 10px;
            }

            .adhesion-content {
                padding: 20px;
            }

            /* Stack checkbox and button vertically on mobile */
            .form-group-with-button {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 15px;
            }

            .form-group-with-button .small-button {
                width: 100%;
                text-align: center;
            }

            /* Adjust checkbox note margin for mobile */
            .checkbox-note {
                margin-left: 28px;
            }
        }

        /* Admin */
        .admin {
            padding: 40px 0;
        }

        .admin h1 {
            font-size: 2.5rem;
            margin-bottom: 30px;
            color: #333;
        }

        .admin-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 30px;
            border-bottom: 2px solid #e0e0e0;
        }

        .tab-button {
            background: none;
            border: none;
            padding: 15px 30px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            color: #666;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            font-family: inherit;
        }

        .tab-button:hover {
            color: #333;
            background-color: #f5f5f5;
        }

        .tab-button.active {
            color: #667eea;
            border-bottom-color: #667eea;
        }

        .admin-panel {
            display: none;
        }

        .admin-panel.active {
            display: block;
        }

        .admin-section-card {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .admin-section-card h2 {
            color: #333;
            margin-bottom: 20px;
            font-size: 1.8rem;
        }

        .error-message {
            background: #fee;
            color: #c33;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            border-left: 4px solid #c33;
            display: none;
        }

        .error-message.active {
            display: block;
        }

        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
            font-size: 1.1rem;
        }

        /* Members Table */
        .members-table-container {
            overflow-x: auto;
        }

        .members-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        .members-table thead {
            background: #f8f9fa;
        }

        .members-table th {
            padding: 12px;
            text-align: left;
            font-weight: 600;
            color: #333;
            border-bottom: 2px solid #e0e0e0;
            text-transform: uppercase;
            font-size: 0.85em;
            letter-spacing: 0.5px;
        }

        .members-table td {
            padding: 12px;
            border-bottom: 1px solid #f0f0f0;
            color: #555;
        }

        .members-table tbody tr:hover {
            background: #f8f9fa;
        }

        .badge {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.85em;
            font-weight: 500;
        }

        .badge-masculin {
            background: #e3f2fd;
            color: #1976d2;
        }

        .badge-feminin {
            background: #fce4ec;
            color: #c2185b;
        }

        .email-link {
            color: #667eea;
            text-decoration: none;
        }

        .email-link:hover {
            text-decoration: underline;
        }

        .no-email {
            color: #999;
            font-style: italic;
        }

        .no-data {
            text-align: center;
            padding: 40px;
            color: #999;
        }

        .members-count {
            text-align: right;
            color: #666;
            font-weight: 500;
            margin-top: 10px;
        }

        /* Inscriptions Table */
        .inscriptions-table-container {
            overflow-x: auto;
        }

        .inscriptions-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }

        .inscriptions-table thead {
            background: #f8f9fa;
        }

        .inscriptions-table th {
            padding: 12px;
            text-align: left;
            font-weight: 600;
            color: #333;
            border-bottom: 2px solid #e0e0e0;
            text-transform: uppercase;
            font-size: 0.85em;
            letter-spacing: 0.5px;
        }

        .inscriptions-table td {
            padding: 12px;
            border-bottom: 1px solid #f0f0f0;
            color: #555;
        }

        .inscriptions-table tbody tr:hover {
            background: #f8f9fa;
        }

        .inscriptions-count {
            text-align: right;
            color: #666;
            font-weight: 500;
            margin-top: 10px;
        }

        /* Payment status badges */
        .badge-en.attente,
        .badge-en.cours {
            background: #fff3cd;
            color: #856404;
        }

        .badge-payé {
            background: #d4edda;
            color: #155724;
        }

        .badge-annulé {
            background: #f8d7da;
            color: #721c24;
        }

        /* Active/Inactive badges */
        .badge-actif {
            background: #d4edda;
            color: #155724;
            font-weight: bold;
        }

        .badge-inactif {
            background: #f8d7da;
            color: #721c24;
            font-weight: bold;
        }


        /* Saisons */
        .saisons-layout {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .saison-form-container,
        .saisons-list-container {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 8px;
        }

        .saison-form-container h2,
        .saisons-list-container h2 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #333;
        }

        .saison-form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* Saison-specific form styling */
        .saison-form .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .saison-form .form-group label {
            font-weight: 500;
            color: #333;
            font-size: 0.95rem;
        }

        .saison-form .form-group input {
            padding: 10px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 1rem;
            font-family: inherit;
            transition: border-color 0.3s;
        }

        .saison-form .form-group input:focus {
            outline: none;
            border-color: #667eea;
        }

        .saisons-list {
            max-height: 500px;
            overflow-y: auto;
        }

        .saisons-table {
            width: 100%;
            border-collapse: collapse;
        }

        .saisons-table thead {
            background: white;
            position: sticky;
            top: 0;
        }

        .saisons-table th {
            padding: 10px;
            text-align: left;
            font-weight: 600;
            color: #333;
            border-bottom: 2px solid #e0e0e0;
            font-size: 0.9rem;
        }

        .saisons-table td {
            padding: 10px;
            border-bottom: 1px solid #e0e0e0;
            color: #555;
            background: white;
        }

        .saisons-table tbody tr:hover {
            background: #f0f0f0;
        }

        .saisons-count {
            text-align: right;
            color: #666;
            font-weight: 500;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid #e0e0e0;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .saisons-layout {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 10px;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .nav-menu {
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
                flex-direction: column;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            }

            .nav-menu.active {
                max-height: 400px;
            }

            .nav-link {
                width: 100%;
                text-align: left;
                padding: 15px 25px;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .nav-link.active::after {
                display: none;
            }

            .nav-link.active {
                background-color: rgba(255, 255, 255, 0.2);
            }

            .hero-section img {
                border-radius: 8px;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .content-section-grid {
                grid-template-columns: 1fr;
            }

            .admin h1 {
                font-size: 2rem;
            }

            .members-table {
                font-size: 0.85rem;
            }

            .members-table th,
            .members-table td {
                padding: 8px 6px;
            }

            .admin-tabs {
                flex-wrap: wrap;
            }

            .tab-button {
                padding: 12px 20px;
                font-size: 0.9rem;
            }
        }

        .cotisations-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.9rem;
        }

        .cotisations-table th,
        .cotisations-table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: left;
        }

        .cotisations-table th {
            background-color: #f2f2f2;
            font-weight: bold;
            text-align: center;
        }

        .cotisations-table td:not(:first-child) {
            text-align: center;
        }

        .cotisations-table .table-header {
            background-color: #e9e9e9;
            font-weight: bold;
            text-align: center;
        }

        .diag-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            font-size: 0.9rem;
        }

        .diag-table th {
            background-color: #f2f2f2;
            font-weight: bold;
            text-align: center;
        }

        .diag-table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: left;
        }

        .diag-table td:not(:first-child) {
            text-align: center;
        }

        /* Cellule diagonale */
        .diag-cell {
            position: relative;
            width: 260px;
            height: 80px;
            background: #f2f2f2;
        }

        /* Trait diagonal */
        .diag-cell::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                linear-gradient(to bottom left,
                    transparent 49.7%,
                    #555 50%,
                    /* couleur du trait */
                    transparent 50.3%);
            pointer-events: none;
        }

        /* Texte du triangle haut-droite */
        .diag-cell .top-right {
            position: absolute;
            top: 8px;
            right: 10px;
            text-align: right;
            color: black;
            font-weight: bold;
            font-size: 14px;
        }

        /* Texte du triangle bas-gauche */
        .diag-cell .bottom-left {
            position: absolute;
            bottom: 8px;
            left: 10px;
            color: black;
            font-weight: bold;
            font-size: 14px;
        }

        .small-button {
            padding: 8px 12px;
            font-size: 0.85rem;
            background-color: #f0f0f0;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            color: #333;
            transition: background-color 0.2s;
            margin-left: 10px;
            min-width: 140px;
            min-height: 36px;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .small-button:hover {
            background-color: #e0e0e0;
        }

        /* Form group with button on the same line */
        .form-group-with-button {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            justify-content: space-between !important;
            gap: 10px;
        }

        .form-group-with-button .checkbox-label {
            flex: 1;
            margin-bottom: 0;
        }