:root{
  /* SMO Brand Identity - Scope Matched */
  --royal-blue: #002366;           /* Primary - Trust & Authority */
  --gold: #D4AF37;                 /* Secondary - Value & Success */
  --metallic-silver: #C0C0C0;      /* ETAMAN - Precision */
  --calm-blue: #4A90E2;            /* ETAMAN - Peace of mind */
  --burnt-orange: #FF6D00;         /* ABSHER - Energy & Action */
  --shining-gold: #FFD700;         /* NAGATA - Wealth & Growth */
  
  /* Service-specific colors */
  --etaman-primary: #4A90E2;
  --etaman-secondary: #C0C0C0;
  --abshir-primary: #FF6D00;
  --abshir-secondary: #002366;
  --nagata-primary: #FFD700;
  --nagata-secondary: #002366;
  
  /* Background & UI */
  --bg: #081120;
  --card-bg: rgba(7, 24, 52, 0.94);
  --card-alt: rgba(16, 39, 79, 0.92);
  --muted: #a9bddf;
  --text: #eef4ff;
  --text-light: #ffffff;
  --line: rgba(212, 175, 55, 0.18);
  --accent: var(--gold);
  --accent2: var(--shining-gold);
  --danger: #ff6b6b;
  --ok: #4ade80;
  --warning: #ffb347;
  
  /* Effects */
  --shadow: 0 16px 36px rgba(0, 20, 60, 0.42);
  --shadow-gold: 0 10px 24px rgba(212, 175, 55, 0.24);
  --shadow-gold-hover: 0 14px 30px rgba(212, 175, 55, 0.35);

  --gradient-royal: linear-gradient(135deg, #001b4d 0%, #002366 52%, #0b3d91 100%);
  --gradient-gold: linear-gradient(135deg, #b78b1e 0%, #D4AF37 55%, #FFD700 100%);
  --gradient-etaman: linear-gradient(135deg, #4A90E2 0%, #7fb3ea 50%, #C0C0C0 100%);
  --gradient-abshir: linear-gradient(135deg, #FF6D00 0%, #d85a00 38%, #002366 100%);
  --gradient-nagata: linear-gradient(135deg, #FFD700 0%, #d4af37 38%, #002366 100%);
  
  /* Layout */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: 'Almarai', 'Cairo', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, Arial;
  background:
    radial-gradient(1200px 600px at 18% -10%, rgba(212, 175, 55, 0.12), transparent 60%),
    radial-gradient(1200px 650px at 85% -12%, rgba(74, 144, 226, 0.10), transparent 55%),
    radial-gradient(900px 500px at 50% 120%, rgba(0, 35, 102, 0.22), transparent 60%),
    var(--bg);
  color:var(--text);
  direction: rtl;
  line-height: 1.6;
  min-height: 100vh;
}

a{ color:inherit; text-decoration: none; }

.container{ width:min(1200px, 94vw); margin:0 auto; }

/* ===== HEADER STYLES ===== */
.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(12px);
  background: rgba(3, 20, 48, 0.88);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 10px 30px rgba(0, 18, 45, 0.35);
}

.flex{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding: 14px 0; }

.brand{ display:flex; align-items:center; gap:12px; }

.logo{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background: var(--gradient-gold);
  color: var(--royal-blue);
  font-weight:950;
  font-size: 20px;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-title{ 
  font-weight:950; 
  letter-spacing:.2px;
  color: var(--gold);
  font-size: 1.2rem;
}

.brand-sub{ 
  font-size:12px; 
  color: var(--muted); 
  margin-top:2px;
  font-family: 'Montserrat', sans-serif;
}

/* Admin Badge */
.admin-badge {
  background: linear-gradient(135deg, #3e5fa8 0%, #5e3e9d 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* ===== NAVIGATION ===== */
.nav{ 
  display:flex; 
  align-items:center; 
  gap:8px; 
  flex-wrap:wrap; 
}

.nav a{
  text-decoration:none;
  padding:10px 16px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a i {
  font-size: 1.1rem;
  color: var(--gold);
}

.nav a:hover{ 
  border-color: rgba(212, 175, 55, 0.45); 
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.btn-ghost{ 
  border:1px solid rgba(212, 175, 55, 0.45) !important; 
  background: rgba(212, 175, 55, 0.06);
}

/* Staff link */
.staff-link {
  background: rgba(102, 126, 234, 0.12);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.22) !important;
}

.staff-link:hover {
  background: rgba(102, 126, 234, 0.20);
}

.staff-link i {
  color: #89a2ff !important;
}

/* Primary action button */
.primary-action {
  background: var(--gradient-gold) !important;
  color: #081120 !important;
  border: none !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-gold) !important;
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover) !important;
}

.primary-action i {
  color: #081120 !important;
}

/* Logout link */
.logout-link {
  color: #ff8a8a !important;
}

.logout-link:hover {
  background: rgba(255, 107, 107, 0.12) !important;
  border-color: #ff6b6b !important;
}

.logout-link i {
  color: #ff8a8a !important;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 100;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== CARD STYLES (Used in step1_property) ===== */
.card{
  background: linear-gradient(180deg, rgba(8, 23, 49, 0.97), rgba(12, 30, 60, 0.94));
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin: 24px 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: var(--radius) 0 0 var(--radius);
}

.card::after{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%);
  pointer-events:none;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 20, 60, 0.48);
  border-color: rgba(212, 175, 55, 0.28);
}

/* Service-specific card variants */
.card.etaman::before {
  background: linear-gradient(180deg, var(--calm-blue), var(--metallic-silver));
}

.card.abshir::before {
  background: linear-gradient(180deg, var(--burnt-orange), var(--royal-blue));
}

.card.nagata::before {
  background: linear-gradient(180deg, var(--shining-gold), var(--royal-blue));
}

/* ===== TYPOGRAPHY ===== */
.h1{ 
  font-size: 2.2rem; 
  font-weight: 800; 
  margin: 0 0 8px; 
  color: var(--gold);
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 80px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 3px;
}

.h2{ 
  font-size: 1.5rem; 
  font-weight: 700; 
  margin: 0 0 20px; 
  color: var(--gold);
  position: relative;
  padding-bottom: 12px;
}

.h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.muted{ 
  color: var(--muted); 
  font-size: 0.9rem;
}

/* ===== BADGES ===== */
.badge{
  display:inline-block; 
  padding: 6px 12px; 
  border-radius:999px;
  border:1px solid var(--line); 
  background: rgba(212, 175, 55, 0.08);
  font-size:12px;
  font-weight: 600;
}

.badge.ok{ 
  border-color: rgba(74,222,128,.30); 
  background: rgba(74,222,128,.10);
  color: #69e79a;
}

.badge.danger{ 
  border-color: rgba(255,93,93,.30); 
  background: rgba(255,93,93,.10);
  color: #ff8b8b;
}

/* ===== GRID & STATS ===== */
.grid{ 
  display:grid; 
  gap:20px; 
  grid-template-columns: repeat(4, 1fr); 
}

@media (max-width: 980px){ .grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 560px){ .grid{ grid-template-columns: 1fr;} }

.stat{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06), rgba(255,255,255,0.02));
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.38);
}

.stat .k{ 
  font-size:13px; 
  color: var(--muted); 
  font-weight:700; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat .v{ 
  font-size:28px; 
  font-weight:900; 
  margin-top:8px;
  color: var(--gold);
}

/* ===== FORM STYLES (Used in step1_property) ===== */
.form{ 
  display:grid; 
  gap:20px; 
}

.row{ 
  display:grid; 
  gap:20px; 
  grid-template-columns: 1fr 1fr; 
}

@media (max-width: 760px){ .row{ grid-template-columns: 1fr; } }

label{ 
  font-size:14px; 
  color: #e6c86c; 
  font-weight:600; 
  margin-bottom: 6px;
  display: block;
}

input, select, textarea{
  width:100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(212, 175, 55, 0.16);
  background: rgba(255,255,255,.045);
  color: var(--text);
  outline: none;
  font-family: 'Almarai', 'Cairo', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:hover, select:hover, textarea:hover {
  border-color: rgba(212, 175, 55, 0.28);
}

input:focus, select:focus, textarea:focus{ 
  border-color: var(--gold); 
  background: rgba(0, 35, 102, 0.24);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

input:disabled {
  background: rgba(0, 0, 0, 0.26);
  border-color: rgba(212, 175, 55, 0.08);
  color: var(--muted);
  cursor: not-allowed;
}

textarea{ 
  min-height:120px; 
  resize: vertical; 
}

/* ===== BUTTONS ===== */
.primary{
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 0;
  cursor:pointer;
  color: #081120;
  font-weight:700;
  font-size: 1.1rem;
  background: var(--gradient-gold);
  box-shadow: var(--shadow-gold);
  transition: all 0.3s ease;
  width: auto;
  min-width: 200px;
}

.primary:hover{ 
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
  filter: brightness(1.03);
}

.secondary {
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(212, 175, 55, 0.65);
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary:hover {
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

/* ===== TABLES ===== */
.table{ 
  width:100%; 
  border-collapse: collapse; 
  overflow:hidden; 
  border-radius: var(--radius); 
}

.table th, .table td{
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  padding: 14px 12px;
  text-align:right;
  vertical-align: middle;
}

.table th{ 
  font-size:13px; 
  color: var(--gold); 
  font-weight:700; 
  background: rgba(212, 175, 55, 0.08);
}

.table tr:hover td {
  background: rgba(212, 175, 55, 0.04);
}

/* ===== FOOTER STYLES ===== */
.footer{
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  margin-top: 50px;
  padding: 40px 0 20px;
  background: rgba(3, 18, 44, 0.96);
  backdrop-filter: blur(10px);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-gold);
}

.footer-section a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-section a:hover {
  color: var(--gold);
  transform: translateX(-5px);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.logo-small {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: var(--gradient-gold);
  color: #081120;
  font-weight: 900;
  font-size: 28px;
  border: 2px solid rgba(255, 215, 0, 0.4);
}

.footer-title {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

.footer-sub {
  font-size: 12px;
  color: var(--muted);
  font-family: 'Montserrat', sans-serif;
}

.footer-slogan {
  color: var(--gold);
  font-size: 1rem;
  margin: 15px 0;
  font-style: italic;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.footer-social a:hover {
  background: var(--gold);
  color: #081120;
  transform: translateY(-3px);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 14px;
}

.contact-info i {
  color: var(--gold);
  width: 20px;
  font-size: 1.1rem;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  color: var(--muted);
  font-size: 13px;
}

.trust-badge {
  display: flex;
  gap: 20px;
}

.trust-badge span {
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
  border: 1px solid rgba(212, 175, 55, 0.22);
}

/* ===== SERVICE TAG STYLES ===== */
.service-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.22);
  transition: all 0.3s ease;
  display: inline-block;
}

.service-tag.etaman {
  color: #8fc4ff;
  border-color: rgba(74, 144, 226, 0.48);
  background: rgba(74, 144, 226, 0.08);
}

.service-tag.abshir {
  color: #ff9a4d;
  border-color: rgba(255, 109, 0, 0.48);
  background: rgba(255, 109, 0, 0.08);
}

.service-tag.nagata {
  color: #ffe066;
  border-color: rgba(255, 215, 0, 0.48);
  background: rgba(255, 215, 0, 0.08);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: rgba(7, 24, 52, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    transition: right 0.3s ease;
    border-right: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow);
    overflow-y: auto;
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav a, .nav-dropdown {
    width: 100%;
  }
  
  .nav a {
    padding: 14px 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .trust-badge {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .h1 {
    font-size: 1.8rem;
  }
  
  .h2 {
    font-size: 1.3rem;
  }
  
  .card {
    padding: 20px;
  }
  
  .primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .brand-slogan {
    display: none;
  }
  
  .service-tag {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .trust-badge {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h4::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .contact-info {
    justify-content: center;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-gold { color: var(--gold); }
.text-royal { color: var(--royal-blue); }
.bg-gold { background: var(--gold); }
.border-gold { border-color: var(--gold); }
.shadow-gold { box-shadow: var(--shadow-gold); }
.gradient-gold { background: var(--gradient-gold); }

/* ===== DROPDOWN & SELECT STYLES ===== */
select, 
select option,
.form select,
.card select,
#asset_category,
#property_type_code,
#property_city,
#zone_id {
  background-color: #142540 !important;
  color: #ecf3ff !important;
  border: 2px solid rgba(212, 175, 55, 0.40) !important;
  padding: 14px 16px !important;
  border-radius: var(--radius-sm) !important;
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url(\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>\") !important;
  background-repeat: no-repeat !important;
  background-position: left 16px center !important;
  background-size: 16px !important;
  padding-left: 40px !important;
}

/* Dropdown options styling */
select option,
#asset_category option,
#property_type_code option,
#property_city option,
#zone_id option {
  background-color: #0d1a30 !important;
  color: #ecf3ff !important;
  padding: 12px !important;
  font-size: 1rem !important;
  border: none !important;
}

/* Hover state for options */
select option:hover,
#asset_category option:hover,
#property_type_code option:hover,
#property_city option:hover,
#zone_id option:hover {
  background-color: var(--gold) !important;
  color: #081120 !important;
}

/* Selected option styling */
select option:checked,
#asset_category option:checked,
#property_type_code option:checked,
#property_city option:checked,
#zone_id option:checked {
  background-color: var(--gold) !important;
  color: #081120 !important;
  font-weight: bold !important;
}

/* Focus state */
select:focus,
#asset_category:focus,
#property_type_code:focus,
#property_city:focus,
#zone_id:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.24) !important;
  outline: none !important;
}

/* For Firefox */
@-moz-document url-prefix() {
  select option,
  #asset_category option,
  #property_type_code option,
  #property_city option,
  #zone_id option {
    background-color: #0d1a30 !important;
    color: #ecf3ff !important;
  }
}

/* ===== BRAND FONTS - SMO INTEGRATED SOLUTIONS ===== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Cairo:wght@200;300;400;500;600;700;800;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* Arabic Font Settings */
body, 
input, 
select, 
textarea, 
button,
.card,
.form,
.nav a,
.footer,
.modal,
.popup {
  font-family: 'Almarai', 'Cairo', 'Tahoma', 'Arial', sans-serif !important;
}

/* English/French/Number Font Settings */
.english-text,
.amount,
.price,
.date,
.stat .v,
.logo span,
.footer-sub,
.trust-badge span,
.badge,
.service-tag,
[lang=\"en\"] {
  font-family: 'Montserrat', 'Almarai', 'Cairo', sans-serif !important;
}

/* ===== TYPOGRAPHY HIERARCHY ===== */

/* Main Headers - Extra Bold (800) */
.h1, 
h1, 
.page-title,
.modal-title,
.wizard-title {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Section Headers - Bold (700) */
.h2,
h2,
.section-title,
.card h2,
.card .h2 {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

/* Sub-headers - Semi-Bold (600) */
.h3,
h3,
.sub-title,
label,
.nav a,
.badge,
button {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 600 !important;
}

/* Body Text - Regular (400) */
p,
.text,
.description,
.muted,
td,
li,
.help-text {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

/* Small Text - Light (300) */
small,
.footer small,
.hint,
.note,
.copyright,
.meta {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 300 !important;
}

/* ===== SLOGAN & SPECIAL TEXT ===== */

/* English Slogans */
.built-on,
.leading-assets,
.footer-slogan,
.slogan,
.trust-badge span {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

/* Service Names */
.service-etaman,
.service-abshir,
.service-nagata,
[data-service=\"etaman\"],
[data-service=\"abshir\"],
[data-service=\"nagata\"] {
  font-weight: 700 !important;
}

/* ===== NUMBERS & FINANCIAL ===== */

/* Prices, Amounts, Stats */
.price,
.amount,
.stat .v,
.total,
.invoice-amount,
.currency {
  font-family: 'Montserrat', 'Almarai', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

/* ===== FORM ELEMENTS ===== */

/* Input Text */
input,
select,
textarea {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 400 !important;
}

/* Placeholder Text */
::placeholder,
input::placeholder,
textarea::placeholder {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 300 !important;
  opacity: 0.7 !important;
}

/* ===== BUTTONS ===== */
button,
.button,
.primary,
.secondary,
.btn-ghost {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

/* ===== ADMIN/STAFF TEXT ===== */
.admin-badge,
.staff-link,
.role-badge {
  font-family: 'Montserrat', 'Almarai', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}

/* ===== RESPONSIVE FONT SIZES ===== */

/* Desktop */
@media (min-width: 1024px) {
  .h1, h1 { font-size: 2.5rem !important; }
  .h2, h2 { font-size: 1.8rem !important; }
  .h3, h3 { font-size: 1.3rem !important; }
  body, p { font-size: 1rem !important; }
  label { font-size: 0.95rem !important; }
  small { font-size: 0.85rem !important; }
}

/* Tablet */
@media (max-width: 1023px) and (min-width: 768px) {
  .h1, h1 { font-size: 2rem !important; }
  .h2, h2 { font-size: 1.5rem !important; }
  .h3, h3 { font-size: 1.2rem !important; }
  body, p { font-size: 0.95rem !important; }
}

/* Mobile */
@media (max-width: 767px) {
  .h1, h1 { font-size: 1.8rem !important; }
  .h2, h2 { font-size: 1.3rem !important; }
  .h3, h3 { font-size: 1.1rem !important; }
  body, p { font-size: 0.9rem !important; }
  label { font-size: 0.9rem !important; }
}

/* ===== SPECIFIC PAGE FIXES ===== */

/* For step1_property.php */
#asset_category,
#property_type_code,
#property_city,
#zone_id {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
}

#asset_category option,
#property_type_code option,
#property_city option,
#zone_id option {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 400 !important;
}

/* For dashboard stats */
.stat .k {
  font-family: 'Montserrat', 'Almarai', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
}

.stat .v {
  font-family: 'Montserrat', 'Almarai', sans-serif !important;
  font-weight: 800 !important;
  font-size: 2rem !important;
}

/* For footer */
.footer-title {
  font-family: 'Almarai', 'Cairo', sans-serif !important;
  font-weight: 800 !important;
}

.footer-sub {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  letter-spacing: 1px !important;
}

.footer-slogan {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-style: italic !important;
}

.trust-badge span:first-child {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}

.trust-badge span:last-child {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  font-size: 0.7rem !important;
}
input[type="tel"], .phone-input {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}