:root {
  --main-bg: #fafafa;
  /* خلفية بيضاء ناعمة */
  --secondary-bg: #efe8d8;
  /* بيج فاتح */
  --accent-color: #800000;
  /* عنابي داكن */
  --text-main: #333333;
  /* أسود ناعم */
  --text-muted: #7b2c3b;
  /* عنابي فاتح */
}
a {
  text-decoration: none;
  color: #800000; /* Optional: Inherit color from parent if you don't want default blue */
}

/* On hover, still no underline */
a:hover {
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

/* تكبير Flatpickr بـ 7px فقط */
.flatpickr-calendar {
    font-size: 14px !important;
    transform: scale(1.05) !important;
    transform-origin: top left !important;
}

.flatpickr-day {
    height: 35px !important;
    width: 35px !important;
    line-height: 35px !important;
}

.flatpickr-weekday {
    height: 28px !important;
    line-height: 28px !important;
}

.flatpickr-months {
    height: 38px !important;
}

.flatpickr-current-month {
    font-size: 15px !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    width: 30px !important;
    height: 30px !important;
}
 /* تكبير Flatpickr بـ 7px فقط */
    .flatpickr-calendar {
        font-size: 14px !important;
        transform: scale(1.05) !important;
        transform-origin: top left !important;
    }
    
    .flatpickr-day {
        height: 35px !important;
        width: 35px !important;
        line-height: 35px !important;
    }
    
    .flatpickr-weekday {
        height: 28px !important;
        line-height: 28px !important;
    }
    
    .flatpickr-months {
        height: 38px !important;
    }
    
    .flatpickr-current-month {
        font-size: 15px !important;
    }
    
    .flatpickr-prev-month,
    .flatpickr-next-month {
        width: 30px !important;
        height: 30px !important;
    }
body {
  background-color: var(--main-bg);
  font-family: "Cairo", sans-serif;
  color: var(--text-main);
  direction: rtl;
}

/* أزرار النموذج */
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background-color: #a52a2a;
  border-color: #a52a2a;
}

/* العناوين */
h1,
h2,
h5 {
  color: var(--accent-color);
}

.navbar {
  background: var(--secondary-bg);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}
.navbar-nav .navbar-brand {
  color: var(--accent-color);
}
.navbar-brand img {
  height: 50px;
  max-height: 50px;
  width: auto;
}
.navbar-nav .nav-link {
  font-size: 18px;
  color: var(--text-muted);
  transition: all 0.3s ease-in-out;
  padding: 0.5rem 1rem;
}
.navbar-nav .nav-link:hover {
  color: var(--accent-color);
  transform: scaleY(1.5);
}
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-collapse {
  flex-grow: 1;
}

/* Enhanced Responsive Navbar Styles for All Devices */

