/* ===== Asker Golf Lounge - tema for bookingsiden ===== */

/* 1. Grunnflate */
html, body, #sb_main, #sb-main-container, #main-content, #sb_content,
#steps, #steps-content, #sb_booking_content, #sb_datetime_step_container,
#sb_timeview_container, .section-wrapper, .slots-weekly-view,
.slots-weekly-view-section, .timeline-wrapper, .tab-pd, .section-pd {
  background: #0B0F0C !important;
  color: #E8EDE7 !important;
}

/* 2. Topp og bunn */
#header, #header.web, #footer {
  background: #0B0F0C !important;
  border-color: #1E271F !important;
  color: #E8EDE7 !important;
}
#header a, #footer a, #header .nav a, .menu-list a {
  color: #E8EDE7 !important;
  background: transparent !important;
  border: none !important;
}
#header a:hover, #header .active a, #header .nav .active a { color: #C6F24E !important; }

/* 3. Kortene pa forsiden */
.section, #schedule.section, #about-us.section, #contacts.section {
  background: #121814 !important;
  border: 1px solid #1E271F !important;
  border-radius: 10px !important;
  color: #E8EDE7 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 28px rgba(0,0,0,0.55) !important;
}
.section h1, .section h2, .section h3, .section h4,
h1, h2, h3, h4, .title, .title-main { color: #E8EDE7 !important; }
.section a, .contacts a { color: #C6F24E !important; }

/* 4. Tekst generelt */
p, li, td, th, label, span, div, small { color: #E8EDE7 !important; }
.text-muted, .help-block, small, .sb-note, .company-time { color: #7E8A7D !important; }

/* 5. Knapper */
.btn, button, input[type="submit"], input[type="button"],
.btn-default, .btn-primary, .btn-success, .sb-btn {
  background: #C6F24E !important;
  border: 1px solid #C6F24E !important;
  border-radius: 6px !important;
  color: #0B0F0C !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(198,242,78,0.22) !important;
  text-shadow: none !important;
}
.btn *, button *, .sb-btn * { color: #0B0F0C !important; }
.btn:hover, button:hover, .sb-btn:hover { background: #D6FF66 !important; border-color: #D6FF66 !important; }
#header .btn, #header a.btn, .btn-link, .btn-back, .back-button {
  background: transparent !important;
  border: 1px solid #2E3B2F !important;
  color: #E8EDE7 !important;
  box-shadow: none !important;
}
#header .btn *, .btn-link *, .btn-back * { color: #E8EDE7 !important; }

/* 6. Stegene Service / Tid / Klient */
#steps-nav, .steps-nav, .booking-info {
  background: #0B0F0C !important;
  border-bottom: 1px solid #1E271F !important;
}
#steps-nav a, .step_info_item a, .step_info_item .title-small, .step_info_item .title-sub { color: #7E8A7D !important; }
.step_info_item.active a, .step_info_item.active .title-small,
.step_info_item.active .title-sub { color: #C6F24E !important; }

/* 7. Tjenestekortene */
.tab, .tab-col, .service-item, .provider-item, .item {
  background: #121814 !important;
  border: 1px solid #1E271F !important;
  border-radius: 10px !important;
  color: #E8EDE7 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 10px 28px rgba(0,0,0,0.55) !important;
}

/* 8. Dagoverskrifter og tidsbokser */
.day-container {
  background: #11170F !important;
  border: 1px solid #1E271F !important;
  border-radius: 6px 6px 0 0 !important;
  padding: 10px 4px 8px !important;
}
.day-container .date { color: #A8B6A6 !important; font-size: 13px !important; font-weight: 600 !important; }
.day-container .day { color: #E8EDE7 !important; font-size: 17px !important; font-weight: 700 !important; text-transform: uppercase !important; }
.day-container .border { background: #2E3B2F !important; }
.time-slot, .time-slot.free, .time-slot.busy,
.sb_time_slots_weekly_day_container, .time-container, .data-col,
.hour-line, .inner, .content, .header, .row-eq-height { background: transparent !important; }
.cell.sb-cell, a.cell.sb-cell, .sb-cell {
  background: #16201A !important;
  border: 1px solid #2E3B2F !important;
  border-radius: 6px !important;
  color: #E8EDE7 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 3px 10px rgba(0,0,0,0.55) !important;
  transition: transform .12s ease, background .12s ease, border-color .12s ease !important;
}
.cell.sb-cell.free:hover, .sb-cell.free:hover {
  background: #C6F24E !important;
  border-color: #C6F24E !important;
  color: #0B0F0C !important;
  transform: translateY(-2px) !important;
}
.cell.sb-cell.selected, .sb-cell.selected, .cell.selected {
  background: #C6F24E !important;
  border-color: #C6F24E !important;
  color: #0B0F0C !important;
}
.cell.sb-cell.busy, .sb-cell.busy, .reserved, .not-available, .day-off {
  background: #10150F !important;
  border-color: #1A231B !important;
  color: #454F44 !important;
  box-shadow: none !important;
}
.slots-weekly-timeline .data-col:not(:has(.cell.sb-cell.free)) { display: none !important; }

/* 9. Skjemafelt */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], select, textarea,
.form-control, .sb-input, .input-group input {
  background: #11170F !important;
  border: 1px solid #2E3B2F !important;
  border-radius: 6px !important;
  color: #E8EDE7 !important;
  font-size: 16px !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}
input:focus, select:focus, textarea:focus, .form-control:focus {
  border-color: #C6F24E !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(198,242,78,0.25) !important;
}
::placeholder { color: #7E8A7D !important; opacity: 1 !important; }

/* 10. Telefonfelt */
.input-group { display: block !important; }
.iti.iti--input-container { display: flex !important; align-items: stretch !important; width: 100% !important; }
.iti__country-container { position: static !important; flex: 0 0 auto !important; display: flex !important; padding: 0 !important; }
button.iti__selected-country {
  height: auto !important;
  align-self: stretch !important;
  min-width: 62px !important;
  justify-content: center !important;
  border: 1px solid #2E3B2F !important;
  border-right: none !important;
  border-radius: 6px 0 0 6px !important;
  background: #11170F !important;
  padding: 0 10px !important;
  box-shadow: none !important;
}
.iti__selected-country *, .iti__selected-dial-code { color: #E8EDE7 !important; }
.iti input.form-control, .iti input[type="tel"] {
  position: static !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 12px 14px !important;
  border-radius: 0 6px 6px 0 !important;
  border-left: none !important;
}
input.form-control:not(.iti__tel-input)[type="tel"] {
  opacity: 0 !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  pointer-events: none !important;
}
.iti__country-list, .iti__dropdown-content {
  background: #11170F !important;
  border: 1px solid #2E3B2F !important;
  color: #E8EDE7 !important;
}
.iti__country.iti__highlight, .iti__country:hover { background: #1E271F !important; }
.custom-checkbox .custom-label {
  background: #11170F !important;
  border: 1px solid #2E3B2F !important;
  border-radius: 4px !important;
}
.custom-checkbox input[type="checkbox"]:checked + .custom-label {
  background: #C6F24E !important;
  border-color: #C6F24E !important;
}

/* 11. Dialogbokser */
.modal-dialog, .modal-content, #booking-result-popup {
  background: #121814 !important;
  border: 1px solid #1E271F !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 64px rgba(0,0,0,0.72) !important;
}
.modal-header {
  background: transparent !important;
  border-bottom: 1px solid #1E271F !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 22px !important;
}
.modal-title { color: #E8EDE7 !important; font-weight: 700 !important; margin: 0 !important; }
.modal-body, .modal-footer { background: transparent !important; }
.modal-footer { border-top: 1px solid #1E271F !important; }
.modal-backdrop { background: #000 !important; opacity: 0.75 !important; }
button.close, .modal-dialog .modal-content button.close {
  float: none !important;
  position: static !important;
  background: transparent !important;
  border: 1px solid #2E3B2F !important;
  border-radius: 6px !important;
  opacity: 1 !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  font-size: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
button.close::after { content: '\00d7'; font-size: 22px !important; line-height: 36px !important; color: #E8EDE7 !important; }
#sb_cancellation_cancel {
  background: transparent !important;
  border: 1px solid #2E3B2F !important;
  color: #E8EDE7 !important;
  box-shadow: none !important;
}
#sb_cancellation_confirm {
  background: #C0504E !important;
  border-color: #C0504E !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(192,80,78,0.28) !important;
}
.booking-icon i, .subscribe-component--status-icon i { color: #C6F24E !important; }

/* 12. Meldinger og faner */
.alert, .alert-info, .alert-success, .alert-warning {
  background: #121814 !important;
  border: 1px solid #1E271F !important;
  color: #E8EDE7 !important;
  border-radius: 8px !important;
}
.alert-danger { background: #1A1010 !important; border: 1px solid #5A2A2A !important; color: #E8A0A0 !important; }
.tabs-container { display: flex !important; gap: 8px !important; }
.tab-link a, .tabs-container a {
  background: #121814 !important;
  border: 1px solid #1E271F !important;
  color: #E8EDE7 !important;
  border-radius: 6px !important;
  padding: 10px 16px !important;
}
.tab-link.active a { background: #C6F24E !important; border-color: #C6F24E !important; color: #0B0F0C !important; }

/* 13. Norske dagnavn */
.slots-weekly-timeline .data-col .day { font-size: 0 !important; }
.slots-weekly-timeline .data-col:nth-of-type(1) .day::after { content: 'MAN'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }
.slots-weekly-timeline .data-col:nth-of-type(2) .day::after { content: 'TIR'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }
.slots-weekly-timeline .data-col:nth-of-type(3) .day::after { content: 'ONS'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }
.slots-weekly-timeline .data-col:nth-of-type(4) .day::after { content: 'TOR'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }
.slots-weekly-timeline .data-col:nth-of-type(5) .day::after { content: 'FRE'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }
.slots-weekly-timeline .data-col:nth-of-type(6) .day::after { content: 'L\00d8R'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }
.slots-weekly-timeline .data-col:nth-of-type(7) .day::after { content: 'S\00d8N'; font-size: 17px !important; font-weight: 700 !important; color: #E8EDE7 !important; }

/* 14. Norske etiketter */
.booking-info--item_date-start td.label { font-size: 0 !important; }
.booking-info--item_date-start td.label::after { content: 'Dato:'; font-size: 15px !important; color: #E8EDE7 !important; }
.booking-info--item_end-date td.label { font-size: 0 !important; }
.booking-info--item_end-date td.label::after { content: 'Slutter:'; font-size: 15px !important; color: #E8EDE7 !important; }

/* 15. Rullefelt */
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-track { background: #0B0F0C; }
::-webkit-scrollbar-thumb { background: #2E3B2F; border-radius: 5px; }

/* 16. Toppbildet skal synes, men teksten skal vaere lesbar */
#main-buttons { background-size: cover !important; background-position: center !important; }
#main-buttons .container-fluid { background: transparent !important; }
#main-buttons .wrapper {
  background: linear-gradient(rgba(11,15,12,0.10), rgba(11,15,12,0.55)) !important;
}

/* 17. Stegkort og manedskalender */
.step_info_item, .step_info_item.filled, .step_info_item.passed, .step_info_item.active {
  background: #121814 !important;
  border: 1px solid #1E271F !important;
  border-radius: 8px !important;
}
.step_info_item .title-small { color: #7E8A7D !important; }
.step_info_item .title-sub { color: #E8EDE7 !important; }
.step_info_item.active { border-color: #C6F24E !important; }
.top-date-select .date {
  background: #16201A !important;
  color: #E8EDE7 !important;
  border-radius: 4px !important;
}
.top-date-select .date.selected, .top-date-select .selected {
  background: #C6F24E !important;
  color: #0B0F0C !important;
}
.top-date-select .selected * { color: #0B0F0C !important; }
.top-date-select .day-off, .top-date-select .date.day-off {
  background: #10150F !important;
  color: #454F44 !important;
}
.top-date-select .sb-date-navigate, .top-date-select .sb-date-navigate * { color: #C6F24E !important; }

/* 18. Logo, faner og tilbakelenke paa bestillingssiden */
#header img, #header .logo img, header img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}
#booking-result-tabs, #booking-result-tabs .container-fluid, #booking-result-tabs .column {
  background: #0B0F0C !important;
  border-bottom: 1px solid #1E271F !important;
}
#booking-result-tabs { padding: 12px 0 !important; }
.back-to-services, .back-to-services * {
  color: #C6F24E !important;
  font-weight: 600 !important;
}
.back-to-services:hover, .back-to-services:hover * { color: #D6FF66 !important; }

/* 19. Toppbildet: sloer over hele bredden, og lesbare knapper */
#main-buttons { position: relative !important; }
#main-buttons::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(rgba(11,15,12,0.15), rgba(11,15,12,0.6)) !important;
  pointer-events: none;
  z-index: 0;
}
#main-buttons .container-fluid, #main-buttons .wrapper {
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
  background-image: none !important;
}
#main-buttons .btn a, #main-buttons .btn a *, #main-buttons a.btn, #main-buttons .btn {
  color: #0B0F0C !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
