/* Reset and Container */
.bookease-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    font-family: 'Outfit', sans-serif !important;
    color: #1F2437 !important;
    box-sizing: border-box !important;
}

.bookease-rtl {
    direction: rtl !important;
    text-align: right !important;
}

.bookease-rtl * {
    font-family: 'Cairo', sans-serif !important;
}

.bookease-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

@media (max-width: 600px) {
    .bookease-grid {
        grid-template-columns: 1fr !important;
    }
}

.bookease-field {
    margin-bottom: 20px !important;
    width: 100% !important;
}

.bookease-field label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    color: #034389 !important;
}

/* Forceful Overrides for Form Inputs */
.bookease-container .bookease-form input[type="text"],
.bookease-container .bookease-form input[type="email"],
.bookease-container .bookease-form input[type="tel"],
.bookease-container .bookease-form input[type="date"],
.bookease-container .bookease-form input[type="time"],
.bookease-container .bookease-form input[type="number"],
.bookease-container .bookease-form select,
.bookease-container .bookease-form textarea {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 50px !important;
    padding: 12px 18px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    color: #1F2437 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.bookease-container .bookease-form textarea {
    min-height: 120px !important;
}

.bookease-container .bookease-form input:focus,
.bookease-container .bookease-form select:focus,
.bookease-container .bookease-form textarea:focus {
    border-color: #034389 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(3, 67, 137, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-1px) !important;
}

/* Flag Picker Styling */
.bookease-container .bookease-phone-wrapper {
    display: flex !important;
    position: relative !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: visible !important;
    background: #fff !important;
}

.bookease-container .bookease-phone-wrapper select.bookease-country-picker {
    display: none !important;
}

.bookease-container .bookease-phone-wrapper input[type="tel"] {
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    flex: 1 !important;
    box-shadow: none !important;
    min-height: 48px !important;
}

.bookease-rtl .bookease-phone-wrapper input[type="tel"] {
    border-radius: 12px 0 0 12px !important;
}

.bookease-container .be-flag-header {
    background: #f8fafc !important;
    border-right: 1px solid #e2e8f0 !important;
    padding: 0 15px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 95px !important;
    user-select: none !important;
    border-radius: 12px 0 0 12px !important;
    height: 50px !important;
}

.bookease-rtl .be-flag-header {
    border-right: none !important;
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 0 12px 12px 0 !important;
}

.be-flag-header img {
    width: 20px !important;
    height: auto !important;
    border-radius: 2px !important;
}

.be-flag-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 250px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
    overflow: hidden !important;
}

.be-flag-search {
    background: #f8fafc !important;
    border-bottom: 1px solid #eee !important;
    padding: 10px !important;
}

.be-flag-search input {
    width: 100% !important;
    height: auto !important;
    padding: 8px 10px !important;
    border: 1px solid #ddd !important;
}

.be-flag-list {
    max-height: 250px !important;
    overflow-y: auto !important;
    padding: 5px 0 !important;
}

.be-flag-option {
    padding: 10px 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    color: #333 !important;
}

.be-flag-option:hover {
    background: #f0f7ff !important;
}

.be-hidden {
    display: none !important;
}

/* Buttons and Success */
.bookease-submit {
    width: 100% !important;
    padding: 18px !important;
    background: #10bd44 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    margin-top: 10px !important;
}

.bookease-submit:hover {
    background: #099b4d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(8, 236, 73, 0.799) !important;
}

.bookease-submit:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

.bookease-success {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    padding: 30px !important;
    border-radius: 12px !important;
    text-align: center !important;
    border: 1px solid #10b981 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.bookease-captcha {
    margin-top: 20px !important;
    padding: 20px !important;
    background: #f8fafc !important;
    border: 2px dashed #034389 !important;
    border-radius: 12px !important;
}

.bookease-captcha label {
    font-size: 1.1rem !important;
    margin-bottom: 12px !important;
}

.bookease-captcha input {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px !important;
    min-height: 55px !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.bookease-error {
    color: #b91c1c !important;
    background: #fee2e2 !important;
    padding: 12px 15px !important;
    border-radius: 8px !important;
    margin-top: 15px !important;
    font-size: 0.95rem !important;
    border-left: 5px solid #b91c1c !important;
}