/* ===================================
   Bosphorus Blue Design System
   Otel Yönetim Paneli - Style.css
   =================================== */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Primary */
  --primary: #001e42;
  --primary-container: #003368;
  --on-primary: #ffffff;
  --on-primary-container: #729ce2;
  --primary-fixed: #d6e3ff;
  --primary-fixed-dim: #a9c7ff;

  /* Secondary */
  --secondary: #48626e;
  --secondary-container: #cbe7f5;
  --on-secondary: #ffffff;
  --on-secondary-container: #4e6874;

  /* Tertiary */
  --tertiary: #381300;
  --tertiary-container: #592300;
  --on-tertiary-container: #d8885c;
  --tertiary-fixed: #ffdbca;

  /* Error */
  --error: #ba1a1a;
  --error-container: #ffdad6;
  --on-error: #ffffff;
  --on-error-container: #93000a;

  /* Surface */
  --surface: #f7f9fc;
  --surface-dim: #d8dadd;
  --surface-bright: #f7f9fc;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f2f4f7;
  --surface-container: #eceef1;
  --surface-container-high: #e6e8eb;
  --surface-container-highest: #e0e3e6;
  --surface-variant: #e0e3e6;

  /* On Surface */
  --on-surface: #191c1e;
  --on-surface-variant: #43474f;
  --on-background: #191c1e;

  /* Outline */
  --outline: #737780;
  --outline-variant: #c3c6d1;

  /* Inverse */
  --inverse-surface: #2d3133;
  --inverse-on-surface: #eff1f4;
  --inverse-primary: #a9c7ff;

  /* Success (custom) */
  --success: #155724;
  --success-container: #d4edda;
  --warning: #856404;
  --warning-container: #fff3cd;

  /* Sidebar */
  --sidebar-width: 260px;
  --topbar-height: 64px;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.08);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.font-headline {
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface-container-low);
}
::-webkit-scrollbar-thumb {
  background: var(--outline-variant);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--outline);
}

/* ========================
   LOGIN PAGE
   ======================== */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  overflow: hidden;
}

.login-visual {
  display: none;
  width: 58%;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.login-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.login-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top right,
    var(--primary),
    rgba(0, 30, 66, 0.8),
    transparent
  );
}

.login-visual-content {
  position: absolute;
  bottom: 48px;
  left: 48px;
  z-index: 10;
  color: white;
  max-width: 480px;
}

.login-visual-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-primary-container);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.login-visual-content h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.login-visual-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
}

.login-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: var(--surface);
}

.login-form-box {
  width: 100%;
  max-width: 420px;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.login-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.login-logo-icon .material-symbols-outlined {
  color: white;
  font-size: 22px;
}

.login-logo span {
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.login-form-box h1 {
  font-size: 1.75rem;
  color: var(--on-surface);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.login-form-box .subtitle {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-surface-variant);
  margin-bottom: 8px;
  margin-left: 2px;
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-label-row a {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-container);
  letter-spacing: -0.02em;
}

.form-label-row a:hover {
  text-decoration: underline;
}

.input-wrapper {
  position: relative;
}

.input-wrapper .material-symbols-outlined {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--outline);
  font-size: 18px;
  transition: color 0.2s;
}

.input-wrapper input:focus ~ .material-symbols-outlined,
.input-wrapper input:focus + .material-symbols-outlined {
  color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  background: rgba(224, 227, 230, 0.4);
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--on-surface);
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: rgba(0, 30, 66, 0.15);
  background: var(--surface-container-lowest);
  box-shadow: 0 0 0 4px rgba(0, 30, 66, 0.06);
}

.form-input::placeholder {
  color: var(--outline-variant);
}

.form-input-plain {
  padding-left: 16px;
}

.toggle-password {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--outline);
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: var(--on-surface);
}

.form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  margin-bottom: 20px;
}

.form-checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.form-checkbox-row label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-xl);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
  box-shadow: 0 4px 16px rgba(0, 30, 66, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 30, 66, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98) translateY(0);
}

