﻿/*CUSTOM COLORS*/

:root {
    --Primary: #2f4050;
    --Secondary: #8bd0ba;
    --Buttons: #2f4050 !important;
    --font: Helvetica, Sans-Serif;
    --text-color: White;
}

/*GENERAL*/

html * {
    font-family: var(--font);
}

body {
    margin: 0;
    background-color: #eef3f2;
}

.form-group {
    margin-bottom: 5px !important;
}

.patlabel {
    font-size: 14px;
}

/* NAV BAR*/

.navbar-global {
    background-color: var(--Primary);
    border: 1px solid #495057;
}

.navbar-global .navbar-brand {
    color: var(--text-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-color);
}

    .navbar-dark .navbar-nav .nav-link:hover {
        color: var(--text-color);
        background: var(--Secondary);
    }

.navbar-primary {
    background-color: var(--Primary);
    font-size: 16pt;
    bottom: 0px;
    left: 0px;
    position: fixed;
    top: 50px;
    width: 240px;
    z-index: 8;
    overflow: hidden;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}


#collapseAppt {
    background: var(--Secondary);
}

#collapseRecord {
    background: var(--Secondary);
}


.navbar-primary.collapsed {
    width: 60px;
    padding: 5px;
}

.navbar-primary.collapsed .glyphicon {
    font-size: 22px;
}

.navbar-primary.collapsed .nav-label {
    display: none;
}

.navbar-primary-menu,
.navbar-primary-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-primary-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    color: var(--text-color);
    font-size: 16pt;
    text-decoration: none;
    text-align: left;
}

.navbar-primary-menu li a:hover {
    background-color: var(--Secondary);
    text-decoration: none;
    color: black;
}

.navbar-primary-menu li a .glyphicon {
    margin-right: 6px;
}

.navbar-primary-menu li a:hover .glyphicon {
    color: black;
}

.nav navbar-nav li a:hover .glyphicon {
    color: #8bd0ba;
}


.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: var(--Secondary);
    color: black
}

/* TOP NAV: icon + text alignment */
.navbar-global .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-color);
}

.navbar-global .nav-link i {
    width: 18px;
    text-align: center;
}

.navbar-global .nav-link:hover {
    background-color: var(--Secondary);
    color: black;
}

/* Mobile navbar background fix */
@media (max-width: 768px) {
    #navbarMain {
        background-color: var(--Primary) !important;
    }

        #navbarMain .nav-link,
        #navbarMain .dropdown-item {
            color: var(--text-color) !important;
        }

        #navbarMain .dropdown-menu {
            background-color: var(--Primary) !important;
            border: none;
        }

        #navbarMain .dropdown-item:hover {
            background-color: var(--Secondary) !important;
            color: #000 !important;
        }
}


@media (min-width: 768px) {
    #top-nav {
        display: none !important;
    }
}


/* Make sidebar items consistent */
.navbar-primary .navbar-primary-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

    /* Target Font Awesome SVG icons (FA replaces <i> with <svg>) */
    .navbar-primary .navbar-primary-menu li a svg {
        width: 22px; /* consistent icon width */
        height: 22px; /* consistent height */
        flex-shrink: 0;
        display: block; /* prevents baseline shifting */
    }


/*BOXES AND TITLES*/

.boxed2 {
    border: 3px solid var(--Secondary);
    padding: 15px;
    border-radius: 10px;
    background: white;
    color: black;
    margin: 5px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    display: flow-root
}

.boxed-ext {
    background: #eef3f2 !important;
    border-bottom: 3px solid var(--Secondary);
    padding: 10px;
    color: black;
    margin: 5px;
    margin-bottom: 0px;
    margin-top: 0;
    cursor: pointer;
}

    .boxed-ext :hover {
        background-color: var(--Primary);
        color: white;
    }

        .boxed-ext :hover p {
            background-color: var(--Primary);
            color: white;
        }

.btn-forget a:hover {
    color: white;
}

.boxed p {
    color: black;
}

.p-title {
    color: black;
    margin-top: 0px;
}

.p-subtitle {
    color: var(--Primary);
    font-weight: 900;
    margin-top: 0px;
}

.p-heading {
    border-bottom: 5px solid var(--Primary);
    padding-bottom: 10px;
}


/*PAGINATION*/


