/*@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');*/


/* old green #0a5f72
old blue: #86D3E5 
old hover: #8DBAD0*/

/* ===== Brand palette ===== */

/* Global brand colour override */
:root{
  /* Primary */
  --bs-primary: #142B59;
  --bs-primary-rgb: 20, 43, 89;

  /* Optional: link colour to match */
  --bs-link-color: #142B59;
  --bs-link-hover-color: #0f2247; /* a touch darker */
}

/* Buttons use their own CSS vars, so set those too */
.btn-primary{
  --bs-btn-color: #fff;
  --bs-btn-bg: #142B59;
  --bs-btn-border-color: #142B59;
  --bs-btn-hover-bg: #0f2247;
  --bs-btn-hover-border-color: #0f2247;
  --bs-btn-active-bg: #0c1c3b;
  --bs-btn-active-border-color: #0c1c3b;
  --bs-btn-disabled-bg: #142B59;
  --bs-btn-disabled-border-color: #142B59;
}

.btn-outline-primary{
  --bs-btn-color: #142B59;
  --bs-btn-border-color: #142B59;
  --bs-btn-hover-bg: #142B59;
  --bs-btn-hover-border-color: #142B59;
  --bs-btn-active-bg: #0f2247;
  --bs-btn-active-border-color: #0f2247;
}

/* (Optional) tweak badges, pagination, etc., if you want tighter control */
.pagination .page-link{
  --bs-pagination-color: #142B59;
  --bs-pagination-border-color: #142B59;
  --bs-pagination-hover-color: #0f2247;
  --bs-pagination-hover-border-color: #0f2247;
}

:root{
  /* you already have these, included here for completeness */
  --bs-primary:        #142B59;  /* brand navy */
  --bs-primary-rgb:    20,43,89;
  --bs-link-color:     var(--bs-primary);
  --bs-link-hover-color:#0f2247;

  /* helpful extras */
  --bs-secondary:      #BF9075;  /* sand/tan accent */
  --bs-secondary-rgb:  191,144,117;

  /* ✅ your new choices */
  --bs-success:        #2AA198;  /* teal (replaces green) */
  --bs-success-rgb:    42,161,152;

  --bs-info:           #738CBF;  /* soft info blue */
  --bs-info-rgb:       115,140,191;

  --bs-danger:         #812828;  /* bright red */
  --bs-danger-rgb:     214,69,69;

  /* optional */
  --bs-dark:           #0B1C3B;
  --bs-dark-rgb:       11,28,59;
}

/* ===== Buttons (primary is already done) ===== */
.btn-success{
  --bs-btn-color:#fff;
  --bs-btn-bg:            var(--bs-success);
  --bs-btn-border-color:  var(--bs-success);
  --bs-btn-hover-bg:      #1F7D75;   /* deep teal */
  --bs-btn-hover-border-color:#1F7D75;
  --bs-btn-active-bg:     #1b6d66;
  --bs-btn-active-border-color:#1b6d66;
}
.btn-outline-success{
  --bs-btn-color:         var(--bs-success);
  --bs-btn-border-color:  var(--bs-success);
  --bs-btn-hover-bg:      var(--bs-success);
  --bs-btn-hover-border-color: var(--bs-success);
  --bs-btn-hover-color:#fff;
}

.btn-danger{
  --bs-btn-color:#fff;
  --bs-btn-bg:            var(--bs-danger);
  --bs-btn-border-color:  var(--bs-danger);
  --bs-btn-hover-bg:      #8B2635;   /* maroon hover */
  --bs-btn-hover-border-color:#8B2635;
  --bs-btn-active-bg:     #721d2a;
  --bs-btn-active-border-color:#721d2a;
}
.btn-outline-danger{
  --bs-btn-color:         var(--bs-danger);
  --bs-btn-border-color:  var(--bs-danger);
  --bs-btn-hover-bg:      var(--bs-danger);
  --bs-btn-hover-border-color: var(--bs-danger);
  --bs-btn-hover-color:#fff;
}

