/* ===================================
   اطمئن - Etma2en Medical Platform
   Main Stylesheet
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Noto+Kufi+Arabic:wght@400;500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
  --primary: #006B5E;
  --primary-light: #00897B;
  --primary-dark: #004D40;
  --secondary: #00C49A;
  --accent: #FF6B35;
  --accent-light: #FF8C5A;
  --accent-dark: #E55A2B;
  --background: #F7FAF9;
  --foreground: #1A2B2A;
  --card: #FFFFFF;
  --muted: #F7FAF9;
  --muted-fg: #4A6360;
  --border: #E2EDEB;
  --text-light: #8FA8A5;
  --success: #38A169;
  --warning: #F6AD55;
  --destructive: #E53E3E;
  --font-display: 'Noto Kufi Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', sans-serif;
  --font-ui: 'Cairo', sans-serif;
  --shadow-sm: 0 1px 4px rgba(0,107,94,0.06);
  --shadow-md: 0 4px 16px rgba(0,107,94,0.10);
  --shadow-lg: 0 8px 32px rgba(0,107,94,0.14);
  --shadow-hover: 0 12px 40px rgba(0,107,94,0.18);
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-ui { font-family: var(--font-ui); }

/* === Buttons === */
.btn-primary-etma {
     background: var(--primary);
    color: #fff;
    border: none;
    font-family: var(--font-ui);
    font-weight: 600;
    padding: 11px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    font-size: 13px;
}
.btn-primary-etma:hover {
  background: var(--primary-light); color: #fff;
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}

.btn-accent-etma {
  background: var(--accent); color: #fff; border: none;
  font-family: var(--font-ui); font-weight: 600;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  transition: all 0.3s ease;
}
.btn-accent-etma:hover {
  background: var(--accent-dark); color: #fff;
  box-shadow: var(--shadow-md); transform: translateY(-1px);
}

.btn-outline-etma {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-family: var(--font-ui);
    font-weight: 600;
    padding: 7px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    font-size: 15px;
}
.btn-outline-etma:hover {
  background: var(--primary); color: #fff;
  box-shadow: var(--shadow-md);
}

/* === Gradients === */
.gradient-hero { background: linear-gradient(135deg, #006B5E 0%, #00897B 50%, #00C49A 100%); }
.gradient-accent { background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%); }
.gradient-dark { background: linear-gradient(135deg, #0A1F1C 0%, #006B5E 50%, #003D34 100%); }

/* === Shadows === */
.shadow-etma-sm { box-shadow: var(--shadow-sm); }
.shadow-etma-md { box-shadow: var(--shadow-md); }
.shadow-etma-lg { box-shadow: var(--shadow-lg); }

/* === Announcement Bar === */
.announcement-bar {
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
  color: #fff; padding: 0.625rem 0; overflow: hidden;
}
.marquee-wrap { overflow: hidden; white-space: nowrap; }
.marquee-content {
  display: inline-flex; gap: 2rem;
  animation: marquee 30s linear infinite;
}
.marquee-content span {
  font-family: var(--font-ui); font-size: 0.875rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Navbar === */
.navbar-etma { background: var(--card); box-shadow: var(--shadow-sm); }
.navbar-etma .navbar-brand { display: flex; align-items: center; gap: 0.5rem; }
.navbar-etma .brand-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--primary); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.25rem;
}
.navbar-etma .brand-text {
  font-family: var(--font-display); font-size: 1.5rem;
  font-weight: 700; color: var(--primary);
}

.brand-text {
        width: 113px;
}

.navbar-etma .nav-link {
  font-family: var(--font-ui) !important; font-weight: 600 !important;
  color: var(--foreground) !important; padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}
.navbar-etma .nav-link:hover, .navbar-etma .nav-link.active {
  color: var(--primary) !important;
}
.badge-new {
  position: absolute; top: 0; left: 0;
  background: var(--accent); color: #fff;
  font-size: 0.625rem; padding: 0.125rem 0.375rem;
  border-radius: 50px; font-family: var(--font-ui);
}
.cart-badge {
  position: absolute; top: -5px; left: -5px;
  width: 20px; height: 20px; background: var(--accent);
  color: #fff; font-size: 0.7rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 700;
}

/* === Hero === */
.hero-section { position: relative; overflow: hidden; padding: 4rem 0 5rem; }
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 17.32v25.36L30 60 0 42.68V17.32L30 0z' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  color: #fff; padding: 0.5rem 1rem; border-radius: 50px;
  font-family: var(--font-ui); font-size: 0.875rem; margin-bottom: 1.5rem;
}
.hero-section h1 {
  font-family: var(--font-display); font-size: 3.5rem;
  font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.hero-section h2 {
  font-family: var(--font-display); font-size: 1.5rem;
  color: rgba(255,255,255,0.8); margin-bottom: 1rem;
}
.hero-desc {
  color: rgba(255,255,255,0.65); font-size: 1.125rem;
  max-width: 540px; margin-bottom: 2rem;
}

/* Search Widget */
.search-widget {
  background: var(--card); border-radius: var(--radius-2xl);
  padding: 1.5rem; box-shadow: var(--shadow-lg);
}
.search-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; }
.search-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600; border: none;
  cursor: pointer; transition: all 0.3s ease; font-size: 0.875rem;
}
.search-tab.active { background: var(--primary); color: #fff; }
.search-tab:not(.active) { background: var(--muted); color: var(--muted-fg); }
.search-tab:not(.active):hover { background: rgba(0,107,94,0.1); }
.search-widget .form-control, .search-widget .form-select {
  height: 48px; font-family: var(--font-ui); border-color: var(--border); border-radius: var(--radius);
}
.search-widget .form-control:focus, .search-widget .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(0,107,94,0.15);
}
.btn-search { height: 56px; font-size: 1.125rem; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }
.trust-pill {
  display: flex; align-items: center; gap: 0.5rem;
  color: rgba(255,255,255,0.9); font-family: var(--font-ui); font-size: 0.875rem;
}
.trust-pill i { color: var(--secondary); }

/* Floating Stats */
.floating-stats { position: relative; height: 500px; }
.floating-stat {
  position: absolute; background: var(--card);
  border-radius: var(--radius-xl); padding: 1.5rem;
  box-shadow: var(--shadow-lg); animation: float 3s ease-in-out infinite;
}
.floating-stat .stat-value { font-family: var(--font-ui); font-size: 2.5rem; font-weight: 700; }
.floating-stat .stat-label { color: var(--muted-fg); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* === Stats Bar === */
.stats-bar { background: var(--card); padding: 2rem 0; box-shadow: var(--shadow-sm); }
.stat-item { text-align: center; padding: 1rem; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%); height: 48px; width: 1px; background: var(--border);
}
.stat-item i { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.stat-item .stat-value { font-family: var(--font-ui); font-size: 1.75rem; font-weight: 700; display: block; }
.stat-item .stat-label { color: var(--muted-fg); }

/* === Section === */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,107,94,0.1); color: var(--primary);
  padding: 0.5rem 1rem; border-radius: 50px;
  font-family: var(--font-ui); font-size: 0.875rem; margin-bottom: 1rem;
}
.section-header h2 {
  font-family: var(--font-display); font-size: 2.25rem;
  font-weight: 700; margin-bottom: 1rem;
}
.section-header p {
  font-family: var(--font-body); color: var(--muted-fg);
  font-size: 1.125rem; max-width: 640px; margin: 0 auto;
}
.section-bg-white { background: var(--card); }
.section-bg-light { background: var(--background); }
.section-padding { padding: 4rem 0; }

/* === Specialties === */
.specialties-scroll {
  display: flex; gap: 1rem; overflow-x: auto;
  padding-bottom: 1rem; scrollbar-width: none;
}
.specialties-scroll::-webkit-scrollbar { display: none; }
.specialty-card {
  flex-shrink: 0; width: 128px; height: 144px;
  background: var(--card); border-radius: var(--radius-xl);
  padding: 1rem; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.75rem;
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  border: 2px solid transparent; cursor: pointer; text-align: center;
}
.specialty-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-2px); }
.specialty-icon {
  width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; transition: transform 0.3s ease;
}
.specialty-card:hover .specialty-icon { transform: scale(1.1); }
.specialty-name { font-family: var(--font-ui); font-weight: 600; font-size: 0.875rem; }
.specialty-count {
  background: rgba(255,107,53,0.1); color: var(--accent);
  font-size: 0.75rem; font-family: var(--font-ui);
  padding: 0.125rem 0.5rem; border-radius: 50px;
}

