:root {
  --bg-color: #254022;
  --text-color: #222222;
  --text-color-inferior: #555555;
  --accent-color: #254022;
  --accent-color-hover: #285323;
  --status-green: #00df04;
  --status-amber: #ff9900;
  --status-red: #fd4b4b;
  --nav-bg: #d8d7cf;
  --footer-bg: #eeeeee;
  --border-radius: 20px;
  --scroll-thumb: var(--accent-color);
  --scroll-track: var(--nav-bg);
  --bg-opacity: 1;
}
html.dark {
  --bg-color: #254022;
  --text-color: #d8d7cf;
  --text-color-inferior: #aaaaaa;
  --nav-bg: #1f1f1f;
  --footer-bg: #272727;
  --scroll-thumb: var(--accent-color);
  --scroll-track: #1f1f1f;
  --bg-opacity: 0.6;
}
* {
  box-sizing: border-box;
  transition: all 0.25s ease;
  font-family: Verdana, Geneva, sans-serif;
  /* font-family: 'Inter', sans-serif; */
}
.small-text {
  font-size: 0.8rem;
  color: var(--text-color-inferior);
  text-align: center !important;
}
body {
  margin: 0;
  /* font-family: Verdana, Geneva, sans-serif; */
  font-size: 1rem;
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.shadow-container {
  box-shadow: 0 0 5px rgba(0,0,0,0.7);
}
a, button, input, select, textarea {
  font-family: inherit;
  transition: all 0.25s ease;
}
a:hover, button:hover, i:hover {
  transform: scale(1.1);
}
a {
  color: var(--accent-color);
  text-decoration: none;
}
a:hover {
  color: var(--accent-color-hover);
  text-decoration: none;
}
textarea {
  resize: vertical !important;
}
input[type="checkbox"] {
  accent-color: var(--accent-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}
input[type="checkbox"]:focus,
input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Navbar */
nav {
  min-height: 100px;
  background-color: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 100;
}
.brand-logo {
  max-width: 180px;
  height: auto;
}
.center-logo, .center-logo-shadow {
  max-width: 160px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -50%);
}
.center-logo-shadow {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  box-shadow: 0 2px 15px rgba(0,0,0,0.7);
  z-index: 101;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav-links a, .nav-links button, #returnHome {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.nav-links a:hover, .nav-links button:hover {
  color: var(--accent-color);
}
.dark-mode-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  padding: none;
  cursor: pointer;
  color: var(--text-color);
}
.dark-mode-toggle:hover {
  color: var(--accent-color);
}
#darkModeBtn .material-symbols-outlined:nth-child(2) {
  display: none;
}

/* === UPDATED CAROUSEL STYLES === */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-slides-container {
  position: relative;
}
.carousel-slide {
  margin-bottom: 20px;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease-in-out;
}
.carousel-slide.active {
  opacity: 1;
  position: relative;
}
.carousel-slide img {
  object-fit: cover;
}
/* Signup section - now perfectly centered and spaced */
.signup-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.signup-container p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}
.signup-container .std-btn {
  width: auto;
  min-width: 160px;
  padding: 1.2rem;
  font-size: 1.1rem;
}
.signup-container-buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
#signupOr {
  display: none;
  max-width: 120px;
  text-align: center;
}
#findOutBtn:hover {
  transform: scale(1.0) !important;
}
/* Dot indicators */
.carousel-indicators {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(0%);
  display: flex;
  gap: 0.8rem;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--footer-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}
.dot.active {
  background: var(--bg-color);
  transform: scale(1.4);
}
/* Booking modal wrapper */
.booking-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  flex-direction: row;
  gap: 2rem;
  max-width: 90%;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.booking-modal.open {
  display: flex;
  opacity: 1;
}
/* Booking card */
.booking-card {
  flex: 1;
  background-color: var(--nav-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
  position: static;
  transform: none;
  width: auto;
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.booking-card .booking-text {
  flex: 1;
  text-align: left;
}
.booking-card .booking-form {
  flex: 1;
}
.booking-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
}
.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}
label {
  margin-bottom: 0.3rem;
  margin-left: 4px;
  font-weight: 500;
}
input, select, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 1rem;
  background: var(--nav-bg);
  color: var(--text-color);
}
input:hover, select:hover, textarea:hover {
  border-color: var(--accent-color);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 5px var(--accent-color);
}
/* Toggle Switch */
.toggle-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  padding: 0.5rem;
}
.toggle-option {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--border-radius);
  user-select: none;
  font-weight: 500;
}
.toggle-option.active {
  background-color: var(--accent-color);
  color: white;
}
button.std-btn {
  background-color: var(--accent-color);
  color: var(--text-color);
  border: none;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
}
button.std-btn:hover {
  transform: scale(1.05);
}
button.std-btn.iss {
  background-color: var(--accent-color-2) !important;
}
.icon-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px !important;
  width: 44px !important;
}
/* Close button for booking */
#closeBooking {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}
#closeBooking:hover {
  color: var(--accent-color);
}
/* Layout */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 5rem 2rem 5rem;
  gap: 3rem;
  width: 100%;
}
/* Info text section */
.info-section {
  flex: 1;
  width: 90%;
  background-color: var(--nav-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}
.info-section p {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
}
.info-top-div {
  display: flex;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
}
.info-top-div-row {
  display: flex;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px;
}
.info-top-div-left {
  width: 45% !important;
}
.info-top-div-right {
  width: 45% !important;
}
.preview-images {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.mobile-preview, .desktop-preview {
  height: 300px;
  width: auto;
  border-radius: var(--border-radius);
}
.desktop-preview {
  margin-bottom: 20px;
}
.blend-edges {
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 65%,
    transparent 70%
  );
  mask-image: radial-gradient(
    circle at center,
    black 65%,
    transparent 70%
  );
}
.preview-text {
  width: 80%;
}
.info-dom {
  font-size: 1.8rem !important;
}
.info-sub {
  font-size: 1.2rem !important;
}
.info-price {
  color: var(--accent-color);
  font-size: 1.3rem !important;
}
.punch {
  font-weight: 700;
  color: var(--accent-color);
}
.div-spacer {
  width: 100%;
  height: 1px;
  border-top: 1px solid #444;
  margin-top: 50px;
  margin-bottom: 50px;
}
#mission-text {
  padding: 6px;
}