.btn-info{
  --bs-btn-color:#fff;
  --bs-btn-bg:            var(--bs-info);
  --bs-btn-border-color:  var(--bs-info);
  --bs-btn-hover-bg:      #5f77ad;
  --bs-btn-hover-border-color:#5f77ad;
}
.btn-outline-info{
  --bs-btn-color:         var(--bs-info);
  --bs-btn-border-color:  var(--bs-info);
  --bs-btn-hover-bg:      var(--bs-info);
  --bs-btn-hover-border-color: var(--bs-info);
  --bs-btn-hover-color:#fff;
}

/* ===== Alerts: subtle backgrounds that match your palette ===== */
.alert-success{ color:#0f4f49; background-color:#e6f4f3; border-color:#cde9e7; }
.alert-danger { color:#641822; background-color:#fde9ea; border-color:#f6c9ce; }
.alert-info   { color:#24365e; background-color:#eef2fb; border-color:#dfe6f8; }

/* ===== Badges (optional but keeps things consistent) ===== */
.badge.bg-success{ background-color:var(--bs-success)!important; }
.badge.bg-danger { background-color:var(--bs-danger)!important; }
.badge.bg-info   { background-color:var(--bs-info)!important; color:#fff; }

/* ===== Form accents (switches, checks) pick up teal ===== */
.form-check-input:checked{
  background-color:var(--bs-success);
  border-color:var(--bs-success);
}

/* ===== Navbar active state (from earlier ask) ===== */
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"]{
  color:#BF9075 !important;   /* sand accent when current */
}







/* ELEMENTS */
html, body {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  background-color: white;
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* .div {
outline: 2px solid red;
} */

/* .section {
outline: 2px solid red;
} */

.img-fluid {
  max-height: 400px;
  max-width: 400px;
  object-fit: cover;
}

.sil-text{
  padding-top: 30px;
}


/* Main heading on dark blue banner */
h1 {
  font-family: 'Russo One', sans-serif;
  color: #BF9075; /* soft highlight pink-brown */
  font-size: 6rem;
}

/* Tagline on blue background */
h2 {
  font-family: 'Didact Gothic', sans-serif;
  color: #738CBF; /* soft blue for clarity */
  font-size: 2rem;
  /*text-transform: uppercase;*/
  letter-spacing: 0.5px;
}

/* Tagline on white background */
.white-bg h2 {
  color: #142B59; /* clean, bold against white */
}


/* NAVBAR */

.brand-title {
  font-family: 'Russo One', sans-serif;
  color: #BF9075; /* your brand navy */
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar {
  background-color: #142B59; /* your brand navy */
}

.navbar-brand {
  font-family: 'Russo One', sans-serif;
  color: #BF9075;
}

.navbar-nav .nav-link {
  color: white;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #86D3E5; /* your brand light blue */
}

/* Put these after Bootstrap */
.navbar .navbar-brand.brand {
  display: inline-block;   /* shrink-wrap to the text */
  line-height: 1.1;
}

.navbar .navbar-brand.brand .brand-title {
  display: block;          /* forces title on its own line */
}

.navbar .navbar-brand.brand .brand-tagline {
  display: block;          /* forces tagline on its own line */
  text-align: right;       /* right-align under the title */
  margin-top: 2px;         /* tiny gap */
  font-size: 0.875rem;     /* optional sizing */
}


/* Base colours */
.navbar .navbar-brand.brand .brand-title {
  color: #BF9075;           /* title */
  transition: color .2s ease;
}
.navbar .navbar-brand.brand .brand-tagline {
  color: #86D3E5;           /* tagline */
  display: block;
  text-align: right;
  margin-top: 2px;
  font-size: 0.875rem;
  transition: color .2s ease;
}

/* Stop Bootstrap/link states from overriding child span colours */
.navbar .navbar-brand.brand,
.navbar .navbar-brand.brand:link,
.navbar .navbar-brand.brand:visited,
.navbar .navbar-brand.brand:hover,
.navbar .navbar-brand.brand:focus {
  color: inherit !important;
  text-decoration: none;
}

/* On hover/focus, make both lines white */
.navbar .navbar-brand.brand:hover .brand-title,
.navbar .navbar-brand.brand:hover .brand-tagline,
.navbar .navbar-brand.brand:focus .brand-title,
.navbar .navbar-brand.brand:focus .brand-tagline {
  color: #ffffff !important;
}




/* Paragraphs */
p {
  font-family: 'Roboto', sans-serif;
  color: #142B59;
  font-size: 1rem;
  line-height: 1.6;
}

/* Links */
a {
  color: #142B59;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #142B59;         /* Dark blue on hover */
  text-decoration: underline;
}

/* ------------------------- FOOTER ---------------------------------------*/

.footer-section {
  background-color: #142B59;
}

.footer-link {
  color: #BF9075; /* match your warm accent */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #738CBF; /* soft hover blue */
  text-decoration: underline;
}

.footer-section i {
  margin-right: 8px;
  font-size: 1.1rem;
}


/* Make footer icons bigger */
.footer-icon i {
  font-size: 28px;        /* try 24–36px to taste */
  line-height: 1;         /* keeps them tidy vertically */
  vertical-align: middle; 
}

/* Optional: make the click target bigger too */
.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;            /* nicer touch target */
  height: 30px;
  text-decoration: none;  /* keep the underscore away */
}

/* Optional: subtle hover pop */
.footer-icon:hover i {
  transform: scale(1.07);
}

ul {
  list-style-position: inside;
  list-style-type: square;
  margin: 1rem;
  padding: 0rem;
}

#calendar {
  min-height: 600px;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
}


/* BLOG */
.ck-content figure.media.embed-narrow  { max-width: 480px; }
.ck-content figure.media.embed-medium  { max-width: 680px; }
.ck-content figure.media.embed-wide    { max-width: 900px; }
.ck-content figure.media,

.ck-content figure.media,
.ck-content .ck-media__wrapper,
.ck-content iframe {
  max-width: 680px;   /* choose 480/640/720/etc */
  margin: 1rem auto;
  display: block;
}
.ck-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 10px; /* optional */
}


/* SIDE BAR */

/* === DESKTOP SIDEBAR === */
#wrapper {
  display: flex;
  transition: all 0.3s ease-in-out;
}

#sidebar-wrapper {
  width: 250px;
  min-height: 100vh;
    /*overflow-y: auto;*/
  background-color: #212529;
  color: white;
  transition: transform 0.3s ease-in-out;
  transform: translateX(0); /* Visible by default */
}

