        .step-container {
            display: none;
        }
        .step-container.active {
            display: block;
                        width: 100%;
        }
        .participant-card {
            border: 1px solid var(--lodge-dark, #333);
            background: var(--lodge-light, #f9f9f9);
            padding: 15px;
            margin: 10px 0;
            border-radius: 5px;
        }
        .participant-card h4 {
            margin: 0 0 10px 0;
        }
        .participant-card button {
            margin-top: 10px;
        }
        .summary-table {
                        width: 100%;
            margin: 20px 0;
            border-collapse: collapse;
        }
        .summary-table th,
        .summary-table td {
            padding: 10px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        .summary-table .total-row {
            font-weight: bold;
            font-size: 1.2em;
        }
        
        .btn-remove {
            background: #dc3545;
            color: white;
            border: none;
            border-radius: 4px;
            padding: 6px 10px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s ease;
        }
        
        .btn-remove:hover {
            background: #c82333;
            transform: scale(1.05);
        }
        
        .text-muted {
            color: #6c757d;
            font-style: italic;
        }
        .error-message {
            color: #d32f2f;
            background: #ffebee;
            padding: 15px;
            margin: 20px auto;
            border-radius: 8px;
            border-left: 4px solid #d32f2f;
            text-align: center;
            font-weight: 500;
            max-width: 600px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .success-message {
            color: #388e3c;
            background: #e8f5e9;
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
        }
        .intro-text {
            text-align: center;
            color: #6c757d;
            margin: 8px 0 0 0;
            font-style: italic;
            width: 50%;
        }
        .capacity-warning {
            color: #f57c00;
            background: #fff3e0;
            padding: 10px;
            margin: 10px 0;
            border-radius: 5px;
        }
        
        /* Fix narrow block issue - make it wider */
        .registration-container {
            max-width: 1000px;
            margin: 0 auto;
                        padding: 20px;
        }
        
        /* Fix logo positioning and size */
        .logo-container {
            text-align: center;
            margin-bottom: 20px;
        }
        
        .logo-container img.logo {
            max-height: 120px;
            max-width: 120px;
            height: auto;
            width: auto;
        }
        
        /* Force form to be wider - override existing CSS */
        .form-style-2 {
            max-width: 100% !important;
            width: 100% !important;
        }
        
        .form-style-2 .input-field {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 300px !important;
        }
        
        /* Make form labels and fields wider */
        .form-style-2 label {
            width: 100% !important;
            display: block !important;
        }
        
        .form-style-2 label span {
            width: 100% !important;
            display: block !important;
        }
        
        /* Override any existing form styling */
        .registration-container .form-style-2 {
            width: 100% !important;
            max-width: 1000px !important;
            min-width: 0 !important;
            margin-left: auto !important;
            margin-right: auto !important;
        }
        
        .registration-container .form-style-2 .input-field {
            width: 100% !important;
            max-width: none !important;
        }
        
        /* Override the 50% width rule from forms.css */
        .registration-container .input-field {
            width: 100% !important;
            max-width: none !important;
            min-width: 300px !important;
        }
        
        /* Make sure all input types are wide but respect container boundaries */
        .registration-container input[type="text"],
        .registration-container input[type="email"],
        .registration-container input[type="password"],
        .registration-container textarea,
        .registration-container select {
            width: calc(100% - 20px) !important;
            max-width: calc(100% - 20px) !important;
            box-sizing: border-box !important;
        }
        
        /* Center labels above input fields with asterisk on same line */
        .registration-container .form-style-2 label {
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
        }
        
        .registration-container .form-style-2 label span {
            text-align: center !important;
            width: auto !important;
            margin-bottom: 5px !important;
        }
        
        /* Make the asterisk appear inline with the label */
        .registration-container .form-style-2 label span .required {
            display: inline !important;
        }
        
        /* Ensure proper spacing and alignment - reduce padding to make form wider */
        .registration-container .form-style-2 {
            padding: 15px !important;
            box-sizing: border-box !important;
            margin: 0 !important;
        }
        
        /* Center the "Check email" button */
        .registration-container #addParticipantForm button[onclick="checkParticipantEmail()"] {
            display: block !important;
            margin: 10px auto !important;
        }
        
        /* Make "Add participant" and "Cancel" buttons side by side */
        .registration-container #addParticipantForm .centered-block {
            display: flex !important;
            justify-content: center !important;
            gap: 15px !important;
            flex-wrap: wrap !important;
        }
        
        .registration-container #addParticipantForm .centered-block button {
            margin: 0 !important;
            flex: 0 0 auto !important;
        }
        
        /* Make all centered-block buttons side by side */
        .registration-container .centered-block {
            display: flex !important;
            justify-content: center !important;
            gap: 15px !important;
            flex-wrap: wrap !important;
            flex-direction: row !important;
        }
        
        .registration-container .centered-block button {
            margin: 0 !important;
            flex: 0 0 auto !important;
            display: inline-block !important;
            width: auto !important;
        }
        
        /* Ensure all buttons in centered-block are inline */
        .centered-block .small-button {
            display: inline-block !important;
            margin: 0 5px !important;
        }
        
        /* Override any potential button display rules */
        .registration-container .centered-block button.small-button {
            display: inline-block !important;
            float: none !important;
            clear: none !important;
            width: auto !important;
            margin: 0 5px !important;
        }
        
        /* Force flexbox layout for all centered-block containers */
        .centered-block {
            display: flex !important;
            flex-direction: row !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 15px !important;
            flex-wrap: wrap !important;
        }
        
        /* Modern form styling */
        .form-style-2 {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            border: none;
            border-radius: 0 16px 16px 16px; /* straight top-left, rounded others */
            border-top-left-radius: 0; /* ensure straight top-left corner */
            box-shadow: 0 8px 32px rgba(0,0,0,0.1);
            padding: 30px;
            margin: 20px 0;
            width: 100%;
            max-width: none;
        }
        
        .form-style-2-heading {
            font-size: 24px;
            font-weight: 600;
            color: var(--lodge-dark);
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e9ecef;
        }
        
        /* Modern input styling */
        .form-style-2 input[type="text"],
        .form-style-2 input[type="email"],
        .form-style-2 input[type="password"],
        .form-style-2 textarea,
        .form-style-2 select {
            background: #ffffff;
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 15px 20px;
            font-size: 16px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            width: 100%;
            max-width: none;
            box-sizing: border-box;
        }
        
        .form-style-2 input[type="text"]:focus,
        .form-style-2 input[type="email"]:focus,
        .form-style-2 input[type="password"]:focus,
        .form-style-2 textarea:focus,
        .form-style-2 select:focus {
            border-color: var(--lodge-dark);
            box-shadow: 0 4px 16px rgba(31, 71, 91, 0.15);
            outline: none;
        }
        
        /* Modern button styling */
        .form-style-2 input[type="submit"],
        .small-button {
            background: var(--lodge-dark);
            border: none;
            border-radius: 12px;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: 600;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 16px rgba(31, 71, 91, 0.3);
            text-transform: none;
        }
        
        .form-style-2 input[type="submit"]:hover,
        .small-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(31, 71, 91, 0.4);
        }
        
        /* Two-column layout for participant form */
        .participant-form-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin: 20px 0;
        }
        
        .participant-form-grid .full-width {
            grid-column: 1 / -1;
        }
        
        /* Modern participant cards */
        .participant-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            border: 1px solid #e9ecef;
            border-radius: 16px;
            padding: 20px;
            margin: 15px 0;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .participant-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(135deg, var(--lodge-dark) 0%, var(--lodge-light) 100%);
        }
        
        .participant-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }
        
        .participant-card h4 {
            margin: 0 0 15px 0;
            color: var(--lodge-dark);
            font-size: 18px;
            font-weight: 600;
        }
        
        .participant-card p {
            margin: 8px 0;
            color: #666;
            font-size: 14px;
        }
        
        .participant-card button {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            border: none;
            border-radius: 8px;
            padding: 8px 16px;
            font-size: 14px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 15px;
        }
        
        .participant-card button:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
        }
        
        /* Button groups */
        .button-group {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin: 25px 0;
            flex-wrap: wrap;
        }
        
        .button-group .small-button {
            flex: 0 0 auto;
            min-width: 140px;
        }
        
        /* Responsive design */
        @media (max-width: 768px) {
            .participant-form-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            /* Keep buttons side by side even on mobile */
            .button-group {
                flex-direction: row;
                align-items: center;
                gap: 10px;
            }
            
            .button-group .small-button {
                flex: 1;
                min-width: auto;
                max-width: none;
            }
        }
        
        /* Loading animation for submit button */
        .fa-spinner.fa-spin {
            animation: fa-spin 1s infinite linear;
        }
        
        @keyframes fa-spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Button transition effects */
        .small-button {
            transition: all 0.3s ease;
        }
        
        .small-button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }
        
        /* Ensure step 1 (email) uses the full available width like other steps */
        #step1 .form-style-2 {
            width: 100% !important;
            max-width: 1000px !important;
            min-width: 0 !important;
            margin-left: auto !important;
            margin-right: auto !important;
        }
        /* Make the email field block use full width on step 1 */
        #step1 .input-field {
            width: 100% !important;
            max-width: none !important;
        }
        #step1 label {
            align-items: stretch !important;
        }
        
        .small-button:not(:disabled):hover {
            transform: translateY(-2px);
        }
        
        /* ALTCHA widget: centered with spacing above buttons */
        .registration-altcha-wrapper {
            display: flex;
            justify-content: center;
            margin: 24px 0;
        }
        /* Checkbox / label on one line, checkbox left — override form-style-2 label column layout */
        .registration-checkbox-list { text-align: left; }
        .registration-container .form-style-2 .registration-checkbox-row {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            text-align: left !important;
            margin: 12px 0;
            flex-wrap: nowrap;
        }
        .registration-checkbox-row input[type="checkbox"] {
            flex-shrink: 0;
            margin-right: 10px;
        }
        .registration-checkbox-row span {
            flex: 1;
            font-size: 1.1em;
        }
        .registration-container .form-style-2 .registration-checkbox-row span {
            display: inline !important;
            text-align: left !important;
            margin-bottom: 0 !important;
        }
        /* Labels des événements et agapes plus visibles */
        .registration-checkbox-list .registration-checkbox-row span {
            font-size: 1.3em;
        }
        /* Séparation nette entre les choix d'inscription et la case GDPR */
        .registration-gdpr-consent-row {
            margin-top: 2.5em !important;
        }