/* === Offers Strip === */
.offers-strip { background: rgba(255,107,53,0.05); padding: 1.25rem 0; }
.offers-title {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--accent); font-family: var(--font-display);
  font-weight: 700; font-size: 1.125rem; white-space: nowrap;
}
.offer-pill {
  flex-shrink: 0; padding: 0.5rem 1rem; border-radius: 50px;
  font-family: var(--font-ui); font-size: 0.875rem;
  border: 1px solid rgba(255,107,53,0.3); background: var(--card);
  color: var(--foreground); cursor: pointer; transition: all 0.3s ease;
}
.offer-pill:hover, .offer-pill.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* === Ad Banner === */
.ad-banner {
  border-radius: var(--radius-2xl); overflow: hidden;
  position: relative; padding: 3rem;
}
.ad-pattern {
  position: absolute; inset: 0; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='8' fill='none' stroke='white' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 40px 40px;
}
.ad-discount-box {
  width: 128px; height: 128px; background: rgba(255,255,255,0.2);
  border-radius: var(--radius-xl); display: flex;
  align-items: center; justify-content: center;
}
.ad-discount-box span { font-family: var(--font-ui); font-size: 3.5rem; font-weight: 700; color: #fff; }

/* === Product Cards === */
.filter-pills {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding-bottom: 1rem; justify-content: center;
  flex-wrap: wrap; scrollbar-width: none;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0; padding: 0.625rem 1.25rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-weight: 600; border: none;
  cursor: pointer; transition: all 0.3s ease;
}
.filter-pill.active { background: var(--primary); color: #fff; }
.filter-pill:not(.active) { background: var(--muted); color: var(--muted-fg); }
.filter-pill:not(.active):hover { background: rgba(0,107,94,0.1); }

.product-card {
  background: var(--card); border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-img {
  height: 208px; background: var(--muted); position: relative;
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder {
  width: 96px; height: 96px; background: rgba(0,107,94,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.img-placeholder i { font-size: 2.5rem; color: rgba(0,107,94,0.4); }
.discount-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #fff; font-size: 0.75rem;
  font-family: var(--font-ui); font-weight: 600;
  padding: 0.25rem 0.5rem; border-radius: 50px;
}
.wishlist-btn {
  position: absolute; top: 12px; left: 12px;
  width: 32px; height: 32px; background: var(--card);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; border: none; box-shadow: var(--shadow-sm);
  cursor: pointer; transition: all 0.3s ease;
}
.wishlist-btn:hover { background: var(--accent); color: #fff; }
.vendor-badge-sm {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  padding: 0.25rem 0.5rem; border-radius: 6px;
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-family: var(--font-ui);
}
.vendor-dot { width: 16px; height: 16px; background: rgba(0,107,94,0.2); border-radius: 50%; }
.product-body { padding: 1rem; }
.product-category { font-size: 0.75rem; font-family: var(--font-ui); color: var(--primary); }
.product-name {
  font-family: var(--font-ui); font-weight: 600;
  margin: 0.25rem 0 0.5rem; height: 48px; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-rating { display: flex; align-items: center; gap: 0.25rem; margin-bottom: 0.75rem; }
.product-rating i { color: #FBBF24; font-size: 0.875rem; }
.product-rating .rating-val { font-family: var(--font-ui); font-weight: 600; font-size: 0.875rem; }
.product-rating .rating-count { font-size: 0.75rem; color: var(--muted-fg); }
.product-price { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.current-price { font-family: var(--font-ui); font-size: 1.25rem; font-weight: 700; color: var(--accent); }
.old-price { font-size: 0.875rem; color: var(--muted-fg); text-decoration: line-through; }
.stock-status { display: flex; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-family: var(--font-ui); margin-bottom: 1rem; }
.stock-in { color: var(--success); }
.stock-limited { color: var(--warning); }

/* === Vendor Cards === */
.vendors-scroll { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: none; }
.vendors-scroll::-webkit-scrollbar { display: none; }
.vendor-card {
  flex-shrink: 0;  background: var(--card);
  border-radius: var(--radius-xl); padding: 1.25rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  text-align: center; transition: all 0.3s ease;
}
.vendor-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-2px); }
.vendor-logo {
  width: 64px; height: 64px; background: rgba(0,107,94,0.1);
  border-radius: 12px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.vendor-logo span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.vendor-card h4 { font-family: var(--font-ui); font-weight: 600; margin-bottom: 0.5rem; }
.vendor-location { font-size: 0.75rem; color: var(--muted-fg); margin-bottom: 0.75rem; }
.vendor-stats { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.vendor-stats span { font-size: 0.75rem; color: var(--muted-fg); display: flex; align-items: center; gap: 0.25rem; }
.vendor-cta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.vendor-cta a {
  font-family: var(--font-ui); font-size: 0.875rem; color: var(--primary);
  display: flex; align-items: center; justify-content: center; gap: 0.25rem;
  transition: gap 0.3s ease;
}
.vendor-card:hover .vendor-cta a { gap: 0.5rem; }

/* === Doctor Cards === */
.doctor-card {
  background: var(--card); border-radius: var(--radius-2xl);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-md); transition: all 0.3s ease;
}
.doctor-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.doctor-header { height: 112px; position: relative; }
.doctor-avatar {
  position: absolute; bottom: -40px; right: 24px;
  width: 80px; height: 80px; background: var(--card);
  border-radius: 50%; border: 4px solid var(--card);
  display: flex; align-items: center; justify-content: center;    overflow: hidden;
}
.doctor-avatar i { font-size: 2.5rem; color: rgba(0,107,94,0.4); }
.available-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--success); color: #fff; font-size: 0.75rem;
  font-family: var(--font-ui); padding: 0.25rem 0.5rem; border-radius: 50px;
}
.title-badge {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  color: var(--primary); font-size: 0.75rem; font-family: var(--font-ui);
  padding: 0.25rem 0.5rem; border-radius: 50px;
}
.doctor-body { padding: 1.5rem; padding-top: 3.5rem; }
.doctor-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-align: center; margin-bottom: 0.25rem; }
.doctor-specialty { color: var(--muted-fg); font-size: 0.875rem; text-align: center; margin-bottom: 1rem; }
.doctor-info-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.doctor-info-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-fg); }
.doctor-info-item i { color: var(--primary); width: 16px; text-align: center; }
.doctor-slot-box { border-radius: 12px; padding: 0.75rem; margin-bottom: 1rem; }
.slot-time { font-family: var(--font-ui); font-size: 0.875rem; }
.slot-price { font-family: var(--font-ui); font-size: 1.125rem; font-weight: 700; color: var(--accent); }

/* === How It Works === */
.step-card {
  background: var(--card); border-radius: var(--radius-2xl);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-lg);
  transition: all 0.3s ease; position: relative; height: 100%;
}
.step-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.step-number {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,107,94,0.1); display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 700; font-size: 0.875rem; color: var(--primary);
}
.step-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem; margin-bottom: 1.5rem;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.step-card p { color: var(--muted-fg); }

/* === Testimonials === */
.testimonial-card {
  background: var(--muted); border-radius: var(--radius-2xl);
  padding: 1.5rem; position: relative; transition: all 0.3s ease; height: 100%;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.quote-icon { position: absolute; top: 24px; left: 24px; font-size: 2rem; color: rgba(0,107,94,0.2); }
.testimonial-text { line-height: 1.8; margin-bottom: 1.5rem; }
.testimonial-user { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar {
  width: 48px; height: 48px; background: rgba(0,107,94,0.1);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-ui); font-weight: 700; color: var(--primary);
}
.user-name { font-family: var(--font-ui); font-weight: 600; }
.verified-badge { font-size: 0.75rem; color: var(--success); }
.user-service {
  font-size: 0.75rem; font-family: var(--font-ui);
  background: rgba(0,107,94,0.1); color: var(--primary);
  padding: 0.125rem 0.5rem; border-radius: 50px;
}

/* === Articles === */
.article-card {
  background: var(--card); border-radius: var(--radius-2xl);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-img {
  height: 192px; background: linear-gradient(135deg, rgba(0,107,94,0.2) 0%, rgba(0,196,154,0.2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.article-img i { font-size: 3rem; color: rgba(0,107,94,0.3); }
.article-body { padding: 1.25rem; }
.article-category {
  display: inline-block; background: rgba(0,107,94,0.1); color: var(--primary);
  font-size: 0.75rem; font-family: var(--font-ui); padding: 0.25rem 0.5rem;
  border-radius: 50px; margin-bottom: 0.75rem;
}
.article-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.125rem;
  margin-bottom: 0.75rem; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; transition: color 0.3s ease;
}
.article-card:hover .article-title { color: var(--primary); }
.article-author { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.author-avatar {
  width: 32px; height: 32px; background: rgba(0,107,94,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.author-avatar i { font-size: 0.875rem; color: var(--primary); }
.article-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; border-top: 1px solid var(--border);
}
.read-time { font-size: 0.875rem; color: var(--muted-fg); }
.read-more {
  font-family: var(--font-ui); font-size: 0.875rem; color: var(--primary);
  display: flex; align-items: center; gap: 0.25rem; transition: gap 0.3s ease;
}
.article-card:hover .read-more { gap: 0.5rem; }

/* === App Download === */
.app-banner { padding: 4rem 0; }
.phone-mockup {
  width: 256px; height: 500px; background: var(--card);
  border-radius: 40px; padding: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25); margin: 0 auto;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(0,107,94,0.2) 0%, rgba(0,196,154,0.2) 100%);
  border-radius: 32px; display: flex; align-items: center; justify-content: center;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #000; color: #fff; padding: 0.75rem 1.5rem;
  border-radius: var(--radius); transition: all 0.3s ease; border: none;
}
.store-btn:hover { background: #222; color: #fff; transform: translateY(-1px); }
.store-btn small { font-size: 0.75rem; opacity: 0.8; display: block; }
.store-btn .store-name { font-size: 0.875rem; font-weight: 600; }

/* === Footer === */
.footer-etma { background: #0A1F1C; color: #fff; padding: 4rem 0 0; }
.footer-etma .footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.875rem; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; }
.footer-social a {
  width: 40px; height: 40px; background: rgba(255,255,255,0.1);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; color: #fff; transition: all 0.3s ease;
}
.footer-social a:hover { background: var(--primary); }
.footer-hotline { display: flex; align-items: center; gap: 0.5rem; color: var(--secondary); font-family: var(--font-ui); font-weight: 700; }
.footer-etma h5 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.6); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--secondary); }
.footer-pharmacies { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.pharmacy-item {
  background: rgba(255,255,255,0.05); border-radius: var(--radius);
  padding: 0.5rem; text-align: center; font-size: 0.75rem;
  font-family: var(--font-ui); color: rgba(255,255,255,0.6);
}
.footer-contact { list-style: none; padding: 0; }
.footer-contact li {
  display: flex; align-items: center; gap: 0.75rem;
  color: rgba(255,255,255,0.6); margin-bottom: 1rem; font-size: 0.875rem;
}
.footer-contact li i { color: var(--secondary); width: 20px; text-align: center; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; margin-top: 3rem; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.875rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.4); font-size: 0.875rem; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* === Page Header === */
.page-header { padding: 2rem 0; }
.page-header .breadcrumb { font-family: var(--font-ui); font-size: 0.875rem; margin: 0; background: none; padding: 0; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb .active { color: #fff; }
.breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.5) !important; }

/* === Sidebar Filters === */
.filter-sidebar {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.filter-sidebar h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.filter-group { margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group h5 { font-family: var(--font-ui); font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.75rem; }
.filter-group .form-check-label { font-family: var(--font-ui); font-size: 0.875rem; color: var(--muted-fg); }
.filter-group .form-check-input:checked { background-color: var(--primary); border-color: var(--primary); }
.form-range::-webkit-slider-thumb { background: var(--primary); }
.form-range::-moz-range-thumb { background: var(--primary); }

/* === Cart === */
.cart-vendor-group {
  background: var(--card); border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border); margin-bottom: 1.5rem;
}
.cart-vendor-header {
  background: var(--muted); padding: 0.75rem 1rem;
  font-family: var(--font-ui); font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
}
.cart-item {
  padding: 1rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 1rem;
}
.cart-item:last-child { border-bottom: none; }
.item-img {
  width: 80px; height: 80px; background: var(--muted);
  border-radius: var(--radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.item-img i { font-size: 1.5rem; color: rgba(0,107,94,0.3); }
.quantity-control {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--muted); border-radius: var(--radius); padding: 0.25rem;
}
.quantity-control button {
  width: 32px; height: 32px; border: none; background: var(--card);
  border-radius: 6px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all 0.2s ease;
}
.quantity-control button:hover { background: var(--primary); color: #fff; }
.quantity-control span { font-family: var(--font-ui); font-weight: 600; min-width: 24px; text-align: center; }

/* === Checkout === */
.checkout-steps { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.checkout-step { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-ui); font-weight: 600; color: var(--muted-fg); }
.checkout-step.active { color: var(--primary); }
.checkout-step.completed { color: var(--success); }
.step-circle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 700; background: var(--muted); color: var(--muted-fg);
}
.checkout-step.active .step-circle { background: var(--primary); color: #fff; }
.checkout-step.completed .step-circle { background: var(--success); color: #fff; }

.payment-method {
  background: var(--card); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 1rem;
  cursor: pointer; transition: all 0.3s ease;
}
.payment-method:hover { border-color: var(--primary); }
.payment-method.selected { border-color: var(--primary); background: rgba(0,107,94,0.05); }

.order-summary {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 1.5rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--border); position: sticky; top: 100px;
}

/* === Doctor Profile === */
.clinic-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 1.25rem; transition: all 0.3s ease;
}
.clinic-card:hover { box-shadow: var(--shadow-md); }
.qualification-item {
  display: flex; align-items: start; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.qualification-item:last-child { border-bottom: none; }
.date-slot {
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.875rem; font-weight: 600;
  border: 2px solid var(--border); background: var(--card);
  cursor: pointer; transition: all 0.3s ease; text-align: center;
}
.date-slot:hover, .date-slot.active { border-color: var(--primary); background: rgba(0,107,94,0.05); color: var(--primary); }
.time-slot {
  padding: 0.5rem 1rem; border-radius: var(--radius);
  font-family: var(--font-ui); font-size: 0.875rem;
  border: 1px solid var(--border); background: var(--card);
  cursor: pointer; transition: all 0.3s ease;
}
.time-slot:hover, .time-slot.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.insurance-badge {
  display: inline-block; background: var(--muted); color: var(--muted-fg);
  font-size: 0.75rem; font-family: var(--font-ui);
  padding: 0.375rem 0.75rem; border-radius: 50px;
}
.review-card { background: var(--muted); border-radius: var(--radius-xl); padding: 1.25rem; margin-bottom: 1rem; }

/* === About / Values === */
.value-card {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 2rem; text-align: center; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border); transition: all 0.3s ease; height: 100%;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1.25rem;
}
.team-card {
  background: var(--card); border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-sm); text-align: center; transition: all 0.3s ease;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-img {
  height: 200px; background: linear-gradient(135deg, rgba(0,107,94,0.2) 0%, rgba(0,196,154,0.2) 100%);
  display: flex; align-items: center; justify-content: center;
}
.team-img i { font-size: 4rem; color: rgba(0,107,94,0.3); }

/* === Offers === */
.offer-card-lg {
  background: var(--card); border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
}
.offer-card-lg:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.countdown-timer { display: flex; gap: 0.5rem; }
.time-unit {
  background: rgba(0,0,0,0.1); border-radius: var(--radius);
  padding: 0.5rem 0.75rem; text-align: center;
}
.time-unit .number { font-family: var(--font-ui); font-size: 1.5rem; font-weight: 700; display: block; }
.time-unit .label { font-size: 0.625rem; font-family: var(--font-ui); }

/* === Responsive === */
@media (max-width: 991.98px) {
  .hero-section h1 { font-size: 2.5rem; }
  .hero-section h2 { font-size: 1.25rem; }
  .floating-stats { display: none; }
  .stat-item:not(:last-child)::after { display: none; }
  .section-header h2 { font-size: 1.75rem; }
}
@media (max-width: 767.98px) {
  .hero-section { padding: 2.5rem 0 3rem; }
  .hero-section h1 { font-size: 2rem; }
  .section-padding { padding: 2.5rem 0; }
  .ad-banner { padding: 1.5rem; }
  .doctor-header { height: 80px; }
  .doctor-avatar { width: 64px; height: 64px; bottom: -32px; }
  .doctor-body { padding-top: 2.5rem; }
  .drNamRevew {
    font-size: 7px !important;
    }
    
    .doctor-card .doctor-name{
            font-size: 12px !important;
    }
    
    .doctor-slot-box {
        border-radius: 12px;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .doctor-cardHomePage .doctor-name{
            font-size: 12px !important;
    }

    .vendor-card h4 {

        font-size: 17px;
    }

    .MobMenu{
        display: flex;

    }

     .MobMenu .btn{
        height: 44px;
        margin: 5px;
        font-size: 13px;


    }



  .review-card  .patientName{
            font-size: 11px;
  }
}

/* === Utility === */
.text-primary-etma { color: var(--primary) !important; }
.text-secondary-etma { color: var(--secondary) !important; }
.text-accent-etma { color: var(--accent) !important; }
.text-success-etma { color: var(--success) !important; }
.text-warning-etma { color: var(--warning) !important; }
.bg-primary-etma { background-color: var(--primary) !important; }
.bg-muted-etma { background-color: var(--muted) !important; }
.border-primary-etma { border-color: var(--primary) !important; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-hide::-webkit-scrollbar { display: none; }
































  @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

  :root {
    --green-dark:   #0f6e56;
    --green-main:   #1a9a72;
    --green-light:  #25c490;
    --green-pale:   #e6f7f2;
    --green-tint:   #f0fbf7;
    --text-dark:    #1a2e26;
    --text-mid:     #4a6258;
    --text-muted:   #8aada3;
    --border:       #d4ece5;
    --bg-page:      #f4faf8;
    --white:        #ffffff;
    --danger:       #e74c3c;
    --danger-pale:  #fdecea;
    --warn:         #f39c12;
    --warn-pale:    #fef6e7;
    --radius-sm:    6px;
    --radius-md:    10px;
    --radius-lg:    14px;
    --shadow-sm:    0 2px 8px rgba(15,110,86,.08);
    --shadow-md:    0 4px 20px rgba(15,110,86,.12);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  .acc-page {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    background: var(--bg-page);
    min-height: 100vh;
    padding: 30px 20px 60px;
  }

  /* ── Page Header ── */
  .acc-page-header {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-light) 100%);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    position: relative;
    overflow: hidden;
  }
  .acc-page-header::before {
    content: '';
    position: absolute;
    left: -40px; top: -40px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
  }
  .acc-page-header::after {
    content: '';
    position: absolute;
    left: 60px; bottom: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
  }
  .acc-header-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .acc-header-info p {
    font-size: 13px;
    opacity: .8;
  }
  .acc-header-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 2px solid rgba(255,255,255,.5);
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 700; color: white;
    flex-shrink: 0;
    position: relative; z-index: 1;
  }

  /* ── Layout ── */
  .acc-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
  }

  /* ── Sidebar ── */
  .acc-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
    position: sticky;
    top: 20px;
  }
  .acc-sidebar-title {
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    border-bottom: 1px solid var(--green-pale);
    background: var(--green-tint);
  }
  .acc-sidebar ul { list-style: none; }
  .acc-sidebar li {
    padding: 13px 18px;
    font-size: 13px;
    color: var(--text-mid);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
    transition: all .2s;
    border-right: 3px solid transparent;
  }
  .acc-sidebar li:hover {
    background: var(--green-tint);
    color: var(--green-dark);
  }
  .acc-sidebar li.active {
    background: var(--green-pale);
    color: var(--green-dark);
    font-weight: 600;
    border-right: 3px solid var(--green-main);
  }
  .acc-sidebar li .nav-icon {
    width: 18px; height: 18px;
    opacity: .6;
    flex-shrink: 0;
  }
  .acc-sidebar li.active .nav-icon { opacity: 1; }

  /* ── Content Panel ── */
  .acc-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .tab-content { display: none; padding: 28px; }
  .tab-content.active { display: block; }

  .tab-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--green-pale);
  }
  .tab-icon {
    width: 38px; height: 38px;
    background: var(--green-pale);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
  }
  .tab-icon svg { width: 20px; height: 20px; color: var(--green-dark); }
  .tab-header h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); }

  /* ── Forms ── */
  .form-section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 20px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--border);
  }
  .form-row { display: grid; gap: 16px; margin-bottom: 4px; }
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
  .form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .form-row.cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
  .form-row.cols-1 { grid-template-columns: 1fr; }

  .form-group { display: flex; flex-direction: column; gap: 6px; }
  .form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
  }
  .form-group label .req { color: var(--danger); margin-right: 2px; }

  .form-control {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 13px;
    font-size: 13px;
    color: var(--text-dark);
    background: #fafefe;
    outline: none;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    transition: border .18s, box-shadow .18s;
    width: 100%;
  }
  .form-control:focus {
    border-color: var(--green-main);
    background: white;
    box-shadow: 0 0 0 3px rgba(26,154,114,.12);
  }
  .form-control::placeholder { color: var(--text-muted); font-size: 12px; }
  textarea.form-control { resize: vertical; min-height: 90px; }
  select.form-control { cursor: pointer; }

  .input-group {
    display: flex;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border .18s, box-shadow .18s;
  }
  .input-group:focus-within {
    border-color: var(--green-main);
    box-shadow: 0 0 0 3px rgba(26,154,114,.12);
  }
  .input-group .form-control {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1;
  }
  .input-group-text {
    background: var(--green-pale);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 600;
    padding: 0 13px;
    border-right: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  /* ── Days Picker ── */
  .days-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
  .day-btn {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--border);
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    color: var(--text-mid);
    background: #fafefe;
    cursor: pointer;
    transition: all .18s;
  }
  .day-btn:hover { border-color: var(--green-main); color: var(--green-main); }
  .day-btn.selected {
    background: var(--green-pale);
    border-color: var(--green-main);
    color: var(--green-dark);
    font-weight: 600;
  }

  /* ── Checkbox label ── */
  .check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mid);
    cursor: pointer;
    padding: 10px 13px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    background: #fafefe;
    transition: all .18s;
  }
  .check-label:hover { border-color: var(--green-main); background: var(--green-tint); }
  .check-label input[type=checkbox] {
    width: 16px; height: 16px;
    accent-color: var(--green-main);
    cursor: pointer;
  }
  .check-label.active { border-color: var(--green-main); background: var(--green-pale); color: var(--green-dark); }

  /* ── Submit Button ── */
  .btn-submit {
    background: linear-gradient(135deg, var(--green-dark), var(--green-main));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 22px;
    transition: opacity .18s, transform .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(15,110,86,.25);
  }
  .btn-submit:hover { opacity: .92; transform: translateY(-1px); }
  .btn-submit:active { transform: translateY(0); }

  /* ── Table ── */
  .acc-table-wrap { overflow-x: auto; }
  .acc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  .acc-table thead tr {
    background: linear-gradient(90deg, var(--green-dark), var(--green-main));
    color: white;
  }
  .acc-table th {
    padding: 12px 14px;
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
  }
  .acc-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f7f5;
    color: var(--text-dark);
    vertical-align: middle;
  }
  .acc-table tbody tr:hover td { background: var(--green-tint); }
  .acc-table tbody tr:last-child td { border-bottom: none; }

  .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
  }
  .badge-success { background: var(--green-pale); color: var(--green-dark); }
  .badge-warn    { background: var(--warn-pale);  color: var(--warn); }
  .badge-danger  { background: var(--danger-pale); color: var(--danger); }

  .btn-sm {
    padding: 5px 13px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity .15s;
  }
  .btn-sm:hover { opacity: .82; }
  .btn-edit { background: var(--green-pale); color: var(--green-dark); }
  .btn-del  { background: var(--danger-pale); color: var(--danger); }

  /* ── Empty State ── */
  .empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
  }
  .empty-state svg { width: 48px; height: 48px; margin-bottom: 12px; opacity: .4; }
  .empty-state p { font-size: 14px; }

  /* ── Password strength ── */
  .password-hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

  /* ── Alert ── */
  @if(session('success'))
  .flash-alert {
    background: var(--green-pale);
    border: 1px solid var(--green-main);
    color: var(--green-dark);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  @endif

  /* ── Modal ── */
  .modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .2s;
  }
  .modal-overlay.open { opacity: 1; pointer-events: all; }
  .modal-box {
    background: white;
    border-radius: var(--radius-lg);
    width: 90%; max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-md);
    transform: translateY(20px);
    transition: transform .2s;
  }
  .modal-overlay.open .modal-box { transform: translateY(0); }
  .modal-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; background: white; z-index: 1;
  }
  .modal-head h5 { font-size: 16px; font-weight: 700; color: var(--text-dark); }
  .modal-close {
    background: none; border: none; cursor: pointer; font-size: 20px;
    color: var(--text-muted); line-height: 1;
  }
  .modal-body { padding: 22px; }
  .modal-footer {
    padding: 16px 22px;
    border-top: 1px solid var(--border);
    display: flex; gap: 10px; justify-content: flex-end;
  }
  .btn-save {
    background: var(--green-main); color: white;
    border: none; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 600; cursor: pointer;
  }
  .btn-cancel {
    background: #f1f1f1; color: var(--text-mid);
    border: none; border-radius: var(--radius-md);
    font-size: 13px; font-weight: 600; cursor: pointer;
  }

  @media (max-width: 768px) {
    .acc-layout { grid-template-columns: 1fr; }
    .form-row.cols-2,
    .form-row.cols-3,
    .form-row.cols-4 { grid-template-columns: 1fr; }
    .acc-sidebar { position: static; }
  }








  .order-summary {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e6f7f2;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15,110,86,.10);
    position: sticky;
    top: 20px;
}

