/**
 * Styles frontend pour le plugin Réservation Montgolfière
 */

.mongolfiere-reservation-form-wrapper {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mongolfiere-product-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.mongolfiere-product-info h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
}

.mongolfiere-price {
    font-size: 20px;
    font-weight: bold;
    color: #d4af37;
}

.mongolfiere-price-display {
    margin-top: 10px;
}

.mongolfiere-price-item {
    margin: 5px 0;
}

.mongolfiere-price-label {
    font-weight: 600;
    margin-right: 10px;
}

.mongolfiere-price-value {
    color: #d4af37;
    font-weight: bold;
}

.mongolfiere-total-price {
    font-size: 18px;
    color: #333;
}

.mongolfiere-total-price strong {
    color: #d4af37;
}

/* Styles pour la section billets */
.mongolfiere-billets-section {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.mongolfiere-section-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

.mongolfiere-billet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.mongolfiere-billet-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mongolfiere-billet-label {
    flex: 1;
}

.mongolfiere-billet-label strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.mongolfiere-billet-label small {
    display: block;
    color: #666;
    font-size: 12px;
    font-style: italic;
}

.mongolfiere-billet-price {
    margin: 0 20px;
    font-size: 18px;
    font-weight: bold;
    color: #d4af37;
}

.mongolfiere-billet-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mongolfiere-qty-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto !important;
    z-index: 10;
    position: relative;
}

.mongolfiere-qty-btn:hover {
    background: #d4af37;
    color: white;
    border-color: #d4af37;
}

.mongolfiere-qty-btn:active {
    transform: scale(0.95);
}

.mongolfiere-qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mongolfiere-qty-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    background: white;
}

.mongolfiere-qty-input:focus {
    outline: none;
    border-color: #d4af37;
}

/* Responsive pour les billets */
@media (max-width: 768px) {
    .mongolfiere-billet-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .mongolfiere-billet-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .mongolfiere-billet-price {
        margin: 10px 0 0 0;
    }
    
    .mongolfiere-billet-quantity {
        width: 100%;
        justify-content: flex-end;
    }
}

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

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

.mongolfiere-form-group {
    display: flex;
    flex-direction: column;
}

.mongolfiere-form-group-full {
    grid-column: 1 / -1;
}

.mongolfiere-form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.mongolfiere-form-group input[type="text"],
.mongolfiere-form-group input[type="number"],
.mongolfiere-form-group input[type="tel"],
.mongolfiere-form-group select,
.mongolfiere-form-group .mongolfiere-datepicker {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.mongolfiere-form-group input:focus,
.mongolfiere-form-group select:focus {
    outline: none;
    border-color: #d4af37;
}

.mongolfiere-form-group input[type="checkbox"] {
    margin-right: 8px;
}

.mongolfiere-help-text {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.mongolfiere-form-actions {
    margin-top: 10px;
}

.mongolfiere-submit-btn {
    background: #d4af37;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.mongolfiere-submit-btn:hover {
    background: #b8941f;
}

.mongolfiere-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.mongolfiere-form-messages {
    margin-top: 15px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.mongolfiere-form-messages.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.mongolfiere-form-messages.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Styles pour l'espace client */
.mongolfiere-my-account-tickets {
    margin: 20px 0;
}

.mongolfiere-my-account-tickets h2 {
    margin-bottom: 20px;
}

.mongolfiere-order-tickets {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.mongolfiere-order-tickets h3 {
    margin-top: 0;
    color: #d4af37;
}

.mongolfiere-ticket-summary p {
    margin: 10px 0;
}

.mongolfiere-ticket-summary strong {
    display: inline-block;
    width: 150px;
    color: #333;
}

.view-ticket {
    background: #d4af37;
    color: #fff;
}

.view-ticket:hover {
    background: #b8941f;
    color: #fff;
}

/* Styles pour les formulaires de passagers multiples */
.mongolfiere-passager-form {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.mongolfiere-passager-title {
    margin-top: 0;
    margin-bottom: 20px;
    color: #d4af37;
    font-size: 18px;
    border-bottom: 2px solid #d4af37;
    padding-bottom: 10px;
}

#mongolfiere-passagers-container {
    margin: 20px 0;
}

#mongolfiere-passagers-container .mongolfiere-passager-form:first-child {
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .mongolfiere-form-row {
        grid-template-columns: 1fr;
    }
    
    .mongolfiere-reservation-form-wrapper {
        padding: 15px;
    }
    
    .mongolfiere-passager-form {
        padding: 15px;
    }
}