.testimonials-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 40px;
}
.testimonial {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.testimonial-text {
  width: 40%;
  font-size: 1.0rem !important;
  font-style: italic;
  min-height: 200px;
  margin-top: 20px !important;
}
.testimonial-pic {
  border-radius: var(--border-radius);
  height: 400px;
  width: auto;
  margin-right: 20px;
  margin-left: 20px;
}
.moving-text-desktop {
  display: block;
}
.moving-text-mobile {
  display: none;
}


.pricing-features {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 4rem;
  list-style: none;
  font-size: 1.2rem;
  text-align: left;
  margin-top: 24px;
  margin-bottom: 10px;
}
.pricing-features li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}
.pricing-features li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--accent-color); 
  font-weight: bold;
}
.armyText {
  width: 100%;
}
.bat {
  margin-left: 10px;
}

.choose-deployment {
  display: flex;
  flex-direction: row;
  align-items: stretch !important;
  justify-content: space-around;
}
.deployment-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: space-between; */
  width: 45%;
  min-height: 100% !important;
  padding: 20px;
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
}
.deployment-container.sat:hover {
  box-shadow: 0 0px 10px var(--accent-color-hover);
}
.deployment-container.iss:hover {
  box-shadow: 0 0px 10px var(--accent-color-2-hover);
}
.sat-spacer{
  display: flex;
  flex-grow: 1;
}
#satDepText, #issDepText {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 30px;
}
#satDepText {
  color: var(--accent-color);
}
#issDepText {
  color: var(--accent-color-2);
}
#satDepText i {
  font-size: 2.2rem;
  margin-left: 20px;
}
#issDepText span {
  font-size: 2.6rem;
  margin-left: 20px;
  cursor: default;
}
#issDepText span:hover, #sidetray-satAlt:hover {
  transform: scale(1.1);
}
.punch-iss {
  font-weight: 700;
  color: var(--accent-color-2);
}
.pricing-features-iss li::before {
  content: "++";
  color: var(--accent-color-2) !important;
  font-weight: bold;
}
#enquireSuccess {
  text-align: center;
  color: var(--accent-color);
  padding: 20px;
  border-radius: var(--border-radius);
}
.disclaimer {
  font-size: 0.8rem !important;
  color: var(--text-color-inferior) !important;
  margin-top: 20px;
}

/* Footer */
.footer-class {
  background-color: var(--nav-bg);
  padding: 1.5rem 2rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.socials {
  display: flex;
  gap: 2rem;
}
.socials a {
  color: var(--text-color);
  font-size: 1.5rem;
}
.socials a:hover {
  color: var(--accent-color);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--accent-color);
}
small {
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: center;
}
small a {
  color: var(--text-color);
  text-decoration: none;
}
small a:hover {
  color: #6CA5AC;
}
#companyLink:hover {
  color: var(--accent-color);
}



/* Side tray */
.side-tray {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100%;
  background-color: var(--nav-bg);
  box-shadow: -8px 0 16px rgba(0,0,0,0.4);
  transition: right 0.4s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.side-tray.open {
  right: 0;
}
.sidetray-icon {
  margin-right: 20px;
  width: 25px;
}
.tray-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
}
.user-greeting {
  display: flex;
  flex: 2;
  align-items: center;
  min-height: 40px;
  max-width: 70%;
  margin: 0 1rem;
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: left;
}
.user-greeting-name {
  color: var(--accent-color);
  margin-left: 4px;
  overflow-wrap: break-word;
}
.side-tray-spacer {
  flex-grow: 1;
}
.logout-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
}
.logout-container button {
  margin-top: 1rem;
}
#delete-button {
  background: #ff4d4d;
}
#closeTray {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
  margin-left: 20px;
}
#closeTray:hover {
  color: var(--accent-color);
}
.tray-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.tray-links li {
  padding: 1rem 2rem;
}
.tray-links button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;

  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  width: 100%;
  text-align: left;
}
.tray-links button:hover {
  color: var(--accent-color);
}
#iss-sidetray:hover {
  color: var(--accent-color-2);
}
.nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

 #resend-verify, #delete-button {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#resend-verify.sent {
  display: none;
}


.menu-toggle {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
}
.menu-toggle:hover {
  color: var(--accent-color);
}
.auth-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  padding-bottom: 40px;
  margin-top: 10px;
  border-bottom: 1px solid var(--accent-color);
}
.auth-container button {
  flex: 1;
  margin: 0 0.5rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}
.auth-container button:hover {
  color: var(--accent-color);
}



/* Auth modals */
.hidden {
  display: none !important;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 900;
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 100%;
  max-width: 600px;
  max-height: 96vh;
  background-color: var(--nav-bg);
  color: var(--text-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.auth-modal::-webkit-scrollbar {
  width: 8px;
}
.auth-modal::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 20px;
}
.auth-modal:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.auth-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-color);
  cursor: pointer;
}
.auth-close:hover {
  color: var(--accent-color);
  transform: scale(1.2);
}
.auth-modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  text-align: center;
  color: var(--accent-color);
}
.auth-subtitle {
  margin: 0 0 1.8rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
}

.auth-subtitle {
  margin: 0 0 1.8rem;
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.85;
}

.auth-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}

.auth-field label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.auth-field input {
  padding: 0.75rem;
  border-radius: var(--border-radius);
  border: 1px solid #ccc;
  background-color: var(--footer-bg) !important;
  color: var(--text-color) !important;
  font-size: 1rem;
}

.auth-field input:hover {
  border-color: var(--accent-color);
}

