:root {
  --pt-primary: #0d6efd;
  --pt-sidebar-bg: #1e293b;
}

body {
  background-color: #f4f6f9;
}

/* ---------- Authenticated app shell ---------- */
.app-wrapper {
  min-height: 100vh;
}

.app-sidebar {
  width: 250px;
  min-height: 100vh;
  background-color: var(--pt-sidebar-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1030;
  transition: transform 0.2s ease-in-out;
}

.app-main {
  margin-left: 250px;
  width: calc(100% - 250px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.65rem 1.25rem;
  border-left: 3px solid transparent;
  font-size: 0.925rem;
}

.sidebar-nav .nav-link i {
  width: 22px;
  display: inline-block;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
  border-left-color: var(--pt-primary);
}

.page-content {
  flex-grow: 1;
}

@media (max-width: 991.98px) {
  .app-sidebar {
    transform: translateX(-100%);
  }
  .app-sidebar.show {
    transform: translateX(0);
  }
  .app-main {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------- Dashboard stat tiles ---------- */
.stat-card {
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  background: #fff;
}

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* ---------- Auth pages ---------- */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d6efd 0%, #1e293b 100%);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  border-radius: 0.75rem;
}

.otp-input {
  width: 3rem;
  text-align: center;
  font-size: 1.25rem;
}
