.content {
    padding: 40px 30px;
}

.tickets-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.ticket-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.ticket-card:hover {
    border-color: #6c7a89;
    box-shadow: 0 5px 15px rgba(108, 122, 137, 0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.ticket-number {
    font-size: 1.3em;
    font-weight: 600;
    color: #6c7a89;
}

.remove-ticket {
    background: #c0392b;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
    font-weight: 500;
}

.remove-ticket:hover {
    background: #a93226;
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 20px;
}

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

.required {
    color: #c0392b;
    margin-left: 3px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #6c7a89;
    box-shadow: 0 0 0 3px rgba(108, 122, 137, 0.1);
}

.form-group input.error {
    border-color: #c0392b;
}

.error-message {
    color: #c0392b;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

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

.add-ticket-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #5a6c7d 0%, #6c7a89 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.add-ticket-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 122, 137, 0.3);
}

.summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 25px;
}

.summary h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #495057;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-child {
    border-bottom: none;
    font-size: 1.3em;
    font-weight: 600;
    color: #2a5298;
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid #dee2e6;
}

.validate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.validate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(46, 204, 113, 0.3);
}

.validate-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 1.8em;
    color: #495057;
    margin-bottom: 10px;
}

.verification-ticket {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #2a5298;
}

.verification-ticket h3 {
    color: #2a5298;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.verification-ticket p {
    margin: 5px 0;
    color: #495057;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.modal-btn {
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn {
    background: #6c757d;
    color: white;
}

.cancel-btn:hover {
    background: #5a6268;
}

.confirm-btn {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.success-message {
    text-align: center;
    padding: 40px;
}

.success-message .icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.success-message h2 {
    color: #2ecc71;
    margin-bottom: 15px;
    font-size: 2em;
}

.success-message p {
    color: #6c757d;
    font-size: 1.1em;
}

.price-info {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.price-info h3 {
    color: #1976d2;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.price-info p {
    margin: 5px 0;
    color: #495057;
}

.responsible-section {
    background: #f8f9fa;
    border: 2px solid #2a5298;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.responsible-section h2 {
    font-size: 1.3em;
    color: #2a5298;
    margin-bottom: 20px;
}

/* Styles pour l'accessibilité */
*:focus-visible {
    outline: 3px solid #2a5298;
    outline-offset: 2px;
}

button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #2a5298;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.ticket-recap {
    background: linear-gradient(-134deg,rgba(184, 171, 143, 1) 0%, rgba(209, 201, 176, 1) 100%);    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    font-size: 1em;
}


/* Media Queries pour le responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1;
    }

    .content {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 25px;
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }

    .ticket-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .remove-ticket {
        width: 100%;
    }
}
