/* ==================== GLOBAL STYLES & RESET ==================== */
:root {
  --primary: #008094;
  --primary-dark: #005F6E;
  --accent: #E2583E;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #F43F5E;
  --purple: #8B5CF6;
  
  --bg-body: #F4F7FC;
  --bg-card: #FFFFFF;
  --bg-sidebar: #0B192C;
  --bg-input: #F8FAFC;
  
  --text-main: #1E293B;
  --text-sub: #64748B;
  --text-white: #FFFFFF;
  
  --border-color: #E2E8F0;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05), 0 0px 15px rgba(30, 156, 225, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.hidden {
  display: none !important;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 10px rgba(30, 156, 225, 0.2);
}

.btn-secondary {
  background-color: #E2E8F0;
  color: #334155;
}
.btn-secondary:hover {
  background-color: #CBD5E1;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: rgba(30, 156, 225, 0.05);
}

.btn-danger {
  background-color: var(--danger);
  color: var(--text-white);
}
.btn-danger:hover {
  background-color: #E11D48;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background-color: transparent;
  color: var(--text-sub);
}
.btn-icon:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: var(--text-main);
}
.btn-icon.edit-icon:hover {
  color: var(--primary);
  background-color: rgba(30, 156, 225, 0.08);
}
.btn-icon.delete-icon:hover {
  color: var(--danger);
  background-color: rgba(244, 63, 94, 0.08);
}

/* ==================== ALERTS ==================== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-danger {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* ==================== AUTH CONTAINER (LOGIN) ==================== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, rgba(30, 156, 225, 0.1), transparent),
              radial-gradient(circle at bottom left, rgba(255, 107, 53, 0.05), transparent),
              #0F172A;
  padding: 20px;
}

.auth-card {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background-color: rgba(30, 156, 225, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
}

.auth-logo span {
  font-size: 32px;
}

.auth-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: #0F172A;
}

.auth-header p {
  color: var(--text-sub);
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 12.5px;
  margin-bottom: 8px;
  color: #475569;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-sub);
  font-size: 20px;
}

.input-wrapper input, .form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-input);
  color: var(--text-main);
  transition: var(--transition);
}

.input-wrapper input {
  padding-left: 44px;
}

.input-wrapper input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--text-white);
  box-shadow: 0 0 0 3px rgba(30, 156, 225, 0.15);
}

/* ==================== MAIN DASHBOARD CONTAINER ==================== */
.dashboard-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  background-color: var(--bg-sidebar);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-icon {
  font-size: 32px;
  color: var(--primary);
}

.brand-text h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand-text span {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 600;
  display: block;
  margin-top: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: 24px 12px;
}

.sidebar-nav ul li {
  margin-bottom: 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: var(--transition);
}

.nav-item span:first-child {
  font-size: 20px;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-white);
  background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  background-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 156, 225, 0.25);
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-logout {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}
.btn-logout:hover {
  background-color: var(--danger);
  color: var(--text-white);
  border-color: var(--danger);
}

/* Main Content Area */
.main-content {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 100vh;
}