.btn-secondary {
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  border: 1px solid var(--outline-variant);
}

.btn-secondary:hover {
  background: var(--surface-container-low);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--surface-container-low);
  border: none;
  color: var(--on-surface-variant);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--surface-container-high);
}

.login-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(195, 198, 209, 0.15);
}

.login-footer p {
  font-size: 12px;
  color: var(--outline);
  font-weight: 500;
  margin-bottom: 12px;
}

.login-footer a {
  color: var(--primary);
  font-weight: 700;
}

.login-footer-links {
  display: flex;
  gap: 24px;
}

.login-footer-links a {
  font-size: 10px;
  font-weight: 700;
  color: var(--outline-variant);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

.login-footer-links a:hover {
  color: var(--on-surface);
}

/* ========================
   TOPBAR
   ======================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(195, 198, 209, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.topbar-brand {
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.topbar-nav {
  display: none;
  align-items: center;
  gap: 8px;
}

.topbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--outline);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.topbar-nav a:hover {
  background: var(--surface-container-low);
  color: var(--on-surface);
}
.topbar-nav a.active {
  color: var(--primary);
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-container-high);
  padding: 8px 14px;
  border-radius: 999px;
}

.search-box .material-symbols-outlined {
  font-size: 18px;
  color: var(--outline);
}

.search-box input {
  border: none;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  color: var(--on-surface);
  width: 160px;
  outline: none;
}

.search-box input::placeholder {
  color: var(--outline);
}

.topbar-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--outline);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  position: relative;
}

.topbar-icon-btn:hover {
  background: var(--surface-container-low);
  color: var(--on-surface);
}

.topbar-icon-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--error);
  border-radius: 50%;
  border: 2px solid white;
}

/* ========================
   SIDEBAR
   ======================== */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--surface-container-low);
  z-index: 90;
  display: none;
  flex-direction: column;
  padding: 24px;
  padding-top: calc(var(--topbar-height) + 24px);
  overflow-y: auto;
}

.sidebar-header {
  margin-bottom: 32px;
  padding: 0 8px;
}

.sidebar-header h2 {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sidebar-header p {
  font-family: "Manrope", sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--outline);
  margin-top: 2px;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(4px);
  color: var(--on-surface);
}

.sidebar-link.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: white;
  box-shadow: 0 4px 16px rgba(0, 30, 66, 0.2);
}

.sidebar-link .material-symbols-outlined {
  font-size: 22px;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 16px;
}

.sidebar-cta {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin-bottom: 16px;
  transition: all 0.2s;
  text-decoration: none;
}

.sidebar-cta:hover {
  opacity: 0.9;
  color: white;
}

.sidebar-footer {
  padding-top: 12px;
  border-top: 1px solid rgba(195, 198, 209, 0.3);
}

.sidebar-footer .sidebar-link {
  font-size: 11px;
}

/* ========================
   MAIN CONTENT
   ======================== */
.main-content {
  padding-top: calc(var(--topbar-height) + 32px);
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 48px;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

/* ========================
   PAGE HEADER
   ======================== */
.page-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.page-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.page-header h1 {
  font-size: 1.75rem;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.page-header .subtitle {
  color: var(--on-surface-variant);
  font-weight: 500;
  font-size: 0.9rem;
  margin-top: 4px;
}

.page-breadcrumb {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  margin-bottom: 4px;
}

.page-breadcrumb a {
  color: var(--secondary);
}
.page-breadcrumb span {
  margin: 0 6px;
}

.date-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-container-lowest);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(195, 198, 209, 0.15);
  font-size: 0.875rem;
  font-weight: 600;
}

.date-badge .material-symbols-outlined {
  color: var(--secondary);
  font-size: 18px;
}

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