.auth-field input:focus {
  border-color: var(--accent-color);
  outline: none;
  box-shadow: 0 0 5px var(--accent-color);
}

.disclaimer-container {
  background-color: var(--nav-bg);
  padding: 20px;
  border-radius: var(--border-radius);
}

/* Disable browser defaults */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--nav-bg) inset !important;
  -webkit-text-fill-color: var(--text-color) !important;
  transition: background-color 5000s ease-in-out 0s !important;
  background-color: var(--nav-bg) !important;
}

.auth-primary-btn {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-primary-btn .spinner {
  margin-left: 8px;
}

.auth-primary-btn:hover {
  transform: scale(1.1);
}

.auth-error,
.auth-success {
  min-height: 40px;
  margin-bottom: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  text-align: center;
}

.auth-error {
  background: rgba(255, 0, 0, 0.1);
  color: var(--status-red);
}

.auth-success {
  background: rgba(0, 180, 120, 0.15);
  color: var(--status-green);
}

.auth-password-hint {
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.85;
}

.forgot {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

#reset-password {
  font-weight: bold;
  color: var(--accent-color);
  cursor: pointer;
  margin: 0px;
  transition: all 0.25s ease;
}

#reset-password:hover {
  transform: scale(1.1);
}

.link-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.reset-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 16px;
  font-size: 14px;
  color: var(--accent-color);
  opacity: 1;
  transition: all 0.25s ease;
}

.reset-loader.notyet {
  opacity: 0;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
}

#signupSpinner, #resendSpinner, #deleteSpinner, #bookingSpinner, #stripeSpinner, #enquireSpinner {
  font-size: 14px;
  border-top-color: #ffffff !important;
  opacity: 1;
}

#signupSpinner.notyet, #resendSpinner.notyet, #deleteSpinner.notyet, #bookingSpinner.notyet, #stripeSpinner.notyet, #enquireSpinner.notyet {
  opacity: 0;
}

#resendSpinner, #deleteSpinner, #bookingSpinner, #stripeSpinner, #enquireSpinner {
  margin-left: 8px;
}

.spinner-spacer {
  width: 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 1rem;
}

.auth-switch button {
  background: none;
  border: none;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.auth-consent {
  margin-bottom: 1.2rem;
}

.auth-consent-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.booking-consent-label {
  width: 80%;
  text-align: center;
}

.auth-consent input {
  margin-top: 0.2rem;
  cursor: pointer;
}

.auth-consent input:focus {
  border-color: none;
  outline: none;
  box-shadow: none;
}

/* No nav */
.no-nav nav .menu-toggle {
  display: none;
}







/* Scrollbar styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--scroll-track);
  border-radius: var(--border-radius);
}
::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: var(--border-radius);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover, var(--scroll-thumb));
}
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}


/* nicer scrollbar (modern browsers) */
.view-booking-modal-scroll::-webkit-scrollbar {
  width: 6px;
}

.view-booking-modal-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.view-booking-modal-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}





/* What we offer */
.wwo_page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  width: 80%;
}
.wwo_page-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
  color: #d8d7cf;
}
.wwo_subtitle {
  width: 100%;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}
.wwo_punch {
  color: var(--accent-color);
  font-weight: 700;
}
.wwo_punch_iss {
  color: var(--accent-color-2);
  font-weight: 700;
}
.wwo_textbox {
  width: 65%;
  height: 600px;
  background-color: var(--nav-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.6);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  overflow: hidden;
}
.wwo_textbox p {
  font-size: 1.2rem;
  line-height: 1.5;
}
.wwo-enquire-link {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transform: scale(1.0) !important;
}
.wwo_row {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
}
.wwo-enquire {
  width: 60% !important;
}
.wwo_textbox-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.wwo_dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.wwo_dot.wwo_active {
  background: var(--bg-color);
  transform: scale(1.3);
}
.wwo_bubbles, .wwo_bubbles_iss {
  width: 40%;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
}
.wwo_bubbles p, .wwo_bubbles_iss p {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 60%;
  margin-bottom: 0px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  background-color: var(--nav-bg);
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  color: var(--text-color);
  padding: 10px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  cursor: pointer;
}
.wwo_bubbles_iss p {
  background-color: var(--accent-color-2);
  color: #f4f4f4;
}
.wwo_bubbles p:hover, .wwo_bubbles_iss p:hover {
  transform: scale(1.1);
}
.wwo_bubbles p.wwo_selected, .wwo_bubbles_iss p.wwo_selected {
  transform: scale(1.1) translateX(-20px);
}
.wwo_bubbles p:hover, .wwo_bubbles p.wwo_selected {
  background-color: var(--footer-bg);
}
.wwo_bubbles_iss p:hover, .wwo_bubbles_iss p.wwo_selected {
  background-color: var(--footer-bg);
}
.wwo-ready {
  margin-bottom: 20px !important;
}


/* Booking */
.booking-page {
  max-width: 900px;
  padding: 2rem;
  background: var(--nav-bg);
  border-radius: var(--border-radius);
}

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

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.booking-label {
  margin-bottom: 8px;
}

.booking-form-group-full {
  grid-column: span 2;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}


.coach-select option {
  line-height: 1.4;
}
.coach-select option:hover {
  background-color: var(--bg-color);
  line-height: 1.4;
}




/* Custom dropdown styling */
.custom-slot-select {
  position: relative;
}

.custom-slot-button {
  width: 100%;
  padding: 12px 40px 12px 16px;
  text-align: left;
  color: var(--text-color);
  background: var(--nav-bg);
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  font-size: 16px;
  cursor: pointer;
}

.custom-slot-button:hover {
  transform: scale(1.0) !important;
  border-color: var(--accent-color);
}