/* ── Clinic Tabs ── */
.clinic-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    font-family: var(--font-ui);
}
.clinic-tab-btn {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1.5px solid #d4ece5;
    background: #f4faf8;
    color: #4a6258;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
}
.clinic-tab-btn.active {
    background: #1a9a72;
    border-color: #1a9a72;
    color: #fff;
}

/* ── Clinic Panel ── */
.clinic-panel { display: none; }
.clinic-panel.active { display: block; }

/* ── Info Row ── */
.clinic-info-row {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 8px;
    background: #f4faf8;
    border-radius: 12px;
    padding: 12px 10px;
    margin-bottom: 16px;
    text-align: center;
}
.clinic-info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 1px;
    color: #4a6258;
    font-size: 13px;
}


.clinic-info-item i{

    font-size: 17px;
    font-weight: 600;
    color: #006b5e;
}



/* ── Modal Overlay ── */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 40, 30, 0.55);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.booking-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Modal Box ── */
.booking-modal-box {
    background: #fff;
    border-radius: 20px;
    width: 92%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(15,110,86,.2);
    transform: translateY(30px) scale(.97);
    transition: transform .25s ease;
    overflow: hidden;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}
.booking-modal-overlay.open .booking-modal-box {
    transform: translateY(0) scale(1);
}