/* ========================
   KPI CARDS
   ======================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--surface-container-lowest);
  padding: 24px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(195, 198, 209, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.kpi-card:hover {
  box-shadow: var(--shadow-md);
}

.kpi-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.kpi-card-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
}

.kpi-card-icon {
  color: var(--primary);
  opacity: 0.2;
  transition: opacity 0.3s;
}

.kpi-card:hover .kpi-card-icon {
  opacity: 1;
}

.kpi-card-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.kpi-card-value .value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.kpi-card-value .unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--on-surface-variant);
}

.kpi-card-value .change-up {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
}

.kpi-card-value .change-down {
  font-size: 12px;
  font-weight: 700;
  color: var(--error);
}

.kpi-card-footer {
  margin-top: 12px;
  font-size: 11px;
  color: var(--on-surface-variant);
  font-style: italic;
}

.kpi-card-progress {
  margin-top: 12px;
  height: 6px;
  background: var(--surface-container);
  border-radius: 999px;
  overflow: hidden;
}

.kpi-card-progress .bar {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 1s ease;
}

/* Revenue Card Variant */
.kpi-card.revenue {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  border: none;
  box-shadow: 0 4px 16px rgba(0, 30, 66, 0.15);
}

.kpi-card.revenue .kpi-card-label {
  color: var(--primary-fixed-dim);
}
.kpi-card.revenue .kpi-card-value .value {
  color: white;
}
.kpi-card.revenue .kpi-card-icon {
  color: white;
  opacity: 0.4;
}
.kpi-card.revenue:hover .kpi-card-icon {
  opacity: 1;
}
.kpi-card.revenue .kpi-card-footer {
  color: var(--primary-fixed-dim);
  font-style: normal;
}

/* ========================
   CARDS & PANELS
   ======================== */
.card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(195, 198, 209, 0.1);
  overflow: hidden;
}

.card-header {
  padding: 24px;
  border-bottom: 1px solid var(--surface-container);
}

.card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.card-header p {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  margin-top: 2px;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body {
  padding: 24px;
}
.card-body-flush {
  padding: 0;
}

/* ========================
   TABLES
   ======================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table thead th {
  text-align: left;
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--on-surface-variant);
  border-bottom: 1px solid var(--surface-container);
  white-space: nowrap;
}

.data-table tbody td {
  padding: 16px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--surface-container);
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.2s;
}

.data-table tbody tr:hover {
  background: var(--surface-container-low);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Table user cell */
.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.avatar-primary {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.avatar-blue {
  background: var(--primary-fixed);
  color: var(--primary);
}

.avatar-red {
  background: var(--error-container);
  color: var(--on-error-container);
}

.avatar-gray {
  background: var(--surface-container-highest);
  color: var(--on-surface-variant);
}

.user-info h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
}

.user-info p {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

/* ========================
   STATUS BADGES
   ======================== */
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.vip-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.vip-platinum {
  background: var(--primary);
  color: white;
}

.vip-gold {
  background: var(--warning-container);
  color: var(--warning);
}

/* ========================
   TABS / FILTERS
   ======================== */
.tab-group {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  border: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: var(--surface-container-low);
}

.tab-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ========================
   PAGINATION
   ======================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-top: 1px solid var(--surface-container);
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
}

.pagination-buttons {
  display: flex;
  gap: 4px;
}

.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--outline-variant);
  background: var(--surface-container-lowest);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--on-surface);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.page-btn:hover {
  background: var(--surface-container-low);
}

.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ========================
   CHART (CSS Bar Chart)
   ======================== */
.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  height: 200px;
  padding: 0 16px;
}

.chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.chart-bar {
  width: 100%;
  background: var(--surface-container-high);
  border-radius: 6px 6px 0 0;
  transition: all 0.3s;
  min-height: 4px;
}

.chart-bar:hover {
  background: rgba(0, 30, 66, 0.15);
}
.chart-bar.today {
  background: var(--primary);
  box-shadow: var(--shadow-sm);
}

.chart-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.chart-bar.today + .chart-label {
  color: var(--primary);
}

