/* ==========================================================================
   HORTI MASSZÁZS - PUBLIC BOOKING FRONTEND STYLES
   ========================================================================== */

/* Segédosztályok */
.horti-hide {
  display: none !important;
}

.horti-mt-1 {
  margin-top: 5px !important;
}
.horti-mt-2 {
  margin-top: 10px !important;
}

.horti-text-danger {
  color: #c0392b !important;
}
.horti-text-success {
  color: #27ae60 !important;
}
.horti-muted-text {
  color: #777777 !important;
  margin-top: 15px !important;
}
.horti-small-muted {
  color: #777777 !important;
}

/* --------------------------------------------------------------------------
   HIÁNYZÓ RÉSZ: TAB-OK ÉS STEP-EK KEZELÉSE (Ami miatt üres volt a felület)
   -------------------------------------------------------------------------- */
.horti-tab-content,
.horti-step {
  display: none;
  width: 100%;
}

.horti-tab-content.active,
.horti-step.active {
  display: block !important;
}

/* Dashboard konténer */
.horti-dashboard-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  background: #faf6f0;
  border-radius: 12px;
  padding: 20px;
  font-family: inherit;
  color: #333333;
  margin: 20px 0;
}

.horti-sidebar {
  flex: 1 1 250px;
  max-width: 300px;
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #eae2d8;
}

.horti-sidebar-header {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.horti-main-content {
  flex: 3 1 500px;
  background: #ffffff;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid #eae2d8;
  min-height: 400px;
}

/* Navigáció */
.horti-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.horti-nav-logout-item {
  margin-top: 15px;
  border-top: 1px dashed #dddddd;
  padding-top: 10px;
}

.horti-tab-btn {
  width: 100%;
  text-align: left;
  padding: 12px;
  border: 1px solid #eae6db;
  background: #ffffff;
  color: #242014;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.horti-tab-btn.active {
  background: #bfa15f;
  color: #ffffff;
  border-color: #bfa15f;
}

/* Szolgáltatások Rácsa (Grid) */
.horti-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.horti-service-card {
  border: 1px solid #ebdccb;
  padding: 15px;
  border-radius: 8px;
  background: #ffffff;
}

.horti-service-title {
  margin-top: 0;
  color: #2c3e50;
  font-size: 16px;
}

.horti-service-desc {
  font-size: 13px;
  color: #666666;
}

.horti-service-info {
  font-weight: bold;
  color: #bfa15f;
  margin-bottom: 10px;
}

/* Idősávok (Time Slots) */
.horti-time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.horti-slot-btn {
  padding: 8px 12px;
  border: 1px solid #bfa15f;
  background: #ffffff;
  color: #242014;
  cursor: pointer;
  border-radius: 4px;
  font-weight: bold;
}

.horti-slot-btn.selected {
  background: #bfa15f;
  color: #ffffff;
}

/* Űrlapok */
.horti-inline-title {
  display: inline-block;
  margin-left: 10px;
}

.horti-selected-title {
  font-weight: bold;
  color: #bfa15f;
}

.horti-summary-box {
  background: #fdfaf7;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #ebdccb;
  margin: 15px 0;
}

.horti-input-full {
  width: 100%;
  padding: 8px;
  border: 1px solid #eae6db;
  border-radius: 6px;
  box-sizing: border-box;
}

.horti-input-disabled {
  background: #eeeeee;
}

.horti-form-space {
  margin-top: 15px;
}

.horti-checkbox-label {
  font-size: 13px;
  cursor: pointer;
}

.horti-link-gold {
  color: #bfa15f;
  text-decoration: none;
}

.horti-turnstile-box {
  margin-bottom: 15px;
}

.horti-profile-form {
  max-width: 400px;
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
}

/* Belépés és Regisztráció Card Grid */
.horti-auth-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.horti-auth-card {
  flex: 1;
  min-width: 240px;
  background: #fafafa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
}

.horti-forgot-link {
  text-align: right;
  margin-top: -5px;
  font-size: 12px;
}

/* Sikeres foglalás kártya */
.horti-success-box {
  text-align: center;
  padding: 30px;
}

.horti-emoji-large {
  font-size: 50px;
}

/* Publikus Táblázat */
.horti-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

.horti-table th {
  background: #f4f4f4;
  text-align: left;
  padding: 8px;
}

.horti-table td {
  padding: 8px;
  border-bottom: 1px solid #eeeeee;
}

/* Gombok */
.horti-btn-primary {
  background: #bfa15f;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.horti-btn-block {
  width: 100%;
}

.horti-btn-secondary {
  background: #888888;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.horti-btn-sm {
  font-size: 12px;
  padding: 4px 8px;
}

.horti-btn-danger {
  background: #e74c3c;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* Felugró ablakok (Modals) az Ügyféloldalon */
.horti-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5) !important;
  z-index: 999999 !important;
  display: none;
  justify-content: center !important;
  align-items: center !important;
}