.custom-slot-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--nav-bg);
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  margin-top: 4px;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  padding: 0;
  z-index: 5000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.custom-slot-item {
  padding: 10px;
  cursor: pointer;
  white-space: pre-wrap;
  line-height: 1.45;
  font-size: 0.9rem;
  font-family: 'Courier New', Courier, monospace;
}
.custom-slot-item:hover {
  background: var(--footer-bg);
}
.custom-slot-item.selected {
  background: var(--footer-bg);
  font-weight: bold;
  color: var(--accent-color);
}


.booking-page-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-page-form input,
.booking-page-form select {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  background-color: var(--nav-bg);
  color: var(--text-color);
}

.booking-page-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  border-color: #ccc;
  border-style: solid;
  border-width: 1px;
  background-color: var(--nav-bg);
  color: var(--text-color);
}

.booking-page-form select:hover, .booking-page-form select:focus {
  border-color: var(--accent-color) !important;
}

.booking-btn.booking-submit {
  display: flex;
  /* margin-top: 1rem; */
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: var(--border-radius);
  background-color: var(--accent-color);
  color: var(--text-color);
  cursor: pointer;
}

.booking-toggle-container {
  display: flex;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--nav-bg);
}

.booking-toggle-option {
  display: flex;
  flex: 1;
  padding: 0.75rem;
  font-size: 1rem;
  text-align: center;
  border: none;
  background-color: var(--nav-bg);
  color: var(--text-color);
  cursor: pointer;
}

.booking-toggle-option:hover {
  transform: scale(1) !important;
}

.booking-toggle-option.active {
  background-color: var(--accent-color);
}

.booking-toggle-option.fade {
  opacity: 0.3;
  /* cursor: not-allowed;
  pointer-events: none; */
  color: var(--text-color-inferior);
}

.booking-consent {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.consent-checkbox {
  width: 20% !important;
}

.booking-consent input:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.booking-price {
  margin: 0px !important;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
  /* min-width: 100px; */
  width: 230px;
  padding: 10px;
  text-align: center;
  min-height: 70px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.dir-btn-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}

#booking-dir-btn {
  width: 80% !important;
}

.dark-button, .booking-toggle-option.active {
  color: #d8d7cf !important;
}

#sessionSlot {
  max-width: 20px;
}

.price-submit-wrapper {
  width: 80%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-top: 20px;
}



/* Password reset */
.reset-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding: 2rem;
  background-color: var(--nav-bg);
  border-radius: var(--border-radius);
  box-shadow: 5px 3px 10px rgba(0,0,0,0.3);
}

.reset-container a {
  text-decoration: none;
  color: var(--accent-color);
}

#reset-form {
  margin-bottom: 40px;
}

.input-holder {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

#new-password, #confirm-password {
  width: 90%;
  margin: 0px;
  background-color: var(--nav-bg);
  color: var(--text-color);
}

#password-strength-icon.fa-circle-xmark {
  color: var(--status-red);
  background-color: #1f1f1f;
  border-radius: 50%;
  border: 1px solid #1f1f1f;
}

#password-strength-icon.fa-exclamation-circle {
  color: var(--status-amber);
  background-color: #1f1f1f;
  border-radius: 50%;
  border: 1px solid #1f1f1f;
}

#password-strength-icon.fa-check-circle {
  color: var(--status-green);
  background-color: #1f1f1f;
  border-radius: 50%;
  border: 1px solid #1f1f1f;
}

.message, #message {
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 60px;
}

.returnHomeBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d8d7cf !important;
}










/* Dashboard */
.dashboard-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: min-content;
  gap: 2rem;
  align-items: start;
}
#availabilityBox {
  grid-column: 1;
  grid-row: 1 / span 20;
}
.dashboard-box:not(#availabilityBox) {
  grid-column: 2;
}
.dashboard-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background-color: var(--nav-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}
.dashboard-box h2 {
  margin: 0;
  text-align: left;
  font-size: 1.3rem;
}
.bottom-spacer {
  height: 1px;
}
.coaching-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}
.expand-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}
.expand-btn[aria-expanded="true"] {
  transform: rotate(180deg);
}


/* Profile */
.profile-type-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 0.8rem; */
  /* margin-top: 1rem; */
  font-size: 0.8rem;
}
#profileTypeWrapper {
  margin-right: 30px;
  margin-left: 30px;
  font-size: 0.8rem;
}
#playerRole {
  width: 100%;
}
.toggle-switch {
  position: relative;
  width: 60px;
  height: 34px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  inset: 0;
  background-color: var(--bg-color);
  border-radius: 34px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.slider::before {
  content: "";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text-color);
  border-radius: 50%;
  transition: transform 0.3s ease;
}
#saveProfileBtn {
  max-width: 25%;
}
.toggle-switch input:checked + .slider {
  background-color: var(--accent-color);
}
.toggle-switch input:checked + .slider::before {
  transform: translateX(26px);
}
.profile-section {
  width: 100%;
  overflow: hidden;
  transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s ease,
    transform 0.35s ease,
    padding 0.35s ease;
}
.profile-section p {
  text-align: left;
}
.profile-section.expanded {
  max-height: 800px;
  opacity: 1;
  padding: 1rem 0;
  transform: translateY(0);
  visibility: visible;
}
.profile-section.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  transform: translateY(-6px);
  visibility: hidden;
}
.line-spacer {
  width: 100%;
  height: 1px;
  border-bottom: 1px solid var(--text-color-inferior);
  margin-top: 24px;
  margin-bottom: 8px;
}
#profileBio {
  resize: vertical;
}
#displayBio {
  padding: 4px;
}
#profileSpecialism {
  min-height: 40.6px;
}
#profileSpecialism label {
  margin-bottom: 0px !important;
}
.setting {
  padding-top: 20px;
  padding-bottom: 30px;
}
.event-setting {
  padding-bottom: 30px;
}
#locationSettingsLong {
  resize: vertical;
  width: 100%;
  margin-top: 10px;
}
#middleSetting {
  border-top: 1px dashed var(--text-color-inferior);
  border-bottom: 1px dashed var(--text-color-inferior);
}
#allowCheck {
  padding: 0px !important;
}