/* إصلاحات شاملة للآيفون والسامسونغ وجميع الأجهزة */
@supports (-webkit-touch-callout: none) {
  /* إصلاحات خاصة بالآيفون */
  .navbar {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }
  
  .navbar-toggler {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }
  
  .navbar-nav .nav-link {
    -webkit-tap-highlight-color: rgba(128, 0, 0, 0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}

/* إصلاحات للأندرويد والسامسونغ */
@media screen and (max-width: 991px) and (orientation: portrait) {
  .navbar {
    will-change: transform;
    contain: layout style paint;
  }
  
  .navbar-collapse {
    will-change: opacity, transform;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .navbar-nav .nav-link {
    will-change: background-color, transform;
  }
}

/* إصلاحات للشاشات عالية الدقة */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .navbar-brand img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .navbar-toggler-icon {
    background-size: 100% 100%;
  }
}

/* إصلاحات للوضع الأفقي على الجوالات */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .navbar {
    padding: 0.2rem 0;
    min-height: 50px;
  }
  
  .navbar-brand img {
    height: 32px !important;
    max-height: 32px;
  }
  
  .navbar-toggler {
    padding: 5px 8px;
    min-width: 36px;
    min-height: 36px;
  }
  
  .navbar-collapse {
    padding: 10px;
    margin-top: 5px;
  }
  
  .navbar-nav .nav-link {
    padding: 6px 12px !important;
    min-height: 36px;
    font-size: 13px;
  }
}

/* تحسينات للأجهزة اللوحية والجوالات الكبيرة */
@media (max-width: 991.98px) {
  .navbar {
    background: rgba(239, 232, 216, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    width: 100% !important;
  }
  
  .navbar-brand {
    flex-grow: 0 !important;
  }
  
  .navbar-brand img {
    height: 45px !important;
    max-height: 45px;
    width: auto !important;
    object-fit: contain;
  }
  
  .navbar-toggler {
    border: 2px solid rgba(128, 0, 0, 0.3) !important;
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.2) !important;
    outline: none;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28128, 0, 0, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 20px;
    height: 20px;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98) !important;
    margin-top: 15px;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(128, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .navbar-nav {
    text-align: center;
    width: 100%;
  }
  
  .navbar-nav .nav-item {
    margin: 3px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 15px 25px !important;
    margin: 5px 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 249, 250, 0.8);
    border: 1px solid rgba(128, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    background: rgba(128, 0, 0, 0.1) !important;
    color: var(--accent-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
  }
  
  .dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .dropdown-item {
    padding: 12px 25px;
    border-radius: 10px;
    margin: 3px 8px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .dropdown-item:hover,
  .dropdown-item:focus {
    background: rgba(128, 0, 0, 0.1) !important;
    transform: translateX(5px);
  }
}

/* تحسينات للجوالات المتوسطة */
@media (max-width: 767.98px) {
  .navbar {
    padding: 0.4rem 0;
    min-height: 60px;
  }
  
  .navbar-brand img {
    height: 42px !important;
    max-height: 42px;
    width: auto !important;
  }
  
  .navbar-toggler {
    padding: 10px 14px;
    min-width: 48px;
    min-height: 48px;
    border-width: 2px;
  }
  
  .navbar-collapse {
    padding: 20px 15px;
    margin-top: 12px;
    border-radius: 12px;
  }
  
  .navbar-nav .nav-link {
    font-size: 15px;
    padding: 12px 20px !important;
    min-height: 48px;
    margin: 4px 0;
  }
  
  .dropdown-item {
    padding: 10px 20px;
    min-height: 42px;
    font-size: 15px;
  }
}

/* تحسينات للجوالات الصغيرة والآيفون */
@media (max-width: 575.98px) {
  .navbar {
    padding: 0.3rem 0;
    min-height: 56px;
  }
  
  .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  .navbar-brand img {
    height: 38px !important;
    max-height: 38px;
    width: auto !important;
  }
  
  .navbar-toggler {
    padding: 8px 12px;
    font-size: 14px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
  }
  
  .navbar-toggler-icon {
    width: 18px;
    height: 18px;
  }
  
  .navbar-collapse {
    padding: 18px 12px;
    margin-top: 10px;
    border-radius: 10px;
  }
  
  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 10px 15px !important;
    min-height: 44px;
    margin: 3px 0;
    border-radius: 10px;
  }
  
  .dropdown-menu {
    border-radius: 10px;
    margin-top: 8px;
  }
  
  .dropdown-item {
    padding: 8px 15px;
    min-height: 40px;
    font-size: 14px;
    margin: 2px 5px;
    border-radius: 8px;
  }
}

/* تحسينات خاصة للآيفون الصغير */
@media (max-width: 480px) {
  .navbar {
    padding: 0.2rem 0;
  }
  
  .navbar-brand img {
    height: 35px !important;
    max-height: 35px;
  }
  
  .navbar-toggler {
    padding: 6px 10px;
    min-width: 40px;
    min-height: 40px;
  }
  
  .navbar-collapse {
    padding: 15px 10px;
    margin-top: 8px;
  }
  
  .navbar-nav .nav-link {
    font-size: 13px;
    padding: 8px 12px !important;
    min-height: 40px;
  }
  
  .dropdown-item {
    font-size: 13px;
    padding: 6px 12px;
    min-height: 36px;
  }
}

/* إصلاحات خاصة بالسامسونغ والأندرويد */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .navbar-toggler {
    -webkit-appearance: none;
    appearance: none;
  }
  
  .navbar-nav .nav-link {
    -webkit-tap-highlight-color: rgba(128, 0, 0, 0.1);
    -webkit-tap-highlight-color: rgba(128, 0, 0, 0.1);
  }
}

/* Start index.php */
.hero-section {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin-top: 56px;
}

/* زر الحجز */
.hero-btn {
  background-color: var(--accent-color);
  border: none;
}

.hero-btn:hover {
  background-color: #a52a2a;
  /* عنابي أفتح */
}

/* تواصل معنا */
.contact-section form {
  max-width: 600px;
}

/* آراء العملاء */
.clients_opinion,
#about {
  background-color: var(--secondary-bg) !important;
}

.owl-carousel .card {
  background-color: white;
  border: 1px solid #eadbc8;
}

.owl-carousel .text-muted {
  color: var(--text-muted) !important;
}

.gallery img {
  object-fit: cover;
  height: 200px;
}
.gallery .card {
  transition: all 0.5s ease-in-out;
}
.gallery .card:hover {
  transform: scale(1.3);
  z-index: 9999;
}
.info-section {
  align-items: center;
}
.info-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}
.info-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-heading a {
  font-size: 20px;
  color: var(--accent-color);
}
/* End index.php */

