/* ========================================
   RESERVATION PAGE STYLES
======================================== */

/* Reservation Hero Section */
.reservation-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px 60px;
}

.reservation-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.reservation-hero-background .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: floatOrb 20s ease-in-out infinite;
}

.reservation-hero-background .orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 84, 156, 0.4) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.reservation-hero-background .orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 244, 244, 0.2) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation-delay: 5s;
}

.reservation-hero-background .orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 84, 156, 0.3) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: 10s;
}

.reservation-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.reservation-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 30px;
}

.reservation-hero-title .title-word {
  display: inline-block;
  color: #F4F4F4;
  animation: slideUp 0.8s ease-out both;
}

.reservation-hero-title .title-word:nth-child(1) {
  animation-delay: 0.1s;
}

.reservation-hero-title .title-word:nth-child(2) {
  animation-delay: 0.2s;
}

.reservation-hero-title .title-word:nth-child(3) {
  animation-delay: 0.3s;
}

.reservation-hero-title .title-word.accent {
  background: linear-gradient(135deg, #25549C 0%, rgba(37, 84, 156, 0.85) 50%, #F4F4F4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  filter: drop-shadow(0 4px 12px rgba(37, 84, 156, 0.4));
}

.reservation-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(244, 244, 244, 0.8);
  line-height: 1.6;
  animation: fadeIn 1s ease-out 0.8s both;
}

/* Main Reservation Section */
.reservation-main-section {
  position: relative;
  padding: 80px 20px 120px;
  background: linear-gradient(180deg,
    rgba(12, 12, 12, 0.95) 0%,
    rgba(37, 84, 156, 0.05) 50%,
    rgba(12, 12, 12, 0.95) 100%
  );
}

.reservation-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

/* Reservation Form */
.reservation-form-wrapper {
  position: relative;
}

.reservation-form-card {
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 84, 156, 0.3);
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(37, 84, 156, 0.15);
  transition: var(--transition-fast);
}

.reservation-form-card:hover {
  border-color: rgba(37, 84, 156, 0.5);
  box-shadow: 0 30px 80px rgba(37, 84, 156, 0.25);
}

.reservation-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(37, 84, 156, 0.2) 0%, rgba(37, 84, 156, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 84, 156, 0.3);
}

.form-header-icon svg {
  width: 30px;
  height: 30px;
  color: #25549C;
}

.reservation-form-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  color: #F4F4F4;
  margin-bottom: 10px;
  font-weight: 400;
}

.reservation-form-subtitle {
  font-size: 14px;
  color: rgba(244, 244, 244, 0.6);
  letter-spacing: 0.5px;
}

/* Form Sections */
.form-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(37, 84, 156, 0.15);
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 30px;
}

.form-section-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: #F4F4F4;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-section-title svg {
  width: 20px;
  height: 20px;
  color: #25549C;
}

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

.form-row:last-child {
  margin-bottom: 0;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(244, 244, 244, 0.8);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(37, 84, 156, 0.3);
  border-radius: 8px;
  color: #F4F4F4;
  font-size: 15px;
  font-family: var(--font-sans);
  transition: var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: rgba(244, 244, 244, 0.4);
}

.form-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #25549C;
  box-shadow: 0 0 0 3px rgba(37, 84, 156, 0.15);
}

.form-input:hover:not(:focus) {
  border-color: rgba(37, 84, 156, 0.5);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F4F4F4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 45px;
}

.form-select option {
  background: #0C0C0C;
  color: #F4F4F4;
  padding: 10px;
}

.form-select option:hover,
.form-select option:checked {
  background: #25549C;
  color: #F4F4F4;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* Submit Button */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.reservation-submit-btn {
  padding: 18px 50px;
  background: linear-gradient(135deg, #25549C 0%, rgba(37, 84, 156, 0.85) 100%);
  border: 1px solid #25549C;
  border-radius: 8px;
  color: #F4F4F4;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(37, 84, 156, 0.3);
  position: relative;
  overflow: hidden;
}

.reservation-submit-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.reservation-submit-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.reservation-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 84, 156, 0.5);
}

.reservation-submit-btn:hover svg {
  transform: scale(1.1);
}

