/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  font-size: 14px !important;
}

body {
  background-color: #f9fafb;
  color: #333;
}

.container {
  display: flex;
  min-height: 100vh;
  --bs-gutter-x: 0rem Im !important;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.75rem;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1600px; */
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0;
}

.search-container {
  position: relative;
  display: none;
}

.search-container input {
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background-color: #f9fafb;
  width: 250px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.search-container input:focus {
  outline: none;
  background-color: white;
  border-color: #0070c4;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 16px;
  height: 16px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-button {
  background-color: transparent;
  border: none;
  border-radius: 9999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
}

.icon-button:hover {
  background-color: #f3f4f6;
}

.notification-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  top: 6px;
  right: 6px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #0058a0;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.user-info {
  display: none;
}

/* User Dropdown Styles */
.user-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dropdown-toggle:hover {
  background-color: #f3f4f6;
}

.dropdown-toggle::after {
  border-top: 0em !important;
}


.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 50;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.dropdown-header .user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.dropdown-header .user-email {
  font-size: 0.75rem;
  color: #6b7280;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #f9fafb;
}

.dropdown-item.logout {
  color: #dc2626;
  border-top: 1px solid #e5e7eb;
}

.dropdown-item.logout:hover {
  background-color: #fef2f2;
}

.dropdown-divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 0.5rem 0;
}

.chevron-down {
  width: 16px;
  height: 16px;
  color: #6b7280;
  transition: transform 0.2s;
}

.dropdown-toggle.active .chevron-down {
  transform: rotate(180deg);
}

/* Sidebar Styles */
.sidebar {
  width: 250px;
  background-color: white;
  border-right: 1px solid #e5e7eb;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -250px;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  z-index: 5;
}

.sidebar.active {
  left: 0;
}

.sidebar-content {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background-color: #0058a0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
}

.nav-items {
  list-style-type: none;
}

.nav-item {
  margin-bottom: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
}

.nav-link:hover {
  background-color: #f3f4f6;
}

.nav-link.active {
  background-color: #0058a0;
  color: white;
}

.nav-link-icon {
  width: 18px;
  height: 18px;
}

.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.help-card {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 1rem;
}

.help-card p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.help-card p:first-child {
  font-weight: 500;
  color: #1f2937;
}