.page {
    text-align: center;
    width: 150px;
    height: 50px;
    border: 3px solid var(--Secondary);
    display: inline-block;
    border-radius: 10px;
    margin: 10px;
}

.pagination > li {
    display: inline;
    border: solid white;
}

.container-time {
    border-radius: 2px;
    box-shadow: 1px 5px 12px rgba( 65,145,153,.2);
    padding: 10px;
    display: flow-root;
}





/*LOGIN SCREEN*/

@import "compass/css3";
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css);

body {
    background-color: #eef3f2 !important;
    color: #fff;
    font-family: arial, helvetica, sans-serif;
    line-height: 1.4;
}

*, *:before, *:after {
    box-sizing: border-box;
}

.login-form-container {
    position: fixed;
    top: 50%;
    left: 20%;
    transform: translateY(-50%) translateX(-50%);
    width: 45vh;
    border-radius: 3px;
    background-color: #2f4050;
    overflow: hidden;
    color: white;
    padding: 15px;
}

    .login-form-container p {
        color: white;
    }

input {
    max-width: unset;
}

.denied .login-form-container {
    animation: shake 0.35s normal forwards ease-in-out;
}

.login-form-container fieldset {
    border: none;
}

.login-form-container header {
    background-color: #202731;
    color: white;
    display: block;
    padding: 1.5em;
    text-align: center;
    font-size: 16px;
}

.login-form-container .input-wrapper {
    position: relative;
    display: block;
    margin: 2em auto;
    border-bottom: 1px solid #fc7148;
    border-radius: 3px;
    width: 85%;
    padding-left: 20px;
}

    .login-form-container .input-wrapper input {
        width: 100%;
        line-height: 2;
        background-color: transparent;
        border: none;
        padding: 0.6em 0.5em;
        outline: 0;
        color: white;
    }

        .login-form-container .input-wrapper input::-webkit-input-placeholder, .login-form-container .input-wrapper input::-moz-placeholder, .login-form-container .input-wrapper input:-ms-input-placeholder {
            color: #9ea2ab;
        }

    .login-form-container .input-wrapper:before {
        font-family: FontAwesome;
        position: absolute;
        display: inline-block;
        top: 0px;
        left: -5px;
        font-size: 20px;
        color: #2f4050;
    }

    .login-form-container .input-wrapper:nth-child(2):before {
        content: "\f007";
    }

    .login-form-container .input-wrapper:nth-child(3):before {
        content: "\f023";
    }