.navbar {
  background-color: var(--bg-card);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar h1 {
  font-size: 18px;
  font-weight: 800;
  color: #0F172A;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: var(--purple);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(139, 92, 246, 0.2);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 700;
  font-size: 13.5px;
}

.user-role {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
}

.view-container {
  padding: 32px;
  flex: 1;
}

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.action-bar h2 {
  font-size: 17px;
  font-weight: 800;
}

/* ==================== PANELS & CARDS ==================== */
.panel {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  overflow: hidden;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}

.panel-header h2 {
  font-size: 15px;
  font-weight: 700;
}

.view-all-link {
  font-size: 12.5px;
  color: var(--primary);
  font-weight: 600;
}
.view-all-link:hover {
  text-decoration: underline;
}

.panel-body {
  padding: 24px;
}

/* Overview Layout Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon span {
  font-size: 24px;
}

.stat-hotels { background-color: rgba(30, 156, 225, 0.1); color: var(--primary); }
.stat-managers { background-color: rgba(139, 92, 246, 0.1); color: var(--purple); }
.stat-spots { background-color: rgba(6, 182, 212, 0.1); color: #06B6D4; }
.stat-complaints { background-color: rgba(255, 107, 53, 0.1); color: var(--accent); }

.stat-data h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.stat-data p {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
  margin-top: 2px;
}

.overview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ==================== TABLES ==================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th, .table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.table th {
  background-color: #F8FAFC;
  font-weight: 700;
  color: var(--text-sub);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.table tbody tr:hover {
  background-color: #F8FAFC;
}

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

.th-actions {
  width: 100px;
}

/* Table Item Elements */
.cell-title {
  font-weight: 700;
  color: #0F172A;
  font-size: 14px;
}

.cell-sub {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 3px;
  display: block;
}

.cell-image {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.cell-image:hover {
  transform: scale(1.05);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.tag {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 12px;
  background-color: #EDF2F7;
  color: #4A5568;
  font-weight: 600;
}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pending { background-color: #FFF3CD; color: #856404; }
.badge-investigation { background-color: #CCE5FF; color: #004085; }
.badge-resolved { background-color: #D4EDDA; color: #155724; }

/* Sub Tabs style (for Reviews/Complaints toggle) */
.subtabs-bar {
  display: flex;
  gap: 12px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 20px;
  padding-bottom: 2px;
}

.subtab-btn {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-sub);
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.subtab-btn:hover {
  color: var(--primary);
}

.subtab-btn.active {
  color: var(--primary);
}

.subtab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* ==================== LISTS AND BLOCKS ==================== */
.mini-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px;
  background-color: #F8FAFC;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.mini-info h4 {
  font-weight: 700;
  font-size: 13.5px;
}

.mini-info p {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 3px;
}

.mini-meta {
  text-align: right;
}

.mini-date {
  font-size: 11px;
  color: var(--text-sub);
}

.loading-text {
  text-align: center;
  color: var(--text-sub);
  padding: 20px 0;
  font-style: italic;
}

/* ==================== MODALS ==================== */
.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 1;
  transition: var(--transition);
}

.modal-card {
  background-color: var(--bg-card);
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  animation: zoomIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-card form {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.modal-card-small {
  max-width: 480px;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 800;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: var(--transition);
}
.close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
}

.scrollable-body {
  flex: 1;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Form layouts in Modals */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.image-upload-wrapper {
  display: flex;
  gap: 10px;
}

.file-input {
  max-width: 200px;
  padding: 8px !important;
}

.image-preview {
  margin-top: 10px;
  width: 120px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Room Section styling */
.room-section {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  background-color: #F8FAFC;
  margin-top: 20px;
}

.room-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.room-section-header h3 {
  font-size: 13.5px;
  font-weight: 700;
}

.room-row {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 36px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

/* Detail displays in Reply modals */
.review-details, .complaint-details {
  background-color: #F8FAFC;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  font-size: 13px;
}

.review-details p, .complaint-details p {
  margin-bottom: 6px;
}

.review-details p:last-child, .complaint-details p:last-child {
  margin-bottom: 0;
}

.review-comment-block, .complaint-desc-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dotted var(--border-color);
  font-style: italic;
  color: #475569;
}

/* Full Preview Modal */
.preview-modal {
  background-color: rgba(0, 0, 0, 0.9);
}

.preview-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
}

.preview-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.preview-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-white) !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.text-success { color: var(--success); }
.text-purple { color: var(--purple); }
.text-amber { color: var(--warning); }
.star-rating { color: var(--warning); letter-spacing: 2px; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .dashboard-wrapper {
    grid-template-columns: 80px 1fr;
  }
  .sidebar-brand .brand-text, .sidebar-nav ul li a span:last-child, .btn-logout span:last-child {
    display: none;
  }
  .sidebar-brand, .sidebar-nav {
    justify-content: center;
    padding: 16px;
  }
  .nav-item {
    justify-content: center;
    padding: 12px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .overview-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }
  .modal-card {
    max-height: 95vh;
    border-radius: var(--radius-sm);
  }
  .modal-body {
    padding: 16px;
  }
  .modal-header, .modal-footer {
    padding: 16px;
  }
}

/* ==================== APP PREVIEW MODULE ==================== */
.preview-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

/* Left Panel Controls */
.preview-controls-panel {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.preview-controls-panel h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.control-help {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 24px;
  line-height: 1.4;
}

.control-group {
  margin-bottom: 20px;
}

.control-group label {
  display: block;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.screen-selector-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.screen-sel-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-main);
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.screen-sel-btn .material-icons {
  font-size: 18px;
  color: var(--text-sub);
  transition: var(--transition);
}

.screen-sel-btn:hover {
  border-color: var(--primary);
  background-color: #F0F9FF;
}

.screen-sel-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  font-weight: 600;
}

.screen-sel-btn.active .material-icons {
  color: var(--text-white);
}

.lang-selector-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.lang-sel-btn {
  background: none;
  border: none;
  border-radius: 6px;
  padding: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
}

.lang-sel-btn.active {
  background-color: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Smartphone Mockup Container */
.preview-phone-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.smartphone-frame {
  width: 320px;
  height: 640px;
  background-color: #0F172A; /* Phone Bezel */
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 4px #334155;
  position: relative;
  border: 4px solid #1E293B;
  display: flex;
  flex-direction: column;
}

/* Speaker & Camera Notch */
.smartphone-notch {
  width: 140px;
  height: 18px;
  background-color: #0f172a;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 20;
}

.smartphone-notch::before {
  content: '';
  width: 40px;
  height: 4px;
  background-color: #334155;
  border-radius: 2px;
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
}

.smartphone-screen {
  flex: 1;
  background-color: #F8FAFC;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

/* Mock App Status Bar */
.mock-status-bar {
  height: 32px;
  background-color: var(--primary);
  color: var(--text-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px 0 24px;
  font-size: 11px;
  font-weight: 600;
  z-index: 10;
}

.mock-status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mock-status-icon {
  font-size: 11px !important;
}

/* Mock App Header */
.mock-app-header {
  height: 52px;
  background-color: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  z-index: 10;
}

.mock-header-title {
  font-weight: 700;
  font-size: 14.5px;
}

.mock-header-btn {
  background: none;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-header-btn .material-icons {
  font-size: 20px;
}

/* Scrollable Content */
.mock-app-content {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background-color: #F1F5F9;
}

.mock-app-content::-webkit-scrollbar {
  width: 4px;
}
.mock-app-content::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 2px;
}

/* Bottom Navigation Bar */
.mock-bottom-nav {
  height: 56px;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
  padding-bottom: 4px;
}

.mock-nav-item {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  cursor: pointer;
  flex: 1;
}

.mock-nav-item .material-icons {
  font-size: 20px;
  margin-bottom: 2px;
  transition: var(--transition);
}

.mock-nav-label {
  font-size: 9px;
  font-weight: 600;
}

.mock-nav-item.active {
  color: var(--primary);
}

/* ==================== MOCK APP COMPONENTS ==================== */

/* Mock Banner Slider */
.mock-slider {
  background-color: #1E293B;
  border-radius: 12px;
  height: 125px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.mock-slider-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.mock-slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 10px;
}

.mock-slider-title {
  color: var(--text-white);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.2;
}

.mock-slider-dots {
  position: absolute;
  bottom: 8px;
  right: 10px;
  display: flex;
  gap: 4px;
}

.mock-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.4);
}

.mock-dot.active {
  background-color: var(--primary);
  width: 10px;
  border-radius: 3px;
}

/* Mock Grid Menus */
.mock-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mock-quick-card {
  background-color: var(--bg-card);
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid rgba(0,0,0,0.02);
}

.mock-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.icon-blue { background-color: #E0F2FE; color: #0284C7; }
.icon-orange { background-color: #FFEDD5; color: #EA580C; }
.icon-green { background-color: #DCFCE7; color: #16A34A; }
.icon-purple { background-color: #F3E8FF; color: #7E22CE; }
.icon-amber { background-color: #FEF3C7; color: #D97706; }
.icon-teal { background-color: #CCFBF1; color: #0D9488; }

.mock-quick-card span:last-child {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

/* Mock Sections */
.mock-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 4px;
}

.mock-section-header h4 {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mock-section-header span {
  font-size: 9px;
  font-weight: 600;
  color: var(--primary);
}

/* Mock Popular Spots Horizontal List */
.mock-spots-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 16px;
}

.mock-spots-scroll::-webkit-scrollbar {
  display: none;
}

.mock-spot-card {
  flex: 0 0 115px;
  background-color: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.mock-spot-img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.mock-spot-name {
  padding: 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mock Hotel Listing (Vertical Cards) */
.mock-hotels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-hotel-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  border: 1px solid rgba(0,0,0,0.02);
}

.mock-hotel-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.mock-hotel-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}

.mock-hotel-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-hotel-sub {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: var(--text-sub);
  margin-top: 2px;
}

.mock-hotel-sub .material-icons {
  font-size: 9px;
}

.mock-hotel-tags {
  display: flex;
  gap: 3px;
  margin-top: 4px;
}

.mock-hotel-tag {
  font-size: 7px;
  background-color: #E2E8F0;
  color: #475569;
  padding: 1px 4px;
  border-radius: 4px;
  font-weight: 600;
}

.mock-hotel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.mock-hotel-price {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
}

.mock-hotel-btn {
  background-color: var(--primary);
  color: var(--text-white);
  border: none;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 700;
  padding: 4px 8px;
  cursor: pointer;
}

/* Empty State */
.mock-empty-state {
  text-align: center;
  padding: 30px 10px;
  color: var(--text-sub);
}

.mock-empty-state .material-icons {
  font-size: 32px;
  margin-bottom: 6px;
  opacity: 0.5;
}

.mock-empty-state p {
  font-size: 10.5px;
}

/* Mock Service Cards Grid (Bikes / Vans) */
.mock-services-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-service-card {
  background-color: var(--bg-card);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  gap: 10px;
}

.mock-service-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border-color);
  flex-shrink: 0;
}

.mock-service-details {
  flex: 1;
  min-width: 0;
}

.mock-service-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-service-desc {
  font-size: 8.5px;
  color: var(--text-sub);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-service-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--warning);
  margin-top: 2px;
}

.mock-service-rating .material-icons {
  font-size: 9.5px;
}

.mock-service-rating span:last-child {
  color: var(--text-sub);
  font-weight: 500;
  font-size: 7.5px;
}

.mock-service-call {
  background-color: var(--success);
  color: var(--text-white);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mock-service-call .material-icons {
  font-size: 15px;
}

/* Mock Restaurant Cards */
.mock-restaurant-card {
  background-color: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.02);
}

.mock-restaurant-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.mock-restaurant-body {
  padding: 10px;
}

.mock-restaurant-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-main);
}

.mock-restaurant-addr {
  font-size: 8.5px;
  color: var(--text-sub);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.mock-restaurant-addr .material-icons {
  font-size: 10px;
}

.mock-restaurant-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

.mock-restaurant-badge {
  font-size: 7.5px;
  background-color: #F1F5F9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-sub);
  font-weight: 600;
}

.mock-restaurant-menu-btn {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  font-size: 8.5px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  transition: var(--transition);
}

.mock-restaurant-menu-btn:hover {
  background-color: var(--primary);
  color: var(--text-white);
}

/* Responsive adjust for App Preview */
@media (max-width: 992px) {
  .preview-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==================== GALLERY STYLES ==================== */
.gallery-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  min-height: 30px;
}

.gallery-upload-area {
  margin-bottom: 6px;
}

.gallery-upload-area .image-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-input);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery-upload-area .image-upload-wrapper:hover {
  border-color: var(--primary);
}

/* ==================== MOBILE NAVIGATION (PWA) STYLES ==================== */
.mobile-bottom-nav {
  display: none;
}
.mobile-more-overlay {
  display: none;
}

@media (max-width: 768px) {
  /* Hide standard sidebar and update layout columns */
  .dashboard-wrapper {
    grid-template-columns: 1fr !important;
  }
  
  .sidebar {
    display: none !important;
  }
  
  .main-content {
    padding-bottom: 80px !important;
  }

  /* Make header stack nicely */
  .navbar {
    padding: 12px 16px !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .navbar-right {
    width: 100%;
    justify-content: space-between;
  }

  /* Mobile bottom bar fixed to bottom */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg-sidebar);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    background: none;
    padding: 6px 0;
    flex: 1;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-nav-item .material-icons {
    font-size: 20px;
  }

  .mobile-nav-item.active, .mobile-nav-item:active {
    color: var(--text-white) !important;
    background-color: rgba(255,255,255,0.05);
  }
  
  .mobile-nav-item.active .material-icons {
    color: var(--primary);
  }

  /* More Menu Slide-Up Bottom Sheet Overlay */
  .mobile-more-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 10000;
    justify-content: flex-end;
    flex-direction: column;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
  }

  .mobile-more-sheet {
    background: var(--bg-card);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 20px 16px 30px 16px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .mobile-more-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
  }

  .mobile-more-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
  }

  .btn-close-sheet {
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-sub);
  }

  /* Grid Layout inside sheet */
  .mobile-more-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
  }

  .mobile-grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px 4px;
    border-radius: 10px;
    transition: var(--transition);
  }

  .mobile-grid-item:active {
    background-color: #F8FAFC;
  }

  .mobile-grid-item span:last-child {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.2;
  }

  .grid-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }

  .grid-icon span {
    font-size: 20px;
  }

  /* Theme category colors for icons */
  .bg-blue { background: #3B82F6; }
  .bg-purple { background: #8B5CF6; }
  .bg-teal { background: #14B8A6; }
  .bg-amber { background: #F59E0B; }
  .bg-green { background: #10B981; }
  .bg-indigo { background: #6366F1; }
  .bg-rose { background: #F43F5E; }
  .bg-orange { background: #F97316; }
  .bg-cyan { background: #06B6D4; }
  .bg-red { background: #EF4444; }

  /* Adjust grid column count on very small devices */
  @media (max-width: 380px) {
    .mobile-more-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  /* Form and Modal Responsive fixes */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .modal-card {
    max-height: 94vh !important;
    width: 95% !important;
    margin: 10px auto !important;
  }

  .modal-body {
    padding: 16px 20px !important;
  }

  .modal-footer {
    padding: 14px 20px !important;
  }

  .image-upload-wrapper {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .file-input {
    max-width: 100% !important;
  }

  /* Table prevention from squishing (Swipe layout) */
  .table {
    min-width: 650px !important;
  }

  /* Stats grid responsive */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .overview-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .view-container {
    padding: 16px !important;
  }

  .action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }
}




/* Key Settings Icon Style */
.settings-icon {
  background-color: #f0f9ff !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
  transition: all 0.2s ease;
}
.settings-icon:hover {
  background-color: #e0f2fe !important;
  color: #0369a1 !important;
  transform: translateY(-1px);
}