/* Booking settings */
.location-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  border-radius: 8px;
}
.location-fields {
  flex: 1;
}
.location-fields input {
  width: 100%;
  margin-bottom: 8px;
}
.location-fields textarea {
  width: 100%;
  resize: vertical;
}
#addAnotherLocation {
  width: 40%;
  align-self: center;
}
.location-select-wrapper {
  width: 100%;
  margin-top: 12px;
  margin-bottom:6px;
}
.location-select {
  padding: 0.5rem !important;
  margin-left: 10px;
}
#groupPriceWrapper {
  padding-bottom: 0px;
}



/* Coach */
.coach-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.coach-card-main {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin-bottom: 20px;
}
.coach-card-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 20px;
}
.coach-photo-placeholder {
  width: 120px;
  height: 120px;
  background-color: var(--nav-bg);
  border: 2px dashed var(--text-color-inferior);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 0.9rem;
  flex-shrink: 0;
  text-align: center;
}
.coach-photo-placeholder:hover {
  border: 2px dashed var(--text-color);
  transform: scale(1.05);
}
.coach-details {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.coach-details h3 {
  display: flex;
  margin: 0;
  font-size: 1.4rem;
  color: var(--text-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.2rem;
}
.verfiy-award {
  color: var(--accent-color);
  font-size: 1.6rem;
}
.verfiy-check {
  color: var(--accent-color);
  font-size: 0.8rem;
  margin-left: -1px;
}
.coach-verified-spacer {
  flex-grow: 1;
}
.stars-container {
  align-items: center !important;
}
.stars {
  max-height: 50px;
  width: 100px;
}
.coach-field, #coachFields, #playerFields {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#bioField {
  margin-top: 0.5rem;
}
.coach-field label, #coachFields label, #playerFields label {
  display: block;
  margin-bottom: 0.2rem;
  margin-left: 0px;
  font-size: 14px;
  color: var(--text-color-inferior);
}
.coach-field input,
.coach-field select,
.coach-field textarea {
  width: 100%;
  background-color: var(--nav-bg);
}
.checkbox-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.4rem;
}
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}
.char-count {
  width: 100%;
  text-align: right;
  font-size: 0.8rem;
  margin-top: 0.3rem;
  color: var(--text-color);
}
.char-count p {
  width: 100%;
  text-align: center;
}
.role-fields {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.readonly-text {
  margin: 0;
  color: var(--text-color);
  text-align: left;
  font-size: 18px;
}


/* Coach availability */
#availabilityBox > div {
  width: 100%;
}
.availability-calendar {
  background: var(--nav-bg);
  border-radius: var(--border-radius);
  padding: 1rem;
}
#availabilityPlaceholder {
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#availabilityPlaceholder i {
  font-size: 10rem;
  color: var(--accent-color);
  margin-bottom: 30px;
}
#availabilityPlaceholder p {
  font-size: 1.4rem;
  text-align: center;
}


/* Events */
.events-box {
  margin-top: 10px;
  margin-bottom: 10px;
}
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 12px;
}
.event {
  background-color: var(--nav-bg);
  border-radius: var(--border-radius);
  border: 2px solid var(--accent-color);
  overflow: hidden;
}
.event-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  padding: 14px 16px;
  align-items: center;
}
.event-main-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  padding: 10px;
}
.event-header {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.event-header strong {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-color);
}
.event-time {
  color: var(--text-color-inferior);
  font-size: 0.92rem;
  white-space: nowrap;
}
.event-price {
  font-weight: 600;
  color: var(--accent-color);
}
.event-capacity {
  font-size: 0.9rem;
  color: var(--text-color);
  white-space: nowrap;
}
[data-remove] {
  margin-left: auto;
  flex-shrink: 0;
}
.date-range {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px 12px;
}
.date-range p {
  margin: 4px 0;
  font-size: 0.92rem;
  color: var(--text-color-inferior);
  text-align: center;
}
.event-exceptions {
  margin: 30px;
  padding: 10px;
  background: var(--footer-bg);
  border-radius: var(--border-radius);
}
.event-exceptions strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.98rem;
  font-weight: 600;
}
.event-exceptions .small-text.muted {
  margin-bottom: 10px;
  line-height: 1.35;
}
.event-block-date-input, .add-block-btn {
  width: 60% !important;
}
.allow-per-day-status {
  font-size: 0.9rem;
  padding-left: 10px;
}


.blocked-dates-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}
.blocked-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--status-amber);
  border-radius: 9999px;
  font-size: 0.86rem;
  color: var(--status-amber);
}
.remove-block-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
}
.remove-block-btn:hover {
  opacity: 1;
}
.add-block-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.add-block-row input[type="date"] {
  flex: 1;
  min-width: 160px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.95rem;
}
.add-block-btn {
  white-space: nowrap;
}
.blocked-dates-list .muted.tiny {
  font-size: 0.82rem;
  opacity: 0.7;
}


/* Event input */
.events-input {
  padding: 10px;
  border-radius: var(--border-radius);
  background: var(--footer-bg);
  margin-bottom: 20px;
}
#eventDateSpacer {
  min-width: 100px;
}
#eventName {
  width: 75%;
}
#specificDateInputs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
#specificDateInputs div {
  min-height: 108px;
}
#addEventBtnWrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 0px !important;
}
#addEventBtn {
  margin-left: 20px;
}
#eventStartDate {
  margin-bottom: 33px;
}
#perDayInfo {
  width: 75%;
  text-align: center;
}



.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.calendar-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.calendar-nav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-color);
}

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

.calendar-day-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.7;
}

@media (min-width: 1400px) {
  .calendar-day-label {
    padding-right: 10px;
  }
}

@media (min-width: 1500px) {
  .calendar-day-label {
    padding-right: 20px;
  }
}

@media (min-width: 1600px) {
  .calendar-day-label {
    padding-right: 30px;
  }
}

/* =====================
   Calendar Day Styles - New Status System
====================== */