.reservation-submit-btn:hover::before {
  width: 400px;
  height: 400px;
}

.reservation-submit-btn:active {
  transform: translateY(-1px);
}

/* Info Sidebar */
.reservation-info-sidebar {
  position: relative;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 84, 156, 0.2);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition-fast);
}

.info-card:hover {
  border-color: rgba(37, 84, 156, 0.4);
  box-shadow: 0 10px 30px rgba(37, 84, 156, 0.15);
  transform: translateY(-2px);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.info-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(37, 84, 156, 0.2) 0%, rgba(37, 84, 156, 0.1) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 84, 156, 0.3);
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 22px;
  height: 22px;
  color: #25549C;
}

.info-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: #F4F4F4;
}

.info-card-body {
  color: rgba(244, 244, 244, 0.8);
  font-size: 14px;
  line-height: 1.8;
}

/* Hours List */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(37, 84, 156, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.hours-day {
  font-weight: 500;
  color: rgba(244, 244, 244, 0.9);
}

.hours-time {
  font-weight: 600;
  color: #25549C;
}

/* Contact List */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(244, 244, 244, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
  padding: 8px 0;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: #25549C;
  flex-shrink: 0;
}

.contact-item:hover {
  color: #F4F4F4;
  transform: translateX(5px);
}

/* Location */
.location-text {
  margin-bottom: 15px;
  line-height: 1.8;
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25549C;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.location-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.location-link:hover {
  color: #F4F4F4;
}

.location-link:hover svg {
  transform: translateX(3px) translateY(-3px);
}

/* Reservation Notice */
.reservation-notice {
  background: rgba(37, 84, 156, 0.1);
  border: 1px solid rgba(37, 84, 156, 0.3);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.reservation-notice svg {
  width: 20px;
  height: 20px;
  color: #25549C;
  flex-shrink: 0;
  margin-top: 2px;
}

.reservation-notice p {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceUpDown 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(244, 244, 244, 0.3);
  border-radius: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: #25549C;
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.5;
  }
}

@keyframes bounceUpDown {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .reservation-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar-sticky {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .reservation-notice {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .reservation-hero-section {
    min-height: 80vh;
    padding: 80px 20px 40px;
  }

  .reservation-main-section {
    padding: 50px 0 80px;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
  }

  .reservation-container {
    padding: 0 15px;
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .reservation-form-card {
    padding: 30px 25px;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .reservation-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .sidebar-sticky {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 25px;
  }

  .form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .reservation-form-card {
    padding: 25px 20px;
  }

  .form-input {
    padding: 12px 15px;
    font-size: 14px;
  }

  .reservation-submit-btn {
    padding: 16px 35px;
    font-size: 14px;
  }
}

/* ========================================
   FLOOR PLAN STYLES
======================================== */

.form-help-text {
  font-size: 11px;
  color: rgba(244, 244, 244, 0.5);
  font-style: italic;
  margin-top: 5px;
}

.floor-plan-info {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(37, 84, 156, 0.1);
  border: 1px solid rgba(37, 84, 156, 0.2);
  border-radius: 8px;
}

.floor-plan-info p {
  color: rgba(244, 244, 244, 0.8);
  font-size: 14px;
  margin-bottom: 15px;
}

.legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 2px solid;
}

.legend-box.available {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(37, 84, 156, 0.3);
}

.legend-box.selected {
  background: linear-gradient(135deg, #25549C 0%, rgba(37, 84, 156, 0.85) 100%);
  border-color: #25549C;
  box-shadow: 0 0 10px rgba(37, 84, 156, 0.5);
}

.legend-box.reserved {
  background: rgba(94, 94, 94, 0.5);
  border-color: #5E5E5E;
}

.legend-item span {
  font-size: 13px;
  color: rgba(244, 244, 244, 0.8);
}

/* Floor Plan Container */
.floor-plan-container {
  background: rgba(12, 12, 12, 0.6);
  border: 2px solid rgba(37, 84, 156, 0.2);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 25px;
}

.floor-plan-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.floor-plan-row:last-child {
  margin-bottom: 0;
}

/* Top Row - Static Elements */
.floor-top-row {
  padding-bottom: 25px;
  border-bottom: 2px dashed rgba(37, 84, 156, 0.2);
}

.floor-item.floor-static {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  background: rgba(94, 94, 94, 0.2);
  border: 2px solid rgba(94, 94, 94, 0.4);
  border-radius: 8px;
}

.floor-item.floor-static svg {
  width: 32px;
  height: 32px;
  color: rgba(244, 244, 244, 0.6);
}

.floor-item.floor-static span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(244, 244, 244, 0.7);
}

.floor-item.kitchen {
  border-color: rgba(255, 107, 107, 0.4);
  max-width: 150px;
  width: 150px;
  height: 150px;
  justify-content: center;
}

.floor-item.bar {
  border-color: rgba(37, 84, 156, 0.4);
  flex: 2;
  min-width: 250px;
  height: 150px;
  justify-content: center;
}

.floor-item.toilets {
  border-color: rgba(100, 181, 246, 0.4);
  max-width: 150px;
  width: 150px;
  height: 150px;
  justify-content: center;
}

/* Middle Row - Tables */
.floor-middle-row-wrapper {
  width: 100%;
}

.floor-middle-row {
  padding: 20px 0;
  min-height: 300px;
}

/* Show/Hide for Desktop/Mobile */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.floor-section {
  display: grid;
  gap: 15px;
  flex: 1;
}

.floor-left,
.floor-right {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.floor-center {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  max-width: 250px;
  margin: 0 20px;
}

/* Table Items */
.table-item {
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.table-item[data-status="reserved"] {
  cursor: not-allowed;
  opacity: 0.6;
}

.table-circle,
.table-square {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(37, 84, 156, 0.3);
  transition: var(--transition-fast);
}

.table-circle {
  border-radius: 50%;
  width: 90px;
  height: 90px;
}

.table-square {
  border-radius: 8px;
  width: 100px;
  height: 100px;
}

.table-number {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: #F4F4F4;
}

.table-capacity {
  font-size: 10px;
  color: rgba(244, 244, 244, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Table States */
.table-item[data-status="available"]:hover .table-circle,
.table-item[data-status="available"]:hover .table-square {
  border-color: #25549C;
  background: rgba(37, 84, 156, 0.15);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(37, 84, 156, 0.3);
}

.table-item[data-status="selected"] .table-circle,
.table-item[data-status="selected"] .table-square {
  background: linear-gradient(135deg, #25549C 0%, rgba(37, 84, 156, 0.85) 100%);
  border-color: #25549C;
  box-shadow: 0 0 20px rgba(37, 84, 156, 0.6);
  transform: scale(1.08);
}

.table-item[data-status="reserved"] .table-circle,
.table-item[data-status="reserved"] .table-square {
  background: rgba(94, 94, 94, 0.3);
  border-color: #5E5E5E;
}

.table-item[data-status="reserved"] .table-number,
.table-item[data-status="reserved"] .table-capacity {
  color: rgba(244, 244, 244, 0.4);
}

/* High Tables */
.table-item.high-table .table-square {
  border-color: rgba(37, 84, 156, 0.4);
  position: relative;
}

.table-item.high-table .table-square::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: rgba(37, 84, 156, 0.5);
  border-radius: 2px;
}

/* Bottom Row - Entrance */
.floor-bottom-row {
  padding-top: 25px;
  border-top: 2px dashed rgba(37, 84, 156, 0.2);
}

.floor-item.entrance {
  max-width: 200px;
  margin: 0 auto;
  border-color: rgba(37, 84, 156, 0.5);
  justify-content: center;
  align-items: center;
}

/* Outside Tables */
.floor-outside-row {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 3px solid rgba(37, 84, 156, 0.3);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(37, 84, 156, 0.05) 100%
  );
  border-radius: 0 0 8px 8px;
  padding: 20px;
}

.outside-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  color: rgba(244, 244, 244, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
}

.outside-label svg {
  width: 20px;
  height: 20px;
  color: #25549C;
}

.floor-section.floor-outside {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 20px;
  max-width: 100%;
}

.table-item.outside-table .table-square {
  width: 100%;
  height: 110px;
  border-color: rgba(37, 84, 156, 0.4);
  background: rgba(37, 84, 156, 0.05);
}

/* Selected Tables Summary */
.selected-tables-summary {
  background: rgba(37, 84, 156, 0.1);
  border: 1px solid rgba(37, 84, 156, 0.3);
  border-radius: 8px;
  padding: 20px;
  margin-top: 25px;
}

.selected-tables-summary h4 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #F4F4F4;
  margin-bottom: 15px;
}

.selected-tables-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  min-height: 40px;
  align-items: center;
}

.selected-tables-list .no-selection {
  color: rgba(244, 244, 244, 0.5);
  font-style: italic;
  font-size: 13px;
}

.selected-table-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(37, 84, 156, 0.2);
  border: 1px solid #25549C;
  border-radius: 6px;
  font-size: 13px;
  color: #F4F4F4;
  font-weight: 500;
}

.selected-table-tag .remove-table {
  cursor: pointer;
  padding: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.selected-table-tag .remove-table:hover {
  background: rgba(255, 77, 77, 0.3);
}

.selected-table-tag svg {
  width: 12px;
  height: 12px;
}

.total-capacity {
  font-size: 16px;
  font-weight: 600;
  color: #F4F4F4;
  padding-top: 15px;
  border-top: 1px solid rgba(37, 84, 156, 0.2);
}

.total-capacity span {
  color: #25549C;
  font-size: 20px;
}

/* Responsive Floor Plan */
@media (max-width: 1024px) {
  .floor-plan-container {
    padding: 20px;
  }

  .floor-middle-row {
    flex-direction: column;
    gap: 30px;
  }

  .floor-left,
  .floor-right {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
  }

  .floor-center {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    max-width: 100%;
    margin: 0;
  }

  .floor-section.floor-outside {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .reservation-main-section {
    padding: 50px 0 80px;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
  }

  .reservation-container {
    padding: 0 15px;
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .reservation-form-wrapper {
    max-width: 100%;
    overflow-x: hidden;
  }

  .reservation-form-card {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .floor-plan-container {
    padding: 15px;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .floor-top-row {
    flex-direction: row;
    gap: 10px;
    max-width: 100%;
  }

  .floor-item.floor-static {
    width: auto;
    height: 120px;
    padding: 10px;
  }

  .floor-item.kitchen,
  .floor-item.toilets {
    max-width: none;
    width: auto;
    flex: 1;
  }

  .floor-item.bar {
    flex: 1;
    min-width: auto;
  }

  .floor-item.floor-static svg {
    width: 24px;
    height: 24px;
  }

  .floor-item.floor-static span {
    font-size: 10px;
  }

  /* Show/Hide Desktop and Mobile versions */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block;
  }

  /* Make only middle row scrollable horizontally */
  .floor-middle-row-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }

  .floor-middle-row-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .floor-middle-row-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
  }

  .floor-middle-row-wrapper::-webkit-scrollbar-thumb {
    background: rgba(37, 84, 156, 0.5);
    border-radius: 3px;
  }

  .floor-middle-row-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 84, 156, 0.7);
  }

  /* Mobile middle row layout */
  .floor-middle-row-mobile {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    width: max-content;
  }

  /* Mobile sections - 2x2 grids */
  .floor-section-mobile {
    display: grid;
    grid-template-columns: repeat(2, 110px);
    grid-template-rows: repeat(2, 110px);
    gap: 12px;
    flex-shrink: 0;
  }

  .floor-section.floor-outside {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }

  .legend {
    flex-direction: column;
    gap: 10px;
  }
  .reservation-info-sidebar{
    display: none;
  }
}

@media (max-width: 480px) {
  .reservation-info-sidebar{
    display: none;
  }

  .floor-section.floor-outside {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
  }

  .selected-tables-summary {
    padding: 15px;
  }

  .table-number {
    font-size: 16px;
  }

  .table-capacity {
    font-size: 9px;
  }
}

/* ========================================
   RESERVATION MODAL STYLES
======================================== */

.reservation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.reservation-modal.show {
  opacity: 1;
  pointer-events: all;
}

.reservation-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.reservation-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(12, 12, 12, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 84, 156, 0.3);
  border-radius: 16px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 30px;
  border-bottom: 1px solid rgba(37, 84, 156, 0.2);
}

.modal-header svg {
  width: 40px;
  height: 40px;
  color: #25549C;
  flex-shrink: 0;
}

.modal-header h2 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #F4F4F4;
  margin: 0;
}

.modal-body {
  padding: 30px;
}

.modal-section {
  margin-bottom: 30px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #25549C;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(37, 84, 156, 0.15);
}

.modal-info-grid {
  display: grid;
  gap: 15px;
}

.modal-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(37, 84, 156, 0.1);
}

.info-label {
  font-size: 14px;
  color: rgba(244, 244, 244, 0.7);
  font-weight: 500;
}

.info-value {
  font-size: 15px;
  color: #F4F4F4;
  font-weight: 600;
  text-align: right;
}

.info-value.highlight {
  color: #25549C;
  font-size: 18px;
}

.modal-tables {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-notes {
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(37, 84, 156, 0.1);
}

.modal-notes p {
  color: #F4F4F4;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.modal-notice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: rgba(37, 84, 156, 0.1);
  border: 1px solid rgba(37, 84, 156, 0.3);
  border-radius: 8px;
  margin-top: 20px;
}

.modal-notice svg {
  width: 24px;
  height: 24px;
  color: #25549C;
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-notice p {
  color: rgba(244, 244, 244, 0.9);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding: 20px 30px;
  border-top: 1px solid rgba(37, 84, 156, 0.2);
}

.modal-btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  outline: none;
}

.modal-btn svg {
  width: 18px;
  height: 18px;
}

.modal-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 244, 244, 0.2);
  color: #F4F4F4;
}

.modal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(244, 244, 244, 0.3);
}

