#travelInquiryModal {
    z-index: 9999;
}

.modal-dialog {
    margin: 1rem auto;
}

.google-form-style {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: none;
    overflow: hidden;
}

.google-form-header {
    background: linear-gradient(135deg, var(--bg-main-color), #0052cc);
    color: white;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.google-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .google-form-title i {
        font-size: 1.8rem;
    }

.google-form-description {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.google-form-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

    .google-form-close:hover {
        background: rgba(255,255,255,0.3);
        transform: scale(1.1);
    }

.google-form-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.google-form-question {
    margin-bottom: 1.5rem;
}

.google-form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.required-asterisk {
    color: #dc3545;
    font-weight: bold;
}

.google-form-input-container {
    position: relative;
}

.google-form-input, .form-control, .form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

    .google-form-input:focus, .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.1);
        background: white;
    }

.google-form-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-check {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

    .form-check:hover {
        background: #f8f9fa;
    }

.form-check-input {
    margin-top: 0.25rem;
}

.form-check-label {
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    line-height: 1.4;
}

.section-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e9ecef, transparent);
    margin: 2rem 0 1.5rem 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-footer {
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.google-form-btn-primary {
    background: linear-gradient(135deg, var(--bg-main-color), #0052cc);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
}

    .google-form-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    }

.google-form-btn-secondary {
    background: #6c757d;
    border: none;
    color: white;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.google-form-alert {
    border-radius: 12px;
    border: none;
    margin: 1.5rem 2rem 0 2rem;
}

.google-form-alert-info {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    border-left: 4px solid #2196f3;
}

/* Mobile Optimizations */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    .google-form-header {
        padding: 1.5rem 1rem;
    }

    .google-form-title {
        font-size: 1.3rem;
    }

    .google-form-body {
        padding: 1.5rem 1rem;
        max-height: 70vh;
    }

    .modal-footer {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }

        .modal-footer .btn {
            width: 100%;
        }

    .alert {
        margin: 1rem;
        font-size: 0.9rem;
    }

    .form-check-label {
        font-size: 0.9rem;
    }

    .google-form-close {
        top: 0.5rem;
        left: 0.5rem;
        width: 35px;
        height: 35px;
    }

    .d-md-block{
        display: none!important;
    }
}

/* RTL (Right-to-Left) Support for Arabic */
.modal-content.google-form-style {
    direction: rtl;
    text-align: right;
}

.google-form-header {
    text-align: center;
}

.google-form-title {
    justify-content: center;
    flex-direction: row-reverse;
}

.google-form-close {
    right: 1rem;
    left: auto;
}

.google-form-label {
    text-align: right;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

    .google-form-label i {
        margin-left: 0.5rem;
        margin-right: 0;
    }

.section-title {
    text-align: right;
    justify-content: flex-end;
    flex-direction: row-reverse;
}

    .section-title i {
        margin-left: 0.5rem;
        margin-right: 0;
    }

.form-check {
    text-align: right;
    padding-right: 0.5rem;
    padding-left: 0;
}

.form-check-input {
    float: right;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0.25rem;
}

.form-check-label {
    padding-right: 1.25em;
    padding-left: 0;
    text-align: right;
    display: block;
    margin-right: 0;
}

.destinations-grid .destination-item {
    text-align: right;
}

.destinations-grid .form-check {
    text-align: right;
}

.destinations-grid .form-check-input {
    float: right;
    margin-right: 0;
    margin-left: 0;
    margin-top: 0.25rem;
}

.destinations-grid .form-check-label {
    padding-right: 1.25em;
    padding-left: 0;
    text-align: right;
    display: block;
}

.alert {
    text-align: right;
    direction: rtl;
}

    .alert i {
        margin-left: 0.5rem;
        margin-right: 0;
    }

.modal-footer {
    direction: rtl;
    justify-content: flex-start;
}

    .modal-footer .btn:first-child {
        margin-left: 0.5rem;
        margin-right: 0;
    }

.google-form-input, .form-control, .form-select {
    text-align: right;
    direction: rtl;
}

    .google-form-input::placeholder, .form-control::placeholder {
        text-align: right;
        direction: rtl;
    }

/* Fix for Bootstrap columns in RTL */
.row {
    direction: rtl;
}

.col-md-6 {
    text-align: right;
}

/* Fix for form text in RTL */
.form-text {
    text-align: right;
    direction: rtl;
}

/* Fix for required asterisk positioning */
.required-asterisk {
    margin-left: 0.25rem;
    margin-right: 0;
}

/* Mobile RTL adjustments */
@media (max-width: 576px) {
    .google-form-close {
        right: 0.5rem;
        left: auto;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

        .modal-footer .btn {
            margin: 0.25rem 0;
        }
}

/* Fix for input groups and containers */
.google-form-input-container {
    direction: rtl;
}

/* Fix for select dropdowns */
.form-select {
    background-position: left 0.75rem center;
    padding-left: 2.25rem;
    padding-right: 0.75rem;
}

/* Fix for radio and checkbox positioning */
input[type="radio"], input[type="checkbox"] {
    float: right;
    margin-left: 0;
    margin-right: 0;
    position: relative;
}

/* Fix for number inputs */
input[type="number"] {
    text-align: right;
}

/* Fix for button alignment */
.btn {
    direction: ltr;
}

    .btn i {
        margin-left: 0;
    }

/* Custom scrollbar for RTL */
.google-form-body {
    direction: rtl;
}

    .google-form-body::-webkit-scrollbar {
        width: 6px;
    }

/* Fix for loading content */
.loading-content {
    direction: rtl;
    text-align: center;
}

/* Additional RTL fixes for form controls */
.form-check {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    text-align: right;
    padding-right: 0;
    padding-left: 0;
}

    .form-check .form-check-input {
        margin-right: 0;
        margin-left: 0.5rem;
        flex-shrink: 0;
    }

    .form-check .form-check-label {
        padding-right: 0;
        padding-left: 0;
        margin-right: 0;
        flex: 1;
        text-align: right;
    }

/* Fix for destination grid items */
.destinations-grid .destination-item .form-check {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    text-align: right;
}

.destinations-grid .destination-item .form-check-input {
    margin-right: 0;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.destinations-grid .destination-item .form-check-label {
    padding-right: 0;
    padding-left: 0;
    flex: 1;
    text-align: right;
}

/* Fix for radio button containers */
.col-md-6 .form-check {
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    text-align: right;
    margin-bottom: 0.5rem;
}

.col-md-6 .form-check-input {
    margin-right: 0;
    margin-left: 0.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.col-md-6 .form-check-label {
    padding-right: 0;
    padding-left: 0;
    flex: 1;
    text-align: right;
}
