@charset "UTF-8";
/*!
 * Bootstrap v5.3.3 RTL (Local Bundle for Real Estate Management System)
 */
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-secondary: #64748b;
  --bs-success: #10b981;
  --bs-info: #06b6d4;
  --bs-warning: #f59e0b;
  --bs-danger: #ef4444;
  --bs-light: #f8fafc;
  --bs-dark: #0f172a;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #334155;
  --bs-body-bg: #f8fafc;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #e2e8f0;
  --bs-border-radius: 0.5rem;
  --bs-border-radius-sm: 0.375rem;
  --bs-border-radius-lg: 0.75rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 1.5rem;
  --bs-border-radius-pill: 50rem;
}

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

html {
  direction: rtl;
  font-family: var(--bs-body-font-family);
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: right;
  background-color: var(--bs-body-bg);
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--bs-primary);
  text-decoration: none;
}
a:hover {
  color: #1d4ed8;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
}

.table {
  --bs-table-bg: transparent;
  --bs-table-color: inherit;
  width: 100%;
  margin-bottom: 1rem;
  color: var(--bs-table-color);
  vertical-align: middle;
  border-color: #e2e8f0;
}
.table > :not(caption) > * > * {
  padding: 0.75rem 1rem;
  background-color: var(--bs-table-bg);
  border-bottom-width: 1px;
  box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}
.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(37, 99, 235, 0.03);
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: rgba(248, 250, 252, 0.6);
}
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.form-control, .form-select {
  display: block;
  width: 100%;
  padding: 0.6rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: #1e293b;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #cbd5e1;
  appearance: none;
  border-radius: var(--bs-border-radius);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus, .form-select:focus {
  color: #0f172a;
  background-color: #fff;
  border-color: #3b82f6;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
}
.form-label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #475569;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1e293b;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem;
  border-radius: var(--bs-border-radius);
  transition: all 0.2s ease-in-out;
}
.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.85rem; border-radius: var(--bs-border-radius-sm); }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.1rem; border-radius: var(--bs-border-radius-lg); }

.btn-primary { color: #fff; background-color: #2563eb; border-color: #2563eb; }
.btn-primary:hover { color: #fff; background-color: #1d4ed8; border-color: #1d4ed8; }
.btn-secondary { color: #fff; background-color: #64748b; border-color: #64748b; }
.btn-secondary:hover { color: #fff; background-color: #475569; border-color: #475569; }
.btn-success { color: #fff; background-color: #10b981; border-color: #10b981; }
.btn-success:hover { color: #fff; background-color: #059669; border-color: #059669; }
.btn-info { color: #fff; background-color: #0ea5e9; border-color: #0ea5e9; }
.btn-info:hover { color: #fff; background-color: #0284c7; border-color: #0284c7; }
.btn-warning { color: #0f172a; background-color: #f59e0b; border-color: #f59e0b; }
.btn-warning:hover { color: #0f172a; background-color: #d97706; border-color: #d97706; }
.btn-danger { color: #fff; background-color: #ef4444; border-color: #ef4444; }
.btn-danger:hover { color: #fff; background-color: #dc2626; border-color: #dc2626; }
.btn-outline-primary { color: #2563eb; border-color: #2563eb; }
.btn-outline-primary:hover { color: #fff; background-color: #2563eb; }
.btn-outline-secondary { color: #64748b; border-color: #cbd5e1; }
.btn-outline-secondary:hover { color: #1e293b; background-color: #f1f5f9; }
.btn-outline-success { color: #10b981; border-color: #10b981; }
.btn-outline-success:hover { color: #fff; background-color: #10b981; }
.btn-outline-danger { color: #ef4444; border-color: #ef4444; }
.btn-outline-danger:hover { color: #fff; background-color: #ef4444; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid #e2e8f0;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}
.card-body { flex: 1 1 auto; padding: 1.25rem; }
.card-header {
  padding: 1rem 1.25rem;
  margin-bottom: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
}
.card-footer {
  padding: 0.85rem 1.25rem;
  background-color: #f8fafc;
  border-top: 1px solid #f1f5f9;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: var(--bs-border-radius-pill);
}
.bg-primary { background-color: #2563eb !important; }
.bg-secondary { background-color: #64748b !important; }
.bg-success { background-color: #10b981 !important; }
.bg-info { background-color: #0ea5e9 !important; }
.bg-warning { background-color: #f59e0b !important; color: #0f172a !important; }
.bg-danger { background-color: #ef4444 !important; }
.bg-light { background-color: #f1f5f9 !important; color: #334155 !important; }
.bg-dark { background-color: #1e293b !important; }

.navbar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid #e2e8f0;
}
.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-left: 1rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e293b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-nav {
  display: flex;
  flex-direction: row;
  padding-right: 0;
  margin-bottom: 0;
  list-style: none;
  gap: 0.5rem;
}
.nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--bs-border-radius);
  transition: all 0.15s ease-in-out;
}
.nav-link:hover, .nav-link.active {
  color: #2563eb;
  background-color: #eff6ff;
}

.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--bs-border-radius);
}
.alert-success { color: #065f46; background-color: #d1fae5; border-color: #a7f3d0; }
.alert-danger { color: #991b1b; background-color: #fee2e2; border-color: #fca5a5; }
.alert-warning { color: #92400e; background-color: #fef3c7; border-color: #fde68a; }
.alert-info { color: #155e75; background-color: #cff4fc; border-color: #b6effb; }

/* Utilities */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }

.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.m-0 { margin: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }

.me-1 { margin-left: 0.25rem !important; }
.me-2 { margin-left: 0.5rem !important; }
.me-3 { margin-left: 1rem !important; }

.ms-auto { margin-right: auto !important; }

.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

.text-start { text-align: right !important; }
.text-center { text-align: center !important; }
.text-end { text-align: left !important; }

.text-muted { color: #64748b !important; }
.text-primary { color: #2563eb !important; }
.text-success { color: #10b981 !important; }
.text-danger { color: #ef4444 !important; }
.text-warning { color: #f59e0b !important; }
.text-info { color: #0ea5e9 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }

.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03) !important; }
.shadow { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04) !important; }
