@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:   #3B82F6;
  --blue-d: #1D4ED8;
  --blue-l: #EFF6FF;
  --green:  #31C998;
  --green-l:#ECFDF5;
  --yellow: #FACC15;
  --yellow-l:#FEFCE8;
  --red:    #F65C6B;
  --red-l:  #FEF2F2;
  --purple: #8B5CF6;
  --purple-l:#F3F0FF;
  --dark:   #1E1E1E;
  --gray:   #6B7280;
  --gray-l: #F8F8F8;
  --white:  #FFFFFF;
  --border: #E5E7EB;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --font:   'Poppins', sans-serif;
  --nav-h:  64px;
}
html {scroll-behavior: smooth;}
body {
  font-family: var(--font);
  background: var(--gray-l);
  color: var(--dark);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h2 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.page { display: none; }
.page.active { display: block; }
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(59,130,246,0.1);
  height: var(--nav-h);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-icon {
  display: flex; align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  border-radius: 6px;
}
.nav-logo-icon img:last-child {
  width: 52px;
  height: 52px;
}
.nav-logo-divider {
  width: 1px; height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.nav-logo-text { line-height: 1.25; }
.nav-logo-title { font-size: 14px; font-weight: 700; }
.nav-logo-sub { font-size: 11px; color: var(--gray); }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: var(--radius); border: none;
  font-family: var(--font); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; background: transparent; color: var(--dark);
}
.nav-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.nav-btn:hover { background: var(--blue-l); color: var(--blue); }
.nav-btn.active { background: var(--blue); color: var(--white); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 6px;
  color: var(--dark);
}
.hamburger svg { width: 22px; height: 22px; }
.hero {
  background: linear-gradient(135deg, #2563EB 0%, #1e3a8a 100%);
  color: white; padding: 2.5rem 0 2rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.04); pointer-events: none;
}
.hero-title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 4px; }
.hero-sub { font-size: 13px; opacity: 0.8; margin-bottom: 1.5rem; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stat {
  background: rgba(255,255,255,0.15); backdrop-filter: blur(4px);
  border-radius: var(--radius); padding: 10px 16px; min-width: 110px;
}
.hero-stat-num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.hero-stat-label { font-size: 11px; opacity: 0.85; margin-top: 2px; }
.tabs { display: flex; gap: 6px; margin: 1.5rem 0 1rem; flex-wrap: wrap; }
.tab-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius); border: 1.5px solid var(--border);
  font-family: var(--font); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; background: var(--white); color: var(--gray);
}
.tab-btn svg { width: 15px; height: 15px; }
.tab-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.tab-btn:not(.active):hover { border-color: var(--blue); color: var(--blue); }
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 16px; }
.calendar-grid-layout {
  display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start;
}
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-nav-btn {
  background: none; border: none; cursor: pointer; color: var(--blue);
  font-size: 20px; width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cal-nav-btn:hover { background: var(--blue-l); }
.cal-month-label { font-weight: 700; font-size: 15px; }
.cal-days-header { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.cal-day-head { text-align: center; font-size: 11px; font-weight: 700; color: var(--gray); padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-cell {
  border-radius: 8px; padding: 5px 2px; text-align: center;
  font-size: 12px; cursor: pointer; transition: all 0.15s;
  min-height: 38px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  border: 2px solid transparent; position: relative;
}
.cal-cell:hover { background: var(--blue-l); }
.cal-cell.has-booking { background: #EFF6FF; color: #1D4ED8; }
.cal-cell.selected { background: var(--blue); color: white; }
.cal-cell.today { border-color: var(--blue); font-weight: 700; }
.cal-cell.today.selected { border-color: transparent; }
.cal-dots { display: flex; gap: 2px; justify-content: center; flex-wrap: wrap; }
.cal-dot { width: 5px; height: 5px; border-radius: 50%; }
.cal-dot.aula  { background: var(--blue); }
.cal-dot.rapat { background: var(--green); }
.cal-dot.tlc   { background: var(--yellow); }
.cal-cell.selected .cal-dot { background: rgba(255,255,255,0.8); }
.cal-legend { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.cal-legend-item { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--gray); }
.cal-legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.booking-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px;
  border-left: 4px solid var(--blue); transition: box-shadow 0.2s;
}
.booking-item.aula  { border-left-color: var(--blue); }
.booking-item.rapat { border-left-color: var(--green); }
.booking-item.tlc   { border-left-color: var(--yellow); }
.booking-item:hover { box-shadow: var(--shadow); }
.booking-item-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.booking-item-title { font-weight: 600; font-size: 13px; }
.booking-item-meta  { font-size: 12px; color: var(--gray); margin-top: 3px; }
.booking-item-time  { font-size: 11px; color: #9CA3AF; margin-top: 2px; }
.booking-reject-msg { margin-top: 8px; font-size: 12px; background: var(--red-l); padding: 6px 10px; border-radius: 6px; color: #991B1B; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-pending  { background: #FEF9C3; color: #92400E; }
.badge-approved { background: #D1FAE5; color: #065F46; }
.badge-rejected { background: #FEE2E2; color: #991B1B; }
.badge-edited   { background: var(--purple-l); color: var(--purple); display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 20px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: var(--font); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-primary  { background: var(--blue); color: white; border-color: var(--blue); }
.btn-primary:hover  { background: var(--blue-d); border-color: var(--blue-d); color: white; }
.btn-outline  { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover  { background: var(--blue-l); }
.btn-green    { background: var(--green); color: white; border-color: var(--green); }
.btn-green:hover    { opacity: 0.88; }
.btn-red      { background: var(--red); color: white; border-color: var(--red); }
.btn-red:hover      { opacity: 0.88; }
.btn-gray     { background: transparent; color: var(--gray); border-color: var(--border); }
.btn-gray:hover     { border-color: var(--gray); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--gray); margin-bottom: 5px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 9px 12px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-family: var(--font); font-size: 13px;
  outline: none; background: #FAFAFA; color: var(--dark); transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue); background: white;
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { color: var(--red); font-size: 12px; margin-top: 4px; }
.file-upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s;
  background: #FAFAFA;
}
.file-upload-area:hover, .file-upload-area.dragover { border-color: var(--blue); background: var(--blue-l); }
.file-upload-area svg { width: 28px; height: 28px; color: var(--gray); margin-bottom: 8px; }
.file-upload-area p { font-size: 12px; color: var(--gray); }
.file-upload-area input[type="file"] { display: none; }
.file-name { font-size: 12px; color: var(--blue); margin-top: 6px; font-weight: 500; }
.alert { padding: 10px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 14px; display: flex; align-items: flex-start; gap: 8px; }
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.alert-error   { background: var(--red-l);   color: #991B1B; }
.alert-success { background: var(--green-l); color: #065F46; }
.alert-info    { background: var(--blue-l);  color: #1D4ED8; }
.alert-warning { background: var(--yellow-l); color: #92400E; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 700px; }
.data-table thead th {
  background: var(--blue); color: white; padding: 11px 13px; text-align: left;
  font-weight: 600; font-size: 12px;
}
.data-table thead th:first-child { border-radius: 8px 0 0 0; }
.data-table thead th:last-child  { border-radius: 0 8px 0 0; }
.data-table tbody tr { border-bottom: 1px solid #F3F4F6; transition: background 0.15s; }
.data-table tbody tr:hover { background: #F9FAFB; }
.data-table tbody tr.row-edited { background: var(--purple-l); }
.data-table tbody tr.row-edited:hover { background: #ECE6FD; }
.edit-history-note {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--purple-l); color: var(--purple);
  border-radius: var(--radius); padding: 8px 12px;
  font-size: 12px; font-weight: 500; margin-bottom: 14px;
}
.data-table td { padding: 10px 13px; vertical-align: middle; }
.data-table td:first-child { color: var(--gray); font-size: 12px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filter-bar .form-select, .filter-bar .form-input { width: auto; min-width: 150px; padding: 7px 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); padding: 1rem 1.2rem; border-top: 4px solid var(--blue); }
.stat-card.green { border-top-color: var(--green); }
.stat-card.yellow { border-top-color: var(--yellow); }
.stat-card.red   { border-top-color: var(--red); }
.stat-card.purple { border-top-color: var(--purple); }
.stat-card-label { font-size: 11px; color: var(--gray); font-weight: 500; }
.stat-card-num   { font-size: 1.8rem; font-weight: 700; margin: 3px 0; }
.stat-card.blue  .stat-card-num { color: var(--blue); }
.stat-card.green .stat-card-num { color: var(--green); }
.stat-card.yellow .stat-card-num { color: #CA8A04; }
.stat-card.red   .stat-card-num { color: var(--red); }
.stat-card.purple .stat-card-num { color: var(--purple); }
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.room-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.room-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.room-card-img { height: 130px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.room-card-img.aula  { background: var(--blue-l); }
.room-card-img.rapat { background: var(--green-l); }
.room-card-img.tlc   { background: var(--yellow-l); }
.room-card-img img   { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-card-body { padding: 1rem 1.25rem; }
.room-card-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.room-card-cap   { font-size: 12px; color: var(--gray); }
.room-card-fac   { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.room-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.room-mini-stat  { background: var(--gray-l); border-radius: 8px; padding: 8px 10px; }
.room-mini-stat-label { font-size: 10px; color: var(--gray); }
.room-mini-stat-num   { font-size: 1.3rem; font-weight: 700; }
.room-mini-stat.blue  .room-mini-stat-num { color: var(--blue); }
.room-mini-stat.green .room-mini-stat-num { color: var(--green); }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 1.5rem; }
.step-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.25rem; border: 2px solid transparent; position: relative; }
.step-card.blue   { border-color: rgba(59,130,246,0.3); border-top: 4px solid var(--blue); }
.step-card.green  { border-color: rgba(49,201,152,0.3); border-top: 4px solid var(--green); }
.step-card.yellow { border-color: rgba(250,204,21,0.3);  border-top: 4px solid var(--yellow); }
.step-card.red    { border-color: rgba(246,92,107,0.3);  border-top: 4px solid var(--red); }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: white; margin-bottom: 10px;
}
.step-num.blue   { background: var(--blue); }
.step-num.green  { background: var(--green); }
.step-num.yellow { background: var(--yellow); color: var(--dark); }
.step-num.red    { background: var(--red); }
.step-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.step-desc  { font-size: 12px; color: var(--gray); }
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 300;
  align-items: center; justify-content: center; padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem;
  max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-lg); animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(-16px) scale(0.97); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.modal-title { font-weight: 700; font-size: 17px; }
.modal-close {
  background: none; border: none; cursor: pointer; color: var(--gray);
  width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--gray-l); }
.modal-close svg { width: 18px; height: 18px; }
.modal-detail-row { display: flex; font-size: 13px; padding: 7px 0; border-bottom: 1px solid #F3F4F6; }
.modal-detail-label { color: var(--gray); width: 140px; flex-shrink: 0; }
.modal-detail-val   { font-weight: 500; }
.chat-wrapper { display: flex; flex-direction: column; height: 460px; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { display: flex; flex-direction: column; max-width: 75%; }
.chat-msg.user  { align-self: flex-end; align-items: flex-end; }
.chat-msg.admin { align-self: flex-start; align-items: flex-start; }
.chat-bubble {
  padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.5;
  word-break: break-word;
}
.chat-msg.user  .chat-bubble { background: var(--blue); color: white; border-bottom-right-radius: 4px; }
.chat-msg.admin .chat-bubble { background: #F3F4F6; color: var(--dark); border-bottom-left-radius: 4px; }
.chat-time { font-size: 10px; color: var(--gray); margin-top: 2px; }
.chat-sender-label { font-size: 11px; font-weight: 600; color: var(--gray); margin-bottom: 2px; }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chat-input-row .form-input { flex: 1; }
.chat-send-btn {
  background: var(--blue); color: white; border: none; border-radius: var(--radius);
  width: 40px; height: 40px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s;
}
.chat-send-btn:hover { background: var(--blue-d); }
.chat-send-btn svg { width: 17px; height: 17px; }
.chat-empty { text-align: center; color: var(--gray); padding: 2rem; font-size: 13px; }
.chat-empty svg { width: 36px; height: 36px; margin: 0 auto 8px; display: block; }
.chat-locked { text-align: center; padding: 2rem; color: var(--gray); font-size: 13px; }
.chat-locked svg { width: 36px; height: 36px; margin: 0 auto 8px; display: block; color: var(--gray); }
.pin-screen { max-width: 360px; margin: 4rem auto; }
.pin-screen .card { text-align: center; padding: 2rem; }
.pin-icon { margin: 0 auto 1rem; }
.pin-icon svg { width: 52px; height: 52px; color: var(--blue); }
.booking-status-card { border-left: 4px solid var(--blue); }
.booking-status-card.aula  { border-left-color: var(--blue); }
.booking-status-card.rapat { border-left-color: var(--green); }
.booking-status-card.tlc   { border-left-color: var(--yellow); }
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 500; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: var(--dark); color: white; padding: 12px 18px; border-radius: var(--radius);
  font-size: 13px; min-width: 260px; max-width: 350px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; animation: toastIn 0.3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.toast.success { background: #065F46; }
.toast.error   { background: #991B1B; }
.toast.info    { background: var(--blue-d); }
.toast svg { width: 16px; height: 16px; flex-shrink: 0; }
.footer {
  background: var(--dark); color: #9CA3AF; padding: 2rem 0;
  margin-top: 3rem; font-size: 13px;
}
.footer-inner { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer-title { color: white; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.footer-links { display: flex; gap: 16px; }
.footer-link { color: #9CA3AF; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.footer-link:hover { color: white; text-decoration: none; }
.footer-link svg { width: 16px; height: 16px; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.section-title { font-size: 18px; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 8px; }
.section-title svg { width: 20px; height: 20px; color: var(--blue); }
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--gray); }
.empty-state svg { width: 48px; height: 48px; margin: 0 auto 12px; display: block; opacity: 0.4; }
.empty-state p { font-size: 14px; }
.text-muted { color: var(--gray); }
.text-sm    { font-size: 12px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.booking-page-layout {
  display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: start;
  margin-top: 24px;
}
.booking-form-card .card { padding: 1.5rem; }
.admin-chat-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 8px; cursor: pointer; transition: all 0.15s;
}
.admin-chat-item:hover { border-color: var(--blue); background: var(--blue-l); }
.admin-chat-info { flex: 1; }
.admin-chat-title { font-weight: 600; font-size: 13px; }
.admin-chat-sub   { font-size: 12px; color: var(--gray); margin-top: 2px; }
.msg-count-badge { background: var(--red); color: white; border-radius: 50%; width: 22px; height: 22px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 900px) {
  .calendar-grid-layout { grid-template-columns: 1fr; }
  .booking-page-layout  { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: white; padding: 12px; border-bottom: 1px solid var(--border);
    flex-direction: column; box-shadow: 0 4px 16px rgba(0,0,0,0.08); z-index: 99; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero { padding: 1.75rem 0 1.5rem; }
  .hero-stats { gap: 8px; }
  .hero-stat { min-width: 100px; padding: 8px 12px; }
  .tabs { gap: 4px; }
  .tab-btn { padding: 7px 12px; font-size: 12px; }
  .modal-box { padding: 1.25rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
}
@media (max-width: 480px) {
  .nav-logo-icon img { width: 28px; height: 28px; }
  .nav-logo-icon img:last-child { width: 42px; height: 42px; }
  .nav-logo-title { font-size: 13px; }
  .nav-logo-sub { font-size: 10px; }
  .container { padding: 0 1rem; }
  .card { padding: 1rem; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { }
  .hero-stat { flex: 1 1 calc(50% - 8px); }
  .data-table { font-size: 12px; }
  .data-table td, .data-table th { padding: 8px 10px; }
  .chat-msg { max-width: 88%; }
}
.admin-filter-btn {
  background: transparent; color: var(--dark);
  border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 6px 14px;
  font-family: var(--font); font-size: 12px; font-weight: 500;
  cursor: pointer; display: inline-flex; align-items: center; gap: 5px;
  transition: all 0.2s;
}
.admin-filter-btn:hover { border-color: var(--blue); color: var(--blue); }
.admin-filter-btn.active {
  background: var(--blue); color: white; border-color: var(--blue);
}
#booking-room-info { min-height: 60px; }
#day-panel { display: none; }
.page { animation: pageIn 0.18s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#admin-chat-messages .chat-msg.admin .chat-bubble { background: var(--blue); color: white; border-bottom-right-radius: 4px; border-bottom-left-radius: 12px; }
#admin-chat-messages .chat-msg.user  .chat-bubble { background: #F3F4F6; color: var(--dark); border-bottom-left-radius: 4px; border-bottom-right-radius: 12px; }
#admin-chat-messages .chat-msg.admin { align-self: flex-end; align-items: flex-end; }
#admin-chat-messages .chat-msg.user  { align-self: flex-start; align-items: flex-start; }
@media (max-width: 720px) {
  .nav-links .nav-btn { width: 100%; justify-content: flex-start; padding: 10px 14px; border-radius: 8px; }
  .nav-links .nav-btn.active { background: var(--blue-l); color: var(--blue); }
}
@media (min-width: 900px) {
  .booking-page-layout > div:last-child { position: sticky; top: calc(var(--nav-h) + 16px); }
}
.carousel-wrap {
  position: relative; overflow: hidden;
  height: 200px; background: #e5e7eb; border-radius: 0;
}
.carousel-track {
  display: flex; height: 100%;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.carousel-slide {
  min-width: 100%; height: 100%; flex-shrink: 0;
}
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  user-select: none; -webkit-user-drag: none;
}
.carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 2;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.5); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active { background: #fff; transform: scale(1.25); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.35); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; z-index: 2;
}
.carousel-arrow svg { width: 14px; height: 14px; }
.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }
.carousel-wrap:hover .carousel-arrow { opacity: 1; }
.room-card-img-placeholder {
  height: 200px; display: flex; align-items: center; justify-content: center;
}
.room-card-img-placeholder.aula  { background: var(--blue-l); }
.room-card-img-placeholder.rapat { background: var(--green-l); }
.room-card-img-placeholder.tlc   { background: var(--yellow-l); }
.room-card-img-placeholder svg   { width: 56px; height: 56px; opacity: 0.45; }
.photo-manager-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px;
  margin-top: 12px;
}
.photo-thumb {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3; background: #f0f0f0; cursor: grab;
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb-del {
  position: absolute; top: 4px; right: 4px;
  background: rgba(246,92,107,0.92); color: white; border: none;
  border-radius: 50%; width: 24px; height: 24px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s;
}
.photo-thumb:hover .photo-thumb-del { opacity: 1; }
.photo-thumb-del svg { width: 12px; height: 12px; }
.photo-thumb-num {
  position: absolute; bottom: 4px; left: 4px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 20px;
}
.photo-upload-drop {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s;
  background: #fafafa; margin-top: 10px;
}
.photo-upload-drop:hover, .photo-upload-drop.dragover {
  border-color: var(--blue); background: var(--blue-l);
}
.photo-upload-drop svg { width: 28px; height: 28px; color: var(--gray); margin: 0 auto 6px; display: block; }
.photo-upload-drop p { font-size: 12px; color: var(--gray); }
.room-photo-section { margin-bottom: 24px; }
.room-photo-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--border);
}
.room-photo-section-title {
  font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px;
}
.room-color-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }