/* assets/flight-reservation.css */
#flight-booking-form,
#booking-search {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.form-section {
    background: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.form-section h3 {
    margin-top: 0;
    color: #007cba;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
}

.passenger-form {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.passenger-form h4 {
    margin-top: 0;
    color: #555;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

#submit-booking {
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#submit-booking:hover {
    background: #005a87;
}

#submit-booking:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin-top: 20px;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin-top: 20px;
}

.booking-details {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

.booking-info p {
    margin: 8px 0;
}

.status-confirmed {
    color: #28a745;
    font-weight: bold;
}

.status-pending {
    color: #ffc107;
    font-weight: bold;
}

.status-cancelled {
    color: #dc3545;
    font-weight: bold;
}

.passengers-list {
    list-style: none;
    padding: 0;
}

.passengers-list li {
    padding: 8px;
    background: #f8f9fa;
    margin-bottom: 5px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}


/* Enhanced CSS for admin interface */
.admin-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007cba;
    flex: 1;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
    color: #007cba;
}

.wp-list-table th, .wp-list-table td {
    padding: 8px 10px;
}

.button-small {
    padding: 2px 8px;
    font-size: 12px;
}