.calendar-day {
  height: 70px;
  background: var(--nav-bg);
  border-radius: var(--border-radius);
  border: 1px dashed var(--text-color-inferior);
  padding: 0.3rem;
  font-size: 0.75rem;
  position: relative;
  cursor: default;
  transition: all 0.12s ease;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.calendar-day-number {
  font-weight: 600;
  padding: 0.2rem 0.3rem;
}

.calendar-day.blank {
  border: none !important;
  background: transparent !important;
}

/* Status-Based Border Styling */

/* Default: Future day with no slots */
.calendar-day.default {
  border: 1px dashed var(--text-color-inferior);
  background: var(--nav-bg);
}

/* Available: Future day with bookable slots */
.calendar-day.available {
  border: 1px solid var(--accent-color);
  background: rgba(var(--accent-color-rgb), 0.08);
  font-weight: 500;
  cursor: pointer;
}

/* Buffer: Within notice period */
.calendar-day.buffer {
  border: 1px solid var(--status-amber);
  background: rgba(255, 179, 0, 0.08);
}

/* Blocked: Manually marked unavailable */
.calendar-day.blocked {
  border: 1px solid #f44336;
  background: rgba(244, 67, 54, 0.08);
  opacity: 0.65;
  text-decoration: line-through;
  cursor: pointer;
}

/* Today: Special highlight */
.calendar-day.today {
  border: 2px solid var(--text-color);
  background: rgba(var(--text-color-rgb), 0.08);
  box-shadow: inset 0 0 0 1.5px var(--text-color);
  font-weight: 600;
}

/* Past: Reduced opacity */
.calendar-day.past {
  border: 1px dashed var(--text-color-inferior);
  background: rgba(0, 0, 0, 0.04);
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Booking Corner Stripe */
.calendar-day.has-booking::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 20px 0;
  border-color: transparent var(--accent-color) transparent transparent;
  border-radius: 0 var(--border-radius) 0 0;
  pointer-events: none;
}

/* Booking stripe color variations based on status */
.calendar-day.today.has-booking::before {
  border-right-color: var(--text-color);
}

.calendar-day.buffer.has-booking::before {
  border-right-color: var(--status-amber);
}

.calendar-day.blocked.has-booking::before {
  border-right-color: var(--status-red);
}

.calendar-day.past.has-booking::before {
  opacity: 1; /* Keep stripe visible even on past days */
}

/* Past days with bookings should be slightly more visible */
.calendar-day.past.has-booking {
  opacity: 0.5;
  pointer-events: auto;
  cursor: pointer;
}

/* Hover Effects */
.calendar-day.available:hover {
  background: rgba(var(--accent-color-rgb), 0.15);
  transform: scale(1.02);
}

.calendar-day.blocked:hover {
  background: rgba(244, 67, 54, 0.15);
}

.calendar-day.has-booking:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.calendar-tutorial {
  color: var(--text-color-inferior);
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
}
.calendar-day .slots-remaining {
  font-size: 0.75rem;
  color: var(--text-color);
  position: absolute;
  bottom: 4px;
  right: 6px;
}
.calendar-day .slots-remaining.full {
  color: var(--status-green);
  font-weight: bold;
}
.event-count-dots {
  position: absolute;
  bottom: 4px;
  left: 6px;
  font-size: 0.72rem;
  color: var(--text-color-inferior);
  opacity: 0.75;
  letter-spacing: 1px;
}



/* Timeslots */
.timeslots-input {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.head-round {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.head-round > * {
  margin: 0;
  margin-bottom: 24px;
}

.timeslots-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 20px;
}

.timeslot {
  padding: 0.6rem;
  background: var(--footer-bg);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeslot-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.timeslot.visible {
  opacity: 1;
}

.timeslot.fading-out {
  opacity: 0;
}

.timeslot strong {
  color: var(--accent-color);
}

.timeslot-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.from-time-to-time {
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 18px;
  padding-bottom: 20px;
}

.moving-btn-mobile {
  display: none;
}

.moving-btn-web {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Clicks ignore icons */
.std-btn.icon-btn i,
.std-btn.icon-btn i::before {
  pointer-events: none !important;
}

.timeslot-actions button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

#slotStart, #slotEnd {
  cursor: pointer;
}

#addTimeslotBtn {
  max-width: 20%;
}

.muted {
  text-align: center;
}

.days {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.day-label {
  margin-top: 6px;
  margin-bottom: 6px;
}

.day-ticker {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Blocked dates */
.blocked-dates-box {
  background: var(--footer-bg);
  border-radius: var(--border-radius);
  padding: 0.8rem;
}
.blocked-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.blocked-date {
  padding: 0.3rem 0.6rem;
  background: var(--nav-bg);
  border-radius: var(--border-radius);
  font-size: 1.2rem;
}
.blocked-date-remove {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px !important;
  width: 22px !important;
  font-size: 0.8rem;
}
#blockDayBtn {
  width: 60%;
}
#bufferLabel {
  margin-bottom: 4px !important;
}


/* Session Modal */
.session-modal {
  display: none;
  position: absolute;
  background: var(--nav-bg);
  padding: 10px;
  z-index: 1000;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  width: 250px;
  font-size: 0.95em;
  line-height: 1.4;
  transition: opacity 0.25s ease, left 0.25s ease, top 0.25s ease;
}
.session-modal h4 {
  margin: 0 0 8px;
  font-size: 1.1em;
}
.session-modal ul {
  margin: 8px 0;
  padding-left: 20px;
}


/* Player view: hide coach-only controls */
.player-view .timeslots-box,
.player-view .blocked-dates-box {
  display: none;
}
.player-view .calendar-day.available,
.player-view .calendar-day.blocked,
.player-view .calendar-day.buffer {
  cursor: default;
  pointer-events: none;
}
.player-view .calendar-day.has-booking {
  pointer-events: auto;
  cursor: pointer;
}




/* Booking Modal (Click/Tap) - Desktop defaults */
.view-booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.view-booking-modal {
  background: var(--nav-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  max-width: 92%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.view-booking-modal-header {
  padding: 1rem 1.2rem;
  background: rgba(0,0,0,0.08);
  border-bottom: 1px solid var(--text-color-inferior);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.view-booking-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--accent-color);
}

.view-booking-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.view-booking-modal-scroll {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.view-booking-modal-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}


/* Calendar Action Text */
.calendar-action-text {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-color-inferior);
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 4px;
}

/* Booking details styling */
.booking-details {
  margin: 0;
  font-size: 0.95rem;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--text-color-inferior);
  text-align: right;
}
.detail-row.notes {
  flex-direction: column;
  align-items: flex-start;
}
.detail-row.notes p {
  margin-top: 0.3rem;
  white-space: pre-wrap;
}
.detail-label {
  font-weight: 600;
  color: var(--text-color-inferior);
  min-width: 110px;
  text-align: left !important;
}
.booking-actions {
  padding-bottom: 2rem;
  text-align: center;
  border-bottom: 1px dashed var(--text-color-inferior);
}
.booking-time {
  font-weight: bold;
}
.booking-status.confirmed {
  color: var(--status-green);
}
.booking-status.pending {
  color: var(--status-amber);
}
.cancel-booking-btn {
  width: 60% !important;
}



/* Wallet */
.wallet-text {
  text-align: center;
}
.wallet-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#stripeConnectBtn {
  width: 60%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.wallet-btn-icon {
  margin-left: 4px;
}



/* Offers */
#offerSetting {
  padding-top: 40px !important;
}
.offer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding-bottom: 20px;
}
.offer-inputs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}
.offer-inputs input {
  max-width: 50px;
  margin-left: 4px;
  margin-right: 4px;
  text-align: center;
}
#offerText {
  width: 70%;
}
#priceDisplay .small-text.savings {
  font-size: 0.85rem;
}
.checkbox-label {
  width: 90%;
}
#useOfferCheckbox {
  width: 6%;
}
.checkbox-label:disabled, #useOfferCheckbox:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
#refundDisclaimer {
  margin-top: 30px;
}
#theActualOffer {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--accent-color);
}
.offer-note {
  color: var(--text-color-inferior);
  font-size: 0.8rem;
}
.checkbox-label.offer-disabled {
  pointer-events: none;
  cursor: not-allowed;
}
#useOfferCheckbox.offer-disabled {
  pointer-events: none;
  cursor: not-allowed;
}


