/* Premium Design System for mirzachul.uz */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* HSL Color Palette */
  --hue-sand: 38;
  --hue-green: 142;
  
  --primary-sand: hsl(var(--hue-sand), 60%, 55%);      /* Elegant Desert Gold */
  --primary-sand-hover: hsl(var(--hue-sand), 60%, 48%);
  --primary-sand-light: hsl(var(--hue-sand), 60%, 96%);
  --primary-sand-medium: hsl(var(--hue-sand), 40%, 80%);
  
  --primary-green: hsl(var(--hue-green), 65%, 35%);     /* Healing Camel Milk / Oasis Green */
  --primary-green-hover: hsl(var(--hue-green), 65%, 28%);
  --primary-green-light: hsl(var(--hue-green), 60%, 94%);
  
  --camel-dark: #5c3e21;
  --camel-medium: #8e5e30;
  --camel-light: #dfcbbb;
  
  --bg-dark: #12141c;
  --bg-light: #fcfbfa; /* Warm desert sand eggshell */
  --text-dark: #1e2229;
  --text-light: #f8f9fa;
  --text-muted: #64748b;
  
  --border-color: rgba(220, 215, 205, 0.6);
  --card-shadow: 0 10px 30px -10px rgba(142, 94, 48, 0.15);
  --glow-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--camel-dark);
}

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

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(252, 251, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-green);
}

.logo span {
  color: var(--primary-sand);
}

.logo img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition-fast);
  cursor: pointer;
}

nav a:hover {
  color: var(--primary-green);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-sand), var(--camel-medium));
  color: white;
  box-shadow: var(--card-shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-shadow);
  opacity: 0.95;
}

.btn-secondary {
  background-color: var(--primary-sand-light);
  color: var(--camel-dark);
  border: 1px solid var(--primary-sand-medium);
}

.btn-secondary:hover {
  background-color: var(--primary-sand-medium);
}

.btn-green {
  background: linear-gradient(135deg, var(--primary-green), #409a63);
  color: white;
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.btn-login {
  background: rgba(45, 122, 77, 0.1);
  color: var(--primary-green);
  border: 1px solid rgba(45, 122, 77, 0.2);
}

.btn-login:hover {
  background: var(--primary-green);
  color: white;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: radial-gradient(circle at 80% 20%, rgba(229, 193, 88, 0.15), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(45, 122, 77, 0.08), transparent 40%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-sand-light);
  border: 1px solid var(--primary-sand-medium);
  color: var(--camel-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--primary-green), var(--primary-sand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  border: 4px solid white;
  transform: rotate(2deg);
  transition: transform var(--transition-normal);
}

.hero-image-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image-card img {
  width: 100%;
  display: block;
}

.hero-floating-stat {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  animation: float 6s ease-in-out infinite alternate;
}

.hero-floating-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-green);
  display: block;
  line-height: 1;
}

.hero-floating-stat .txt {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Benefits Section */
.benefits {
  padding: 100px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.benefit-card {
  padding: 40px 32px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Hostels Section */
.hostels {
  padding: 100px 0;
  background-color: var(--primary-sand-light);
}

.hostels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.hostel-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(220, 215, 205, 0.4);
  transition: transform var(--transition-normal);
}

.hostel-card:hover {
  transform: translateY(-4px);
}

.hostel-image-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.hostel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hostel-card:hover .hostel-image-wrapper img {
  transform: scale(1.08);
}

.hostel-price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 700;
  color: var(--camel-dark);
  font-size: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
}

.hostel-content {
  padding: 28px;
}

.hostel-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.hostel-rating i {
  color: #ffc107;
  font-size: 14px;
}

.hostel-rating span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hostel-content h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.hostel-tagline {
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hostel-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.amenity-badge {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.hostel-content p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Package Builder SPA Area */
.builder-section {
  padding: 100px 0;
  background-color: white;
}

.builder-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
}

/* Stepper Progress */
.stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.stepper::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: all var(--transition-normal);
}

.stepper-step.active .step-num {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
  box-shadow: 0 0 15px rgba(45, 122, 77, 0.3);
}

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

.step-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

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

/* Builder Step Cards */
.step-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--card-shadow);
  display: none;
}

.step-card.active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

.step-card h3 {
  font-size: 24px;
  margin-bottom: 24px;
}