.login-form-container button {
    outline: 0;
    font-size: 16px;
    letter-spacing: 0.2em;
    background-color: #2f4050;
    color: #fff;
    border: none;
    border-radius: 3px;
    width: 200px;
    padding: 1.2em 0;
    margin: 4em auto;
    margin-bottom: 2em;
    display: block;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

    .login-form-container button:hover {
        border-bottom-color: #c12e03;
    }


/*BUTTONS*/
.btn-forget {
    outline: 0;
    font-size: 14px;
    letter-spacing: 0.2em;
    background-color: #2f4050;
    color: #fff;
    border: none;
    border-radius: 3px;
    width: 215px;
    padding: 5px;
    margin: 4em auto;
    margin-bottom: 2em;
    display: block;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    margin-top: 2em;
}

.btn-select {
    outline: 0;
    font-size: 14px;
    letter-spacing: 0.2em;
    background-color: #ffac4c;
    color: #fff;
    border: none;
    border-radius: 3px;
    width: 215px;
    padding: 5px;
    margin-bottom: 2em;
    display: block;
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    margin-top: 2em;
}

.btn-email {
    font-size: 14px;
    background-color: var(--Secondary);
    color: #fff;
    border: none;
    border-radius: 3px;
    width: 225px;
    padding: 5px;
    margin: 4em auto;
    margin-bottom: 2em;
    display: inline-grid;
    margin-top: 2em;
    overflow: hidden;
}


/*a:hover, a:focus {
    color: black;
    text-decoration: underline;
}*/


.radiobtn {
    margin-left: 20%;
    width: 50%;
}

    .radiobtn label {
        display: block;
        background: var(--Secondary);
        color: white;
        border-radius: 5px;
        padding: 10px 20px;
        border: 2px solid var(--Secondary);
        margin-bottom: 5px;
        cursor: pointer;
    }

        .radiobtn label:after, .radiobtn label:before {
            content: "";
            position: absolute;
            right: 11px;
            top: 11px;
            width: 20px;
            height: 20px;
            border-radius: 3px;
            background: #8bd0ba;
        }

        .radiobtn label:before {
            background: transparent;
            transition: 0.1s width cubic-bezier(0.075, 0.82, 0.165, 1) 0s, 0.3s height cubic-bezier(0.075, 0.82, 0.165, 2) 0.1s;
            z-index: 2;
            overflow: hidden;
            background-repeat: no-repeat;
            background-size: 75px;
            background-position: center;
            width: 0;
            height: 0;
            background-image: url('/Images/tick.png');
        }

    .radiobtn input[type="radio"] {
        display: none;
        position: absolute;
        width: 100%;
        appearance: none;
    }

        .radiobtn input[type="radio"]:checked + label {
            background: var(--Primary);
            border-color: black;
        }

            .radiobtn input[type="radio"]:checked + label:after {
                background: white;
            }

            .radiobtn input[type="radio"]:checked + label:before {
                width: 20px;
                height: 20px;
            }

.btn-expand-collapse {
    position: absolute;
    display: block;
    left: 0px;
    bottom: 0;
    width: 100%;
    padding: 8px 0;
    border-top: solid 1px #666;
    color: grey;
    font-size: 20px;
    text-align: center;
    background-color: var(--Buttons);
}

    .btn-expand-collapse:hover,
    .btn-expand-collapse:focus {
        background-color: #8bd0ba !important;
        color: white;
    }

    .btn-expand-collapse:active {
        background-color: #111;
    }

.active {
    border-radius: 10px;
    border: 3px solid #2f4050;
    box-shadow: 1px 5px 12px rgba( 65,145,153,.2);
}



.active-time {
    border-radius: 10px;
    border: 3px solid var(--Secondary);
    box-shadow: 1px 5px 12px rgba( 65,145,153,.2);
    margin: 15px;
    cursor: pointer;
    text-align: center;
}

html input[disabled] {
    cursor: no-drop;
}


.dark {
    background: var(--Buttons) !important;
    color: var(--text-color) !important;
    border-color: var(--Buttons) !important;
}

.darkbtn {
    margin-left: 5%;
    width: 90%;
}

::-webkit-scrollbar-thumb {
    background: #2f4050;
}

/*INVOICE SCREEN*/
.invoice {
    padding: 30px;
}

    .invoice h2 {
        margin-top: 0px;
        line-height: 0.8em;
    }

    .invoice .small {
        font-weight: 300;
    }

    .invoice hr {
        margin-top: 10px;
        border-color: #ddd;
    }

    .invoice .table tr.line {
        border-bottom: 1px solid #ccc;
    }

    .invoice .table td {
        border: none;
    }

    .invoice .identity {
        margin-top: 10px;
        font-size: 1.1em;
        font-weight: 300;
    }

        .invoice .identity strong {
            font-weight: 600;
        }


.grid {
    position: relative;
    width: 100%;
    background: #fff;
    color: #666666;
    border-radius: 2px;
    margin-bottom: 25px;
    box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

/*MODALS*/

.modal-body {
    color: black;
}





/*OTHER*/


.main-content {
    margin-top: 5px;
    margin-left: 240px;
    padding: 20px;
}

.collapsed + .main-content {
    margin-left: 60px;
}


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #8bd0ba;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #8bd0ba;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #8bd0ba;
}

form {
    position: relative;
    /* margin: 25px auto 0;*/
    font-size: 15px;
    /* color: #fff;*/
    font-size: 16px;
}


.large-padded-cell {
    padding: 20px !important;
}

.padded-cell {
    padding: 20px !important;
}

.mobile-show {
    display: none;
}

.login-show {
    display: none;
}

.input {
    height: 40px;
    width: 100%;
    border: 0px;
    border-bottom: 2px solid var(--Secondary);
    font-size: 16px;
    display: flex;
}

    .input :focus {
        border-bottom-color: #a3a3a3;
    }

/*MOBILE NAV*/

@media screen and (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: 0px;
        margin-top: 3px;
    }

    #top-nav {
        display: none;
    }
}
/*MOVIBLE AND IPAD LOGIN SCREEN*/


