:root {
    --primary: #428ec8;
    --secondary: #063d7b;
    --white: #fff;
    --grey: #f5f5f5;
    --danger: #f03e3e;
    --vidavo-blue: #063d7b;
    --background: #bfd7ec;
    --accent-grey: #464849;
    --carolina-blue: #76B1DE;
    --danger-disabled: #FCEBEB;
    --background-light-blue: #F2F8FB;
    --bs-primary:var(--primary);
    --bs-primary-rgb:66,142,200;
    --bs-secondary:var(--secondary);
    --bs-danger:var(--danger);
    --bs-danger-disabled: var(--danger-disabled);
    --offblue: #f0f9ff;
    --alert-border-radius: 0.5rem;
}

a,
span,
p,
b,
li,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
th,
td,
input,
select,
label,
option {
    font-family: "Manrope", sans-serif !important;
}

.content-wrapper {
    padding-top:50px;
    min-height: calc(100vh - 51px) !important;
}

.btn {
    transition: 0.2s linear;
}

.btn.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn.btn-petrol {
    background: var(--secondary) !important;
}

.btn.btn-secondary {
    background: var(--secondary) !important;
    color: var(--white) !important;
}

.btn.btn-secondary:hover {
    background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)) !important;
}

.btn.btn-outline-primary {
    border: 1px solid var(--primary) !important;
}

.btn.btn-outline-primary.active {
   background:var(--background) !important;
}

.btn.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white);
}

.btn.btn-outline-secondary {
    color: var(--secondary);
    border: 1px solid var(--secondary) !important;
}

.btn.btn-outline-secondary:hover {
    background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)) !important;
}

.btn.btn-outline-background {
    background: var(--background) !important;
    color: #444;
}

.btn.btn-outline-background:hover {
    border: 2px solid var(--secondary) !important;
}

.btn.btn-outline-danger {
    border: 1px solid var(--danger) !important;
}

.btn.btn-outline-danger:hover {
    background: var(--danger) !important;
    color: var(--white);
}

.btn.disabled {
    background: #f5f5f5 !important;
    color: #cdcdcd !important;
    border-color: #f5f5f5 !important;
}

.skin-green .navbar.navbar-static-top {
    background-color: var(--primary) !important;
    color: var(--white);
}

/*Alerts*/
.alert.alert-telehospital {
    background: var(--background);
    color: var(--secondary);
    border-radius: var(--alert-border-radius);
    font-weight: 400;
}

.alert.alert-telehospital a {
    color: var(--secondary);
}

.alert.alert-carolina-blue {
    background: var(--carolina-blue);
    color: white;
}
/*End Alerts*/


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

.skin-green .main-header li.user-header {
    background-color: var(--primary) !important;
}

.main-sidebar {
    background-color: var(--primary) !important;
}

.skin-green .user-panel > .info,
.skin-green .user-panel > .info > a {
    color: #fff;
}

.skin-green .sidebar a {
    color: #fff;
}

.skin-green .sidebar-menu > li.active > a, .skin-green .sidebar-menu > li:hover > a {
    background: var(--secondary) !important;
    border-left-color: var(--secondary);
}

.skin-green .sidebar-menu li.active_user_left_menu > a {
    background: var(--primary);
    border-left: none;
    color: white;
}

.skin-green .sidebar-menu > li > .treeview-menu {
    background: #4ca8ee;
}

.skin-green .sidebar-menu > li:hover > a,
.skin-green .sidebar-menu > li.active > a,
.skin-green .sidebar-menu > li.menu-open > a {
    background: var(--primary);
}

.skin-green .treeview-menu > li.active > a, .skin-green .treeview-menu > li > a:hover {
    color: #000000 !important;
}

.btn-info:active:hover, .btn-info:active:focus, .btn-info:active.focus, .btn-info.active:hover, .btn-info.active:focus, .btn-info.active.focus,
.open > .btn-info.dropdown-toggle:hover,
.open > .btn-info.dropdown-toggle:focus,
.open > .btn-info.dropdown-toggle.focus {
    color: #fff;
    background-color: #0B59B2;
    border-color: #0B59B2;
}

.btn-info:hover,
.btn-info:focus,
.btn-info.focus,
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
    color: #fff;
    background-color: #0B59B2;
    border-color: #0B59B2;
}

.btn-info {
    background-color: #063D7B;
    border-color: #0B59B2;
}