/* Grid Selections */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.duration-item {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.duration-item:hover {
  border-color: var(--primary-sand-medium);
  background-color: var(--primary-sand-light);
}

.duration-item.selected {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
}

.duration-days {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 8px;
  display: block;
}

.duration-name {
  font-weight: 700;
  font-size: 15px;
  display: block;
  margin-bottom: 4px;
}

.duration-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* Hostel selection within package builder */
.hostel-picker-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hostel-picker-item {
  display: flex;
  gap: 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.hostel-picker-item:hover {
  border-color: var(--primary-sand-medium);
}

.hostel-picker-item.selected {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
}

.hostel-picker-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.hostel-picker-details {
  flex: 1;
}

.hostel-picker-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.hostel-picker-price {
  font-weight: 700;
  color: var(--primary-green);
}

/* Add-ons list */
.addons-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.addon-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.addon-item.selected {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
}

.addon-item.selected .addon-checkbox {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.addon-item.selected .addon-checkbox::after {
  content: '✓';
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.addon-details {
  flex: 1;
}

.addon-title {
  font-weight: 600;
  font-size: 15px;
}

.addon-price {
  font-weight: 700;
  color: var(--camel-dark);
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  background-color: var(--bg-light);
  transition: border var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-green);
  background-color: white;
}

/* Sidebar Booking Summary */
.summary-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  position: sticky;
  top: 100px;
  box-shadow: var(--card-shadow);
}

.summary-card h3 {
  font-size: 22px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}

.summary-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-green);
}

/* Navigation buttons inside builder */
.builder-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

/* Modal Payment Flow */
.payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.payment-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.payment-modal-card {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.payment-modal.active .payment-modal-card {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-muted);
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.pay-tab {
  padding: 12px 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  transition: all var(--transition-fast);
}

.pay-tab img {
  height: 20px;
  object-fit: contain;
  margin-bottom: 4px;
}

.pay-tab.selected {
  border-color: var(--primary-green);
  background-color: var(--primary-green-light);
  color: var(--primary-green);
  box-shadow: 0 0 10px rgba(45, 122, 77, 0.15);
}

.pay-form {
  display: none;
}

.pay-form.active {
  display: block;
  animation: fadeIn var(--transition-fast);
}

.card-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* User & Vendor Cabinets */
.cabinet-section {
  padding: 140px 0 100px;
  display: none;
}

.cabinet-section.active {
  display: block;
}

.cabinet-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

/* Sidebar Menu */
.cabinet-sidebar {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  box-shadow: var(--card-shadow);
}

.profile-meta {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-sand), var(--primary-green));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  margin: 0 auto 16px;
}

.profile-name {
  font-size: 18px;
  margin-bottom: 4px;
}

.profile-role {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cabinet-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cabinet-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.cabinet-menu-item:hover, .cabinet-menu-item.active {
  background-color: var(--primary-green-light);
  color: var(--primary-green);
}

/* Client Dashboard Features */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.schedule-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.schedule-time {
  font-size: 14px;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.schedule-instruction {
  font-size: 13px;
  color: var(--text-muted);
}

/* QR Code Section */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--primary-sand-light);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 2px dashed var(--primary-sand-medium);
  margin-top: 32px;
}

.qr-code {
  background: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin-bottom: 16px;
}

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

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.stat-icon {
  color: var(--primary-sand);
}

.stat-val {
  font-size: 26px;
  font-weight: 800;
  color: var(--camel-dark);
}

/* Financial Dashboard Chart Wrap */
.chart-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--card-shadow);
  margin-bottom: 32px;
}

.chart-header {
  margin-bottom: 20px;
}

/* Expense logger form & list */
.expense-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 32px;
}

/* Master Booking Table */
.data-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

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

.table-wrapper {
  overflow-x: auto;
}

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

th {
  background-color: var(--bg-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  padding: 16px 24px;
  letter-spacing: 0.5px;
}

td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

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

.status-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.confirmed {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--primary-green);
}

.status-badge.completed {
  background-color: rgba(100, 116, 139, 0.1);
  color: var(--text-muted);
}

/* Simulated SMS Notification Popup */
.sms-sim-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 360px;
  width: 100%;
}

.sms-sim-card {
  background: #1c1d22;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: slideInRight var(--transition-normal);
}

