/* Reservation System Styles - OpenTable-like */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #e5e7eb;
}
.reservation-container {
  max-width: 720px;
  margin: 30px auto;
  padding: 28px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.steps-indicator {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 24px;
}
.step-text {
    color: #6b7280; /* default gray */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.step:hover .step-number {
    background: #495b7d; /* same as active */
    color: #fff;
}

.step:hover .step-text {
    color: #495b7d; /* highlight text */
    text-decoration: underline;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
}

.step.active {
  color: #495b7d;
}

.step-number {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e5e7eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.step.active .step-number {
  background: #495b7d;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center
}
.restaurant-logo {
    margin-top: 20px;
    text-align: center;
    height: 150px;
}

.restaurant-title {
  text-align: center;
  color: #111827;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 500;
}

.form-row {
  display: flex;
  align-items:center;
  align-content:center;
  gap: 12px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 12px;
  z-index: 10;
  font-size: 18px;
}

.form-control {
  padding-left: 44px;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 16px;
}

.form-control:focus {
  border-color: #495b7d;
  box-shadow: 0 0 0 0.2rem rgba(73, 91, 125, 0.25);
}

.btn-find-table {
    width: 100%;
    height: 48px;
    background: #02254b;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.btn-find-table:hover {
  background: #495b7d;
}

.time-slots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    justify-content: center;
}

.btn-time-slot {
    background: #02254b;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
}

.btn-time-slot:hover {
  background: #495b7d;
  color: white;
}

.btn-notify {
    background: transparent;
    border: 1px solid #02254b;
    color: #02254b;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

    .btn-notify:hover {
        background: #02254b;
        color: white;
    }

.opentable-branding {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  text-align: center;
}

.opentable-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.logo-dot {
    width: 40px;
    height: 30px;
}

.logo-text {
  font-weight: 600;
  color: #333;
}

.branding-text {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.learn-more {
  color: #495b7d;
  text-decoration: none;
}

.learn-more:hover {
  text-decoration: underline;
}

.confirmation-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.confirmation-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.reservation-form-panel {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 32px 28px 24px 28px;
    max-width: 600px;
    margin: 0 auto;
}

.reservation-form-panel .form-label {
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    font-size: 1rem;
}

.reservation-form-panel .form-control {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    margin-bottom: 11px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.reservation-form-panel .form-control:focus {
    border-color: #02254b;
    outline: none;
}

.reservation-form-panel textarea.form-control {
    min-height: 90px;
    resize: vertical;
}

.reservation-form-panel .btn-find-table {
    width: 100%;
    background: #02254b;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    padding: 14px 0;
    margin-top: 10px;
    margin-bottom: 18px;
    transition: background 0.2s;
}

.reservation-form-panel .btn-find-table:hover {
    background: #495b7d;
}

.reservation-form-panel .form-text {
    color: #6b7280;
    font-size: 13px;
    text-align: center;
    margin-top: 8px;
}

.text-danger,
.field-validation-error {
    color: #dc3545 !important; /* Bootstrap red */
    font-size: 0.97rem;
    margin-top: 4px;
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* 404 Page Styling */
.error-page {
    display: flex;
    height: 50vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: #495b7d; /* dark gray */
    margin: 0;
}

.error-message {
    font-size: 18px;
    color: #6b7280;
    margin: 16px 0 32px 0;
}

.error-btn {
    display: inline-block;
    background: #02254b; /* purple */
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .error-btn:hover {
        background: #495b7d;
    }


/* Reservation Success (Complete) Styles */
.reservation-complete {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin-top: 40px;
}

.reservation-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(73, 91, 125, 0.08);
    padding: 40px 32px 32px 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.reservation-icon {
    font-size: 48px;
    color: #22c55e; /* green check */
    margin-bottom: 18px;
}

.reservation-greeting {
    font-size: 1.5rem;
    font-weight: 700;
    color: #02254b;
    margin-bottom: 10px;
}

.reservation-text {
    color: #495b7d;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.reservation-btn {
    display: inline-block;
    background: #02254b;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 1rem;
}

.reservation-btn:hover {
    background: #495b7d;
}

/*Logo styles in layout*/
.site-banner {
    margin-top: 20px; 
    text-align: center;
}

    .site-banner img {
        max-width: 100px;
        height: auto;
    }

/* Media Queries */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .time-slots {
    justify-content: center;
  }

  /* Adjust reservation complete section */
  .reservation-complete {
    flex-direction: column;
    margin-top: 40px;
  }

  /* Stack card elements */
  .reservation-card {
    padding: 30px 24px;
    width: 100%;
    max-width: 400px;
  }

  /* Smaller check icon */
  .reservation-icon {
    font-size: 36px;
  }

  /* Move heading and text to be centered */
  .reservation-greeting,
  .reservation-text {
    text-align: center;
  }

  /* Stack buttons vertically */
  .reservation-btn {
    width: 100%;
    margin-bottom: 12px;
  }
}

