html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  direction: rtl;
  text-align: right;
  background-color: #f5f6fa;
  margin-bottom: 60px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.table {
  font-size: 0.9rem;
}

.table th {
  background-color: #f8f9fa;
}

.modal-header .btn-close {
  margin: 0;
}

.pagination {
  justify-content: center;
}

.badge {
  font-size: 0.8rem;
}

.card-stat {
  border: none;
  border-radius: 0.75rem;
}

.card-stat .card-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-stat .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.navbar-brand {
  font-weight: 700;
}

.navbar .dropdown-menu {
  min-width: 13rem;
}

.navbar .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.sidebar {
  min-height: calc(100vh - 56px);
  background-color: #fff;
  border-inline-start: 1px solid #e9ecef;
}

.sidebar .nav-link {
  color: #495057;
  border-radius: 0.5rem;
  margin: 0.1rem 0.5rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #eef2ff;
  color: #4338ca;
}

.auth-body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(135deg, #4338ca 0%, #1e1b4b 100%);
}

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-content {
  width: 100%;
  max-width: 420px;
}