#wrapper.toggled #sidebar-wrapper {
  transform: translateX(-100%); /* Slide out when toggled */
}

#page-content-wrapper {
  flex: 1;
  transition: margin-left 0.3s ease-in-out;
}

#wrapper.toggled #page-content-wrapper {
  margin-left: 0;
}


#sidebar-wrapper.minimized {
  width: 60px;
  overflow-x: hidden;
}

#sidebar-wrapper.minimized .list-group-item {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  justify-content: center;
  text-align: center;
}

#sidebar-wrapper.minimized .list-group-item span {
  display: none;
}

#sidebar-wrapper.minimized .form-label,
#sidebar-wrapper.minimized select,
#sidebar-wrapper.minimized #timezone-filter {
  display: none;
}

.sidebar-disabled {
    opacity: .55;
    pointer-events: none;   /* no clicks */
}


 /* Autocomplete for bootstrap modal */
.pac-container {
    z-index: 1051 !important;  /* Bootstrap modal is z-index 1050 */
}

#timezone {
  display: block !important;
}

/* CALENDAR BOOKING STYLES BASED ON BOOKING STATUS AND PAYMENT STATUS */

.fc-event:hover {
  filter: brightness(70%);
}

/* BUSINESS PERSONAL NAVIGATION */
.btn-sm.rounded-pill {
  font-weight: bold;
}


/* BACK BUTTON */
.back-btn-container {
    position: absolute;
    top: 80px;
    right: 10px;
    z-index: 1000;
}

.back-btn-container .btn {
    padding: 5px 10px;
}



