/* ===============================================
   BOOKING FORMS - Flight & Visa Booking Styles
   Custom styles for booking forms with small inputs
   =============================================== */

/* Flight & Visa Booking Page Styles */
.flight-booking-page,
.visa-booking-page {
    min-height: 100vh;
    background: var(--bg-secondary, #f9fafb);
}

.booking-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--text-white);
    padding: 60px 0;
}

.booking-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.booking-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}

.booking-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.visa-summary-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
}

.visa-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.visa-flag {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.visa-details h5 {
    color: var(--text-white);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.visa-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.processing-time {
    margin-top: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.visa-price {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price-amount {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 5px;
}

.visa-price small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Form Inputs - Smaller Size (8px padding, 14px font) */
.booking-form-card .form-control,
.booking-form-card .form-select,
.booking-form-card .form-control-sm,
.booking-form-card input[type="text"],
.booking-form-card input[type="email"],
.booking-form-card input[type="tel"],
.booking-form-card input[type="date"],
.booking-form-card input[type="number"],
.booking-form-card textarea,
.booking-form-card select {
    padding: 8px 12px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    height: auto !important;
    border-radius: 8px !important;
    border: 2px solid var(--border, #e5e7eb) !important;
    transition: all 0.3s ease !important;
}

.booking-form-card .form-control:focus,
.booking-form-card .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 16, 185, 129), 0.1) !important;
    outline: none !important;
}

.booking-form-card .form-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: var(--text-primary, #1f2937) !important;
}

.booking-form-card .form-group {
    margin-bottom: 1rem;
}

/* Full Page Form Sections */
.booking-form-section {
    padding: 40px 0;
    background: var(--bg-secondary, #f9fafb);
}

.booking-form-card {
    background: var(--bg-white, #ffffff);
    border-radius: 24px;
    padding: 45px 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border, #e5e7eb);
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booking-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #10b981) 0%, var(--secondary, #10b981) 100%);
}

.booking-form-card:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.form-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(16, 185, 129, 0.01) 100%);
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.08);
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary, #10b981);
    margin-bottom: 15px;
}

.form-section-title i {
    margin-right: 8px;
}

/* Flight Card Results */
.flight-card-result {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--border, #e5e7eb) !important;
}

.flight-card-result:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--primary, #10b981) !important;
}