/* ── Modal Header ── */
.bm-header {
    background: linear-gradient(135deg, #0f6e56, #1a9a72);
    padding: 22px 24px 18px;
    color: #fff;
    position: relative;
}
.bm-header h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 4px;
}
.bm-header p {
    font-size: 13px;
    opacity: .85;
    margin: 0;
}
.bm-close {
    position: absolute;
    top: 16px;
    left: 18px;
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
}
.bm-close:hover { background: rgba(255,255,255,.3); }

/* ── Summary Pills ── */
.bm-summary {
    display: flex;
    gap: 10px;
    padding: 16px 24px 0;
    flex-wrap: wrap;
}
.bm-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e6f7f2;
    color: #0f6e56;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
}
.bm-pill svg { flex-shrink: 0; }

/* ── Modal Body ── */
.bm-body {
    padding: 18px 24px 24px;
}

.bm-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.bm-form-group label {
    font-size: 12px;
    font-weight: 700;
    color: #4a6258;
}
.bm-form-group label .req { color: #e74c3c; }

.bm-input {
    border: 1.5px solid #d4ece5;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    color: #1a2e26;
    background: #fafefe;
    outline: none;
    transition: border .18s, box-shadow .18s;
    width: 100%;
}
.bm-input:focus {
    border-color: #1a9a72;
    box-shadow: 0 0 0 3px rgba(26,154,114,.12);
    background: #fff;
}
.bm-input::placeholder { color: #aac9bf; font-size: 12px; }

/* ── Submit ── */
.bm-submit {
    width: 100%;
    background: linear-gradient(135deg, #0f6e56, #1a9a72);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(15,110,86,.25);
    transition: opacity .18s, transform .15s;
}
.bm-submit:hover { opacity: .92; transform: translateY(-1px); }
.bm-submit:active { transform: translateY(0); }

.bm-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: #8aada3;
    margin-top: 12px;
}






.clinic-info-item .val {
    font-size: 13px;
    font-weight: 700;
    color: #0f6e56;
}
.clinic-info-item .val.price { color: #1a9a72; font-size: 15px; }
.clinic-info-divider {
    width: 1px;
    background: #d4ece5;
    align-self: stretch;
}

/* ── Price Bar ── */
.price-bar {
        display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f4faf8;
    border-radius: 10px;
    padding: 16px 16px;
    margin-bottom: 18px;
    margin-top: 18px;
}
.price-bar .label { font-size: 17px; font-weight: 600; color: #4a6258; font-family: var(--font-ui);}
.price-bar .amount { font-size: 23px; font-weight: 800;color: var(--accent) !important; font-family: var(--font-ui);}

/* ── Section Label ── */
.booking-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f6e56;
    margin-bottom: 10px;
    display: block;
    font-family: var(--font-ui);
}

/* ── Date Slots ── */
.dates-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-bottom: 18px;
    scrollbar-width: none;
}
.dates-scroll::-webkit-scrollbar { display: none; }


.date-slot.disabled {
    opacity: .4;
    cursor: not-allowed;
    pointer-events: none;
}
.date-slot .d-name { font-size: 15px; font-weight: 700; }
.date-slot .d-date { font-size: 12px; opacity: .75; margin-top: 2px; }
.date-slot.active .d-date { opacity: .85; }

/* ── Time Slots ── */
.times-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    min-height: 40px;
}
.time-slot {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1.5px solid #d4ece5;
    background: #f9fefc;
    font-size: 12px;
    font-weight: 600;
    color: #4a6258;
    cursor: pointer;
    transition: all .18s;
}
.time-slot:hover { border-color: #1a9a72; background: #e6f7f2; color: #0f6e56; }
.time-slot.active {
    background: #1a9a72;
    border-color: #1a9a72;
    color: #fff;
}
.time-slot.booked {
    background: #f5f5f5;
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
    text-decoration: line-through;
}
.time-slot.hidden-slot { display: none; }

.show-more-btn {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1.5px dashed #1a9a72;
    background: transparent;
    color: #1a9a72;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ── No times ── */
.no-times {
    font-size: 13px;
    color: #aaa;
    text-align: center;
    padding: 12px 0;
    width: 100%;
}

/* ── Confirm Button ── */
.btn-confirm {
    width: 100%;
    background: linear-gradient(135deg, #0f6e56, #1a9a72);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .18s, transform .15s;
    box-shadow: 0 4px 15px rgba(15,110,86,.25);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-confirm:hover { opacity: .92; transform: translateY(-1px); }
.btn-confirm:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #8aada3;
}

.address-note {
    font-size: 11px;
    color: #8aada3;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 14px;
}






    .select2-container--default .select2-selection--multiple{
         border: 1.5px solid var(--border);
          background-color: #fafefe !important;
    border-radius: var(--radius-md);
    padding: 10px 13px;
    font-size: 13px;
    color: var(--text-dark);
    background: #fafefe;
    outline: none;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    transition: border .18s, box-shadow .18s;
    width: 100%;
    }




    /* ── Overlay ── */
.edit-clinic-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 40, 30, 0.55);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.edit-clinic-overlay.open { opacity: 1; pointer-events: all; }

/* ── Box ── */
.edit-clinic-box {
    background: #fff;
    border-radius: 20px;
    width: 95%;
    max-width: 780px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(15,110,86,.2);
    transform: translateY(30px) scale(.97);
    transition: transform .25s ease;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    scrollbar-width: thin;
    scrollbar-color: #d4ece5 transparent;
}
.edit-clinic-overlay.open .edit-clinic-box { transform: translateY(0) scale(1); }

/* ── Header ── */
.ecm-header {
    background: linear-gradient(135deg, #0f6e56, #1a9a72);
    padding: 20px 26px;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ecm-header h4 { font-size: 17px; font-weight: 800; margin: 0; }
.ecm-header p  { font-size: 12px; opacity: .8; margin: 3px 0 0; }
.ecm-close {
    background: rgba(255,255,255,.18);
    border: none; color: #fff;
    width: 34px; height: 34px;
    border-radius: 50%; font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .18s; flex-shrink: 0;
}
.ecm-close:hover { background: rgba(255,255,255,.3); }

/* ── Body ── */
.ecm-body { padding: 24px 26px; }

/* ── Section Label ── */
.ecm-section-label {
    font-size: 11px; font-weight: 700; color: #0f6e56;
    text-transform: uppercase; letter-spacing: .06em;
    margin: 22px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #d4ece5;
}
.ecm-section-label:first-child { margin-top: 0; }

/* ── Grid ── */
.ecm-row    { display: grid; gap: 14px; margin-bottom: 4px; }
.ecm-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.ecm-cols-2 { grid-template-columns: 1fr 1fr; }
.ecm-cols-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

/* ── Form Group ── */
.ecm-group { display: flex; flex-direction: column; gap: 5px; }
.ecm-group > label { font-size: 12px; font-weight: 700; color: #4a6258; }
.ecm-group .req { color: #e74c3c; }

/* ── Input ── */
.ecm-input {
    border: 1.5px solid #d4ece5;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    direction: rtl; color: #1a2e26;
    background: #fafefe; outline: none;
    transition: border .18s, box-shadow .18s;
    width: 100%;
}
.ecm-input:focus {
    border-color: #1a9a72;
    box-shadow: 0 0 0 3px rgba(26,154,114,.12);
    background: #fff;
}
.ecm-input::placeholder { color: #aac9bf; font-size: 12px; }
select.ecm-input { cursor: pointer; }

/* ── Input Group ── */
.ecm-input-group {
    display: flex;
    border: 1.5px solid #d4ece5;
    border-radius: 10px;
    overflow: hidden;
    transition: border .18s, box-shadow .18s;
}
.ecm-input-group:focus-within {
    border-color: #1a9a72;
    box-shadow: 0 0 0 3px rgba(26,154,114,.12);
}
.ecm-input-group .ecm-input { border: none !important; border-radius: 0 !important; box-shadow: none !important; flex: 1; }
.ecm-input-badge {
    background: #e6f7f2; color: #0f6e56;
    font-size: 12px; font-weight: 700;
    padding: 0 13px; border-right: 1.5px solid #d4ece5;
    display: flex; align-items: center;
}

/* ── Days — نفس ستايل الإضافة ── */
.ecm-days-wrap { display: flex; flex-direction: column; gap: 8px; }
.ecm-day-row {
    display: grid;
    grid-template-columns: 160px 1fr 1fr;
    gap: 12px;
    align-items: center;
    background: #fafefe;
    border: 1px solid #d4ece5;
    border-radius: 10px;
    padding: 10px 14px;
    transition: background .18s, border-color .18s;
}
.ecm-day-row.active-day { background: #f0fbf7; border-color: #1a9a72; }
.ecm-check-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: #4a6258;
    cursor: pointer; border: none; background: none; padding: 0;
}
.ecm-check-label input[type=checkbox] {
    width: 16px; height: 16px;
    accent-color: #1a9a72; cursor: pointer; flex-shrink: 0;
}
.ecm-time-group { display: flex; flex-direction: column; gap: 4px; }
.ecm-time-group > span { font-size: 11px; color: #8aada3; font-weight: 600; }

/* ── Select2 override ── */
.ecm-body .select2-container { width: 100% !important; }
.ecm-body .select2-container--default .select2-selection--multiple {
    border: 1.5px solid #d4ece5 !important;
    border-radius: 10px !important;
    padding: 4px 8px !important;
    min-height: 42px !important;
    background: #fafefe !important;
    font-family: 'Cairo', sans-serif !important;
}
.ecm-body .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #1a9a72 !important;
    box-shadow: 0 0 0 3px rgba(26,154,114,.12) !important;
}
.ecm-body .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: #e6f7f2 !important;
    color: #0f6e56 !important;
    border: 1px solid #b2e0d0 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    padding: 2px 10px !important;
}
.ecm-body .select2-selection__choice__remove { color: #0f6e56 !important; }

/* ── Extra Checkboxes ── */
.ecm-check-box {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: #4a6258; cursor: pointer;
    padding: 10px 13px;
    border: 1.5px solid #d4ece5; border-radius: 10px;
    background: #fafefe; transition: all .18s;
    font-family: 'Cairo', sans-serif; font-weight: 600;
}
.ecm-check-box:hover { border-color: #1a9a72; background: #f0fbf7; }
.ecm-check-box input[type=checkbox] { width: 16px; height: 16px; accent-color: #1a9a72; cursor: pointer; }
.ecm-check-box.is-checked { border-color: #1a9a72; background: #e6f7f2; color: #0f6e56; }

/* ── Footer ── */
.ecm-footer {
    padding: 16px 26px 24px;
    display: flex; gap: 10px;
    position: sticky; bottom: 0;
    background: #fff;
    border-top: 1px solid #e6f7f2;
}
.ecm-btn-save {
    flex: 1;
    background: linear-gradient(135deg, #0f6e56, #1a9a72);
    color: #fff; border: none; border-radius: 12px;
    padding: 13px; font-size: 14px; font-weight: 800;
    font-family: 'Cairo', sans-serif; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(15,110,86,.22);
    transition: opacity .18s, transform .15s;
}
.ecm-btn-save:hover  { opacity: .92; transform: translateY(-1px); }
.ecm-btn-save:active { transform: translateY(0); }
.ecm-btn-cancel {
    background: #f4f4f4; color: #666; border: none;
    border-radius: 12px; padding: 13px 24px;
    font-size: 14px; font-weight: 700;
    font-family: 'Cairo', sans-serif; cursor: pointer;
    transition: background .18s;
}
.ecm-btn-cancel:hover { background: #e8e8e8; }

@media (max-width: 600px) {
    .ecm-cols-3, .ecm-cols-4 { grid-template-columns: 1fr; }
    .ecm-cols-2               { grid-template-columns: 1fr; }
    .ecm-day-row              { grid-template-columns: 1fr 1fr; }
    .ecm-day-row .ecm-check-label { grid-column: 1 / -1; }
}




.facilityCard img{
    width: 60px;
    border-radius: 100%;
    margin-left: 21px;
}

.facilityCard{
    display: flex;
}



.mt-25{
    margin-top: 25px;
}












































/**************user profile**********************/


@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root {
    --gd:   #0f6e56;
    --gm:   #1a9a72;
    --gl:   #25c490;
    --gp:   #e6f7f2;
    --gt:   #f0fbf7;
    --td:   #1a2e26;
    --tm:   #4a6258;
    --tx:   #8aada3;
    --br:   #d4ece5;
    --bg:   #f4faf8;
    --wh:   #ffffff;
    --red:  #e74c3c;
    --rp:   #fdecea;
    --ora:  #f39c12;
    --op:   #fef6e7;
    --rsm:  6px;
    --rmd:  10px;
    --rlg:  14px;
    --rxl:  20px;
    --s1:   0 2px 8px rgba(15,110,86,.08);
    --s2:   0 8px 30px rgba(15,110,86,.14);
}

*{box-sizing:border-box;margin:0;padding:0;}

.fp{font-family:'Cairo',sans-serif;direction:rtl;background:var(--bg);min-height:100vh;padding:24px 20px 60px;}

/* ── Header ── */
.fp-header{
    background:linear-gradient(135deg,var(--gd) 0%,var(--gm) 55%,var(--gl) 100%);
    border-radius:var(--rxl);padding:26px 32px;margin-bottom:24px;
    display:flex;align-items:center;justify-content:space-between;
    color:#fff;position:relative;overflow:hidden;
}
.fp-header::before{content:'';position:absolute;right:-60px;top:-60px;width:220px;height:220px;background:rgba(255,255,255,.05);border-radius:50%;}
.fp-header::after{content:'';position:absolute;left:40px;bottom:-80px;width:280px;height:280px;background:rgba(255,255,255,.04);border-radius:50%;}
.fp-header-left{position:relative;z-index:1;}
.fp-header-left h2{font-size:20px;font-weight:800;margin-bottom:4px;}
.fp-header-left p{font-size:12px;opacity:.8;}
.fp-header-right{display:flex;align-items:center;gap:12px;position:relative;z-index:1;}
.fp-type-badge{background:rgba(255,255,255,.18);border:1.5px solid rgba(255,255,255,.4);border-radius:30px;padding:6px 18px;font-size:12px;font-weight:700;color:#fff;}
.fp-stats{display:flex;gap:16px;}
.fp-stat{text-align:center;}
.fp-stat .num{font-size:20px;font-weight:800;display:block;}
.fp-stat .lbl{font-size:10px;opacity:.75;}

/* ── Layout ── */
.fp-layout{display:grid;grid-template-columns:210px 1fr;gap:18px;align-items:start;}

/* ── Sidebar ── */
.fp-side{
    background:var(--wh);border-radius:var(--rlg);
    box-shadow:var(--s1);border:1px solid var(--br);
    overflow:hidden;position:sticky;top:16px;
}
.fp-side-title{padding:14px 18px;font-size:13px;font-weight:700;color:var(--gd);border-bottom:1px solid var(--gp);background:var(--gt);}
.fp-side ul{list-style:none;}
.fp-side li{
    padding:12px 18px;font-size:13px;color:var(--tm);cursor:pointer;
    display:flex;align-items:center;gap:10px;
    border-bottom:1px solid #f5f5f5;transition:all .2s;
    border-right:3px solid transparent;
}
.fp-side li:hover{background:var(--gt);color:var(--gd);}
.fp-side li.active{background:var(--gp);color:var(--gd);font-weight:700;border-right:3px solid var(--gm);}
.fp-side .ni{width:17px;height:17px;opacity:.55;flex-shrink:0;}
.fp-side li.active .ni{opacity:1;}

/* ── Content Panel ── */
.fp-content{background:var(--wh);border-radius:var(--rlg);box-shadow:var(--s1);border:1px solid var(--br);overflow:hidden;}
.fp-tab{display:none;padding:26px;}
.fp-tab.active{display:block;}

/* ── Tab Header ── */
.th{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px;padding-bottom:14px;border-bottom:2px solid var(--gp);}
.th-left{display:flex;align-items:center;gap:12px;}
.th-icon{width:36px;height:36px;background:var(--gp);border-radius:var(--rmd);display:flex;align-items:center;justify-content:center;}
.th-icon svg{width:18px;height:18px;color:var(--gd);}
.th h3{font-size:16px;font-weight:700;color:var(--td);}

/* ── Section Label ── */
.sl{font-size:11px;font-weight:700;color:var(--gd);text-transform:uppercase;letter-spacing:.06em;margin:18px 0 10px;padding-bottom:5px;border-bottom:1px dashed var(--br);}
.sl:first-child{margin-top:0;}

/* ── Grid ── */
.fr{display:grid;gap:14px;margin-bottom:4px;}
.fr.c1{grid-template-columns:1fr;}
.fr.c2{grid-template-columns:1fr 1fr;}
.fr.c3{grid-template-columns:1fr 1fr 1fr;}
.fr.c4{grid-template-columns:1fr 1fr 1fr 1fr;}

/* ── Form Group ── */
.fg{display:flex;flex-direction:column;gap:5px;}
.fg label{font-size:12px;font-weight:700;color:var(--tm);}
.fg .req{color:var(--red);}
.fc{border:1.5px solid var(--br);border-radius:var(--rmd);padding:10px 13px;font-size:13px;color:var(--td);background:#fafefe;outline:none;font-family:'Cairo',sans-serif;direction:rtl;transition:border .18s,box-shadow .18s;width:100%;}
.fc:focus{border-color:var(--gm);background:#fff;box-shadow:0 0 0 3px rgba(26,154,114,.12);}
.fc::placeholder{color:var(--tx);font-size:12px;}
textarea.fc{resize:vertical;min-height:88px;}
select.fc{cursor:pointer;}
.ig{display:flex;border:1.5px solid var(--br);border-radius:var(--rmd);overflow:hidden;transition:border .18s,box-shadow .18s;}
.ig:focus-within{border-color:var(--gm);box-shadow:0 0 0 3px rgba(26,154,114,.12);}
.ig .fc{border:none!important;border-radius:0!important;box-shadow:none!important;flex:1;}
.ig-t{background:var(--gp);color:var(--gd);font-size:12px;font-weight:700;padding:0 12px;border-right:1.5px solid var(--br);display:flex;align-items:center;white-space:nowrap;}

/* ── Submit Button ── */
.bs{background:linear-gradient(135deg,var(--gd),var(--gm));color:#fff;border:none;border-radius:var(--rmd);padding:12px 26px;font-size:14px;font-weight:700;font-family:'Cairo',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;box-shadow:0 4px 15px rgba(15,110,86,.22);transition:opacity .18s,transform .15s;}
.bs:hover{opacity:.92;transform:translateY(-1px);}
.bs.full{width:100%;margin-top:20px;}
.bs.sm{padding:8px 18px;font-size:12px;margin:0;}

/* ── Outline Button ── */
.bo{background:var(--gp);color:var(--gd);border:1.5px solid var(--br);border-radius:var(--rmd);padding:8px 18px;font-size:12px;font-weight:700;font-family:'Cairo',sans-serif;cursor:pointer;transition:all .18s;}
.bo:hover{background:var(--gm);color:#fff;border-color:var(--gm);}

/* ── Tables ── */
.tw{overflow-x:auto;}
.tbl{width:100%;border-collapse:collapse;font-size:13px;}
.tbl thead tr{background:linear-gradient(90deg,var(--gd),var(--gm));color:#fff;}
.tbl th{padding:12px 14px;text-align:right;font-weight:600;white-space:nowrap;}
.tbl td{padding:11px 14px;border-bottom:1px solid #f0f7f5;color:var(--td);vertical-align:middle;}
.tbl tbody tr:hover td{background:var(--gt);}
.tbl tbody tr:last-child td{border-bottom:none;}

/* ── Badges ── */
.badge{display:inline-flex;align-items:center;padding:3px 11px;border-radius:20px;font-size:11px;font-weight:700;}
.bg-g{background:var(--gp);color:var(--gd);}
.bg-o{background:var(--op);color:var(--ora);}
.bg-r{background:var(--rp);color:var(--red);}

/* ── Action Buttons ── */
.ab{padding:5px 12px;border-radius:var(--rsm);font-size:12px;font-family:'Cairo',sans-serif;font-weight:600;cursor:pointer;border:none;transition:opacity .15s;}
.ab:hover{opacity:.8;}
.ab-e{background:var(--gp);color:var(--gd);}
.ab-d{background:var(--rp);color:var(--red);}

/* ── Days ── */
.dw{display:flex;flex-direction:column;gap:8px;}
.dr{display:grid;grid-template-columns:155px 1fr 1fr;gap:12px;align-items:center;background:#fafefe;border:1px solid var(--br);border-radius:var(--rmd);padding:10px 14px;transition:all .18s;}
.dr.on{background:var(--gt);border-color:var(--gm);}
.ck{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--tm);cursor:pointer;}
.ck input[type=checkbox]{width:16px;height:16px;accent-color:var(--gm);cursor:pointer;}
.tg{display:flex;flex-direction:column;gap:3px;}
.tg span{font-size:11px;color:var(--tx);font-weight:600;}

/* ── Doctors Grid ── */
.dg{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;}
.dc{background:var(--gt);border:1px solid var(--br);border-radius:var(--rlg);padding:18px 14px;text-align:center;transition:box-shadow .2s,transform .2s;}
.dc:hover{box-shadow:var(--s2);transform:translateY(-2px);}
.da{width:60px;height:60px;border-radius:50%;background:var(--gp);border:2.5px solid var(--gm);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;color:var(--gd);margin:0 auto 10px;}
.dc h5{font-size:13px;font-weight:700;color:var(--td);margin-bottom:3px;}
.dc p{font-size:11px;color:var(--tx);margin-bottom:10px;}
.dc-acts{display:flex;gap:6px;justify-content:center;}

/* ── Patients Grid ── */
.pg{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;}
.pc{background:#fff;border:1px solid var(--br);border-radius:var(--rlg);padding:16px;display:flex;align-items:center;gap:12px;transition:box-shadow .2s;}
.pc:hover{box-shadow:var(--s2);}
.pa{width:44px;height:44px;border-radius:50%;background:var(--gp);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:var(--gd);flex-shrink:0;}
.pc-info h5{font-size:13px;font-weight:700;color:var(--td);margin-bottom:2px;}
.pc-info p{font-size:11px;color:var(--tx);}

/* ── Empty ── */
.es{text-align:center;padding:50px 20px;color:var(--tx);}
.es svg{width:48px;height:48px;margin-bottom:12px;opacity:.35;}
.es p{font-size:14px;}

/* ── Flash ── */
.fa{     font-size: 16px;
    font-family: 'Cairo';background:var(--gp);border:1px solid var(--gm);color:var(--gd);border-radius:var(--rmd);padding:12px 16px;font-size:13px;font-weight:500;margin-bottom:18px;display:flex;align-items:center;gap:8px;}

/* ── Password hint ── */
.ph{font-size:11px;color:var(--tx);margin-top:3px;}

@media(max-width:768px){
    .fp-layout{grid-template-columns:1fr;}
    .fr.c2,.fr.c3,.fr.c4{grid-template-columns:1fr;}
    .fp-stats{display:none;}
    .dr{grid-template-columns:1fr 1fr;}
    .dr .ck{grid-column:1/-1;}
}



.doctorCardProfile img{
        width: 50px;
    height: 50px;
}

















.drincome{
    color: #dc6423;
}


     .fin-stats {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
        margin-bottom: 24px;
    }
    .fin-stat-card {
        background: #fff;
        border: 1px solid #d4ece5;
        border-radius: 14px;
        padding: 16px 18px;
        position: relative;
        overflow: hidden;
    }
    .fin-stat-card::before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        width: 60px; height: 60px;
        border-radius: 0 14px 0 60px;
        opacity: .08;
    }
    .fin-stat-card.green::before  { background: #0f6e56; }
    .fin-stat-card.red::before    { background: #e74c3c; }
    .fin-stat-card.blue::before   { background: #2563eb; }
    .fin-stat-card.orange::before { background: #f39c12; }

    .fin-stat-lbl { font-size: 11px; font-weight: 700; color: #8aada3; text-transform: uppercase; letter-spacing:.04em; margin-bottom: 6px; }
    .fin-stat-val { font-size: 22px; font-weight: 800; color: #1a2e26; margin-bottom: 2px; }
    .fin-stat-sub { font-size: 11px; color: #8aada3; }
    .fin-stat-icon {
        width: 36px; height: 36px; border-radius: 10px;
        display: flex; align-items: center; justify-content: center;
        margin-bottom: 10px;
    }
    .fin-stat-icon.green  { background: #e6f7f2; }
    .fin-stat-icon.red    { background: #fdecea; }
    .fin-stat-icon.blue   { background: #eff6ff; }
    .fin-stat-icon.orange { background: #fef6e7; }
    .fin-stat-icon svg { width: 18px; height: 18px; }

    .fin-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-bottom: 18px;
    }

    .fin-section {
        background: #fff;
        border: 1px solid #d4ece5;
        border-radius: 14px;
        overflow: hidden;
    }
    .fin-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px;
        border-bottom: 1px solid #e6f7f2;
        background: #f4faf8;
    }
    .fin-section-head h4 {
        font-size: 14px; font-weight: 700; color: #0f6e56; margin: 0;
        display: flex; align-items: center; gap: 8px;
    }
    .fin-section-head h4 svg { width: 16px; height: 16px; }

    .fin-add-btn {
        background: #1a9a72; color: #fff; border: none;
        border-radius: 8px; padding: 6px 14px;
        font-size: 12px; font-weight: 700;
        font-family: 'Cairo', sans-serif; cursor: pointer;
        display: flex; align-items: center; gap: 5px;
        transition: opacity .18s;
    }
    .fin-add-btn:hover { opacity: .88; }

    .fin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
    .fin-table th {
        padding: 10px 16px; text-align: right;
        font-size: 11px; font-weight: 700; color: #8aada3;
        text-transform: uppercase; letter-spacing:.04em;
        border-bottom: 1px solid #f0f7f5;
        background: #fafefe;
    }
    .fin-table td {
        padding: 11px 16px; text-align: right;
        border-bottom: 1px solid #f5faf8;
        color: #1a2e26;
    }
    .fin-table tbody tr:last-child td { border-bottom: none; }
    .fin-table tbody tr:hover td { background: #f4faf8; }

    .fin-badge {
        display: inline-flex; align-items: center;
        padding: 3px 10px; border-radius: 20px;
        font-size: 11px; font-weight: 700;
    }
    .fin-badge.inc { background: #e6f7f2; color: #0f6e56; }
    .fin-badge.exp { background: #fdecea; color: #e74c3c; }

    .fin-amount-inc { color: #0f6e56; font-weight: 700; }
    .fin-amount-exp { color: #e74c3c; font-weight: 700; }

    .fin-del-btn {
        background: #fdecea; color: #e74c3c;
        border: none; border-radius: 6px;
        padding: 4px 10px; font-size: 11px;
        font-family: 'Cairo', sans-serif; font-weight: 600;
        cursor: pointer; transition: opacity .15s;
    }
    .fin-del-btn:hover { opacity: .8; }

    .fin-empty {
        text-align: center; padding: 30px 20px;
        color: #8aada3; font-size: 13px;
    }

    .fin-chart-wrap {
        background: #fff;
        border: 1px solid #d4ece5;
        border-radius: 14px;
        padding: 18px;
        margin-bottom: 18px;
    }
    .fin-chart-head {
        display: flex; align-items: center; justify-content: space-between;
        margin-bottom: 16px;
    }
    .fin-chart-head h4 {
        font-size: 14px; font-weight: 700; color: #0f6e56; margin: 0;
    }

    @media (max-width: 768px) {
        .fin-stats { grid-template-columns: 1fr 1fr; }
        .fin-grid   { grid-template-columns: 1fr; }
    }
















.fin-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #e6f7f2;
    background: #fff;
}
.fin-search-input {
    flex: 1;
    border: 1.5px solid #d4ece5;
    border-radius: 10px;
    padding: 8px 14px 8px 36px;
    font-size: 13px;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    color: #1a2e26;
    background: #fafefe;
    outline: none;
    transition: border .18s, box-shadow .18s;
}
.fin-search-input:focus {
    border-color: #1a9a72;
    box-shadow: 0 0 0 3px rgba(26,154,114,.12);
    background: #fff;
}
.fin-search-input::placeholder { color: #8aada3; font-size: 12px; }
.fin-search-wrap {
    position: relative;
    flex: 1;
}
.fin-search-wrap svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px; height: 15px;
    color: #8aada3;
    pointer-events: none;
}
.fin-no-results {
    text-align: center;
    padding: 24px;
    font-size: 13px;
    color: #8aada3;
    display: none;
}



.footerLogo img {
    width: 148px;
}


.headerInner img{
    width: 116px;
}




.sh-filters-full {
    display: grid;
    grid-template-columns: 1fr 1fr !important; /* الاتنين جنب بعض */
    gap: 10px !important;
    margin-top: 10px;
}



/* ── Floating Button ── */
.ask-float-btn {
    position: fixed;
       bottom: 43px;
    left: 54px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    text-decoration: none;
    filter: drop-shadow(0 6px 20px rgba(15,110,86,.35));
    transition: filter .2s, transform .2s;
}
.ask-float-btn:hover {
    filter: drop-shadow(0 8px 28px rgba(15,110,86,.45));
    transform: translateY(-2px);
}
.ask-float-btn:active { transform: translateY(0); }

/* ── Doctor Icon ── */
.ask-float-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a5c45, #1a9a72);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    border: 3px solid #fff;
}

/* Animated ring */
.ask-float-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(26,154,114,.4);
    animation: askRing 2s ease-in-out infinite;
}
@keyframes askRing {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.12); }
}

/* Notification dot */
.ask-float-icon::after {
    content: '';
    position: absolute;
    top: 2px; right: 2px;
    width: 10px; height: 10px;
    background: #25c490;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: askPulse 1.5s infinite;
}
@keyframes askPulse {
    0%,100% { opacity: 1; }
    50%      { opacity: .5; }
}

/* ── Label Tag ── */
.ask-float-label {
    background: linear-gradient(135deg, #0a5c45, #1a9a72);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 14px 8px 6px;
    border-radius: 0 24px 24px 0;
    margin-right: -8px;
    white-space: nowrap;
    letter-spacing: .01em;
    border: 3px solid #fff;
    border-right: none;
    line-height: 1.3;
    text-align: right;
}
.ask-float-label small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    opacity: .8;
    margin-top: 1px;
}

/* ── Tooltip on hover ── */
.ask-float-tooltip {
    position: absolute;
    bottom: 68px;
    left: 0;
    background: #0a5c45;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.ask-float-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 18px;
    border: 5px solid transparent;
    border-top-color: #0a5c45;
}
.ask-float-btn:hover .ask-float-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* Doctor SVG face */
.ask-doc-svg { width: 32px; height: 32px; }

@media (max-width: 480px) {
    .ask-float-btn {         bottom: 33px;
        left: 41px; }
    .ask-float-label { display: none; }
    .ask-float-icon { width: 52px; height: 52px; }
}





.doctor-cardHomePage .doctor-name{
    font-size: 14px;
}


.doctor-cardHomePage  .doctor-avatar{
    position: absolute;
    bottom: -31px;
    right: 24px;
    width: 63px;
    height: 63px;
}


.doctor-cardHomePage .doctor-slot-box{
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1rem;
}


.doctor-cardHomePage  .doctor-body {
    padding: 8px;
    padding-top: 3.5rem;
}


.doctor-cardHomePage .doctor-slot-box {
    border-radius: 12px;
    padding: 0;
    margin-bottom: 0;
}


.doctor-cardHomePage .btn-primary-etma {
    margin-bottom: 7px;
}


.drBookImg{

}


.drNamRevew{
       font-size: 9px;
    color: #ffffff;
    background-color: #fa7447;
    border-radius: 7px;
    padding: 2px 10px;
    font-weight: 700;
}





.MobMenu .btn{
    height: 42px;
}
