/* =====================================================
   Brand Front Overrides CSS
   Applied to all web views (WebController)
   Shared for RTL and LTR
   ===================================================== */

:root {
    /* Navy Blue Gradients */
    --primary-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --secondary-gradient: linear-gradient(to left, #ece9e6, #ffffff);
    --navy-dark: #1e3c72;
    --navy-light: #f8f9fa;
    --accent-blue: #2a5298;
}

[dir="rtl"] {
    direction: rtl;
}

/* Cairo font for RTL body - ensures it overrides other stylesheets */
[dir="rtl"] body {
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600;
}

body {
    background-color: #f0f2f5;
    color: #34495e;
}

h1, h2, h3, h4, h5, h6, a, p, span, div, label, button, input, textarea {
    font-family: 'Cairo', sans-serif !important;
}

/* Utility Classes */
.bg-light {
    background-color: #f8fafc !important;
}

.rounded-4 {
    border-radius: 1.25rem !important;
}

.fw-black {
    font-weight: 900 !important;
}

header {
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Navigation text styling */
.navbar-light .nav-link {
    color: #f5f5f5 !important;
}

.navbar-light .nav-link:hover {
    color: rgb(250, 164, 5);
}

.navbar-light .nav-link.active {
    color: orange;
    font-weight: 600;
}

/* Language menu navlink styling */
.submenu  {
    padding: 4px !important;

}

/* Language menu navlink styling */
.language-menu .nav-link {
    color: var(--navy-dark) !important;
    padding: 8px 12px;
    border-radius: 4px;
    margin: 2px ;
    display: block;
    transition: all 0.25s ease;
}

.language-menu .nav-link:hover {
    background-color: #ebebeb;
    color: orange !important;
}

.brand-icon {
    background: rgba(255,255,255,0.15);
    padding: 10px;
    border-radius: 10px;
    margin-left: 10px;
}

/* ===== Form Control Styling ===== */
.form-control-lg {
    border-radius: 50px;
    padding-left: 40px;
    border: 1px solid #dfe6e9;
    background-color: #fdfdfd;
}

.form-control-lg:focus {
    box-shadow: 0 0 0 4px rgba(30, 60, 114, 0.1);
    border-color: var(--accent-blue);
}

/* ===== Modal Styling ===== */
.modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-title {
    font-weight: 700;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ===== Table Styling ===== */
.schedule-table th {
    background-color: #f8f9fa;
    color: #2c3e50;
}

.time-slot {
    background-color: #e3f2fd;
    color: #0d47a1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    display: inline-block;
    margin: 2px;
}

/* ===== Specialty button (shared) ===== */
.spec-btn {
    border-radius: 50px;
    padding: 8px 18px;
    margin: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spec-btn:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.spec-btn.active {
    background: var(--navy-dark);
    color: white;
    border-color: var(--navy-dark);
    box-shadow: 0 8px 20px rgba(30, 60, 114, 0.25);
}

/* Small utility for disabled modal booking link */
.btn.disabled, .btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.65;
}