.modal-btn-primary {
  background: linear-gradient(135deg, #25549C 0%, rgba(37, 84, 156, 0.85) 100%);
  border: 1px solid #25549C;
  color: #F4F4F4;
  box-shadow: 0 4px 15px rgba(37, 84, 156, 0.3);
}

.modal-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 84, 156, 0.4);
}

@media (max-width: 768px) {
  .reservation-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 22px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-footer {
    flex-direction: column-reverse;
    padding: 15px 20px;
  }

  .modal-btn {
    width: 100%;
    justify-content: center;
  }

  .modal-info-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .info-value {
    text-align: left;
  }
}

/* ========================================
   SUCCESS MODAL STYLES
======================================== */

.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-modal.show {
  opacity: 1;
  pointer-events: all;
}

.success-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.success-modal-content {
  position: relative;
  background: linear-gradient(135deg, #F4F4F4 0%, #ffffff 100%);
  border: 2px solid rgba(37, 84, 156, 0.4);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(37, 84, 156, 0.3);
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal.show .success-modal-content {
  transform: scale(1);
}

/* Success Icon Animation */
.success-icon-wrapper {
  margin: 0 auto 30px;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-checkmark {
  width: 100px;
  height: 100px;
  display: block;
  stroke-width: 3;
  stroke: #25549C;
  stroke-miterlimit: 10;
  animation: fillCheckmark 0.4s ease-in-out 0.4s forwards;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 3;
  stroke: #25549C;
  fill: none;
  animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: #25549C;
  stroke-width: 3;
  animation: strokeCheck 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCircle {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fillCheckmark {
  100% {
    box-shadow: inset 0 0 0 50px rgba(37, 84, 156, 0.1);
  }
}

/* Success Text */
.success-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: #25549C;
  margin: 0 0 20px 0;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.success-message {
  font-size: 16px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  margin: 0 0 30px 0;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.success-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(37, 84, 156, 0.2);
  animation: fadeInUp 0.6s ease 0.6s both;
}

.success-footer svg {
  width: 20px;
  height: 20px;
  color: #25549C;
  animation: rotate 2s ease-in-out infinite;
}

.success-footer span {
  font-size: 14px;
  font-weight: 600;
  color: #25549C;
  letter-spacing: 0.5px;
}

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

@keyframes rotate {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

/* Responsive Success Modal */
@media (max-width: 768px) {
  .success-modal-content {
    padding: 40px 30px;
    max-width: 90%;
  }

  .success-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
  }

  .success-checkmark {
    width: 80px;
    height: 80px;
  }

  .success-title {
    font-size: 26px;
  }

  .success-message {
    font-size: 14px;
  }
}