@media screen and (max-width: 1200px) {
    .login-hide {
        display: none;
    }

    .background-mobile {
        background: white;
        /* fallback for old browsers */
        background: -webkit-linear-gradient(to right, #2f4050, #8bd0ba);
        /* Chrome 10-25, Safari 5.1-6 */
        background: linear-gradient(to right, #2f4050, #8bd0ba);
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

    .login-show {
        display: block !important;
    }

    .login-form-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        width: 100vh;
        height: 90vh;
        border-radius: 3px;
        background-color: white;
        overflow: scroll;
        color: black;
        padding: 15px;
    }

        .login-form-container .input-wrapper input {
            color: black;
        }

    .text-ipad {
        color: black !important;
    }
}



@media screen and (max-width: 768px) {

    .mobile-show {
        display: block !important;
    }

    .active-time {
        padding: 10px;
    }


    .navbar-primary {
        display: none;
    }

    .main-content {
        margin-top: 5px;
        padding: 10px;
        margin-left: 0;
    }

    .mobile-hide {
        display: none;
    }

    .login-form-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translateY(-50%) translateX(-50%);
        width: 45vh;
        height: 90vh;
        border-radius: 3px;
        background-color: white;
        overflow: scroll;
        color: black;
        padding: 15px;
    }
}




/*LOGING SCREEN IMAGES*/

.background {
    background: white;
    /* fallback for old browsers */
    /*  background: -webkit-linear-gradient(to right, #2f4050, #8bd0ba);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /* background: linear-gradient(to right, #2f4050, #8bd0ba);*/
    position: absolute;
    width: 40%;
    height: 100%;
    opacity: 0.8;
}

.background-image {
    background-image: url('https://midexpro.com/documents/MXPORTAL-01.png');
    position: absolute;
    width: 60%;
    height: 100%;
    margin-left: 40%;
    background-size: cover;
    background-repeat: no-repeat;
}


.background-mobile {
    background: white;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #2f4050, #8bd0ba);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #2f4050, #8bd0ba);
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}




@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loading2 {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}

@keyframes loading2 {
    0% {
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
    }

    100% {
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }
}


/* --- HEADER BOX --- */
.booking-header {
    background: #ffffff;
    border: 2px solid #c7dfd8;
    border-radius: 12px;
}

.booking-title {
    font-weight: 700;
    color: #2d2d2d;
    letter-spacing: 1px;
}

/* --- DIARY CONTAINER --- */
.diary-box {
    background: #ffffff;
    border: 2px solid #c7dfd8;
    border-radius: 12px;
}

.diary-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b6e58;
    margin-bottom: 0;
}

.diary-section-subtitle {
    margin-top: 4px;
    color: #4f4f4f;
}

/* --- DIARY LIST --- */
.diary-list {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .diary-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- DIARY TILE --- */
.diary-item {
    display: flex;
    align-items: center;
    background: #f5f9f7;
    border: 2px solid #b7d5c9;
    padding: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

    .diary-item:hover {
        background: #e6f3ee;
        border-color: #8cbcaa;
        box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    }

.diary-icon {
    width: 30px;
    height: 30px;
    background: #dfeee8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
    color: #3b6e58;
}

.diary-name {
    font-weight: 600;
    color: #2d2d2d;
    font-size: 1rem;
}

/* HEADER BLOCK */
.booking-header {
    background: #ffffff;
    border: 2px solid #c7dfd8;
    border-radius: 12px;
}

.booking-title {
    font-weight: 700;
    color: #2d2d2d;
    letter-spacing: 0.5px;
}

/* SERVICE BOX */
.service-box {
    background: #ffffff;
    border: 2px solid #c7dfd8;
    border-radius: 12px;
}

.service-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b6e58;
    margin-bottom: 2px;
}

.service-section-subtitle {
    color: #4f4f4f;
    margin-bottom: 18px;
}

/* GRID LAYOUT */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SERVICE CARD */
.service-item {
    border: 2px solid #b7d5c9;
    border-radius: 12px;
    padding: 18px;
    background: #f5f9f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.25s ease;
}

    .service-item:hover {
        background: #e6f3ee;
        border-color: #8cbcaa;
        box-shadow: 0 4px 12px rgba(0,0,0,0.07);
    }

.service-left {
    max-width: 70%;
}

.service-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
    color: #2d2d2d;
}

.service-duration {
    font-size: 0.9rem;
    color: #6c757d;
}