/* Start show_plan.php */
.office-scroll {
  overflow-x: auto;
  direction: rtl;
}
.office-scroll .rounded {
  transition: all 0.5s ease-in-out;
}
.office-scroll .rounded:hover {
  cursor: pointer;
  border: var(--text-main) 2px solid !important;
  background: var(--main-bg) !important;
}
.rect1 {
  border: 4px solid #896538;
}
/* Narrow only for B offices (B01–B12 containers) */
.B01 .rect1,
.B02 .rect1,
.B03 .rect1,
.B04 .rect1,
.B05 .rect1,
.B06 .rect1,
.B07 .rect1,
.B08 .rect1,
.B09 .rect1,
.B10 .rect1,
.B11 .rect1,
.B12 .rect1 {
    width: 50%;
    margin: -30px;
}
/* Remove inner padding between the two table columns inside B offices */
.B01 .d-flex.justify-content-center > .col,
.B02 .d-flex.justify-content-center > .col,
.B03 .d-flex.justify-content-center > .col,
.B04 .d-flex.justify-content-center > .col,
.B05 .d-flex.justify-content-center > .col,
.B06 .d-flex.justify-content-center > .col,
.B07 .d-flex.justify-content-center > .col,
.B08 .d-flex.justify-content-center > .col,
.B09 .d-flex.justify-content-center > .col,
.B10 .d-flex.justify-content-center > .col,
.B11 .d-flex.justify-content-center > .col,
.B12 .d-flex.justify-content-center > .col,
/* Also remove padding for any flex columns inside B offices */
.B01 .d-flex > .col,
.B02 .d-flex > .col,
.B03 .d-flex > .col,
.B04 .d-flex > .col,
.B05 .d-flex > .col,
.B06 .d-flex > .col,
.B07 .d-flex > .col,
.B08 .d-flex > .col,
.B09 .d-flex > .col,
.B10 .d-flex > .col,
.B11 .d-flex > .col,
.B12 .d-flex > .col,
.B01 .d-flex > .col-6,
.B02 .d-flex > .col-6,
.B03 .d-flex > .col-6,
.B04 .d-flex > .col-6,
.B05 .d-flex > .col-6,
.B06 .d-flex > .col-6,
.B07 .d-flex > .col-6,
.B08 .d-flex > .col-6,
.B09 .d-flex > .col-6,
.B10 .d-flex > .col-6,
.B11 .d-flex > .col-6,
.B12 .d-flex > .col-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/* Ensure no gap between flex items inside B offices */
.B01 .d-flex,
.B02 .d-flex,
.B03 .d-flex,
.B04 .d-flex,
.B05 .d-flex,
.B06 .d-flex,
.B07 .d-flex,
.B08 .d-flex,
.B09 .d-flex,
.B10 .d-flex,
.B11 .d-flex,
.B12 .d-flex {
    gap: 0 !important;
}
 .rect-left { margin-right: 12px!important; }
  .rect-right { margin-left: -10px!important; }

/* Right Column */
.office-number-a,
.office-number-a-bottom,
.office-number-p-bottom,
.office-number-b-bottom,
.office-number-p-top,
.office-number-b-top,
.office-number-d-bottom,
.office-number-e-bottom,
.office-number-e-top {
  font-size: 18px;
  display: inline-flex;
  position: relative;
  bottom: -17px;
}

.code-l {
  writing-mode: vertical-rl;
  position: relative;
  top: 4px;
  left: 13px;
}
.code-n {
  writing-mode: vertical-rl;
  position: relative;
  top: -20px;
  left: -4px;
}