/* make hamburger lines white */
.navbar .navbar-toggler-icon{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* (optional) lighten the toggler outline */
.navbar .navbar-toggler{ border-color:rgba(255,255,255,.25); }

/*-------------------------------------------------------------------------*/

/*BANNER STYLES */

.my-banner .page-title {
  color: #fff !important;
  font-family: 'Didact Gothic', sans-serif;
  /*text-transform: uppercase;*/
  letter-spacing: 0.5px;
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .3px;
  margin: .1rem 0 0;
  padding-bottom: .5rem;
  text-shadow: 0 1px 0 rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.18);
  display: inline-block;
  position: relative;            /* <-- needed for the full-width underline */
}

.my-banner .page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;                   /* <-- spans the whole title */
  height: 4px;
  background: #86D3E5;
  border-radius: 2px;
}

.my-banner #greeting {
  color: #6c757d;                 /* visible on the navy banner */
  margin: 0 0 .25rem;
  text-align: left;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.0rem);
  line-height: 1.15;
}


.my-banner {
  width: 97%;
  margin-left: 0;
  background-color: #142B59;
  color: white;
  padding: 4rem 2rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 5rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


.my-banner h1,
.my-banner h2,
.my-banner h3,
.my-banner h4,                  
.my-banner h5 {
  text-align: left;
}

/* Greeting fade-out */
#greeting {
  transition: opacity .4s ease, transform .4s ease;
  will-change: opacity, transform;
}
#greeting.greeting--hide {
  opacity: 0;
  transform: translateY(-6px);
}

/* Optional: small tagline under greeting */
#business-tagline {
  font-size: .9rem;
  color: #6c757d;
  margin-top: .25rem;
}



/* Underline pseudo-element (hidden by default) */
.my-banner .page-title {
  position: relative;
}

.my-banner .page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  background: #86D3E5;
  border-radius: 2px;
  transform: scaleX(0);           /* start collapsed */
  transform-origin: left;
  opacity: 0;                     /* hidden until animating */
}

/* When this class is present, run the draw + fade animation */
.my-banner .page-title.is-animating::after {
  opacity: 1;
  animation: underline-draw 5s ease-out forwards;
}

/* 0–20% draw line, 20–80% hold, 80–100% fade out */
@keyframes underline-draw {
  0%   { transform: scaleX(0); opacity: 1; }
  20%  { transform: scaleX(1); opacity: 1; }
  80%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Respect reduced motion preferences: show a static line briefly */
@media (prefers-reduced-motion: reduce) {
  .my-banner .page-title.is-animating::after {
    animation: none;
    transform: scaleX(1);
    opacity: 1;
  }
}


/* Optional: slightly larger on md+ screens */
@media (min-width: 768px) {
  .page-title { font-size: 1.5rem; } /* ~h4+ */
}

/*-------------------------------------------------------------------------*/
/* PAYMENT STYLES LABELS*/

.payment-status {
  padding: 0.4em 0.75em;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  display: inline-block;
}

/* Colour per status */
.payment-status.not-paid {
  background-color: #ffc107; /* Bootstrap warning */
  color: #212529;
}

.payment-status.paid {
  background-color: #198754; /* Bootstrap success */
  color: white;
}

.payment-status.overdue {
  background-color: #dc3545; /* Bootstrap danger */
  color: white;
}

.payment-status.refund {
  background-color: #6c757d; /* Bootstrap secondary */
  color: white;
}

.payment-status.write-off {
  background-color: #343a40; /* Bootstrap dark */
  color: white;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
  max-height: 70vh;
}

  /* Optional image preview in dropdown */
  .staff-option {
    display: flex;
    align-items: center;
  }

  .staff-option img {
    border-radius: 50%;
    margin-right: 10px;
    width: 28px;
    height: 28px;
    object-fit: cover;
  }

.flatpickr-day.flatpickr-disabled.flatpickr-past-date {
  color: #ccc !important;
  background: #f9f9f9 !important;
  cursor: not-allowed;
}


#staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.staff-card {
  flex: 0 0 150px; /* ← minimum width */
  max-width: 150px;
}