.service-price {
    font-weight: 700;
    color: #3b6e58;
    font-size: 1rem;
}

/* GENERAL TITLES */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b6e58;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #4f4f4f;
    margin-bottom: 10px;
}

/* DATE GRID */
.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.date-item {
    background: #f5f9f7;
    border: 2px solid #b7d5c9;
    border-radius: 12px;
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
}

    .date-item:hover {
        background: #e6f3ee;
        border-color: #8cbcaa;
    }

    .date-item.selected {
        background: #ddeee7 !important;
        border-color: #3b6e58 !important;
    }

.date-day {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.date-full {
    font-size: 0.85rem;
    color: #6c757d;
}

#timeSection {
    display: inline;
    margin-top: 35px;
}

/* TIME GRID */
.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 16px;
}

.time-item {
    background: #f5f9f7;
    border: 2px solid #b7d5c9;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s ease;
    font-size: 0.95rem;
}

    .time-item:hover {
        background: #e6f3ee;
        border-color: #8cbcaa;
    }

    .time-item.selected {
        background: #ddeee7;
        border-color: #3b6e58;
    }

/* FIX: Bootstrap 5 overwrote our grid alignment */
.date-picker {
    width: 100%;
}


/* CONTAINER */
#Time {
    background: #ffffff;
    border: 2px solid #c7dfd8;
    border-radius: 12px;
}

/* REUSE EXISTING GREEN TITLE STYLE */
.service-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b6e58;
}

.service-section-subtitle {
    font-size: 0.9rem;
    color: #4f4f4f;
    margin-bottom: 10px;
}

/* DATE GRID */
.date-picker {
    width: 100%;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.date-item {
    background: #f5f9f7;
    border: 2px solid #b7d5c9;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    color: #2d2d2d;
}

    .date-item:hover {
        background: #e6f3ee;
        border-color: #8cbcaa;
        box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    }

    .date-item.selected {
        background: #ddeee7;
        border-color: #3b6e58;
    }

.date-day {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.date-full {
    font-size: 0.85rem;
    color: #6c757d;
}

/* TIME GRID */
#timeSection {
    margin-top: 32px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.time-item {
    background: #f5f9f7;
    border: 2px solid #b7d5c9;
    border-radius: 999px; /* more pill-like */
    padding: 8px 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2d2d2d;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

    .time-item:hover {
        background: #e6f3ee;
        border-color: #8cbcaa;
        box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    }

    .time-item.selected {
        background: #3b6e58;
        border-color: #3b6e58;
        color: #ffffff;
    }

.ae-summary-box {
    background: #f4f8f4;
    border: 1px solid #d2e3d0;
}

.ae-summary-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ae-summary-item {
    background: #fff;
    border: 1px solid #cbd9c5;
    padding: 8px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.ae-green-btn {
    background: #7f996e;
    color: #fff;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

    .ae-green-btn:hover {
        background: #6c865d;
        color: #fff;
    }

.ae-summary-item span {
    color: #2d4739 !important;
    font-weight: 600;
}

.ae-summary-item {
    min-width: 140px;
    justify-content: flex-start;
    background: #ffffff !important;
}

#Payment h6,
#Payment .fw-bold,
#Payment .service-section-title {
    color: #2d4739 !important;
}

.ae-summary-note {
    font-size: 0.9rem;
    color: #6C7F6C;
}

.payment-option-box {
    background: #f8fbf8;
    border: 1px solid #d6ead6;
    transition: 0.2s ease;
}

    .payment-option-box:hover {
        background: #eef7ee;
        border-color: #a6d7a6;
    }

.ae-summary-box {
    background: #f8faf8;
    border: 1px solid #dfeee0;
}

.ae-summary-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ae-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid #dce9dc;
    padding: 5px 12px;
    border-radius: 6px;
}

.selectable-payment {
    cursor: pointer;
    transition: 0.2s ease;
}

    .selectable-payment:hover {
        background: #eef7ef;
    }

.selected-payment {
    border: 2px solid #7fb87f !important;
    background: #e9f6ea !important;
}

#InsuranceForm .form-control,
#InsuranceForm .form-select {
    border-radius: 10px;
    border: 1px solid #cfd9cf;
    background-color: #fff;
}

#InsuranceForm .form-label {
    font-weight: 500;
    color: #607060;
}


/* Highlight active side-nav item */
.navbar-primary-menu a.active {
    background: var(--Secondary) !important;
    color: var(--Primary) !important;
}

.navbar-primary-menu a.active svg {
    color: var(--Primary) !important;
}



.booking-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding: 20px 10px;
}