.btn-info:hover {
    background-color: #0B59B2;
    border-color: #0B59B2;
}

.btn-info.dropdown-toggle:hover {
    background-color: #0B59B2 !important;
    border-color: #0B59B2 !important;
}

.btn-info.dropdown-toggle:focus {
    background-color: #063D7B !important;
    border-color: #0B59B2 !important;
}

.btn-info:active {
    background-color: #063D7B;
    border-color: #0B59B2;
}

.box {
    border-top: none;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #063D7B !important;
    border-color: #063D7B !important;
}

.pagination > li > a,
.pagination > li > span {
    color: #414040;
    background-color: #fff;
}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
    color: #414040;
    background-color: #eeeeee;
    border-color: #ddd;
}

.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: transparent !important;
    border-bottom: 4px solid #063D7B;
}

.nav-tabs-custom > .nav-tabs > li.active > a, .nav-tabs-custom > .nav-tabs > li.active > a:hover, .nav-tabs-custom > .nav-tabs > li.active > a:focus {
    background-color: unset;
    color: #000000 !important;
    border-color: transparent !important;
    border-bottom: 4px solid #063D7B;
}

.bg-vidavo {
    background-color: #454545 !important;
    color: white;
}

.text-vidavo {
    color: #454545 !important;
}

.primary-text {
    color: var(--primary) !important;
}

.box.box-solid .box-header {
    border-top: 3px solid #BFD7EC !important;
    background: #BFD7EC !important;
    color: black;
}

.box-grey .box-header {
    border-top: 3px solid #d7dce1 !important;
    background: #d7dce1 !important
}

.box.box-grey {
    border-top: 0 !important;
}

.profile-user-img {
    border: 3px solid white !important;
}

.color-vidavo-petrol-box {
    background-color: #063D7B !important;
    border-color: #063D7B !important;
}

.color-vidavo-petrol-text {
    color: #000000 !important;
}

.main-header .logo {
    overflow: visible !important;
    padding: 0;
}

.main-header .logo img {
    padding: 0;
}

@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .main-header .logo > .logo-mini {
        margin: 0;
    }
}

.row.main-page-boxes > div i {
    color: unset;
}

.row.main-page-boxes > div:last-child i {
    color: white;
}

/*login - register */

.login-box .select2-selection__rendered {
    line-height: 43px !important;
    color: #BFD7EC !important;
}

.login-box .select2-container .select2-selection--single {
    height: 43px !important;
    background: #3f3e3e !important;
    border: none;
    border-radius: 0px;
    padding-right: 17px;
    padding-left: 39px;
}

.login-box .select2-selection__arrow {
    /* height: 43px !important; */
}

.input-large {
    /* height: 43px !important; */
}

.login-page, .register-page, .auth-page {
    background: #BFD7EC;
}

.bg-register-info {
    background: #a6caec;
    color: white;
    font-weight: 400;
    text-align: center;
}

.login-box, .register-box {
    background: #FFFFFF;
}

@media screen and (max-width: 768px) {
    .login-box.register-box-custom {
        width: 100vw !important;
    }
}

.login-box input[type=number] {
    -moz-appearance: textfield;
}

.has-feedback .form-control {
    padding-right: 17px;
    padding-left: 48px;
}

.input-custom {
    background-color: #FFFFFF !important;
    color: black;
    border: none;
    border-radius: 0px;
    box-shadow: none;
}

.input-custom::-webkit-input-placeholder {
    color: #9d9ea0;
}

.input-custom::-moz-placeholder {
    color: #9d9ea0;
}

.input-custom:-ms-input-placeholder {
    color: #9d9ea0;
}

.input-custom:-moz-placeholder {
    color: #9d9ea0;
}

.form-control-feedback {
    left: 0 !important;
    color: #cecece !important;
    z-index: 3333;
}

.submit.btn.btn-petrol.btn-block.btn-flat.input-large {
    background-color: #063D7B;
    color: #fff;
}

.custom-text-gray {
    color: #929292;
    text-decoration: none !important;
}


.form-control-feedback i {
    line-height: 43px !important;
}

.form-control-feedback:after {
    content: "";
    position: absolute;
    right: -3px;
    height: 91%;
    border-right: 1px solid #063D7B;
    z-index: -1;
    transform: translateY(20%);
}

.btn-login, .btn-register {
    background-color: #063D7B;
    color: #FFFFFF;
}