/* A01 - A06 */
.office-number-a {
  border: #0dcaf0 0 solid;
  border-width: 0 4px 4px 4px;
  width: 60px;
  height: 60px;
  float: left;
  border-radius: 0 0 51px 0;
  top: 0;
  margin-right: -12px;
  background-color: #fff;
}
.office-number-a .code {
  position: relative;
  top: -4px;
  right: 4px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

/* A07 - A12 */
.office-number-a-bottom {
  border: #0dcaf0 0 solid;
  border-width: 4px 4px 0 4px;
  width: 60px;
  height: 60px;
  float: left;
  border-radius: 0 51px 0 0;
  top: 7px;
  margin-right: -12px;
  background-color: #fff;
}
.office-number-a-bottom .code {
  position: relative;
  top: 10px;
  right: 2px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

/* P2 */
.office-number-p-bottom {
  border: #0dcaf0 0 solid;
  border-width: 4px 0 4px 4px;
  width: 60px;
  height: 60px;
  float: left;
  border-radius: 51px 0 0 0;
  top: 82.9%;
  margin-right: -13px;
  background-color: #fff;
}
.office-number-p-bottom .code {
  position: relative;
  top: 2px;
  right: -2px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

.office-number-p-top {
  border: #0dcaf0 0 solid;
  border-width: 4px 0 4px 4px;
  width: 60px;
  height: 60px;
  float: left;
  border-radius: 0 0 0 51px;
  top: 2px;
  margin-right: -4px;
  background-color: #fff;
}
.office-number-p-top .code {
  position: relative;
  top: -4px;
  right: -5px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

.office-number-p-bottom .code-l {
  left: 4px;
  top: 7px;
}
.office-number-p-top .code-l {
  left: 1px;
  top: 7px;
}
/* E01 */
.office-number-e-top {
  border: #0dcaf0 4px solid;
  width: 60px;
  height: 60px;
  float: right;
  border-radius: 0 0 0 51px;
  top: 4px;
  margin-right: -2px;
  background-color: #fff;
}
.office-number-e-top .code {
  position: relative;
  top: -2px;
  right: -5px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

/* E02 */
.office-number-e-bottom {
  border: #0dcaf0 4px solid;
  width: 60px;
  height: 60px;
  float: right;
  border-radius: 51px 0 0 0;
  top: 2px;
  margin-right: -2px;
  background-color: #fff;
}
.office-number-e-bottom .code {
  position: relative;
  top: 4px;
  right: -5px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

/* D04 - D03 */
.office-number-d-bottom {
  border: #0dcaf0 4px solid;
  width: 60px;
  height: 60px;
  float: right;
  border-radius: 0 0 0 51px;
  top: 4px;
  margin-right: -2px;
  background-color: #fff;
}
.office-number-d-bottom .code {
  position: relative;
  top: -4px;
  right: -5px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

/* B10 - B12 */
.office-number-b-top {
  border: #0dcaf0 0 solid;
  border-width: 0 4px 4px 4px;
  width: 60px;
  height: 60px;
  float: left;
  border-radius: 0 0 51px 0;
  top: 0;
  margin-left: 2px;
  background-color: #fff;
}
.office-number-b-top .code {
  position: relative;
  top: -4px;
  left: -4px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

/* B07 - B09 */
.office-number-b-bottom {
  border: #0dcaf0 0 solid;
  border-width: 4px 4px 0 4px;
  width: 60px;
  height: 60px;
  float: left;
  border-radius: 0 51px 0 0;
  top: 0;
  margin-left: 2px;
  background-color: #fff;
}
.office-number-b-bottom .code {
  position: relative;
  top: 5px;
  left: -2px;
  margin: 5px;
  width: 45px;
  height: 45px;
  border: #0dcaf0 4px solid;
}

.A01_A06 {
  position: relative;
  bottom: -50px;
}

.men-placeholder,
.women-placeholder {
  writing-mode: vertical-rl;
  color: #00f00a;
  position: relative;
  left: 20px;
}
.women-placeholder {
  margin-top: -20px;
}
/* End show_plan.php */

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
  padding: 4rem 0;
  margin-top: 50px;
}

.contact-section h2 {
  color: #800000;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

.info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  width: fit-content;
  margin: 0 auto 1rem;
}

.info-section:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.info-img:hover {
  transform: scale(1.1);
}

.info-text {
  text-align: right;
}

.info-heading {
  font-size: 1.2rem;
  font-weight: 500;
  color: #4a5568;
  margin: 0;
}

.info-link {
  color: #800000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.info-link:hover {
  opacity: 0.8;
}

.contact-numbers {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-label {
  color: #800000;
  font-weight: 500;
}

/* Social Media Section */
.social-media {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.social-media a {
  transition: transform 0.3s ease;
}

.social-media a:hover {
  transform: scale(1.1);
}

.social-media img {
  max-width: 50px;
}

/* Mobile Image */
.mobile-image {
  display: none;
}

@media (max-width: 768px) {
  .mobile-image {
    display: block;
    text-align: center;
  }

  .mobile-image img {
    max-width: 399px;
    margin: 0 auto;
  }


/* الخط الرئيسي */
body, .form-control, .form-select, label, button {
    font-family: 'Cairo', 'Tajawal', Arial, sans-serif !important;
}

/* ألوان وهوية الشركة */
:root {
    --main-color: #800000; /* لون الشركة الأساسي */
    --main-light: #f9f6f2;
    --main-border: #c7b299;
    --main-accent: #7c5c3b;
}

/* خلفية ونمط الفورم */
.search-form-container {
    background: var(--main-light);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1.5px solid var(--main-border);
    padding: 32px 24px 18px 24px;
    margin-bottom: 32px;
}

/* الحقول */
.form-control, .form-select {
    border-radius: 10px !important;
    border: 1.5px solid var(--main-border) !important;
    min-height: 48px;
    background: #fffdfa;
    color: #333;
    font-size: 1.1rem !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 2px #80000022;
}

/* التسميات */
label {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: var(--main-accent);
}

/* الأزرار */
.btn-success, .btn-primary {
    background: var(--main-color) !important;
    border: none !important;
    color: #fff !important;
    font-weight: bold;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(128,0,0,0.08);
    transition: background 0.2s;
}
.btn-success:hover, .btn-primary:hover {
    background: #5a2d0c !important;
}

/* تحسين المسافات بين الحقول */
.search-form-container .col-4,
.search-form-container .col-12 {
    margin-bottom: 18px;
}

/* تحسين مظهر رسائل التنبيه */
.alert {
    border-radius: 10px;
    font-size: 1.1rem;
}

/* تحسين مظهر select الأثاث */
select.form-select {
    min-width: 180px;
    padding: 8px 12px;
}

/* تحسين مظهر الفورم بشكل عام */
.search-form-container input[type='date'],
.search-form-container input[type='text'],
.search-form-container input[type='number'] {
    direction: rtl;
    text-align: right;
}

/* ألوان القاعات والمكاتب - بسيط */
.bg-danger.text-white.bg-opacity-25 {
    background-color: rgba(220, 53, 69, 0.25) !important;
    color: white !important;
}

.bg-success.text-white.bg-opacity-25 {
    background-color: rgba(25, 135, 84, 0.25) !important;
    color: white !important;
}

.bg-secondary.text-white.bg-opacity-10 {
    background-color: rgba(108, 117, 125, 0.1) !important;
    color: #6c757d !important;
}

/* تأكيد على أن القاعات المحجوزة تظهر باللون الأحمر */
.M01.bg-danger, .M02.bg-danger, .M03.bg-danger, .T01.bg-danger, .T02.bg-danger {
    background-color: rgba(220, 53, 69, 0.25) !important;
    color: white !important;
}

/* تأكيد على أن القاعات المتاحة تظهر باللون الأخضر */
.M01.bg-success, .M02.bg-success, .M03.bg-success, .T01.bg-success, .T02.bg-success {
    background-color: rgba(25, 135, 84, 0.25) !important;
    color: white !important;
}

/* CSS إضافي لضمان ظهور الألوان بشكل صحيح */
div[class*="M01"], div[class*="M02"], div[class*="M03"], div[class*="T01"], div[class*="T02"] {
    transition: background-color 0.3s ease;
}

/* تأكيد على اللون الأحمر للقاعات المحجوزة */
div[class*="M01"].bg-danger, div[class*="M02"].bg-danger, div[class*="M03"].bg-danger, 
div[class*="T01"].bg-danger, div[class*="T02"].bg-danger {
    background-color: rgba(220, 53, 69, 0.25) !important;
    color: white !important;
    border-color: #dc3545 !important;
}

/* تأكيد على اللون الأخضر للقاعات المتاحة */
div[class*="M01"].bg-success, div[class*="M02"].bg-success, div[class*="M03"].bg-success, 
div[class*="T01"].bg-success, div[class*="T02"].bg-success {
    background-color: rgba(25, 135, 84, 0.25) !important;
    color: white !important;
    border-color: #198754 !important;
}

/* CSS إضافي لضمان ظهور الألوان بشكل واضح */
.M01, .M02, .M03, .T01, .T02 {
    position: relative;
}

.M01.bg-danger::before, .M02.bg-danger::before, .M03.bg-danger::before, 
.T01.bg-danger::before, .T02.bg-danger::before {
    content: "محجوز";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 1000;
    font-size: 14px;
}

.M01.bg-success::before, .M02.bg-success::before, .M03.bg-success::before, 
.T01.bg-success::before, .T02.bg-success::before {
    content: "متاح";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(25, 135, 84, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 1000;
    font-size: 14px;
}

}