/* Profile photo */
.coach-photo-area {
  position: relative;
  width: 120px;
  height: 120px;
  border: 2px dashed var(--text-color-inferior);
  border-radius: var(--border-radius);
  background: var(--nav-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, transform 0.2s;
}
.coach-photo-area.has-photo {
  border: none !important;
  background: transparent;
}
.coach-photo-area:hover {
  border-color: var(--text-color);
}
body.is-editing .coach-photo-area .photo-overlay-text {
  opacity: 1 !important;
  display: block !important;
}
.photo-display,
.photo-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.photo-icon {
  font-size: 4rem;
  color: #aaa;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.photo-edit-layer {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.coach-photo-area:hover .photo-edit-layer,
body.is-editing .coach-photo-area .photo-edit-layer {
  opacity: 1;
  pointer-events: auto;
}
#photoPlaceholderIcon {
  font-size: 2.5rem;
}
.photo-overlay-text {
  max-width: 60%;
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-color-inferior);
  margin-top: 6px;
}
.photo-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}




/* Coach finder */
.marketing {
  width: 100%;
}
.marketing h1 {
  text-align: center;
  color: #d8d7cf;
}
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 2rem;
  margin: 2.5rem 0 4rem;
  padding: 0 1rem;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.coaches-grid .coach-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.finder-coach-card {
  padding: 1rem;
  background-color: var(--nav-bg);
  border-radius: var(--border-radius);
}




