/* Charter Booking Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #E8F4F8 0%, #F0F8FB 100%);
    border-left: 4px solid #FF8C00;
    padding: 16px 18px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Readonly Input */
.readonly-input {
    background: #f5f5f5 !important;
    color: #666 !important;
    cursor: not-allowed !important;
}

/* Helper Text */
.helper-text {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 5px;
    font-style: italic;
}

/* Costing Box */
.costing-box {
    background: #FFF8EE;
    border: 2px solid #FF8C00;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.costing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 1.1rem;
}

.costing-item span:first-child {
    color: #333;
    font-weight: 500;
}

.costing-item span:last-child {
    color: #FF8C00;
    font-size: 1.2rem;
}

.costing-item.total {
    font-size: 1.3rem;
    font-weight: bold;
    padding: 15px 0;
}

.costing-item.total span:first-child {
    color: #333;
}

.costing-item.total span:last-child {
    color: #FF8C00;
    font-size: 1.4rem;
}

.costing-divider {
    height: 2px;
    background: #FFD700;
    margin: 10px 0;
}

/* Contact Method Container */
.contact-method-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0 30px 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.radio-option:hover {
    border-color: #FF8C00;
    background: #FFF8EE;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #FF8C00;
    font-weight: bold;
}

.radio-option input[type="radio"]:checked {
    border-color: #FF8C00;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #FF8C00;
    background: #FFF8EE;
}

.radio-label {
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    user-select: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

/* Charter Header Hero */
.charter-header {
    background: linear-gradient(135deg, #FF8C00 0%, #E85D04 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.charter-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

.charter-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}
}

/* Charter Booking Section */
.charter-booking-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.booking-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

.booking-form-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2.2rem;
    border-bottom: 3px solid #FF8C00;
    padding-bottom: 15px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.booking-form-container h3 {
    color: #FF8C00;
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 1.35rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.charter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
    background: white;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.form-group.checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-group.checkbox span {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.btn-submit {
    background: linear-gradient(135deg, #FF8C00, #E85D04);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.35);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Sidebar Info Cards */
.booking-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #FF8C00;
}

.info-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    color: #666;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card p {
    color: #666;
    margin: 10px 0;
    font-size: 0.95rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 850px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    position: relative;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    transition: color 0.3s, background 0.3s;
}

.close-btn:hover {
    color: #FF8C00;
    background: #f5f5f5;
    border-radius: 50%;
}

/* Receipt Styles */
.receipt {
    padding: 40px;
    background: white;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.receipt::-webkit-scrollbar {
    width: 8px;
}

.receipt::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.receipt::-webkit-scrollbar-thumb {
    background: #FF8C00;
    border-radius: 10px;
}

.receipt::-webkit-scrollbar-thumb:hover {
    background: #E85D04;
}

.receipt-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #FF8C00;
    padding-bottom: 20px;
}

.receipt-header h2 {
    color: #FF8C00;
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.receipt-header p {
    color: #FF8C00;
    font-weight: bold;
    margin: 8px 0 0 0;
    font-size: 1.1rem;
}

.receipt-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.receipt-section:last-of-type {
    margin-bottom: 10px;
}

.receipt-section h3 {
    color: #FF8C00;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 12px;
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 600;
}

.receipt-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
    align-items: start;
}

.receipt-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.receipt-label {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
}

.receipt-value {
    color: #555;
    word-break: break-word;
    font-size: 0.95rem;
}

.receipt-highlight {
    background: linear-gradient(135deg, #FFF8EE 0%, #FFF0E6 100%);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid #FF8C00;
    margin: 25px 0;
    line-height: 1.8;
}

.receipt-highlight strong {
    color: #FF8C00;
    font-size: 1.05rem;
}

.receipt-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 25px 40px;
    border-top: 2px solid #f0f0f0;
    background: #f9f9f9;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.receipt-actions .btn {
    flex: 0 1 auto;
    min-width: 140px;
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.status-pending {
    background: #FFF3CD;
    color: #856404;
}

.status-success {
    background: #D4EDDA;
    color: #155724;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #FF8C00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    background: #D4EDDA;
    border: 1px solid #C3E6CB;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.success-message strong {
    display: block;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .charter-hero h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-form-container {
        padding: 30px 20px;
    }

    .modal-content {
        width: 95%;
        max-width: 600px;
        margin: 10% auto;
    }

    .receipt {
        padding: 30px 20px;
    }

    .receipt-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .charter-header {
        padding: 40px 20px;
    }

    .charter-hero h1 {
        font-size: 1.5rem;
    }

    .charter-hero p {
        font-size: 1rem;
    }

    .charter-booking-section {
        padding: 40px 15px;
    }

    .booking-form-container {
        padding: 20px 15px;
    }

    .booking-form-container h2 {
        font-size: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .modal-content {
        width: 95%;
        margin: 20% auto;
    }

    .receipt {
        padding: 25px;
    }

    .receipt-header h2 {
        font-size: 1.5rem;
    }

    .receipt-item {
        grid-template-columns: 120px 1fr;
        gap: 15px;
    }

    .receipt-label {
        font-size: 0.9rem;
    }

    .receipt-value {
        font-size: 0.9rem;
    }

    .receipt-actions {
        flex-direction: column;
        padding: 20px 25px;
        gap: 12px;
    }

    .receipt-actions .btn {
        width: 100%;
        max-width: none;
    }

    .close-btn {
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
}

/* Charter Search Section - Thomas Cook Style */
.charter-search-section {
    background: #E8DCC8;
    padding: 40px 20px 60px;
}

.charter-search-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.charter-search-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.charter-search-form .form-group {
    flex: 1;
    min-width: 140px;
}

.charter-submit-btn {
    background: #E85D04;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    height: 42px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.charter-submit-btn:hover {
    background: #FF8C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

/* Charter Details Section */
.charter-details-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.charter-details-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.charter-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.charter-form-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 2rem;
    border-bottom: 3px solid #FF8C00;
    padding-bottom: 15px;
}

.charter-details-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 20px;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: #FF8C00;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF8C00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

/* Pricing Display */
.pricing-display {
    background: #FFF8EE;
    border: 2px solid #FF8C00;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 1rem;
}

.price-row span:first-child {
    color: #333;
    font-weight: 500;
}

.price-amount {
    color: #FF8C00;
    font-size: 1.2rem;
}

.price-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px 0;
    border-top: 2px solid #FFD700;
}

.price-row.total span:last-child {
    font-size: 1.3rem;
}

.price-divider {
    height: 2px;
    background: #FFD700;
    margin: 10px 0;
}

/* Contact Options */
.contact-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.3s;
    flex: 1;
    min-width: 180px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.radio-option:hover {
    border-color: #FF8C00;
    background: #FFF8EE;
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: #FF8C00;
    font-weight: bold;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: #FF8C00;
    background: #FFF8EE;
}

.radio-label {
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    user-select: none;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: #FF8C00;
}

.checkbox-label span {
    color: #555;
    line-height: 1.5;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .charter-search-form {
        flex-direction: column;
    }

    .charter-submit-btn {
        width: 100%;
    }

    .charter-form-container {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-options {
        flex-direction: column;
    }

    .radio-option {
        min-width: unset;
    }