.calendar-wrapper {
    flex: 0 0 340px;
}

.time-wrapper {
    flex: 1;
}

@media(max-width: 900px) {
    .booking-container {
        flex-direction: column;
    }

    .time-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}


.calendar-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.flatpickr-calendar {
    width: 100% !important;
    max-width: 330px;
    border: 1px solid #e3eee5 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.06) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
}


.flatpickr-months {
    background: #f8fbf9 !important;
    border-bottom: 1px solid #e2ebe4 !important;
    padding: 14px 0 !important;
}

.flatpickr-current-month {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #2f613c !important;
}

.flatpickr-current-month input.cur-year {
    background: none !important;
    border: none !important;
    width: 3.5rem !important;
    font-weight: 600 !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    width: 28px !important;
    height: 28px !important;
    top: 10px !important;
    color: #2f613c !important;
    stroke: #2f613c !important;
    opacity: 0.8;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: #e9f5ec !important;
    border-radius: 6px !important;
}


span.flatpickr-weekday {
    color: #7a8e80 !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}


.flatpickr-day {
    border-radius: 50% !important;
    height: 38px !important;
    line-height: 38px !important;
    transition: 0.15s ease;
}

.flatpickr-day:hover {
    background: #e9f5ec !important;
    color: #2f613c !important;
}

.flatpickr-day.selected {
    background: #63b175 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.flatpickr-day.today {
    border: 1px solid #63b175 !important;
}

/* disabled dates */
.flatpickr-day.flatpickr-disabled {
    color: #c4cdc6 !important;
    cursor: not-allowed !important;
    opacity: .9 !important;
}


.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.time-item {
    background: #ffffff;
    border: 1px solid #d9e7dc;
    padding: 12px 0;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    color: #2f613c;
    cursor: pointer;
    transition: 0.15s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.time-item:hover {
    background: #eaf5ee;
    border-color: #7ac894;
}

.time-item.selected {
    background: #63b175 !important;
    border-color: #63b175 !important;
    color: #fff !important;
}

/* disabled time slots */
.time-item.disabled-time {
    background: #f2f4f3 !important;
    border-color: #d6dfd7 !important;
    color: #9daba1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.time-item.disabled-time:hover {
    background: #f2f4f3 !important;
}

.time-wrapper {
    width: 100% !important;
}

.time-grid-wrapper {
    width: 100% !important;
}

#calendarPicker .flatpickr-calendar,
#calendarPicker .flatpickr-rContainer,
#calendarPicker .flatpickr-weekdays,
#calendarPicker .flatpickr-days,
#calendarPicker .dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

#calendarPicker .flatpickr-weekday,
#calendarPicker .flatpickr-day {
    flex: 0 0 calc(100% / 7) !important;
    max-width: calc(100% / 7) !important;
    box-sizing: border-box;
}

/* If you have global CSS adding gaps, neutralize it here */
#calendarPicker .dayContainer {
    gap: 0 !important;
}

@media print {

    body {
        background: #fff !important;
    }

    .btn,
    .boxed2 > hr:first-of-type,
    .p-title {
        display: none !important;
    }

    table {
        page-break-inside: avoid;
    }

    h3 {
        margin-top: 0;
    }
}

.practice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .practice-list li {
        margin-bottom: 12px;
    }

.practice-item {
    width: 100%;
    text-align: left;
    background: #3a4b5c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.2s ease;
    position: relative;
}

    .practice-item strong {
        display: block;
        font-size: 15px;
        font-weight: 600;
    }

    .practice-item small {
        display: block;
        font-size: 12.5px;
        opacity: 0.8;
    }

    .practice-item:hover {
        background: #465a6d;
        border-color: rgba(255, 255, 255, 0.18);
        transform: translateY(-1px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    }

    .practice-item::after {
        content: "→";
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.4;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .practice-item:hover::after {
        transform: translate(4px, -50%);
        opacity: 0.7;
    }

@media (max-width: 480px) {
    .practice-modal {
        width: calc(100% - 24px);
    }
}

.navbar-practice-name {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.practice-name {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: bold;
}

.mobile-practice-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 6px;
}