/* Mobile responsiveness */
@media (max-width: 800px) {
  main {
    padding: 5rem 1rem 5rem;
  }
  nav {
    padding: 0.75rem 1rem;
  }
  .side-tray {
    width: 300px;
  }
  .carousel-slide {
    padding: 0px;
    text-align: center;
  }
  .carousel-text-container {
    width: 100%;
    text-align: center;
  }
  .carousel-text-container h3 {
    font-size: 1.3rem;
  }
  .carousel-indicators {
    left: 45%;
  }
  .signup-container {
    padding: 0px;
  }
  .signup-container p {
    text-align: center;
  }
  .signup-container .std-btn {
    width: 80%;
  }
  .signup-container-buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #findOutBtn {
    width: 100%;
  }
  #signupOr {
    max-width: 36px;
    display: flex;
    color: var(--text-color-inferior);
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
  }
  .brand-logo {
    max-width: 100px;
    height: auto;
  }
  .center-logo, .center-logo-shadow {
    max-width: 140px;
    height: auto;
    top: 80%;
  }
  .center-logo-shadow {
    height: 140px !important;
  }
  .booking-modal {
    flex-direction: column;
  }
  .booking-card {
    flex-direction: column;
  }
  .socials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36px, 1fr));
    gap: 0.5rem;
    justify-items: center;
    font-size: 1.2rem;
    max-width: 120px;
  }
  .nav-right {
    font-size: 0.8rem;
    gap: 0.7rem;
  }
  .info-section {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 94%;
  }
  .info-top-div {
    flex-direction: column !important;
  }
  .info-top-div div {
    width: 100% !important;
  }
  .info-top-div-row {
    flex-direction: column !important;
    justify-content: flex-start !important;
  }
  .info-top-div-right {
    justify-content: center;
  }
  #mobileFriendly {
    justify-content: flex-start !important;
  }
  .taller {
    height: 600px !important;
  }
  .info-dom {
    font-size: 1.0rem !important;
  }
  .info-sub {
    font-size: 0.8rem !important;
  }
  .info-section p {
    font-size: 1rem;
  }
  #mission-text {
    width: 100% !important;
  }
  .mobile-preview, .desktop-preview {
    width: 100%;
    height: auto;
  }
  .testimonial {
    flex-direction: column;
    justify-content: flex-start;
  }
  .testimonial-text {
    width: 100%;
    font-size: 0.8rem !important;
    font-style: italic;
    margin-top: 0px !important;
    min-height: 220px;
  }
  .choose-deployment {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
  .deployment-container {
    width: 100%;
    padding-right: 4px;
    padding-left: 4px;
  }
  .deployment-container.sat {
    margin-bottom: 20px;
  }
  .wwo_page-content {
    width: 100%;
  }
  .wwo-enquire {
    width: 100% !important;
  }
  .wwo_row {
    justify-content: space-between;
  }
  .wwo_textbox {
    width: 50%;
    padding: 6px;
    text-align: center;
  }
  .wwo_textbox p {
    font-size: 0.8rem;
  }
  .wwo-our-story {
    font-size: 0.7rem !important;
  }
  .wwo_subtitle {
    font-size: 1.2rem;
  }
  .wwo_page-title {
    font-size: 1.6rem;
  }
  .wwo_bubbles p, .wwo_bubbles_iss p {
    font-size: 1rem;
    width: 100%;
  }
  .wwo_bubbles p.wwo_selected, .wwo_bubbles_iss p.wwo_selected {
    transform: scale(1.1) translateX(-5px);
  }
  .wwo-ready {
    width: 100% !important;
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
  .booking-form-group-full {
    grid-column: span 1;
  }
  .dir-btn-wrapper {
    margin-top: -20px;
  }
  .auth-modal {
    width: calc(100% - 2rem);
    padding: 1.5rem;
  }
  .auth-close {
    top: 0.5rem;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  #availabilityBox,
  .dashboard-box:not(#availabilityBox) {
    grid-column: 1;
    grid-row: auto;
  }
  .dashboard-box {
    width: 100%;
  }
  #coachDashboardBox {
    max-height: 435px;
  }
  .coach-card-left {
    max-width: 145px;
  }
  .coach-photo-placeholder {
    width: 80px !important;
    height: 80px !important;
  }
  .coach-details {
    padding-left: 10px;
  }
  .coach-details h3 {
    font-size: 18px;
  }
  .readonly-text {
    font-size: 16px;
  }
  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
  }
  .coach-field input,
  .coach-field select,
  .coach-field textarea {
    font-size: 0.8rem;
  }
  #profileTypeWrapper {
    flex: auto;
    min-width: 144px;
  }
  #playerRole {
    font-size: 0.8rem;
  }
  #profileTitle {
    font-size: 16px;
    white-space: pre-line;
  }
  .photo-overlay-text {
    max-width: 80%;
  }
  .availability-calendar {
    padding: 0px;
    margin-top: 16px;
  }
  #availabilityBox.no-profile-yet {
    display: none !important;
  }
  .calendar-day {
    height: auto;
    border-radius: 10px !important;
  }
  .calendar-day.has-booking::before {
    border-width: 0 14px 14px 0;
  }
  .calendar-day-number {
    padding: 0.1rem 0.2rem;
  }
  .calendar-day .slots-remaining {
    font-size: 0.6rem;
    bottom: 2px;
    right: 4px;
  }
  .event-count-dots {
    font-size: 0.4rem;
    bottom: 1px;
    left: 4px;
    letter-spacing: 0.2px;
  }
  .calendar-tutorial {
    width: 100%;
    font-size: 0.9rem;
  }
  .timeslots-input {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .from-time-to-time {
    width: 100%;
    margin: 0px;
  }
  .from-time-to-time input {
    margin-left: 6px;
    margin-right: 6px;
  }
  .timeslot {
    flex-direction: column;
  }
  .timeslot-header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .timeslots-top-layer {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .timeslot-row {
    flex-direction: column;
  }
  #addAnotherLocation {
    width: 60%;
    padding: 0.75rem;
  }
  .moving-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .moving-btn-web {
    display: none;
  }
  .icon-btn {
    height: 30px !important;
    width: 30px !important;
    padding: 0.75rem !important;
  }
  .setting label {
    margin-bottom: 16px;
  }
  .view-booking-modal {
    width: 98% !important;
    max-height: 90vh;
  }
  .view-booking-modal-scroll {
    padding-bottom: 1rem;
  }
  .booking-details {
    font-size: 0.8rem;
  }
  .detail-label {
    min-width: 80px;
  }
  .calendar-action-text {
    display: none;
  }
  .custom-slot-item {
    font-size: 0.95rem;
    padding: 14px 16px;
  }
  .price-submit-wrapper {
    width: 100%;
  }
  .booking-price {
    font-size: 0.9rem;
    width: 140px;
    min-height: 88px;
  }
  #offerText {
    width: 90%;
  }
  .offer-note {
    max-width: 80%;
    font-size: 0.6rem;
  }
  .booking-submit {
    max-width: 50%;
    padding: 0.75rem !important;
  }
  .armyText {
    width: 90%;
  }
  .coaches-grid {
    grid-template-columns: 1fr;
    gap: 2rem 1.5rem;
    padding: 0 1rem;
    margin: 2rem 0 3rem;
  }
  .pricing-features {
    width: 100% !important;
    padding-left: 1rem !important;
    font-size: 0.9rem;
  }
  .cancel-booking-btn {
    width: 80% !important;
  }
  #eventDateSpacer {
    min-width: 0px;
  }
  #eventEndDateText {
    margin-top: 4px;
  }
  .event-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .event-header {
    width: 100%;
    flex-direction: column;
    gap: 4px;
  }
  [data-remove].moving-btn-mobile {
    order: -1;
    align-self: flex-end;
  }
  .add-block-row {
    flex-direction: column;
  }
  .add-block-row input[type="date"] {
    width: 100%;
  }
}