﻿/* Custom css */
.vs-collapse {
    visibility: collapse !important;
}

.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 5px solid #0D62FF;
    border-top: 5px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*.loader {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: #0020ff36;
    z-index: 9999;
    text-align: center;
}*/

.center-div {
    /*width: 300px;
	height: 300px;*/
    position: absolute;
    left: 50%;
    top: 50%;
    /*margin-left: -150px;
    margin-top: -150px;*/
}

/*.spinner {
    position: fixed;
    z-index: 9999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}*/

/*.loader {
  margin: auto;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #15a0ec;
  border-bottom: 16px solid #15a0ec;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}*/

.inner-div {
    /*background-color: white;*/
    border-radius: 15px;
    margin: auto;
    padding: 2%;
    /*width: 150px;*/
}

/*@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}*/


.tab-active {
    border-bottom: 3px solid dodgerblue;
}

    .tab-active > .active {
        color: dodgerblue !important;
        font-weight: bold;
    }


.r0 {
    right: 0px !important;
}

.r-10 {
    right: -10px !important;
}

.pointer-events-none {
    pointer-events: none;
}


.table > tbody > tr > td:not(.no-ellipsis) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: 0;
}

.table > thead > tr > th:not(.no-ellipsis) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    outline: 0;
}

.table > tbody > tr > td.no-ellipsis {
    /* white-space: normal !important; */
    overflow: visible;
    /* text-overflow: ellipsis;*/
}


table.dataTable {
    margin: 0 auto;
    width: 100%;
    clear: both;
    /* margin: 0 auto; */
    clear: both;
    word-wrap: break-word;
    table-layout: fixed !important;
}

    table.dataTable thead th .sorting_disabled {
        background: none;
    }


.option-group {
    font-weight: bolder;
    color: #212529 !important;
}

.option-child {
    padding-left: 15px;
}

.color-white {
    color: rgba(255,255,255,.8) !important;
}

.color-dark-primary {
    background-color: #343a40 !important;
}

.bg-transparent {
    background-color: transparent !important;
}

.fa-80-per {
    font-size: 80% !important;
}

.b-0 {
    border: 0px !important;
}

.bb-1 {
    border-bottom: 1px solid black;
}

.bt-1 {
    border-top: 1px solid black;
}


.ft-color-dodger-blue {
    color: #007bff !important;
}

.ft-color-red {
    color: red !important;
}

.bb-double {
    border-bottom-style: double;
}


.ui-unstyled {
    list-style: none !important;
}

.link-style {
    color: #142E69;
    text-decoration: none;
    background-color: transparent;
}

    .link-style:hover {
        color: #57aec4;
    }

.disclaimer-style {
    color: #ff0000;
    margin-top: 10px;
    font-weight: bolder;
}

.bg-image {
    background-color: #f8f9fa;
}

.toggle-status {
    width: 44px;
    height: 23px;
    appearance: none;
    background-color: #dc3545;
    border-radius: 20px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.3s;
}

    .toggle-status:checked {
        background-color: #28a745;
    }

    .toggle-status::before {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        background: white;
        border-radius: 50%;
        top: 1px;
        left: 2px;
        transition: transform 0.3s;
    }

    .toggle-status:checked::before {
        transform: translateX(20px);
    }

.custom-link {
    color: black !important;
    text-decoration: none;
    font-size: 20px;
}

.cardBox {
    width: 100%;
    max-width: 800px;
    border: none !important;
    border-radius: 30px !important;
    background: #ffffff;
}

.cardBox-body-Login {
    padding: 2rem !important;
}

.form-control {
    border: 1px solid #ddd;
    padding: 8px 12px;
}

.logo-blend-mode {
    mix-blend-mode: multiply;
    width: 15vw; /* Adjusts based on viewport width */
    max-width: 550px; /* Prevents it from getting too large */
    min-width: 80px; /* Ensures it doesn't shrink too much */
}


.register-bgcolor {
    background-color: #e9ecef;
}

.dynamic-brand {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out;
}

.dynamic-logo {
    width: 90px;
    height: 42px;
}

.dynamic-title {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    text-decoration: none !important;
    color: #112F64;
}

.dynamic-brand:hover .dynamic-logo {
    transform: scale(1.08);
    box-shadow: 0px 4px 14px rgba(0,0,0,0.35);
}

.dynamic-brand:hover .dynamic-title {
    color: #000;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .dynamic-logo {
        width: 38px;
        height: 38px;
    }

    .dynamic-title {
        font-size: 1rem;
    }
}

html, body {
    height: 100%;
    overflow: hidden; 
}

.wrapper {
    height: 100%;
    overflow: visible; 
}

:root {
    --header-height: 56px;
    --footer-height: 60px;
}

.content-wrapper {
    height: calc(100vh - var(--header-height) - var(--footer-height));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--footer-height);
}

@media (max-width:768px) {
    #tableWrapper {
        overflow-x: auto !important;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
        margin-right: 6px;
    }
}

.export-btn {
    width: 42px;
    height: 42px;
    background-color: #EFF2F9;
    border: 2px solid #112F64;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

    .export-btn i {
        color: #112F64;
        font-size: 18px;
    }

    .export-btn:hover {
        background-color: #112F64;
    }

        .export-btn:hover i {
            color: #ffffff;
        }

.pointer {
    cursor: pointer !important;
}

#patientTableWrapper {
    overflow-x: auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

#patientTable {
    min-width: 900px;                 
    table-layout: auto !important;    
}