.flight-card-result.selected {
    border-color: var(--primary, #10b981) !important;
    background: rgba(var(--bs-primary-rgb, 16, 185, 129), 0.05);
}

/* Success Animation */
.success-icon {
    animation: scaleIn 0.5s ease;
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 5rem;
    color: var(--primary, #10b981);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--primary, #10b981);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary, #10b981);
    margin: 20px 0 15px;
}

.success-description {
    font-size: 1.125rem;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 30px;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Application Summary Styles */
.application-summary {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(16, 185, 129, 0.01) 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.application-summary h5 {
    color: var(--primary, #10b981);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border, #e5e7eb);
}

.summary-section {
    margin-bottom: 25px;
}

.summary-section:last-child {
    margin-bottom: 0;
}

.summary-section h6 {
    color: var(--primary, #10b981);
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
}

.summary-item .label {
    font-weight: 600;
    color: var(--text-secondary, #6b7280);
    font-size: 14px;
}

.summary-item .value {
    color: var(--text-primary, #1f2937);
    text-align: right;
    font-size: 14px;
}

/* Payment Summary Styles */
.payment-summary {
    background: linear-gradient(135deg, var(--primary, #10b981) 0%, var(--secondary, #10b981) 100%);
    color: var(--text-white);
    border-radius: 15px;
    padding: 25px;
    position: sticky;
    top: 20px;
    margin-bottom: 30px;
}

.payment-summary h5 {
    color: var(--text-white);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.payment-breakdown {
    margin-bottom: 25px;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.payment-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

/* Form Step Title & Description */
.form-step {
    padding: 0;
}

.step-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary, #10b981);
}

.step-title i {
    color: var(--primary, #10b981);
    margin-right: 12px;
    font-size: 1.5rem;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary, #6b7280);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* OCR Section Styling */
.ocr-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 2px dashed var(--primary, #10b981);
    border-radius: 15px;
    /* padding: 25px; */
    margin-bottom: 25px;
}

.ocr-header {
    text-align: center;
    margin-bottom: 20px;
}

.ocr-header h5 {
    color: var(--primary, #10b981);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.ocr-header p {
    color: var(--text-secondary, #6b7280);
    font-size: 0.9rem;
    margin: 0;
}

.ocr-upload {
    margin-bottom: 0;
}

.upload-area {
    border: 2px dashed var(--border, #e5e7eb);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    background: var(--bg-white, #ffffff);
    transition: all 0.3s ease;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--primary, #10b981);
    background: rgba(16, 185, 129, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.upload-area:active {
    transform: translateY(0);
}

/* File input styling */
.upload-area input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    background: var(--bg-white, #ffffff);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.upload-area input[type="file"]:hover {
    border-color: var(--primary, #10b981);
    background: rgba(16, 185, 129, 0.02);
}

.upload-area input[type="file"]:focus {
    outline: none;
    border-color: var(--primary, #10b981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.upload-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upload-info i {
    font-size: 2.5rem;
    color: var(--primary, #10b981);
    opacity: 0.7;
}

.upload-info p {
    font-size: 0.9rem;
    color: var(--text-secondary, #6b7280);
    margin: 0;
    font-weight: 500;
}

.upload-info small {
    font-size: 0.8rem;
    color: var(--text-muted, #9ca3af);
}

/* File input custom styling */
.upload-area input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    background: var(--bg-white, #ffffff);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.upload-area input[type="file"]:hover {
    border-color: var(--primary, #10b981);
    background: rgba(16, 185, 129, 0.02);
}

.upload-area input[type="file"]:focus {
    outline: none;
    border-color: var(--primary, #10b981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* File input button styling */
.upload-input::file-selector-button {
    padding: 8px 16px;
    border: 1px solid var(--primary, #10b981);
    border-radius: 6px;
    background: var(--primary, #10b981);
    color: white;
    font-weight: 500;
    cursor: pointer;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.upload-input::file-selector-button:hover {
    background: rgba(16, 185, 129, 0.9);
}

/* Progress Steps Enhancement */
.booking-progress {
    background: var(--bg-white, #ffffff);
    padding: 30px 0;
    border-bottom: 1px solid var(--border, #e5e7eb);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border, #e5e7eb);
    z-index: 0;
}

.progress-steps .step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary, #f9fafb);
    border: 3px solid var(--border, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-secondary, #6b7280);
    transition: all 0.3s ease;
}

.step.completed .step-number {
    background: var(--primary, #10b981);
    border-color: var(--primary, #10b981);
    color: var(--text-white, #ffffff);
}

.step.active .step-number {
    background: var(--primary, #10b981);
    border-color: var(--primary, #10b981);
    color: var(--text-white, #ffffff);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary, #6b7280);
    text-align: center;
}

.step.completed .step-label,
.step.active .step-label {
    color: var(--primary, #10b981);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--border, #e5e7eb);
}

/* Requirements Card */
.requirements-card {
    background: var(--bg-white, #ffffff);
    border-radius: 24px;
    padding: 35px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border, #e5e7eb);
    position: relative;
    overflow: hidden;
}

.requirements-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #10b981) 0%, var(--secondary, #10b981) 100%);
}

.requirements-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border, #e5e7eb);
}

.requirements-content {
    font-size: 14px;
}

.requirement-category {
    margin-bottom: 20px;
}

.requirement-category h6 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary, #10b981);
    margin-bottom: 15px;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border, #e5e7eb);
    font-size: 14px;
}

.requirement-list li:last-child {
    border-bottom: none;
}

.processing-info {
    background: var(--bg-secondary, #f9fafb);
    border-radius: 12px;
    padding: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border, #e5e7eb);
}

.info-item:last-child {
    border-bottom: none;
}

.info-item.total {
    font-weight: 700;
    font-size: 1.125rem;
    padding-top: 15px;
    border-top: 2px solid var(--primary, #10b981);
    margin-top: 10px;
}

.info-item .label {
    color: var(--text-secondary, #6b7280);
}

.info-item .value {
    color: var(--text-primary, #1f2937);
    font-weight: 600;
}

/* Help Card */
.help-card {
    background: var(--bg-white, #ffffff);
    border-radius: 24px;
    padding: 35px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border, #e5e7eb);
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary, #10b981) 0%, var(--secondary, #10b981) 100%);
}

.help-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    margin-bottom: 20px;
}

.help-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.help-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.help-item i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.help-item strong {
    display: block;
    color: var(--text-primary, #1f2937);
    margin-bottom: 5px;
    font-size: 14px;
}

.help-item p {
    margin: 0;
    color: var(--text-secondary, #6b7280);
    font-size: 13px;
}

/* Information Section */
.information-section {
    background: var(--bg-secondary, #f9fafb);
    padding: 50px 0;
}

/* Button Enhancements */
.btn-primary {
    background: linear-gradient(135deg, var(--primary, #10b981) 0%, var(--secondary, #10b981) 100%);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-outline-secondary {
    border: 2px solid var(--border, #e5e7eb);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: var(--bg-secondary, #f9fafb);
    border-color: var(--text-secondary, #6b7280);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .booking-form-card {
        padding: 35px 30px;
    }
    
    .visa-summary-card {
        margin-top: 20px;
    }
}

@media (max-width: 992px) {
    .booking-header {
        padding: 40px 0;
    }
    
    .booking-title {
        font-size: 2rem;
    }
    
    .booking-subtitle {
        font-size: 1rem;
    }
    
    .booking-form-card {
        padding: 30px 25px;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .form-section {
        padding: 20px;
    }
    
    .application-summary,
    .payment-summary {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .booking-header {
        padding: 30px 0;
    }
    
    .booking-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .booking-subtitle {
        font-size: 0.95rem;
    }
    
    .booking-badge {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
    
    .visa-summary-card {
        padding: 20px;
        margin-top: 20px;
    }
    
    .visa-info {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .visa-price {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .price-amount {
        font-size: 1.5rem;
    }
    
    .booking-progress {
        padding: 20px 0;
    }
    
    .progress-steps {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .step {
        min-width: 80px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.85rem;
    }
    
    .step-label {
        font-size: 0.7rem;
        margin-top: 5px;
    }
    
    .booking-form-card {
        padding: 25px 20px;
        border-radius: 16px;
    }
    
    .step-title {
        font-size: 1.5rem;
        padding-bottom: 12px;
    }
    
    .step-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .form-section {
        padding: 18px;
        border-radius: 12px;
    }
    
    .form-section-title {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    /* .ocr-section {
        padding: 20px;
    } */
    
    .ocr-header h5 {
        font-size: 1rem;
    }
    
    .ocr-header p {
        font-size: 0.85rem;
    }
    
    .upload-area {
        padding: 20px 15px;
    }
    
    .upload-info i {
        font-size: 2rem;
    }
    
    .upload-info p {
        font-size: 0.85rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .form-actions .btn {
        width: 100%;
        padding: 12px;
    }
    
    .application-summary,
    .payment-summary {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .payment-summary h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .payment-item {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .payment-total {
        font-size: 1.1rem;
        padding-top: 12px;
    }
    
    .summary-section {
        margin-bottom: 20px;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .summary-item .value {
        text-align: left;
    }
    
    .requirements-card,
    .help-card {
        padding: 25px 20px;
    }
    
    .requirements-title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }
    
    .success-icon i {
        font-size: 4rem;
        width: 100px;
        height: 100px;
    }
    
    .success-title {
        font-size: 1.75rem;
    }
    
    .success-description {
        font-size: 1rem;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .success-actions .btn {
        width: 100%;
    }
    
    /* Flight card results responsive */
    .flight-card-result {
        padding: 15px !important;
    }
    
    .flight-card-result .row > div {
        margin-bottom: 15px;
    }
    
    .flight-card-result .col-md-2,
    .flight-card-result .col-md-3,
    .flight-card-result .col-md-4 {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .flight-card-result .btn {
        width: 100%;
    }
    
    /* Improve readability on small screens */
    .row.g-3 > * {
        margin-bottom: 1rem;
    }
    
    /* Stack columns on mobile */
    @media (max-width: 768px) {
        .row > .col-md-6,
        .row > .col-md-4,
        .row > .col-md-3 {
            margin-bottom: 1rem;
        }
    }
}

@media (max-width: 576px) {
    .booking-header {
        padding: 25px 0;
    }
    
    .booking-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .booking-subtitle {
        font-size: 0.875rem;
    }
    
    .booking-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
    
    .visa-summary-card {
        padding: 18px;
    }
    
    .visa-flag {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .visa-details h5 {
        font-size: 1.1rem;
    }
    
    .visa-details p {
        font-size: 0.85rem;
    }
    
    .price-amount {
        font-size: 1.35rem;
    }
    
    .booking-progress {
        padding: 15px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .progress-steps {
        min-width: max-content;
        padding: 0 15px;
    }
    
    .step {
        min-width: 70px;
        flex-shrink: 0;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    .booking-form-section {
        padding: 25px 0;
    }
    
    .booking-form-card {
        padding: 20px 15px;
        border-radius: 12px;
        margin: 0 10px;
    }
    
    .step-title {
        font-size: 1.25rem;
        padding-bottom: 10px;
        flex-wrap: wrap;
    }
    
    .step-title i {
        font-size: 1.25rem;
        margin-right: 8px;
    }
    
    .step-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    
    .form-section {
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 18px;
    }
    
    .form-section-title {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .form-label {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    
    .booking-form-card .form-control,
    .booking-form-card .form-select {
        padding: 10px 12px !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
    }
    
    .ocr-section {
        /* padding: 20px; */
        border-radius: 12px;
    }
    
    .ocr-header {
        margin-bottom: 20px;
        text-align: center;
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    }
    
    .ocr-header h5 {
        font-size: 1rem;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .ocr-header h5 i {
        font-size: 1.1rem;
    }
    
    .ocr-header p {
        font-size: 0.85rem;
        line-height: 1.5;
        padding: 0 10px;
    }
    
    .ocr-upload {
        margin-bottom: 20px;
    }
    
    .ocr-upload:last-child {
        margin-bottom: 0;
    }
    
    .ocr-upload .form-label {
        font-size: 0.875rem;
        margin-bottom: 10px;
        display: block;
    }
    
    .upload-area {
        padding: 20px 15px;
        border-radius: 10px;
        border-width: 2px;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .upload-area input[type="file"] {
        width: 100%;
        padding: 8px !important;
        font-size: 0.85rem !important;
        margin-bottom: 15px;
    }
    
    .upload-input::file-selector-button {
        padding: 6px 12px;
        font-size: 0.85rem;
        margin-right: 8px;
        border-radius: 5px;
    }
    
    .upload-info {
        gap: 8px;
        width: 100%;
        text-align: center;
    }
    
    .upload-info i {
        font-size: 2rem;
        display: block;
        margin-bottom: 8px;
    }
    
    .upload-info p {
        font-size: 0.85rem;
        margin: 0 0 5px 0;
        font-weight: 500;
        line-height: 1.4;
        word-wrap: break-word;
    }
    
    .upload-info small {
        font-size: 0.75rem;
        display: block;
        line-height: 1.3;
    }
    
    .ocr-upload .btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 0.9rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .ocr-upload .btn i {
        margin-right: 6px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
        padding-top: 20px;
    }
    
    .form-actions .btn {
        width: 100%;
        padding: 12px;
        font-size: 0.95rem;
    }
    
    .application-summary,
    .payment-summary {
        padding: 18px;
        border-radius: 12px;
    }
    
    .application-summary h5,
    .payment-summary h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .summary-section h6 {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }
    
    .summary-item {
        padding: 6px 0;
        font-size: 0.85rem;
    }
    
    .summary-item .label,
    .summary-item .value {
        font-size: 0.85rem;
    }
    
    .payment-item {
        font-size: 0.85rem;
        padding: 5px 0;
    }
    
    .payment-total {
        font-size: 1.05rem;
        padding-top: 10px;
    }
    
    .requirements-card,
    .help-card {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .requirements-title {
        font-size: 1.15rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }
    
    .requirement-category h6 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .requirement-list li {
        padding: 8px 0;
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .success-icon i {
        font-size: 3.5rem;
        width: 90px;
        height: 90px;
        border-width: 3px;
    }
    
    .success-title {
        font-size: 1.5rem;
        margin: 15px 0 10px;
    }
    
    .success-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .success-actions .btn {
        width: 100%;
        padding: 12px;
    }
    
    /* Information section responsive */
    .information-section {
        padding: 30px 0;
    }
    
    /* Flight card results mobile */
    .flight-card-result {
        padding: 15px !important;
        margin-bottom: 15px;
    }
    
    .flight-card-result .row {
        margin: 0;
    }
    
    .flight-card-result .row > div {
        margin-bottom: 12px;
        padding: 0;
    }
    
    .flight-card-result .row > div:last-child {
        margin-bottom: 0;
    }
    
    .flight-card-result .col-md-2,
    .flight-card-result .col-md-3,
    .flight-card-result .col-md-4 {
        width: 100%;
    }
    
    .airline-info {
        flex-direction: row;
        align-items: center;
    }
    
    .flight-card-result .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .flight-card-result .text-center {
        text-align: left !important;
        padding: 10px 0;
        border-top: 1px solid var(--border, #e5e7eb);
        border-bottom: 1px solid var(--border, #e5e7eb);
    }
}

@media (max-width: 400px) {
    .booking-title {
        font-size: 1.35rem;
    }
    
    .booking-form-card {
        padding: 18px 12px;
        margin: 0 5px;
    }
    
    .step-title {
        font-size: 1.15rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .form-section {
        padding: 12px;
    }
    
    .col-12 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .ocr-section {
        /* padding: 15px 12px; */
        border-radius: 10px;
    }
    
    .ocr-header {
        margin-bottom: 18px;
        padding-bottom: 12px;
    }
    
    .ocr-header h5 {
        font-size: 0.95rem;
        flex-wrap: wrap;
    }
    
    .ocr-header h5 i {
        font-size: 1rem;
    }
    
    .ocr-header p {
        font-size: 0.8rem;
        padding: 0 5px;
    }
    
    .ocr-upload {
        margin-bottom: 18px;
    }
    
    .ocr-upload .form-label {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .upload-area {
        padding: 18px 12px;
        min-height: 170px;
        border-width: 2px;
    }
    
    .upload-area input[type="file"] {
        padding: 7px !important;
        font-size: 0.8rem !important;
        margin-bottom: 12px;
    }
    
    .upload-input::file-selector-button {
        padding: 6px 10px;
        font-size: 0.75rem;
        margin-right: 6px;
        white-space: nowrap;
    }
    
    .upload-info {
        gap: 6px;
    }
    
    .upload-info i {
        font-size: 1.75rem;
        margin-bottom: 6px;
    }
    
    .upload-info p {
        font-size: 0.8rem;
        margin: 0 0 4px 0;
        line-height: 1.35;
    }
    
    .upload-info small {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    .ocr-upload .btn {
        min-height: 42px;
        padding: 9px 14px;
        font-size: 0.85rem;
        width: 100%;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Ensure proper spacing */
    .booking-form-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Stack review sections on mobile */
    .application-summary + .payment-summary {
        margin-top: 20px;
    }
    
    /* Better button spacing */
    .form-actions .btn {
        margin: 0;
    }
    
    /* Improve flight card layout */
    .flight-card-result .d-flex.justify-content-between {
        border-top: 1px solid var(--border, #e5e7eb);
        border-bottom: 1px solid var(--border, #e5e7eb);
        padding: 12px 0;
        margin: 12px 0;
    }
    
    /* Hide connecting line on mobile */
    .flight-card-result .text-center .small {
        display: none;
    }
}

/* Touch-friendly sizes */
@media (max-width: 576px) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Better form control spacing */
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    /* Improve input readability */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}
    
    .booking-title {
        font-size: 2rem;
    }
    
    .form-section {
        padding: 15px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-actions .btn {
        width: 100%;
    }
}