/* ========================
   RESERVATION LIST ITEM
   ======================== */
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--surface-container);
  transition: background 0.2s;
  cursor: pointer;
}

.list-item:hover {
  background: var(--surface-container-low);
}
.list-item:last-child {
  border-bottom: none;
}

.list-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-item-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.list-item-info p {
  font-size: 11px;
  color: var(--on-surface-variant);
}

.list-item-right {
  text-align: right;
}

.list-item-right .price {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

/* ========================
   QUICK ACTIONS
   ======================== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.quick-action-card {
  background: var(--surface-container-lowest);
  border: 1px solid rgba(195, 198, 209, 0.1);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--on-surface);
}

.quick-action-card:hover {
  box-shadow: var(--shadow-md);
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-container-high);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-action-icon .material-symbols-outlined {
  color: var(--primary);
  font-size: 24px;
}

.quick-action-text h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.quick-action-text p {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

/* ========================
   ROOM CARDS
   ======================== */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.room-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(195, 198, 209, 0.1);
  overflow: hidden;
  transition: all 0.3s;
}

.room-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.room-card-img {
  height: 160px;
  background: var(--surface-container-high);
  position: relative;
  overflow: hidden;
}

.room-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-status {
  position: absolute;
  top: 12px;
  right: 12px;
}

.room-card-body {
  padding: 18px;
}

.room-card-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.room-card-type {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-top: 2px;
}

.room-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--surface-container);
  font-size: 0.8rem;
  color: var(--on-surface-variant);
}

.room-status-bar {
  height: 4px;
  border-radius: 0;
}

.room-status-bar.dolu {
  background: var(--error);
}
.room-status-bar.bos {
  background: #22c55e;
}
.room-status-bar.temizlikte {
  background: #f59e0b;
}
.room-status-bar.arizali {
  background: var(--error);
}

/* ========================
   TWO COLUMN LAYOUT
   ======================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.col-span-2 {
  grid-column: span 1;
}

/* ========================
   FORM LAYOUT
   ======================== */
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-section {
  margin-bottom: 32px;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.form-section-title .material-symbols-outlined {
  font-size: 22px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23737780' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
  font-family: "Inter", sans-serif;
}

/* ========================
   STEPPER
   ======================== */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.stepper-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.stepper-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid var(--outline-variant);
  color: var(--outline);
  background: var(--surface-container-lowest);
  transition: all 0.3s;
}

.stepper-step.active .stepper-circle {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 30, 66, 0.2);
}

.stepper-step.completed .stepper-circle {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.stepper-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--outline);
  margin-top: 8px;
  text-align: center;
}

.stepper-step.active .stepper-label {
  color: var(--primary);
}

.stepper-line {
  width: 120px;
  height: 2px;
  background: var(--outline-variant);
  margin: 0 8px;
}

.stepper-line.active {
  background: var(--primary);
}

/* ========================
   SUMMARY CARD (side panel)
   ======================== */
.summary-card {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 28px;
  color: white;
}

.summary-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-total {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.summary-total .price {
  font-size: 1.75rem;
  font-weight: 800;
}

/* ========================
   HOUSEKEEPING
   ======================== */
.hk-card {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(195, 198, 209, 0.1);
  padding: 20px;
  transition: all 0.3s;
}

.hk-card:hover {
  box-shadow: var(--shadow-md);
}

.hk-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hk-room-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  border: 2px solid var(--outline-variant);
  padding: 4px 12px;
  border-radius: var(--radius-md);
}

.hk-card-body h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.hk-card-body p {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
}

/* ========================
   ACTIVITY TIMELINE
   ======================== */
.timeline-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--surface-container);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.timeline-dot.green {
  background: #22c55e;
}
.timeline-dot.orange {
  background: #f59e0b;
}
.timeline-dot.blue {
  background: var(--primary);
}

.timeline-time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 2px;
}