.horti-modal-content {
  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 8px !important;
  width: 90% !important;
  max-width: 400px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
}

.horti-modal-subtext {
  font-size: 13px;
  color: #666666;
}

.horti-modal-actions {
  text-align: right;
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   SAJÁT FOGLALÁSOK KÁRTYÁS ELRENDEZÉS & FELÜLÍRÁS (OVERRIDE)
   ========================================================================== */

/* Kártyák konténere */
.horti-my-bookings-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin-top: 15px !important;
}

/* Egy darab kártya doboza */
.horti-user-booking-card {
  background: #ffffff !important;
  border: 1px solid #eae6db !important;
  border-radius: 10px !important;
  padding: 14px 16px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  box-sizing: border-box !important;
}

/* Felső fejléc sáv a kártyán belül (Dátum, Idő, Ár) */
.horti-user-booking-card .horti-card-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px dashed #e8e4d8 !important;
  padding-bottom: 8px !important;
  margin-bottom: 10px !important;
}

.horti-user-booking-card .horti-card-date-time {
  display: flex !important;
  gap: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #242014 !important;
}

.horti-user-booking-card .horti-card-price {
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #bfa15f !important;
  background: #faf8f3 !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  border: 1px solid #efebe0 !important;
}

.horti-user-booking-card .horti-card-middle {
  margin-bottom: 12px !important;
}

.horti-user-booking-card .horti-card-service-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #333333 !important;
}

/* Gombok Konténere - Szigorúan egymás mellett */
.horti-user-booking-card .horti-card-bottom-actions {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px !important;
  width: 100% !important;
}

/* KISMÉRETŰ GOMBOK FELÜLÍRÁSA */
.horti-user-booking-card .horti-card-bottom-actions button,
.horti-user-booking-card .horti-user-btn-edit,
.horti-user-booking-card .horti-user-btn-cancel,
.horti-user-booking-card .horti-user-btn-disabled {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  text-align: center !important;
  display: inline-block !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Módosítás gomb (Arany/Bézs) */
.horti-user-booking-card .horti-user-btn-edit {
  background: #bfa15f !important;
  color: #ffffff !important;
}

.horti-user-booking-card .horti-user-btn-edit:hover {
  background: #a88b4a !important;
}

/* Lemondás gomb (Piros) */
.horti-user-booking-card .horti-user-btn-cancel {
  background: #e74c3c !important;
  color: #ffffff !important;
}

.horti-user-booking-card .horti-user-btn-cancel:hover {
  background: #c0392b !important;
}

/* Letiltott gomb (Módosítás folyamatban) */
.horti-user-booking-card .horti-user-btn-disabled {
  background: #d5dbdb !important;
  color: #7f8c8d !important;
  cursor: not-allowed !important;
}

/* ==========================================================================
   MODERN NAVIGÁCIÓS MENÜ ÉS FEJLÉC STÍLUSOK
   ========================================================================== */

/* Fejléc üdvözlő doboz */
.horti-sidebar-header {
  padding: 12px 15px !important;
  background: #faf8f3 !important;
  border: 1px solid #eae6db !important;
  border-radius: 8px !important;
  margin-bottom: 18px !important;
}

/* Menü konténer gombjai */
.horti-nav-menu {
  gap: 8px !important;
}

.horti-tab-btn {
  width: 100% !important;
  text-align: left !important;
  padding: 10px 14px !important;
  border: 1px solid #eae6db !important;
  background: #ffffff !important;
  color: #242014 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

/* Hover hatás a menügombokon */
.horti-tab-btn:hover {
  background: #faf8f3 !important;
  border-color: #bfa15f !important;
  color: #bfa15f !important;
}

/* Aktív menügomb stílusa (Gyönyörű arany/barna arculat) */
.horti-tab-btn.active {
  background: #242014 !important; /* Mély barna / fekete elegáns háttér */
  color: #ffffff !important;
  border-color: #242014 !important;
  box-shadow: 0 3px 8px rgba(36, 32, 20, 0.2) !important;
}

/* Kijelentkezés elem elválasztója */
.horti-nav-logout-item {
  margin-top: 10px !important;
  border-top: 1px dashed #eae6db !important;
  padding-top: 10px !important;
}

/* Kijelentkezés gomb (Pirosas kiemelés) */
.horti-tab-btn.horti-text-danger {
  color: #e74c3c !important;
  background: #fff8f8 !important;
  border-color: #fadbd8 !important;
}

.horti-tab-btn.horti-text-danger:hover {
  background: #e74c3c !important;
  color: #ffffff !important;
  border-color: #e74c3c !important;
}