.sms-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--primary-sand);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sms-body {
  font-size: 13px;
  line-height: 1.5;
}

.sms-close {
  cursor: pointer;
  font-weight: bold;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(2deg); }
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .hero-grid, .builder-layout, .cabinet-layout, .expense-layout {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stepper {
    flex-wrap: wrap;
    gap: 12px;
  }
  .stepper::before { display: none; }
  .stepper-step { flex: auto; width: 45%; }
}

/* AI Chatbot Widget Styles */
#ai-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.ai-chat-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-green), #409a63);
  color: white;
  border: none;
  border-radius: 100px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(45, 122, 77, 0.3);
  transition: all var(--transition-normal);
}

.ai-chat-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(45, 122, 77, 0.4);
}

.ai-chat-box {
  width: 380px;
  height: 520px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 16px;
  animation: fadeIn var(--transition-normal);
}

.ai-chat-box.active {
  display: flex;
}

.ai-chat-header {
  padding: 18px 24px;
  background: var(--primary-sand-light);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--primary-sand-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.online-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-green);
  display: inline-block;
}

.ai-chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.45;
}

.ai-msg.bot {
  background-color: var(--bg-light);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border-color);
}

.ai-msg.user {
  background-color: var(--primary-green);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.ai-chip {
  background: white;
  border: 1px solid var(--primary-sand-medium);
  color: var(--camel-dark);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ai-chip:hover {
  background: var(--primary-sand-light);
  border-color: var(--primary-sand);
}

.ai-chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background: white;
  display: flex;
  align-items: center;
}

.ai-mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.ai-mic-btn:hover {
  background: var(--primary-sand-light);
  border-color: var(--primary-sand);
  color: var(--camel-dark);
}

.ai-mic-btn.listening {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
  animation: pulseMic 1.5s infinite;
}

@keyframes pulseMic {
  0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Hamburger Button Styles */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10001;
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--camel-dark);
  border-radius: 2px;
  transition: all var(--transition-fast);
  transform-origin: left center;
}

/* Transform to X when active */
.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(2px, -1px);
}
.hamburger-btn.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, 1px);
}

/* Extra media queries for total page responsiveness (prevent horizontal overflow) */
@media (max-width: 1024px) {
  .hamburger-btn {
    display: flex !important;
  }
  
  #desktop-nav {
    display: none !important;
    position: absolute !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(252, 251, 250, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid var(--border-color) !important;
    flex-direction: column !important;
    padding: 32px 24px !important;
    gap: 20px !important;
    z-index: 10000 !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    align-items: stretch !important;
  }

  #desktop-nav.active {
    display: flex !important;
    animation: slideDownMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
  }

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

  #desktop-nav a {
    font-size: 16px !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm) !important;
    border-bottom: 1px solid rgba(220, 215, 205, 0.3) !important;
    width: 100% !important;
    display: block !important;
    transition: all var(--transition-fast) !important;
  }

  #desktop-nav a:last-child {
    border-bottom: none !important;
  }

  #desktop-nav a.btn-login {
    background: linear-gradient(135deg, var(--primary-green), #409a63) !important;
    color: white !important;
    text-align: center !important;
    border: none !important;
  }

  #btn-user-cabinet {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  #ai-chat-widget {
    bottom: 24px !important;
    right: 24px !important;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero-grid {
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 34px !important;
  }
  .hero p {
    font-size: 15px !important;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .hero-floating-stat {
    left: 10px !important;
    bottom: 10px !important;
    padding: 10px 16px !important;
  }
  .payment-modal-card {
    padding: 24px 16px !important;
    width: calc(100% - 32px) !important;
    margin: 16px !important;
  }
  .ai-chat-box {
    width: calc(100vw - 32px) !important;
    height: 70vh !important;
    right: 16px !important;
    bottom: 80px !important;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 12px !important;
  }
  .logo {
    font-size: 18px !important;
  }
  .lang-switcher {
    gap: 2px !important;
    padding: 2px !important;
  }
  .btn-lang {
    padding: 3px 6px !important;
    font-size: 10px !important;
  }
  .payment-tabs {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .benefit-card {
    padding: 24px 16px !important;
  }
  .hostel-card {
    margin: 0 8px !important;
  }
}