.btn-login:hover, .btn-register:hover {
    background-color: #063D7B;
    color: var(--primary);
}

.box.no-border {
    color: #000000 !important;
}

/* NEW LOGIN */

.login-field:focus,
.register-field:focus {
    border-color: #063D7B;
    outline: none;
}


.login-field:-webkit-autofill + .login-label,
.register-field:-webkit-autofill + .register-label {
    font-size: 12px;
    top: -15px;
    transform: translateY(0);
    color: #063D7B;
}

.login-field:focus + label,
.register-field:focus + label,
input[data-value]:not([data-value=""]).login-field + label,
input[data-value]:not([data-value=""]).register-field + label,
select[data-value]:not([data-value=""]).login-field + label,
select[data-value]:not([data-value=""]).register-field + label {
    font-size: 12px;
    top: -15px;
    transform: translateY(0);
    color: #063D7B;
}

.register-form-group.has-error  label,.register-form-group.has-error  p{
    color:var(--bs-danger,red) !important;
}

.custom-text-orange {
    color: #063D7B;
    text-decoration: none !important;
    font-size: 16px;
}

.custom-text-orange:hover,
.custom-footer-link:hover,
.custom-link-text:hover {
    color: #9d9ea0;
}

.custom-link-text {
    color: #063D7B;
    font-size: 12px;
    text-decoration: underline;
}

.custom-footer-link {
    color: #063D7B;
    text-decoration: none !important;
    font-size: 14px;
}

.info-text {
    color: #9e9e9e;
}

.info-text-box {
    background-color: var(--carolina-blue);
}

.bg-carolina-blue {
    background-color: var(--carolina-blue) !important;
}

/* REGISTRATION */

.custom-register-info {
    background: #E8E8E8;
}

.bg-register-info, .custom-register-info {
    font-size: 18px;
    padding: 20px;
    border-radius: 5px;
}

.select2-selection {
    min-height: 34px !important; /* Adjust the height to be the same with other inputs */
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary);
    color: #fff;
}

.select2-container--default {
    color: var(--primary);
}

.request-form-header {
    padding: 0.75rem;
    background: #9e9e9e;
    color: white;
}

.request-form-header-text {
    font-size: 14px;
}

.request-form-hr {
    border-color: #dddddd;
}

.request-form {
    .box-header {
        .service {
            max-width:250px;
            background: var(--background);
            .img-wrapper {
                background: var(--secondary);
                img {
                    min-width: 40px;
                }
            }
            .title{
                font-size: 10px;
                font-weight: 700;
            }
            .subtitle{
                font-size: 10px;
                font-weight: 500;
            }
        }
    }
}


[class*=icheck-] > input:first-child + input[type=hidden] + label::before, [class*=icheck-] > input:first-child + label::before {
    border-color: #000000;
}

.question-heading {
    font-size: 15px;
    font-weight: 600;
}

.question-category-heading {
    font-size: 17px;
    font-weight: 800;
}

.question-title {
    font-size: 14px;
}

.question-value {
    font-size: 13px !important;
}

#pricingModal {
    span {
        line-height: 30px;
    }

    .type-of-service-title {
        color: var(--secondary);
        font-weight: 500;
        font-size: 14px;
    }

    .service-title {
        color: var(--primary);
        font-weight: 400;
        font-size: 14px;
        padding-left: 10px;
    }

    .service-subtitle {
        color: #696969;
        font-weight: 400;
        font-size: 12px;
        padding-left: 15px;
    }

    .coming-soon-label {
        padding: 5px 20px;
        border-radius: 5px;
        font-weight: 400;
        font-size: 12px;
        background: var(--background);
        color: var(--secondary);
    }

    .pricing-label {
        color: var(--primary);
        font-weight: 400;
        font-size: 12px;
    }

    .modal-title {
        text-align: center;
        color: var(--secondary);
        font-size: 20px;
    }

    .modal-body .row {
        margin-bottom: 10px;
    }
}