.help-card p:nth-child(2) {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.help-button {
  width: 100%;
  background-color: #0058a0;
  color: white;
  border: none;
  padding: 0.5rem 0;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.help-button:hover {
  background-color: #034b84;
}

/* Sidebar Toggle Button */
.menu-toggle {
  background: none;
  border: none;
  color: #1f2937;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main Content Styles */
.main-content {
  flex-grow: 1;
  margin-left: 0;
  padding: 70px 1rem 1rem;
  width: 100%;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.25rem;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  padding: 1.25rem;
  border: 1px solid #e5e7eb;
}

.stat-card-blue {
  background-color: #0058a0;
  color: white;
}

.stat-card-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stat-info h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.stat-card-blue .stat-info h3 {
  color: #bae0fd;
}

.stat-info .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0;
}

.stat-card-blue .stat-info .stat-value {
  color: white;
}

.stat-info .stat-change {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.stat-change.positive {
  color: #10b981;
}

.stat-change.negative {
  color: #ef4444;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card:not(.stat-card-blue) .stat-icon {
  background-color: #e0effe;
  color: #0070c4;
}

.stat-card-blue .stat-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Main Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Bookings Table */
.card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #e5e7eb;
  padding: 1rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.card-action {
  color: #0070c4;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.card-action:hover {
  color: #034b84;
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.bookings-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 500;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
  padding-right: 1rem;
}

.bookings-table td {
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: #1f2937;
  white-space: nowrap;
}

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

.guest-name {
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-badge.confirmed {
  background-color: #d1fae5;
  color: #047857;
}

.status-badge.pending {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge.cancelled {
  background-color: #fee2e2;
  color: #b91c1c;
}

.status-icon {
  width: 12px;
  height: 12px;
  margin-right: 4px;
}

/* Calendar */
.calendar {
  min-height: 280px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.5rem;
}

.calendar-header span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  padding: 0.25rem 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.75rem;
  color: #1f2937;
  cursor: pointer;
}

.calendar-day.other-month {
  color: #d1d5db;
  /* margin: 10px; */
}

.calendar-day.today {
  background-color: #e0effe;
  font-weight: 500;
}

.calendar-day.booked {
  background-color: #0891b2;
  color: white;
}

.calendar-legend {
  display: flex;
  padding: 10px;
  padding-top: 0px;
  margin-top: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.legend-color.booked {
  background-color: #0891b2;
}

.legend-color.available {
  background-color: #e5e7eb;
}

/* Room Status */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.room-card {
  background-color: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.room-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #1f2937;
  font-size: 0.875rem;
}

.room-type {
  font-size: 0.75rem;
  color: #6b7280;
}

.room-guest {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.room-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
}

.room-status.occupied {
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.room-status.available {
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.room-status.cleaning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.room-status.maintenance {
  background-color: #f3f4f6;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.status-indicators {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  color: #6b7280;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.indicator-dot.available {
  background-color: #10b981;
}

.indicator-dot.occupied {
  background-color: #ef4444;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 4;
  display: none;
}

.overlay.active {
  display: block;
}

/* Responsive Media Queries */
@media (min-width: 640px) {
  .header-title {
    font-size: 1.25rem;
  }
  
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-content {
    padding: 80px 1.25rem 1.25rem;
  }
  
  .card {
    padding: 1.25rem;
  }
}

@media (min-width: 768px) {
  .search-container {
    display: block;
    margin-left: 1rem;
  }
  
  .search-container input {
    width: 180px;
  }
}

@media (min-width: 1024px) {
  .sidebar {
    left: 0;
    padding-top: 80px;
  }
  
  .main-content {
    margin-left: 250px;
    padding: 100px 1.5rem 1.5rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 2fr 1fr;
  }
  
  .rooms-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .user-info {
    display: block;
  }
  
  .user-info p:first-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
  }
  
  .user-info p:last-child {
    font-size: 0.75rem;
    color: #9ca3af;
  }
  
  .menu-toggle {
    display: none;
  }
  
  .header-title {
    /* margin-left: 250px; */
  }
  
  .search-container input {
    width: 250px;
  }
  
  .icon-button {
    width: 40px;
    height: 40px;
  }
  
  .avatar {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
  
  .notification-dot {
    top: 8px;
    right: 8px;
  }
}


.login-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
  text-align: center;
}

.login-subtitle {
  color: #6b7280;
  margin: 0;
  text-align: center;
}

.booking-header {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.booking-subtitle {
  color: #6b7280;
  font-size: 1rem;
}

.booking-form {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}



.booking-header {
  text-align: center;
  margin-bottom: 2rem;
}

.booking-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.booking-subtitle {
  color: #6b7280;
  font-size: 1rem;
}

.booking-form {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0058a0;
  padding-bottom: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .form-row.two-columns {
    grid-template-columns: 1fr 1fr;
  }

  .form-row.three-columns {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-label.required::after {
  content: " *";
  color: #ef4444;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #0058a0;
  box-shadow: 0 0 0 3px rgba(0, 88, 160, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: #0058a0;
}

.checkbox-label {
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
}

.room-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .room-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.room-card {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #f9fafb;
}

.room-card:hover {
  border-color: #0058a0;
  background-color: #f0f9ff;
}

.room-card.selected {
  border-color: #0058a0;
  background-color: #e0f2fe;
}

.room-card input[type="radio"] {
  display: none;
}

.room-name {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.room-description {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.room-price {
  font-weight: 600;
  color: #0058a0;
  font-size: 1.1rem;
}

.guest-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.counter-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.counter-btn {
  background-color: #0058a0;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.2s;
}

.counter-btn:hover {
  background-color: #034b84;
}

.counter-btn:disabled {
  background-color: #d1d5db;
  cursor: not-allowed;
}

.counter-value {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.summary-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.summary-title {
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.summary-row.total {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  /* padding: 0.75rem 2rem; */
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: #0058a0;
  color: white;
}

.btn-primary:hover {
  background-color: #034b84;
}

.btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
}

.error-message {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.success-message {
  background-color: #d1fae5;
  color: #047857;
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #a7f3d0;
}

/* room */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  overflow: hidden;
}

.form-header {
  background-color: #0058a0;
  color: white;
  padding: 2rem;
  text-align: center;
}

.form-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.form-content {
  padding: 2rem;
}

.form-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-icon {
  width: 20px;
  height: 20px;
  color: #0058a0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-label.required::after {
  content: " *";
  color: #ef4444;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: all 0.2s;
  background-color: white;
}

.form-input:focus {
  outline: none;
  border-color: #0058a0;
  box-shadow: 0 0 0 3px rgba(0, 88, 160, 0.1);
}


.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.form-select:focus {
  outline: none;
  border-color: #0058a0;
  box-shadow: 0 0 0 3px rgba(0, 88, 160, 0.1);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 0.875rem;
  color: #374151;
  cursor: pointer;
}

.price-input-group {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s;
}

.price-input-group:focus-within {
  border-color: #0058a0;
  box-shadow: 0 0 0 3px rgba(0, 88, 160, 0.1);
}

.price-prefix {
  padding: 0.75rem;
  background-color: #f9fafb;
  color: #6b7280;
  font-weight: 500;
  border-right: 1px solid #d1d5db;
}

.price-input {
  border: none;
  padding: 0.75rem;
  flex: 1;
  font-size: 0.875rem;
}

.price-input:focus {
  outline: none;
}

.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #fafafa;
}

.file-upload-area:hover {
  border-color: #0058a0;
  background-color: #f0f9ff;
}

.file-upload-area.dragover {
  border-color: #0058a0;
  background-color: #f0f9ff;
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #6b7280;
  margin: 0 auto 1rem;
}

.upload-text {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.upload-subtext {
  font-size: 0.875rem;
  color: #6b7280;
}

.file-input {
  display: none;
}

.selected-files {
  margin-top: 1rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem;
  background-color: #f9fafb;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-icon {
  width: 16px;
  height: 16px;
  color: #0058a0;
}

.file-name {
  font-size: 0.875rem;
  color: #374151;
}

.remove-file {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.remove-file:hover {
  background-color: #fee2e2;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.btn {
  padding: 0 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background-color: #0058a0;
  color: white;
}

.btn-primary:hover {
  background-color: #034b84;
}

.btn-secondary {
  background-color: #f9fafb;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

.alert {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: none;
}

.alert-success {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.form-help {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.required-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-style: italic;
}

@media (min-width: 768px) {
  body {
    padding: 3rem 2rem;
  }
  
  .form-content {
    padding: 3rem;
  }
  
  .form-actions {
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .form-actions {
    flex-direction: column;
  }
  
  .btn {
    justify-content: center;
  }
}



.calendar-container {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  
  h1 {
    font-size: 2rem;
    color: #1f2937;
    margin: 0;
  }
}

.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 1rem;
  
  .current-month {
    font-size: 1.25rem;
    font-weight: 600;
    min-width: 150px;
    text-align: center;
  }
}

.calendar-legend {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  
  .legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
  }
  
  .legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    
    &.booking {
      background-color: #60a5fa;
    }
    
    &.available {
      background-color: #e5e7eb;
    }
  }
}

.calendar {
  /* border: 1px solid #e5e7eb; */
  border-radius: 8px;
  overflow: hidden;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: #f3f4f6;
  
  .weekday {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #6b7280;
    font-size: 0.875rem;
  }
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
  /* border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none; */
  min-height: 120px;
  padding: 0.5rem;
  position: relative;
  background: white;
  
  &:nth-child(7n) {
    border-right: none;
  }
  
  &.other-month {
    background-color: #f9fafb;
    color: #9ca3af;
  }
  
  .day-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .day-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .bookings-indicator {
    background-color: #dc3545;
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-align: center;
  }
  
  .available-indicator {
    background-color: #e5e7eb;
    color: #6b7280;
    padding: 0.125rem 0.375rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-align: center;
  }
  
  .book-button {
    position: absolute;
    bottom: 0.5rem;
  }
}

.booking-form-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.booking-form {
  h1 {
    margin-bottom: 2rem;
    color: #1f2937;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  
  label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-control {
  width: 100%;
  padding: -0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.2s;
  
  &:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
}

.error-messages {
  background-color: #fee2e2;
  border: 1px solid #ef4444;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  
  h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
  }
  
  ul {
    margin-left: 1rem;
    
    li {
      color: #dc2626;
      margin-bottom: 0.25rem;
    }
  }
}

.form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}


@media (max-width: 768px) {
  .calendar-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .calendar-navigation {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .calendar-day {
    min-height: 80px;
    
    .book-button {
      position: relative;
      bottom: auto;
      right: auto;
      margin-top: 4.5rem;
    }
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .calendar-legend {
    justify-content: center;
  }
}


.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
    display: none;
}


/* csss room */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 2px 4px rgba(0,0,0,0.1);
}

.grid-item {
    aspect-ratio: 1;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    cursor: pointer;
}

.grid-item:hover {
    background-color: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.grid-item:nth-child(odd) {
    background-color: #f9f9f9;
}

.grid-item:nth-child(even) {
    background-color: #fff;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
        padding: 15px;
    }
    
    .grid-item {
        font-size: 16px;
    }
    
    body {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 8px;
        padding: 10px;
    }
    
    .grid-item {
        font-size: 14px;
    }
    
    .header h1 {
        font-size: 20px;
    }
}

/* Untuk layar besar */
@media (min-width: 1200px) {
    .grid-container {
        grid-template-columns: repeat(9, 1fr);
        max-width: 1100px;
    }
}

/* Animasi loading */
.grid-item {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.grid-item:nth-child(1) { animation-delay: 0.1s; }
.grid-item:nth-child(2) { animation-delay: 0.2s; }
.grid-item:nth-child(3) { animation-delay: 0.3s; }
.grid-item:nth-child(4) { animation-delay: 0.4s; }
.grid-item:nth-child(5) { animation-delay: 0.5s; }
.grid-item:nth-child(6) { animation-delay: 0.6s; }
.grid-item:nth-child(7) { animation-delay: 0.7s; }
.grid-item:nth-child(8) { animation-delay: 0.8s; }
.grid-item:nth-child(9) { animation-delay: 0.9s; }
.grid-item:nth-child(n+10) { animation-delay: 1s; }

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


td, th {
    padding: 10px;
}