.past-date {
  background-color: #f8f9fa;
  color: #999;
}


.staff-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}


/* Start booking date button */

.date-button {
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    background: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.date-button.selected {
    background: #0056b3;
    font-weight: bold;
}

.date-button.unavailable {
    background: #ccc;
    cursor: not-allowed;
    color: #666;
}

/* End booking date button */

/* General Blog Section Styling */
.blog-section {
    padding: 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;  /* ✅ Ensures everything inside is centered */
}

/* White Section: Centering Text */
.section-white {
    background-color: #ffffff;
}

/* Grey Section: Standard Layout */
.section-grey {
    background-color: #f8f8f8;
}

/* Blog Content Wrapper */
.blog-content {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Image Left, Text Right */
.blog-content img {
    width: 40%;
    max-width: 300px;
    border-radius: 8px;
}

/* Ensure all sections follow image-left, text-right */
.section-white .blog-content,
.section-grey .blog-content {
    flex-direction: row; /* Ensures image is on the left, text is on the right */
    text-align: left; /* Align text properly */
}

/* Ensure text container fills space */
.blog-content .text {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Centers text vertically */
    width: 55%;
}

/* Ensure heading is on top */
.text h2 {
    margin-bottom: 10px;
    order: -1; /* Moves heading above the text */
}

/* Center the first section */
.intro-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 60px 20px;
    background-color: #f8f8f8;
}

.intro-section .text {
    max-width: 700px;
    font-size: 1.2em;
}


.icon-white {
  color: white;
}



/* CLASS */
.form-check-padding {
  padding-top: 1rem;
}
.form-button-padding {
  margin-top: 1rem;
}
.ndis-list {
  list-style-position: outside;
}

.section-h2 {
  color: #FFFFFF;
}
.section-h3 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  background-color: #FFFFFF;
}


/* Container section */
.container-fluid {
  padding: 4% 4% 5%;
  flex: 1;
}
#services .container-fluid {
  padding: 4% 2% 1%;
}
.ndis-container-fluid {
  padding: 2% 12%;
}
.next-step {
  padding: 2rem 0rem;
}
#title .container-fluid {
  padding: 2% 14%;
}



.banner-section {
  background-color: #142B59;
  background-image: url('https://troubleshootit.sirv.com/hero/hero.svg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 400px; /* adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 60px 20px;
}

.banner-content h1,
.banner-content h2 {
  margin: 0;
  line-height: 1.2;
}


/* Sections */
.section-heading {
  line-height: 1.5;
  font-size: 3rem;
}
.coloured-section {
  background-color: #0a5f72;
}
.coloured-section h3, 
.coloured-section p, 
.coloured-section li {
  color: white;
}

.white-section {
  background-color: #FFFFFF;
}
.off-white-section {
  background-color: #F7F9F9;
}
/* BLOG SECTION */

/* Blog Font */
.blog-container h1 {
  font-size: 2.5rem;
  color: #643c2d;
  /*font-weight: 700;*/
  /*text-align: left;*/
  /*margin-bottom: 1.5rem;*/
}

.blog-container {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

.blog-container h1,
.blog-container h2,
.blog-container h3 {
  color: #643c2d; /* match your heading style */
}


.blog-container p{
  color: #333c4d; /* match your heading style */
  font-size: 1.2rem;
}

.blog-section {
  padding: 2rem 0;
}

.blog-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.text {
  line-height: 1.7;
  color: #444;
}

.intro-section .text {
  font-style: italic;
  color: #555;
}

section.bg-light {
  background-color: #f8f9fa;
}

.blog-section{
  /*background-color: black;*/
  padding: 40px 0;
}


.blog-container h1 {
  font-size: 4rem; /* Adjust this to your desired size */

}

/* BLOG CARDS */

/* Blog Card Styling */
.blog-card {
  max-width: 250px;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin: auto;
}

.blog-card-img {
  height: 150px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0a5f72;
}

/* 🧩 Space between rows */
.row.g-4 {
  margin-bottom: 2rem;
}

/* 🧍‍♀️ Center section headers */
h3.text-center, h5 {
  text-align: center;
}

.text-left {
  text-align: left;
}
/* Optional: add spacing below each card */
.blog-card .card-body {
  padding-bottom: 1rem;
}
/*BUTTONS*/

.standard-btn {
  background-color: #142B59;
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.4s ease-in-out;
  text-align: center;
  white-space: nowrap;
}


.standard-btn:hover {
  background-color: #ccc;
  color: #142B59;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #142B59;
  box-shadow: 0 0 10px rgba(115, 140, 191, 0.5);
}


#booking-form label {
  font-weight: 600;
  margin-top: 10px;
  display: block;
}

#booking-form input[type="text"],
#booking-form input[type="date"],
#booking-form .form-control {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Staff and date buttons */
#staff-list .staff-member {
  margin-bottom: 15px;
}


