/* Simple Booking Form Styles - Light Theme Only */

/* Basic Variables */
:root {
    --primary-color: #007bff;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Main Container */
#app {
    background-color: var(--gray-100);
    min-height: 100vh;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Header */
.app-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.app-header-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.app-header-icon {
    margin-right: 8px;
    font-size: 20px;
}

/* Content Area */
.content-area {
    padding: 0;
}

.search-card {
    padding: 15px;
}

.search-card h6 {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.search-card h6 i {
    margin-right: 8px;
}

/* Form Styles */
.form-horizontal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3, .form-group {
    margin-bottom: 12px;
}

/* Labels */
label {
    display: block;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 3px;
    font-size: 14px;
    white-space: nowrap;
}

/* Keep label text and asterisk on same line */
label .text-danger {
    display: inline;
    margin-left: 2px;
}

label span.text-danger {
    display: inline !important;
    white-space: nowrap;
}

/* Form Controls */
.form-control, .form-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    color: var(--gray-800);
    background-color: var(--white);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

/* Radio Buttons */
input[type="radio"] {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.labell {
    display: inline;
    font-weight: normal;
    margin-bottom: 0;
    margin-right: 20px;
}

/* Radio Group Styling */
.mb-3:has(input[type="radio"]) {
    background: var(--gray-100);
    padding: 10px;
    border-radius: var(--border-radius);
}

/* Total Price */
#totalAmount {
    background: var(--primary-color);
    color: var(--white);
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
}

/* Contact Information Section */
.mt-3 h5 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--gray-200);
}

/* Buttons */
.btn-app {
    background: var(--success-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-app:hover {
    background: #218838;
}

.btn-secondary {
    background: var(--gray-600);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-success:hover {
    background: #218838;
}

/* Error Messages */
.text-danger {
    color: var(--danger-color);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Error messages that are not inside labels */
.text-danger:not(label .text-danger) {
    display: block;
}

/* Keep asterisk inline with label */
label .text-danger,
label span.text-danger {
    display: inline !important;
    font-size: inherit;
    margin-top: 0;
    margin-left: 2px;
    white-space: nowrap;
}

/* Alerts */
.alert {
    padding: 10px 12px;
    border-radius: var(--border-radius);
    margin: 10px 0;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Booking Summary */
.booking-summary {
    background: var(--gray-100);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.booking-summary h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.booking-summary h5 {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 12px;
}

/* List Groups */
.list-group {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.list-group-item {
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    padding: 10px 12px;
    font-size: 14px;
}

.list-group-item strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* Promo Code */
.promo-code {
    background: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.promo-code .d-flex {
    display: flex;
    gap: 10px;
}

.promo-code input {
    flex: 1;
}

.promo-code button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.promo-code button:hover:not(:disabled) {
    background: #0056b3;
}

.promo-code button:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
}

.text-success {
    color: var(--success-color);
    font-weight: 500;
}

/* Utility Classes */
.text-primary-color {
    color: var(--primary-color);
}

.fw-semibold {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.me-2 {
    margin-right: 8px;
}

.me-4 {
    margin-right: 16px;
}

.ms-2 {
    margin-left: 8px;
}

.mt-1 {
    margin-top: 4px;
}

.mt-2 {
    margin-top: 6px;
}

.mt-4 {
    margin-top: 16px;
}

.mb-3 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.px-3 {
    padding-left: 12px;
    padding-right: 12px;
}

.p-2 {
    padding: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #app {
        padding: 10px;
    }
    
    .wrapper {
        margin: 0;
    }
    
    .search-card {
        padding: 20px;
    }
    
    .app-header {
        padding: 15px;
    }
    
    .app-header-title {
        font-size: 16px;
    }
    
    #totalAmount {
        font-size: 20px;
        padding: 15px;
    }
    
    .btn-app {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .promo-code .d-flex {
        flex-direction: column;
        gap: 8px;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .search-card {
        padding: 15px;
    }
    
    .form-control, .form-select {
        padding: 10px 12px;
    }
}