#dashboard_wrapper {
    .service {
        background: var(--background-light-blue);
        padding: 40px;
        border-radius: 12px;

        .icon {
            background: var(--secondary);
            padding: 10px;
            width: 100px;
            height: 100px;
        }

        .title {
            color: var(--secondary);
        }

        .learn-more {
            color: var(--accent-grey);
        }

        &.disabled {
            --disabled: #C7C7C7;
            background: #F3F3F3;

            .icon {
                background: var(--disabled);
            }

            .title {
                color: var(--disabled);
            }

            .btn {
                color: white !important;
                background: var(--disabled) !important;
                border-color: var(--disabled) !important;
                pointer-events: none !important;
            }
        }
        .btn {
            white-space: normal;
        }
    }

    .card-footer {
        gap: 20px;
    }

    .modal.modal-service {
        .modal-dialog{
            width: 800px;
        }
        .modal-content{
            border: 0;
            border-radius: 10px;
            box-shadow: none;

            background: var(--background-light-blue);
        }
        .modal-title, .modal-body b
        {
            color: var(--secondary);
        }
        .modal-body li {
            font-size: 2rem;
            line-height: 3rem;
        }
    }
}

#verification_wrapper {
    --card-min-height : 400px;
    .channel {
        background: var(--offblue);
        padding: 40px;
        border-radius: 12px;
        min-height: var(--card-min-height);
        &.verification{
            border: 2px solid var(--primary);
            background:white;
            padding: 40px 80px;
        }

        .icon {
            background: var(--primary);
            padding: 10px;
            width: 100px;
            height: 100px;

            i{
                color: white;
                font-size: 40px;
            }
        }
    }

    .verification-field {
        width: 100%;
        padding: 10px 0; /* Remove vertical padding */
        border: none; /* Remove the border */
        border-bottom: 1px solid #ccc; /* Add a bottom border */
        background-color: transparent; /* Make the background transparent */
        font-size: 16px;
        transition: border-color 0.3s;
        box-shadow: none; /* Remove box shadow */
    }

    .title {
        color: var(--accent-grey);
    }
    .subtitle {
        color: black;
    }

    .verified-card {
        background-color: var(--offblue);
        border: 2px solid #10b981;
        border-radius: 12px;
        padding: 32px;
        min-height: var(--card-min-height);
        text-align: center;
    }

    .verified-icon {
        width: 80px;
        height: 80px;
        background-color: #d1fae5;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 24px auto;
    }

    .verified-card .checkmark {
        color: #10b981;
        font-size: 40px;
    }
}

/* Common container styles for appointment booking and specialized department */
.scheduled-appointment-booking, .specialized-department-dates {
    /* Common cards */
    .appointment-timeslots-card, .timeslots-card,
    .desired-timeslots-card, .doctor-card {
        background: #f6f6f6 !important;
    }

    /* Titles and labels */
    .timeslots-title,
    .doctor-card-title {
        font-size: 14px;
        font-weight: 500;
        color: var(--secondary);
    }

    .timeslot-label,
    .doctor-card-subtitle {
        font-size: 14px;
        font-weight: 500;
        color: var(--primary);
    }

    /* Doctor card specifics */
    .doctor-card-title {
        font-weight: 600;
    }

    .doctor-card-subtitle {
        color: #000;
    }

    /* Date titles */
    .appointment-date-container .appointment-date-title,
    .desired-date-container .desired-date-title {
        font-weight: 500;
        font-size: 18px;
        color: var(--secondary);
    }

    /* Timeslot buttons */
    .appointment-timeslots-buttons,
    .timeslots-buttons,
    .selected-timeslots-container {
        > div[class*='col-'] {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .btn {
            border: 1px solid var(--primary);
            height: 40px;
        }

        .btn.active {
            background-color: var(--primary) !important;
            color: white !important;
        }

        input {
            display: none;
        }
    }

    /* Selected tags */
    .selected-timeslot-tag {
        font-size: 14px;
        background-color: var(--background);
        color: var(--secondary);
        font-weight: 500;
    }

    /* Flatpickr styles */
    .flatpickr-day.selected {
        background: var(--primary);
        border-color: var(--primary);
    }

    .flatpickr-day.selected:hover {
        background: var(--primary);
        border-color: var(--primary);
    }

    .flatpickr-calendar.inline {
        z-index: 9999 !important;
    }

    .flatpickr-container {
        position: relative;

        .form-control {
            padding-left: 35px !important;
        }
    }

    .icon {
        z-index: 999;
        font-size: 15px;
        position: absolute;
        left: 10px;
        top: 5%;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .submit-button {
        padding: 10px 26px;
    }
}

/* Specific overrides */
.specialized-department-dates {
    .timeslots-card, .desired-timeslots-card {
        min-height: 250px;
    }
}
