:root{
  --primary:#6366f1;
  --primary-dark:#4f46e5;
  --secondary:#ec4899;
  --success:#10b981;
  --danger:#ef4444;
  --warning:#f59e0b;
  --bg-dark:#0f172a;
  --bg-light:#f8fafc;
  --card-bg:#ffffff;
  --text-primary:#1e293b;
  --text-secondary:#64748b;
  --border-color:#e2e8f0;
  --accent-gradient:linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-md:0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl:0 20px 25px -5px rgba(0,0,0,0.15);
}

*{box-sizing:border-box;margin:0;padding:0;font-family:'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif}
html{scroll-behavior:smooth}
body{background:linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);color:var(--text-primary);line-height:1.6; animation: liveBackground 10s ease-in-out infinite alternate;}

.site-header{
  background:var(--card-bg);
  box-shadow:var(--shadow-md);
  position:sticky;
  top:0;
  z-index:100;
  padding:0 24px;
  border-bottom:2px solid var(--primary);
}

.header-content{
  max-width:1400px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.site-header h1{
  font-size:1.8rem;
  font-weight:800;
  background:var(--accent-gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  letter-spacing:-0.5px;
}

.site-header nav{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.site-header nav a{
  text-decoration:none;
  color:var(--text-secondary);
  font-weight:600;
  transition:0.3s;
  padding:8px 12px;
  border-radius:6px;
  font-size:0.95rem;
}
.site-header nav a:hover{
  color:var(--primary);
  background:rgba(99, 102, 241, 0.1);
}
.site-header .btn-admin{
  background:var(--accent-gradient);
  color:white;
  padding:10px 18px;
  border-radius:8px;
  font-size:0.875rem;
  border:none;
}
.site-header .btn-staff{
  background:#059669;
  color:white;
  padding:10px 18px;
  border-radius:8px;
  font-size:0.875rem;
  border:none;
}
.site-header .btn-tenant{
  background:#2563eb;
  color:white;
  padding:10px 18px;
  border-radius:8px;
  font-size:0.875rem;
  border:none;
}
.site-header .btn-logout{
  background:#ef4444;
  color:white;
  padding:10px 18px;
  border-radius:8px;
  font-size:0.875rem;
  border:none;
}

/* separate role links in header */
.role-links a {
  margin: 0 6px;
  display: inline-block;
}

.role-links a:not(:last-child)::after {
  content: "|";
  margin-left: 6px;
  color: var(--text-secondary);
}

.roles-section{
  margin:60px 0;
  padding:40px 0;
}

.roles-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:30px;
  margin-top:30px;
}

.role-card{
  background:white;
  border-radius:16px;
  padding:40px 30px;
  text-align:center;
  box-shadow:0 4px 15px rgba(0,0,0,0.08);
  transition:all 0.3s ease;
  border-top:4px solid var(--primary);
}

.role-card.admin-card{
  border-top-color:#7c3aed;
}

.role-card.staff-card{
  border-top-color:#059669;
}

.role-card.tenant-card{
  border-top-color:#2563eb;
}

.role-card:hover{
  transform:translateY(-8px);
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

.role-icon{
  font-size:3.5rem;
  margin-bottom:20px;
  display:inline-block;
}

.role-card h4{
  font-size:1.5rem;
  margin:0 0 12px 0;
  color:#1e293b;
}

.role-card p{
  color:#64748b;
  font-size:0.95rem;
  margin:0 0 25px 0;
  line-height:1.6;
}

.role-features{
  list-style:none;
  padding:0;
  margin:0 0 30px 0;
  text-align:left;
}

.role-features li{
  padding:8px 0;
  color:#475569;
  font-size:0.9rem;
  border-bottom:1px solid #e2e8f0;
}

.role-features li:last-child{
  border-bottom:none;
}

.role-btn{
  display:inline-block;
  padding:14px 32px;
  border:none;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:all 0.3s;
  font-size:0.95rem;
}

.admin-btn{
  background:#7c3aed;
  color:white;
}

.admin-btn:hover{
  background:#6d28d9;
  box-shadow:0 4px 12px rgba(124, 58, 237, 0.3);
}

.staff-btn{
  background:#059669;
  color:white;
}

.staff-btn:hover{
  background:#047857;
  box-shadow:0 4px 12px rgba(5, 150, 105, 0.3);
}

.tenant-btn{
  background:#2563eb;
  color:white;
}

.tenant-btn:hover{
  background:#1e40af;
  box-shadow:0 4px 12px rgba(37, 99, 235, 0.3);
}



.hero{
  background:var(--accent-gradient);
  color:white;
  padding:100px 24px;
  text-align:center;
  margin:40px auto;
  border-radius:20px;
  box-shadow:var(--shadow-xl);
}

.hero h2{font-size:3rem;font-weight:800;margin-bottom:16px;line-height:1.2}
.hero p{font-size:1.25rem;opacity:0.95;margin-bottom:32px;max-width:600px;margin-left:auto;margin-right:auto;font-weight:500}
.cta{
  display:inline-block;
  background:white;
  color:var(--primary);
  padding:16px 36px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  transition:0.3s;
  border:none;
  cursor:pointer;
  font-size:1.05rem;
  box-shadow:var(--shadow-lg);
}
.cta:hover{transform:translateY(-3px);box-shadow:var(--shadow-xl);background:#f8fafc}

.filter-section{
  background:var(--card-bg);
  padding:28px;
  border-radius:16px;
  box-shadow:var(--shadow-md);
  margin-bottom:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
  border:2px solid var(--border-color);
}

.filter-section label{
  display:block;
  margin-bottom:8px;
  font-weight:700;
  font-size:0.9rem;
  color:var(--text-secondary);
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.filter-section input,.filter-section select{
  width:100%;
  padding:12px 14px;
  border:2px solid var(--border-color);
  border-radius:10px;
  font-size:1rem;
  transition:0.3s;
  background:white;
  color:var(--text-primary);
  font-weight:500;
}
.filter-section input:focus,.filter-section select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(99, 102, 241, 0.1);
  background:rgba(99, 102, 241, 0.02);
}

.rooms-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:28px;
  margin-bottom:60px;
}

.card{
  background:var(--card-bg);
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-md);
  transition:0.4s;
  display:flex;
  flex-direction:column;
  border:2px solid transparent;
}
.card:hover{
  transform:translateY(-12px);
  box-shadow:var(--shadow-xl);
  border-color:var(--primary);
}

.card-image-container{
  position:relative;
  height:240px;
  overflow:hidden;
  background:linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.card-image-container img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}
.card:hover .card-image-container img{transform:scale(1.08)}
.card-badge{
  position:absolute;
  top:16px;
  right:16px;
  background:var(--secondary);
  color:white;
  padding:8px 14px;
  border-radius:20px;
  font-size:0.75rem;
  font-weight:700;
  box-shadow:var(--shadow-lg);
}

.card-body{padding:24px;flex:1;display:flex;flex-direction:column}
.card-body h3{
  font-size:1.4rem;
  font-weight:800;
  margin-bottom:8px;
  color:var(--text-primary);
  letter-spacing:-0.5px;
}
.card-rating{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
  font-size:0.9rem;
  color:var(--text-secondary);
  font-weight:600;
}
.stars{color:var(--warning);font-size:1.1rem}
.card-price{
  font-size:2rem;
  font-weight:800;
  background:var(--accent-gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  margin-bottom:8px;
}
.card-price span{
  font-size:0.9rem;
  color:var(--text-secondary);
  font-weight:600;
}

.amenities{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
  margin-top:12px;
}
.amenity-badge{
  background:linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  color:var(--primary);
  padding:6px 12px;
  border-radius:8px;
  font-size:0.8rem;
  font-weight:700;
  border:1px solid rgba(99, 102, 241, 0.2);
}

.card-footer{
  padding:16px 24px;
  border-top:2px solid var(--border-color);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.btn-secondary{
  background:transparent;
  border:2px solid var(--primary);
  color:var(--primary);
  padding:11px 16px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:0.3s;
  font-size:0.95rem;
}
.btn-secondary:hover{background:var(--primary);color:white;transform:translateY(-2px)}
.btn-primary{
  background:var(--accent-gradient);
  color:white;
  padding:11px 16px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:0.3s;
  font-size:0.95rem;
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}

.btn-sm{
  padding:6px 10px;
  font-size:0.85rem;
}

.room-preview{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:12px;
  background:#f0f9ff;
  border:2px solid var(--primary);
  border-radius:12px;
  padding:10px;
}
.room-preview img{
  width:80px;
  height:60px;
  object-fit:cover;
  border-radius:8px;
  border:1px solid var(--border-color);
}
.room-preview div{
  font-weight:600;
  color:var(--text-primary);
}

/* reserve.php specific styles */
.reserve-page .reserve-hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 60px 24px;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  margin-bottom: 40px;
}
.reserve-page .reserve-hero img{
  width:100%;
  max-width:400px;
  border-radius:12px;
  margin-top:20px;
  box-shadow:0 8px 30px rgba(0,0,0,0.2);
}
.reserve-form-card{
  background:white;
  padding:40px;
  border-radius:16px;
  box-shadow:var(--shadow-lg);
  max-width:640px;
  margin:0 auto 60px;
}
.reserve-page .form-group input[type="text"],
.reserve-page .form-group input[type="email"],
.reserve-page .form-group input[type="tel"],
.reserve-page .form-group input[type="date"],
.reserve-page .form-group input[type="number"],
.reserve-page .form-group textarea{
  width:100%;
  padding:12px 14px;
  border:2px solid var(--border-color);
  border-radius:8px;
  font-size:1rem;
  margin-top:4px;
}

/* carousel/swipe styling */
.rooms-carousel-container{
  position:relative;
  display:flex;
  align-items:center; /* center arrows vertically with carousel */
}
.rooms-carousel{
  display:flex;
  gap:28px;
  overflow-x:auto;
  scroll-behavior:smooth;
  padding-bottom:16px;
}
.rooms-carousel .card{
  min-width:320px;
  flex:0 0 auto;
}
.rooms-carousel::-webkit-scrollbar{display:none;}
.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.5);
  color:white;
  border:none;
  width:48px;
  height:48px;
  border-radius:50%;
  cursor:pointer;
  z-index:10;
}
.carousel-btn.left{left:16px;}
.carousel-btn.right{right:16px;}
.carousel-btn:hover{background:rgba(0,0,0,0.7);}

.book-form{
  background:var(--card-bg);
  padding:40px;
  border-radius:16px;
  box-shadow:var(--shadow-lg);
  margin-bottom:60px;
  border:2px solid var(--border-color);
}
.book-form h2{font-size:2rem;margin-bottom:28px;font-weight:800;background:var(--accent-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-bottom:20px;
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-group{display:flex;flex-direction:column}
.form-group label{
  font-weight:700;
  font-size:0.9rem;
  margin-bottom:10px;
  color:var(--text-secondary);
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.form-group input,.form-group select{
  padding:13px 15px;
  border:2px solid var(--border-color);
  border-radius:10px;
  font-size:1rem;
  transition:0.3s;
  background:white;
  font-weight:500;
}
.form-group input:focus,.form-group select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(99, 102, 241, 0.1);
  background:rgba(99, 102, 241, 0.02);
}
.textarea{
  resize:vertical;
  min-height:120px;
  font-family:inherit;
}

.promo-section{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  margin-bottom:20px;
}
.promo-input{flex:1}
.btn-apply-promo{
  background:var(--warning);
  color:white;
  padding:13px 24px;
  border:none;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  transition:0.3s;
}
.btn-apply-promo:hover{background:#f08c00;transform:translateY(-2px)}

.price-summary{
  background:linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
  padding:20px;
  border-radius:12px;
  margin-bottom:20px;
  border:2px solid var(--primary);
}
.price-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:12px;
  font-size:1rem;
  font-weight:600;
}
.price-row.total{
  font-size:1.4rem;
  font-weight:800;
  border-top:2px solid var(--border-color);
  padding-top:12px;
  margin-top:12px;
  color:var(--primary);
}

.form-actions{
  grid-column:1/-1;
  display:flex;
  gap:12px;
  justify-content:flex-end;
}
.form-actions button{
  padding:13px 32px;
  border-radius:10px;
  font-weight:700;
  border:none;
  cursor:pointer;
  transition:0.3s;
  font-size:1rem;
}
.form-actions .cancel{
  background:var(--border-color);
  color:var(--text-primary);
}
.form-actions .cancel:hover{background:#cbd5e1;transform:translateY(-2px)}

.site-footer{
  background:linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color:white;
  padding:50px 24px 20px;
  text-align:center;
  margin-top:80px;
}
.footer-content{
  max-width:1400px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
  margin-bottom:40px;
  text-align:left;
}
.footer-section h4{margin-bottom:16px;font-size:1.1rem;font-weight:800}
.footer-section ul{list-style:none}
.footer-section a{
  color:rgba(255,255,255,0.7);
  text-decoration:none;
  display:block;
  margin-bottom:10px;
  transition:0.3s;
  font-weight:500;
}
.footer-section a:hover{color:white;transform:translateX(4px);display:block}
.site-footer .copyright{
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:24px;
  margin-top:24px;
  font-size:0.95rem;
  color:rgba(255,255,255,0.6);
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  background:var(--card-bg);
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.admin-table th{
  background:var(--accent-gradient);
  color:white;
  padding:16px;
  text-align:left;
  font-weight:700;
  font-size:0.9rem;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.admin-table td{
  padding:14px 16px;
  border-bottom:1px solid var(--border-color);
  font-weight:500;
}
.admin-table tbody tr:hover{background:rgba(99, 102, 241, 0.05)}
.admin-table a{color:var(--primary);text-decoration:none;font-weight:700;transition:0.3s}
.admin-table a:hover{color:var(--primary-dark);text-decoration:underline}

.modal{
  display:none;
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.6);
  z-index:1000;
  align-items:center;
  justify-content:center;
}
.modal.active{display:flex}
.modal-content{
  background:var(--card-bg);
  padding:40px;
  border-radius:16px;
  max-width:500px;
  width:90%;
  box-shadow:var(--shadow-xl);
}

.success-message{
  background:linear-gradient(135deg, #d1fae5, #a7f3d0);
  color:#065f46;
  padding:16px 20px;
  border-radius:12px;
  margin-bottom:20px;
  border-left:4px solid var(--success);
  font-weight:600;
}
.error-message{
  background:linear-gradient(135deg, #fee2e2, #fecaca);
  color:#991b1b;
  padding:16px 20px;
  border-radius:12px;
  margin-bottom:20px;
  border-left:4px solid var(--danger);
  font-weight:600;
}

.dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:40px}
.stat-card{
  background:var(--card-bg);
  padding:28px;
  border-radius:16px;
  box-shadow:var(--shadow-md);
  border-top:4px solid var(--primary);
  transition:0.3s;
}
.stat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.stat-card h3{
  color:var(--text-secondary);
  font-size:0.95rem;
  font-weight:700;
  margin-bottom:14px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.stat-card .number{font-size:2.5rem;font-weight:800;color:var(--primary);margin:0}

.section-title{
  font-size:1.8rem;
  font-weight:800;
  margin-bottom:24px;
  color:var(--text-primary);
  border-bottom:3px solid var(--primary);
  padding-bottom:12px;
  display:inline-block;
}

@media (max-width:768px){
  .hero h2{font-size:2rem}
  .rooms-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .filter-section{grid-template-columns:1fr}
  .footer-content{grid-template-columns:1fr}
  .site-header nav{flex-direction:column;gap:12px}
  .site-header h1{font-size:1.4rem}
}

.container{max-width:1200px;margin:0 auto;padding:0 24px}

.hero{
  background:linear-gradient(135deg,#2563eb 0%,#1e40af 100%);
  color:white;
  padding:80px 24px;
  text-align:center;
  margin-bottom:60px;
}

.hero h2{font-size:2.5rem;font-weight:700;margin-bottom:16px}
.hero p{font-size:1.125rem;opacity:0.9;margin-bottom:24px}
.cta{
  display:inline-block;
  background:var(--secondary);
  color:white;
  padding:14px 32px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
  border:none;
  cursor:pointer;
  font-size:1rem;
}
.cta:hover{background:#f59e0b;transform:translateY(-2px);box-shadow:var(--shadow-lg)}

.filter-section{
  background:white;
  padding:24px;
  border-radius:12px;
  box-shadow:var(--shadow-md);
  margin-bottom:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
}

.filter-section label{display:block;margin-bottom:8px;font-weight:600;font-size:0.875rem;color:var(--text-secondary)}
.filter-section input,.filter-section select{
  width:100%;
  padding:10px 12px;
  border:1px solid var(--border-color);
  border-radius:6px;
  font-size:0.95rem;
  transition:0.3s;
}
.filter-section input:focus,.filter-section select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,0.1)}

.rooms-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:24px;
  margin-bottom:60px;
}

.card{
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow-md);
  transition:0.3s;
  display:flex;
  flex-direction:column;
}
.card:hover{transform:translateY(-8px);box-shadow:var(--shadow-xl)}

.card-image-container{
  position:relative;
  height:220px;
  overflow:hidden;
  background:#e2e8f0;
}
.card-image-container img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.3s;
}
.card:hover .card-image-container img{transform:scale(1.05)}
.card-badge{
  position:absolute;
  top:12px;
  right:12px;
  background:var(--secondary);
  color:white;
  padding:6px 12px;
  border-radius:6px;
  font-size:0.75rem;
  font-weight:700;
}

.card-body{padding:20px;flex:1;display:flex;flex-direction:column}
.card-body h3{font-size:1.25rem;font-weight:700;margin-bottom:8px;color:var(--text-primary)}
.card-rating{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:12px;
  font-size:0.875rem;
  color:var(--text-secondary);
}
.stars{color:#f59e0b}
.card-price{
  font-size:1.75rem;
  font-weight:700;
  color:var(--primary);
  margin-bottom:4px;
}
.card-price span{font-size:0.875rem;color:var(--text-secondary);font-weight:400}

.amenities{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px;
}
.amenity-badge{
  background:#e0e7ff;
  color:var(--primary);
  padding:4px 10px;
  border-radius:4px;
  font-size:0.75rem;
  font-weight:600;
}

.card-footer{
  padding:16px 20px;
  border-top:1px solid var(--border-color);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.btn-secondary{
  background:transparent;
  border:2px solid var(--primary);
  color:var(--primary);
  padding:10px 16px;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}
.btn-secondary:hover{background:var(--primary);color:white}
.btn-primary{
  background:var(--primary);
  color:white;
  padding:10px 16px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}
.btn-primary:hover{background:var(--primary-dark)}

.book-form{
  background:white;
  padding:40px;
  border-radius:12px;
  box-shadow:var(--shadow-lg);
  margin-bottom:60px;
}
.book-form h2{font-size:1.75rem;margin-bottom:24px}
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:16px;
  margin-bottom:16px;
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-group{display:flex;flex-direction:column}
.form-group label{
  font-weight:600;
  font-size:0.875rem;
  margin-bottom:8px;
  color:var(--text-secondary);
}
.form-group input,.form-group select{
  padding:12px;
  border:1px solid var(--border-color);
  border-radius:6px;
  font-size:0.95rem;
  transition:0.3s;
}
.form-group input:focus,.form-group select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}
.textarea{
  resize:vertical;
  min-height:100px;
  font-family:inherit;
}

.promo-section{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  margin-bottom:20px;
}
.promo-input{flex:1}
.btn-apply-promo{
  background:var(--text-secondary);
  color:white;
  padding:12px 24px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}
.btn-apply-promo:hover{background:var(--text-primary)}

.price-summary{
  background:#f1f5f9;
  padding:16px;
  border-radius:8px;
  margin-bottom:16px;
}
.price-row{display:flex;justify-content:space-between;margin-bottom:8px;font-size:0.95rem}
.price-row.total{
  font-size:1.25rem;
  font-weight:700;
  border-top:1px solid var(--border-color);
  padding-top:8px;
  margin-top:8px;
}

.form-actions{grid-column:1/-1;display:flex;gap:12px;justify-content:flex-end}
.form-actions button{
  padding:12px 32px;
  border-radius:6px;
  font-weight:600;
  border:none;
  cursor:pointer;
  transition:0.3s;
}
.form-actions .cancel{
  background:var(--border-color);
  color:var(--text-primary);
}
.form-actions .cancel:hover{background:#cbd5e1}

.site-footer{
  background:var(--text-primary);
  color:white;
  padding:40px 24px 20px;
  text-align:center;
}
.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:32px;margin-bottom:32px;text-align:left}
.footer-section h4{margin-bottom:12px;font-size:1rem}
.footer-section ul{list-style:none}
.footer-section a{color:rgba(255,255,255,0.7);text-decoration:none;display:block;margin-bottom:8px;transition:0.3s}
.footer-section a:hover{color:white}
.site-footer .copyright{border-top:1px solid rgba(255,255,255,0.1);padding-top:20px;margin-top:20px;font-size:0.875rem;color:rgba(255,255,255,0.6)}

.admin-table{
  width:100%;
  border-collapse:collapse;
  background:white;
  border-radius:8px;
  overflow:hidden;
  box-shadow:var(--shadow-md);
}
.admin-table th{
  background:var(--primary);
  color:white;
  padding:16px;
  text-align:left;
  font-weight:600;
  font-size:0.875rem;
}
.admin-table td{
  padding:14px 16px;
  border-bottom:1px solid var(--border-color);
}
.admin-table tbody tr:hover{background:#f8fafc}
.admin-table a{color:var(--primary);text-decoration:none;font-weight:600;transition:0.3s}
.admin-table a:hover{color:var(--primary-dark)}

.modal{
  display:none;
  position:fixed;
  top:0;left:0;right:0;bottom:0;
  background:rgba(0,0,0,0.5);
  z-index:1000;
  align-items:center;
  justify-content:center;
}
.modal.active{display:flex}
.modal-content{
  background:white;
  padding:32px;
  border-radius:12px;
  max-width:500px;
  width:90%;
  box-shadow:var(--shadow-xl);
}
.modal-close{float:right;font-size:1.5rem;cursor:pointer;color:var(--text-secondary)}

.success-message{
  background:#d1fae5;
  color:#065f46;
  padding:16px;
  border-radius:8px;
  margin-bottom:16px;
  border-left:4px solid var(--success);
}
.error-message{
  background:#fee2e2;
  color:#991b1b;
  padding:16px;
  border-radius:8px;
  margin-bottom:16px;
  border-left:4px solid var(--danger);
}

.dashboard{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:40px}
.stat-card{background:white;padding:24px;border-radius:12px;box-shadow:var(--shadow-md)}
.stat-card h3{color:var(--text-secondary);font-size:0.875rem;font-weight:600;margin-bottom:12px}
.stat-card .number{font-size:2rem;font-weight:700;color:var(--primary)}

@media (max-width:768px){
  .hero h2{font-size:1.75rem}
  .rooms-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .filter-section{grid-template-columns:1fr}
  .footer-content{grid-template-columns:1fr}
  .site-header nav{flex-direction:column;gap:12px}
}

@keyframes liveBackground {
  0% { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); }
  50% { background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); }
  100% { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
}
