body {
    background: 
        url('../images/pattern-1.svg') no-repeat center bottom fixed,
        url('../images/pattern-2.svg') no-repeat center right fixed;
    background-size: cover;
    font-family: 'Inter', sans-serif;
}

.border-dark {
    border-color: #e2e5eb !important;
}

.text-fusion{
    color: #000 !important;
    font-weight: bold !important;
}

/* Mobile Menu */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #212529;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 0;
    border-radius: 20px 20px 0 0;
    z-index: 1030; /* above content */
}

.bottom-nav a {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    font-size: 0.85rem;
    color: #aaa;
    text-decoration: none;
}

.bottom-nav a.active {
    color: #fff;
}

.fab-button {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 2px solid #212529 !important;
}

/* Side menu container */
.side-menu {
    position: fixed;
    top: 0;
    left: -950px; /* hidden by default */
    width: 300px;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    color: #000;
    z-index: 10001;
}

.side-menu ul li a:hover {
    background: #f0f0f0 !important;
}

.side-menu ul li a.active {
    background: #333 !important; /* Bootstrap dark */
    color: #fff !important;
}

/* Header */
.menu-header {
    background: #333;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #444;
}

/* Reset list style */
.side-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Each menu item */
.side-menu ul li {
    background: #fff;
    border-bottom: 1px solid #ddd;
}

/* Links */
.side-menu ul li a {
    display: block;
    padding: 1rem; /* p-3 equivalent */
    color: #222;
    text-decoration: none;
    font-size: 1rem;
}

/* Hover effect */
.side-menu ul li a:hover {
    background: #f5f5f5;
    color: #000;
}



/* When active */
.side-menu.active {
    left: 0;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

/* Show overlay */
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

a {
    text-decoration: none !important;
}
a:hover {
    text-decoration: none !important;
}

button:focus,
button:active,
button.active,
.btn:focus,
.btn:active,
.btn.active {
  outline: none !important;         /* Remove the default outline */
  box-shadow: none !important;      /* Remove shadow/focus ring */
  border-color: inherit !important; /* Optional: keep border color same */
}

.card-header h5{
    margin-bottom: 0px !important;
}

hr {
    border: 0 !important;
    border-top: 1px solid #e2e5eb !important; /* set thickness & color */
    background-color: #e2e5eb;
    opacity: 1;
}

#myModal .btn-close,
#myModal #closeModal,
#myModal #closeModalBtn {
    background-color: #fff !important;
    border: 1px solid #000 !important;
    color:#000 !important;
    border-radius: .25rem;
    width: auto;
    height: auto;
    opacity: 1;
}

/* Force all Bootstrap borders to be black */
*,
.border,
.border-top,
.border-end,
.border-bottom,
.border-start,
.table,
.table th,
.table td,
.card,
.card-header,
.card-footer,
.list-group-item,
.navbar,
.form-control,
.btn {
    border-color: #e2e5eb !important;
}

.spinner-border {
    border-color: currentColor !important;
    border-right-color: transparent !important; /* restore spinning look */
}

.llc-text{
    font-family: 'EndlessSunriseRegular', sans-serif !important;
}

.hotline-logo{
    filter: grayscale(100%);
    width: 16px;
    padding-bottom: 5px;
}

.hotline-text{
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.page-item.active .page-link {
  background-color: #000 !important;
  color: #fff !important;
}

.page-link {
  background-color: #fff !important;
  color: #000 !important;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;          /* background color */
    z-index: 9999;             /* stays on top */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Profile menu */
.custom-nav {
    color: #000 !important;
    font-weight: normal;
    border: px !important;
}

.custom-nav:hover,
.custom-nav.active {
    background-color: #fff !important;
    color: #000 !important;
    border: 0px !important;
    font-weight: bold;
}

.logout-btn {
    color: #000 !important;
    background-color: #fff !important;
    border: 0px !important;
}

.logout-btn:hover {
    font-weight: bold;
}

/* SELECT2 */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #000;
    color: #fff;
}
.show > .btn-light.dropdown-toggle {
    color: #212529 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent !important;
}


/* INPUT FIELDS */
/* Plain form-control style */
.form-control {
    border: 1px solid #ccc;   /* simple border (or remove with border: none;) */
    box-shadow: none !important;
    outline: none !important;
    background-color: #fff;   /* ensure plain background */
}

/* Remove focus highlight */
.form-control:focus {
    border-color: #ccc;       /* keep same border on focus */
    box-shadow: none !important;
    outline: none !important;
}

/* Make all images inside the card list grayscale */

.list-group-item font{
    color:#000 !important;
    font-size: 1rem;
    font-weight: normal !important;
}

.list-group-item a{
    color:#000 !important;
    font-size: 1rem;
    font-weight: normal !important;
}

.leaflet-control-zoom a{
    border: 1px solid #000 !important;
    margin: 5px !important;
}

/* MMENU */
.mm-menu {
    z-index: -1;
    font-family: 'Inter', sans-serif;
}

.mm-listitem{
    font-size: 20px !important;
}

.mm-navbar__title{
    font-size: 24px !important;
    color: #000 !important;
    font-weight: bold !important;
}

.mm-wrapper--opened .mm-menu {
    z-index: 2000 !important;
    font-family: 'Inter', sans-serif;
}

/* re-Captcha */
#recaptcha-wrapper {
    max-width: 100%;
    display: inline-block;
}
#recaptcha-wrapper iframe {
    max-width: 100%;
}