/* Default state for all buttons */
.date-button,
.time-button,
.date-btn,
.time-btn {
  background-color: #E0E0E0;
  color: #142B59;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 400;
  transition: all 0.3s ease-in-out;
  margin: 4px;
}

/* Hover state */
.date-button:hover,
.time-button:hover,
.date-btn:hover,
.time-btn:hover {
  background-color: #142B59;
  color: #FFFFFF;
  cursor: pointer;
}

/* Selected state */
.date-button.selected,
.time-button.selected,
.date-btn.selected,
.time-btn.selected,
.date-btn.active,
.time-btn.active {
  background-color: #142B59 !important;
  color: #FFFFFF !important;
}


.cancel-btn {
  background-color: #C0392B; /* Rich red */
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  font-weight: 400;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.cancel-btn:hover {
  background-color: #922B21;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(192, 57, 43, 0.4);
  cursor: pointer;
}


.status-badge {
  font-size: 0.85rem;
  padding: 0.4em 0.8em;
  border-radius: 50px;
  font-weight: 600;
}

.status-pending {
  background-color: #f0ad4e; /* Bootstrap warning */
}

.status-confirmed {
  background-color: #0d6efd; /* Bootstrap primary */
}

.status-completed {
  background-color: #198754; /* Bootstrap success */
}

.status-cancelled {
  background-color: #dc3545; /* Bootstrap danger */
}

.status-no-show {
  background-color: #6c757d; /* Bootstrap secondary/dark */
}


.payment-badge {
  font-size: 0.85rem;
  padding: 0.4em 0.8em;
  border-radius: 50px;
  font-weight: 600;
}
.payment-not-paid {
  background-color: #dc3545; /* red = danger */
}

.payment-paid {
  background-color: #198754; /* green = success */
}

.payment-pending {
  background-color: #f0ad4e; /* orange = warning */
}

.payment-refunded {
  background-color: #6c757d; /* grey = secondary */
}


/*MY BOOKING FILTER*/

.filter-active {
  background-color: #142B59;
  color: #FFFFFF;
  border: 1px solid #142B59;
  font-weight: 500;
}

.filter-inactive {
  background-color: transparent;
  color: #142B59;
  border: 1px solid #142B59;
  font-weight: 400;
}

.filter-inactive:hover {
  background-color: #142B59;
  color: #FFFFFF;
}


/*MY BOOKING GRID*/

.booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.booking-card {
  width: 100%;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.booking-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
  padding: 20px 0;
}

.service-card {
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.service-card:hover {
  transform: scale(1.02);
}


.Sirv {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0px;
  object-fit: cover; /* Ensure the image covers the entire area */
}

.tile-hover {
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease;
}

.tile-hover:hover {
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Watermark - service agreement */

.watermark {
  position: fixed;
  top: 35%;
  left: 35%;
  font-size: 6rem;
  color: rgba(0, 0, 0, 0.1);
  transform: rotate(-30deg);
  z-index: 9999;
  pointer-events: none;
  user-select: none;
  font-weight: bold;
}

.watermark.approved {
  color: rgba(0, 128, 0, 0.15); /* green tint */
}


.page-break {
  page-break-before: always;
}



/* --- Print Styles --- */

@media print {
  .no-print {
    display: none !important;
  }
}

/* Devices */
/*@media (max-width: 1024px) {*/
/*  .roboto-brand {*/
/*    font-size: 1.2rem; !* Adjust size as needed *!*/
/*  }*/
/*  h1 {*/
/*    font-size: 2rem;*/
/*  }*/
/*  h2 {*/
/*    font-size: 1.5rem;*/
/*  }*/
/*  h3 {*/
/*    font-size: 1.3rem;*/
/*  }*/
/*  .card {*/
/*    flex: 1 1 calc(50% - 20px); !* 2 per row *!*/
/*    max-width: 300px; !* Slightly larger for better visibility *!*/
/*  }*/
/*  .contact-col {*/
/*    padding: 2rem 2rem;*/
/*  }*/
/*  .navbar-brand img {*/
/*    height: 3rem;*/
/*    margin-right: 5px;*/
/*  }*/
/*  .navbar-brand {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    font-size: 0;*/
/*  }*/
/*  .navbar-nav .nav-item {*/
/*    padding-right: 10px;*/
/*  }*/
/*  .nav-section a {*/
/*    font-size: 1rem;*/
/*  }*/
/*  .dropdown-item {*/
/*    font-size: 0.8rem;*/
/*  }*/
/*  .navbar-toggler-icon {*/
/*    width: 1.5rem;*/
/*    height: 1.5rem;*/
/*  }*/
/*  .navbar-toggler {*/
/*    padding: 0.25rem 0.5rem;*/
/*  }*/
/*  .title-h3,*/
/*  .footer-p {*/
/*    display: none !important;*/
/*  }*/
/*  .gallery-container {*/
/*    grid-template-columns: repeat(2, 1fr);*/
/*  }*/

/*  .footer img {*/
/*    height: 80px;*/
/*}*/
/*}*/
/* Service Agreement view */
/* --- Scoped styles for service_agreement_details only --- */
.agreement-pdf p,
.agreement-pdf div,
.agreement-pdf td,
.agreement-pdf li {
  text-align: justify !important;
  text-justify: inter-word;
}

.agreement-pdf h1,
.agreement-pdf h2,
.agreement-pdf h3,
.agreement-pdf h4,
.agreement-pdf h5,
.agreement-pdf h6,
.agreement-pdf strong,
.agreement-pdf b {
  text-align: left !important;
}

.agreement-pdf th {
  text-align: center !important;
}

.agreement-pdf td {
  text-align: justify !important;
  text-justify: inter-word;
}




/* For desktop: show sidebar always and reset layout */
/* Desktop view: sidebar is always visible, no need to toggle */

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #greeting {
    transition: none;
  }
}

/* === MOBILE OVERRIDE === */
@media (max-width: 768px) {
  #sidebar-wrapper {
    display: none;
  }

  #page-content-wrapper {
    width: 100%;
    margin-left: 0;
  }
}


/*!* Optional mobile overlay effect *!*/
/*@media (max-width: 767.98px) {*/
/*  #sidebar-wrapper {*/
/*    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);*/
/*  }*/

/*  #page-content-wrapper {*/
/*    margin-left: 0 !important;*/
/*  }*/
/*}*/


/*  .floating-help-btn {*/
/*    position: fixed;*/
/*    bottom: 2rem;*/
/*    right: 2rem;*/
/*    background: #0a5f72;*/
/*    color: #fff;*/
/*    padding: 0.8rem 1.2rem;*/
/*    border-radius: 50px;*/
/*    text-decoration: none;*/
/*    box-shadow: 0 4px 8px rgba(0,0,0,0.15);*/
/*    z-index: 9999;*/
/*  }*/


/*@keyframes bounce {*/
/*  0%, 100% { transform: translateY(0); }*/
/*  50% { transform: translateY(-5px); }*/
/*}*/

/*.floating-help-btn {*/
/*  animation: bounce 2s ease-in-out infinite;*/
/*}*/
