.private-body { min-height: 100vh; background: #f4f8fb; color: #0d1726; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 10%, rgba(0,184,255,.18), transparent 34%), linear-gradient(135deg, #07111f, #0d1b2e); }
.login-panel { width: min(440px, 100%); padding: 34px; border-radius: 24px; background: #fff; border: 1px solid #dbe5ef; box-shadow: 0 24px 70px rgba(3,15,32,.22); }
.private-logo { width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 14px 34px rgba(0,184,255,.24); }
.private-kicker { display: inline-flex; width: fit-content; margin-top: 22px; padding: 7px 12px; border-radius: 999px; background: rgba(0,184,255,.1); color: #008bd1; font-size: .78rem; font-weight: 900; text-transform: uppercase; cursor: pointer; user-select: none; }
.login-panel h1, .private-toolbar h1 { margin-top: 12px; font-size: 2rem; line-height: 1.05; letter-spacing: -1px; }
.login-panel p, .private-toolbar p { margin-top: 8px; color: #6b7280; }
.private-alert { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-weight: 800; }
.private-form, .filters-form { display: grid; gap: 14px; margin-top: 22px; }
.private-form label, .filters-form label { display: grid; gap: 7px; }
.private-form span, .filters-form span { font-size: .84rem; font-weight: 900; color: #253044; }
.private-form input, .filters-form input, .filters-form select { width: 100%; min-height: 48px; border: 1px solid #dbe5ef; border-radius: 14px; padding: 0 14px; background: #fbfdff; color: #0d1726; outline: none; }
.private-form input:focus, .filters-form input:focus, .filters-form select:focus { border-color: #00b8ff; box-shadow: 0 0 0 4px rgba(0,184,255,.12); }
.remember-login { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 10px !important; color: #253044; font-weight: 800; }
.remember-login input { width: 18px !important; height: 18px; min-height: 18px; flex: 0 0 18px; padding: 0 !important; accent-color: #00b8ff; }
.remember-login span { color: #253044; font-size: .88rem; font-weight: 800; }
.private-form button, .filters-form button, .filters-form a, .private-nav a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; padding: 0 18px; background: linear-gradient(135deg, #00b8ff, #47f3c4); color: #04111f; font-weight: 900; cursor: pointer; }
.private-header { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 max(18px, calc((100vw - 1180px) / 2)); background: #07111f; color: #fff; }
.private-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; }
.private-brand img { border-radius: 14px; }
.private-brand span span { color: #00b8ff; }
.private-nav { display: inline-flex; align-items: center; gap: 12px; }
.private-nav > span { color: rgba(255,255,255,.72); font-size: .92rem; }
.private-nav a { min-height: 40px; border-radius: 999px; }
.private-main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 56px; }
.private-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.filters-form { grid-template-columns: 180px 180px auto; align-items: end; margin-top: 0; }
.filters-form a { background: #07111f; color: #fff; }
.reservations-panel { margin-top: 28px; border-radius: 20px; background: #fff; border: 1px solid #dbe5ef; box-shadow: 0 14px 40px rgba(13,23,38,.06); overflow: hidden; }
.table-tools { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 18px 18px 14px; border-bottom: 1px solid #e8eef5; }
.table-search { display: grid; gap: 7px; width: min(360px, 100%); }
.table-search span { font-size: .84rem; font-weight: 900; color: #253044; }
.table-search input { width: 100%; min-height: 44px; border: 1px solid #dbe5ef; border-radius: 14px; padding: 0 14px; background: #fbfdff; color: #0d1726; outline: none; }
.table-search input:focus { border-color: #00b8ff; box-shadow: 0 0 0 4px rgba(0,184,255,.12); }
.table-actions { display: inline-flex; align-items: end; gap: 14px; }
.table-length { display: grid; gap: 7px; min-width: 118px; }
.table-length span { font-size: .84rem; font-weight: 900; color: #253044; }
.table-length select { min-height: 44px; border: 1px solid #dbe5ef; border-radius: 14px; padding: 0 14px; background: #fbfdff; color: #0d1726; font-weight: 800; outline: none; }
.table-length select:focus { border-color: #00b8ff; box-shadow: 0 0 0 4px rgba(0,184,255,.12); }
.table-count { color: #6b7280; font-size: .9rem; font-weight: 900; white-space: nowrap; }
.reservations-table-wrap { overflow-x: auto; }
.reservations-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.reservations-table th, .reservations-table td { padding: 14px 16px; border-bottom: 1px solid #e8eef5; text-align: left; vertical-align: top; font-size: .92rem; }
.reservations-table th { background: #f4f8fb; color: #253044; font-size: .78rem; text-transform: uppercase; }
.reservations-table td a { color: #008bd1; font-weight: 800; }
.status-pill { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .76rem; font-weight: 900; }
.status-pending { background: #fff7ed; color: #c2410c; }
.status-confirmed { background: #ecfdf5; color: #047857; }
.status-cancelled { background: #f1f5f9; color: #475569; }
.status-select { min-height: 34px; min-width: 128px; border: 0; border-radius: 999px; padding: 0 28px 0 12px; font-size: .76rem; font-weight: 900; cursor: pointer; outline: none; }
.status-select:focus { box-shadow: 0 0 0 4px rgba(0,184,255,.14); }
.status-select:disabled { cursor: wait; opacity: .72; }
.table-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 16px 18px; border-top: 1px solid #e8eef5; }
.table-pagination button { min-height: 40px; border: 0; border-radius: 12px; padding: 0 14px; background: #07111f; color: #fff; font-weight: 900; cursor: pointer; }
.table-pagination button:disabled { cursor: not-allowed; opacity: .42; }
.table-pagination span { color: #6b7280; font-size: .9rem; font-weight: 900; }
.empty-state { padding: 36px; color: #6b7280; text-align: center; font-weight: 800; }
@media (max-width: 860px) { .private-toolbar, .filters-form { grid-template-columns: 1fr; } .private-header { padding: 14px 16px; align-items: flex-start; flex-direction: column; } .private-nav { width: 100%; justify-content: space-between; } .table-tools, .table-pagination { align-items: stretch; flex-direction: column; } .table-actions { align-items: stretch; flex-direction: column; } .table-count { white-space: normal; } }

.private-nav a[aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }
.private-alert-success { background: #ecfdf5; border-color: #bbf7d0; color: #047857; }
.settings-form { display: grid; gap: 22px; margin-top: 28px; }
.settings-panel { border-radius: 20px; background: #fff; border: 1px solid #dbe5ef; box-shadow: 0 14px 40px rgba(13,23,38,.06); overflow: hidden; }
.settings-panel-header { padding: 22px 24px; border-bottom: 1px solid #e8eef5; }
.settings-panel-header h2 { font-size: 1.25rem; letter-spacing: -.3px; }
.settings-panel-header p { margin-top: 4px; color: #6b7280; }
.settings-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 22px 24px 24px; }
.settings-grid label, .hours-row label { display: grid; gap: 7px; }
.settings-grid span, .hours-row label > span { font-size: .84rem; font-weight: 900; color: #253044; }
.settings-grid input, .hours-row input[type="time"] { width: 100%; min-height: 46px; border: 1px solid #dbe5ef; border-radius: 14px; padding: 0 14px; background: #fbfdff; color: #0d1726; outline: none; }
.settings-grid input:focus, .hours-row input[type="time"]:focus { border-color: #00b8ff; box-shadow: 0 0 0 4px rgba(0,184,255,.12); }
.hours-list { display: grid; }
.hours-row { display: grid; grid-template-columns: minmax(180px, 1fr) 180px 180px; gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid #e8eef5; }
.hours-row:last-child { border-bottom: 0; }
.hours-toggle { display: inline-flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 10px !important; }
.hours-toggle input { width: 18px; height: 18px; accent-color: #00b8ff; }
.hours-toggle span { font-size: .98rem !important; }
.settings-actions { display: flex; justify-content: flex-end; }
.settings-actions button { min-height: 50px; border: 0; border-radius: 14px; padding: 0 22px; background: linear-gradient(135deg, #00b8ff, #47f3c4); color: #04111f; font-weight: 900; cursor: pointer; }
@media (max-width: 980px) { .settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hours-row { grid-template-columns: 1fr 1fr; } .hours-toggle { grid-column: 1 / -1; } }
@media (max-width: 640px) { .settings-grid, .hours-row { grid-template-columns: 1fr; } .settings-actions button { width: 100%; } }

body.private-body { overflow-x: hidden; }
.private-main,
.private-toolbar,
.reservations-panel,
.table-tools,
.table-actions,
.reservations-table-wrap { min-width: 0; }
.reservations-table-wrap { -webkit-overflow-scrolling: touch; }

@media (max-width: 860px) {
  .private-header {
    width: 100%;
    box-sizing: border-box;
    gap: 14px;
    padding: 16px 18px;
  }

  .private-brand {
    width: 100%;
    min-width: 0;
  }

  .private-brand span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .private-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
  }

  .private-nav > span {
    grid-column: 1;
    color: rgba(255,255,255,.78);
    font-size: .86rem;
    line-height: 1.2;
  }

  .private-nav a {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    text-align: center;
    white-space: normal;
  }

  .private-nav a:nth-of-type(1),
  .private-nav a:nth-of-type(2) {
    background: rgba(255,255,255,.08);
    color: #fff;
  }

  .private-nav a[aria-current="page"] {
    background: rgba(255,255,255,.16);
  }

  .private-nav a:last-child {
    grid-column: 2;
    background: transparent;
    border: 1px solid rgba(255,255,255,.22);
    color: #fff;
  }

  .private-main {
    width: min(100% - 28px, 1180px);
    padding-top: 34px;
  }

  .filters-form {
    width: 100%;
  }

  .filters-form button,
  .filters-form a {
    width: 100%;
  }

  .table-tools {
    gap: 18px;
  }

  .table-search,
  .table-length {
    width: 100%;
  }

  .table-actions {
    width: 100%;
  }

  .table-length select {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .private-header {
    padding: 16px;
  }

  .private-main {
    width: calc(100% - 28px);
    padding-bottom: 42px;
  }

  .private-kicker {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .login-panel h1,
  .private-toolbar h1 {
    font-size: 1.8rem;
    letter-spacing: 0;
  }

  .reservations-panel,
  .settings-panel {
    border-radius: 18px;
  }

  .table-tools {
    padding: 16px;
  }

  .reservations-table th,
  .reservations-table td {
    padding: 13px 14px;
  }

  .table-pagination {
    padding: 14px 16px;
  }
}