.timeline-sub {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

/* ========================
   DONUT CHART (CSS)
   ======================== */
.donut-chart {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.donut-center {
  position: absolute;
  text-align: center;
}

.donut-center .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.donut-center .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ========================
   ALERTS
   ======================== */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 20px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: var(--success-container);
  color: var(--success);
  border: 1px solid rgba(21, 87, 36, 0.15);
}

.alert-error {
  background: var(--error-container);
  color: var(--on-error-container);
  border: 1px solid rgba(147, 0, 10, 0.15);
}

.alert-info {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  border: 1px solid rgba(78, 104, 116, 0.15);
}

/* ========================
   PAYMENT TYPE SELECTOR
   ======================== */
.payment-options {
  display: flex;
  gap: 12px;
}

.payment-option {
  flex: 1;
  padding: 14px;
  background: var(--surface-container-low);
  border: 2px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 600;
}

.payment-option:hover {
  border-color: var(--primary);
}

.payment-option.selected {
  border-color: var(--primary);
  background: rgba(0, 30, 66, 0.04);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .topbar-nav {
    display: flex;
  }
  .login-visual {
    display: block;
  }
}

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
  }
  .main-content {
    padding-left: calc(var(--sidebar-width) + 32px);
  }
  .two-col {
    grid-template-columns: 2fr 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
}

/* ========================
   UTILITIES
   ======================== */
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-muted {
  color: var(--on-surface-variant);
}
.text-error {
  color: var(--error);
}
.text-success {
  color: var(--success);
}
.text-warning {
  color: var(--warning);
}
.text-white {
  color: white;
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-bold {
  font-weight: 700;
}
.font-semibold {
  font-weight: 600;
}
.mt-4 {
  margin-top: 16px;
}
.mt-6 {
  margin-top: 24px;
}
.mt-8 {
  margin-top: 32px;
}
.mb-2 {
  margin-bottom: 8px;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-6 {
  margin-bottom: 24px;
}
.gap-4 {
  gap: 16px;
}
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.hidden {
  display: none;
}
.w-full {
  width: 100%;
}
.grid {
  display: grid;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.link-all {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  transition: background 0.2s;
}
.link-all:hover {
  background: var(--surface-container);
}

/* Table action buttons */
.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.table-action-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--on-surface-variant);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.table-action-btn:hover {
  background: var(--surface-container-low);
  color: var(--primary);
}

/* Financial health score */
.health-score {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px dashed var(--outline-variant);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.health-score .value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.health-score .label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--on-surface-variant);
}

/* Horizontal progress bar */
.progress-bar-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.progress-bar-label {
  font-size: 0.8rem;
  font-weight: 600;
  width: 100px;
  flex-shrink: 0;
}

.progress-bar-track {
  flex: 1;
  height: 8px;
  background: var(--surface-container);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 999px;
}

.progress-bar-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  width: 40px;
  text-align: right;
}

/* Select dropdown style */
.select-dropdown {
  padding: 8px 32px 8px 14px;
  background: var(--surface-container-low);
  border: none;
  border-radius: var(--radius-lg);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--on-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23737780' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
}

/* Avatar stacked */
.avatar-stack {
  display: flex;
}

.avatar-stack .avatar {
  margin-left: -8px;
  border: 2px solid white;
}

.avatar-stack .avatar:first-child {
  margin-left: 0;
}

/* Layout grid shortcuts */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .content-grid-3-1 {
    grid-template-columns: 2fr 1fr;
  }
}

/* Capacity badge on room cards */
.capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--on-surface-variant);
  background: var(--surface-container);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

/* Mobile menu */
.mobile-menu-btn {
  display: flex;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--on-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mobile-menu-btn:hover {
  background: var(--surface-container-low);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Modal overlay */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow-xl);
}

.modal h2 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

/* Print styles */
@media print {
  .sidebar,
  .topbar,
  .sidebar-cta,
  .btn {
    display: none !important;
  }
  .main-content {
    padding-left: 0 !important;
    padding-top: 0 !important;
  }
}
