*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0B1D3E; --blue: #1A56DB; --orange: #E85D26; --white: #FFFFFF;
  --gray-50: #F8F9FB; --gray-200: #E2E6ED; --gray-400: #9AA3B0;
  --gray-600: #5A6478; --gray-800: #1E2533; --green: #059669; --red: #DC2626;
  --font: 'Inter', sans-serif; --font-d: 'Manrope', sans-serif; --t: .2s ease;
}
body { font-family: var(--font); color: var(--gray-800); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

.dash-wrapper { display: flex; min-height: 100vh; }
.dash-sidebar { width: 220px; background: var(--navy); color: white; display: flex; flex-direction: column; padding: 24px 0; flex-shrink: 0; }
.dash-logo { padding: 0 20px 24px; display: block; }
.dash-logo img { height: 32px; filter: brightness(0) invert(1); }
.dash-nav { display: flex; flex-direction: column; flex: 1; }
.dash-tab { text-align: left; padding: 12px 20px; color: rgba(255,255,255,.65); font-size: .875rem; font-weight: 500; transition: background var(--t), color var(--t); }
.dash-tab:hover { background: rgba(255,255,255,.08); color: white; }
.dash-tab.active { background: rgba(26,86,219,.25); color: white; font-weight: 700; }
.dash-messages-link { padding: 12px 20px; color: rgba(255,255,255,.65); font-size: .875rem; border-top: 1px solid rgba(255,255,255,.1); }
.dash-messages-link:hover { color: white; }

.dash-main { flex: 1; padding: 32px 40px; background: var(--gray-50); overflow-y: auto; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash-panel h1 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; }
.sub-heading { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }

.btn-primary { background: var(--blue); color: white; font-size: .85rem; font-weight: 700; padding: 10px 18px; border-radius: 8px; transition: opacity var(--t); }
.btn-primary:hover { opacity: .88; }
.btn-secondary { background: white; color: var(--blue); border: 1.5px solid var(--blue); font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 8px; }
.btn-danger { background: white; color: var(--red); border: 1.5px solid var(--red); font-size: .8rem; font-weight: 600; padding: 7px 14px; border-radius: 8px; }

.profile-form { background: white; border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px; max-width: 480px; }
.profile-form label { font-size: .8rem; font-weight: 600; color: var(--gray-600); display: block; margin: 14px 0 6px; }
.profile-form label:first-of-type { margin-top: 0; }
.profile-form input {
  width: 100%; border: 1.5px solid var(--gray-200); border-radius: 8px; padding: 9px 12px;
  font-family: var(--font); font-size: .85rem; outline: none;
}
.profile-form input:disabled { background: var(--gray-50); color: var(--gray-400); }
.field-error { font-size: .75rem; color: var(--red); display: block; margin-top: 4px; min-height: 16px; }

.photo-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.photo-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; overflow: hidden; flex-shrink: 0; }
.photo-circle img { width: 100%; height: 100%; object-fit: cover; }

.cards-list { display: flex; flex-direction: column; gap: 12px; }
.mini-card { background: white; border: 1px solid var(--gray-200); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; }
.mini-card-title { font-weight: 700; font-size: .9rem; }
.mini-card-sub { font-size: .8rem; color: var(--gray-400); }

.requests-list { display: flex; flex-direction: column; gap: 12px; }
.request-card { background: white; border: 1px solid var(--gray-200); border-radius: 12px; padding: 16px 20px; }
.request-room { font-weight: 700; font-size: .9rem; }
.request-meta { font-size: .8rem; color: var(--gray-400); margin-top: 2px; }
.status-pill { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-top: 8px; }
.status-pending { background: rgba(251,191,36,.15); color: #92400E; }
.status-accepted, .status-approved { background: rgba(5,150,105,.1); color: var(--green); }
.status-declined, .status-rejected { background: rgba(220,38,38,.1); color: var(--red); }

.empty-msg { color: var(--gray-400); font-size: .875rem; padding: 20px 0; }
/* ── MOBILE RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .dash-wrapper { flex-direction: column; }
  .dash-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 12px 8px;
    gap: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .dash-logo { display: none; }
  .dash-nav { flex-direction: row; flex: none; }
  .dash-tab {
    white-space: nowrap;
    padding: 10px 14px;
    flex-shrink: 0;
  }
  .dash-messages-link {
    white-space: nowrap;
    padding: 10px 14px;
    flex-shrink: 0;
    border-top: none;
    margin-top: 0;
  }
  .dash-main { padding: 20px 16px; }
  .profile-form { max-width: 100%; }
  .photo-row { flex-wrap: wrap; }
}