/* FullCalendar */
.fc .fc-button {
    background: transparent;
    color: #212529;
    border: 1px solid #212529;
}
.fc .fc-button:hover {
    background: #212529;
    color: #fff;
}
/* Day header cells (Mon, Tue, etc.) */
.fc-day-header {
    background: #fff !important;       /* White background */
    color: #212529 !important;         /* Dark text */
    font-size: 1rem !important;      /* Larger font */
    font-weight: 600;                  /* Bold */
    border-bottom: 2px solid #dee2e6;  /* Subtle bottom border */
    padding: 0.5rem 0 !important;      /* Vertical padding */
}
.fc-day-header span {
    display: block;
    text-align: center;                /* Center the text */
}
.fc-day-number {
    font-size: 0.8rem !important;
    font-weight: 600;
    color: #212529 !important;
}

.fc-center h2{
    font-size: 1.3rem !important; 
}

:root {
    --prm-color: #000;
    --prm-gray: #e2e5eb;
}


/* Main stepper */
.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* spacing between steps */
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

/* Step button */
.step-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background-color: var(--prm-gray);
    transition: .4s;
    font-size: 1.25rem;
}

.step-button[aria-expanded="true"],
.step-button.active {
    background-color: var(--prm-color);
    color: #fff;
}

.done {
    background-color: var(--prm-color);
    color: #fff;
}

.step-item {
    flex: 1;
    min-width: 80px;
    position: relative;
    z-index: 10;
}

/* Progress bar centered behind steps */
#progress {
    position: absolute;
    top: 32px; /* aligns with center of buttons */
    left: 0;
    right: 0;
    width: 100%;
    max-width: 90%;
    margin: auto;
    height: 5px;
    z-index: 5;
}

/* Progress bar colors */
#progress::-webkit-progress-value {
    background-color: var(--prm-color);
    transition: .5s ease;
}
#progress::-webkit-progress-bar {
    background-color: var(--prm-gray);
}


@media (max-width: 768px) {
    .navbar {
        background-color: #fff !important;
    }

    .navbar-mobile-white {
        background-color: #fff !important;
    }

    .side-menu {
        width: 80%;
    }
    .side-menu ul li a {
        font-size: 1.1rem;
    }

    .border-md-0-top { border-top: none !important; }
    
    .fc-toolbar.fc-header-toolbar {
        flex-direction: column !important;
        text-align: center;
    }

    .fc-toolbar.fc-header-toolbar > div {
        margin-bottom: 0.5rem;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .fc-toolbar.fc-header-toolbar h2 {
        font-size: 1.25rem;
        margin: 0.5rem 0;
    }

    /* Make button groups stretch/stack neatly */
    .fc .fc-button-group {
        flex-wrap: wrap;
        justify-content: center;
    }

    .fc .fc-button-group .fc-button {
        margin: 2px;
    }

    footer {
        padding-bottom: 70px !important; /* slightly bigger than menu height */
    }

    .steps {
        gap: 1rem; /* less spacing between steps */
    }

    .step-button {
        width: 48px;
        height: 48px;
        font-size: 1rem; /* smaller number inside */
    }

    #progress {
        top: 24px; /* adjust since buttons are smaller */
        height: 4px;
        max-width: 95%; /* let it span a bit more */
    }

    .step-item .step-title {
        font-size: 0.85rem; /* smaller label */
    }

}

@media (min-width: 768px) {
    .navbar {
        background-color: transparent !important;
        transition: background-color 0.3s ease;
    }
    .navbar.scrolled {
        background-color: #fff !important;
    }
}


/* Hide the Today button */
.fc .fc-today-button {
  display: none !important;
}

/* Mobile view: stack items */
@media (max-width: 767.98px) {
}
