﻿
/* --- Base Table Styles --- */
.table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners apply to content */
}

    /* --- Table Header (thead) --- */
    .table thead {
        background-image: linear-gradient(to right, #02b7f0, #9700ab);
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .table th {
        padding: 1rem 1.25rem;
        text-align: left;
        vertical-align: middle;
        border: none;
    }

    /* --- Table Body (tbody) --- */
    .table tbody tr {
        transition: background-color 0.3s ease-in-out;
    }

/* Striped rows for better readability */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-hover tbody tr:hover {
    background-color: #e6f7ff; /* A subtle hover effect */
    cursor: pointer;
}

.table td {
    padding: 1rem 1.25rem;
    border-top: 1px solid #e0e0e0;
    vertical-align: middle;
}

/* --- Specific Cell Styles --- */
.patient-img img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Status Badges */
.table td span.status-active,
.table td span.status-inactive {
    padding: 0.25em 0.6em;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
}

.table td span.status-active {
    background-color: #28a745; /* Green for Active */
}

.table td span.status-inactive {
    background-color: #dc3545; /* Red for Inactive */
}

/* Action buttons */
.btn-xs {
    padding: 0.3em 0.6em;
    font-size: 0.8rem;
    margin-right: 5px;
    border-radius: 5px;
}

.btn-primary {
    background-color: #02b7f0;
    border-color: #02b7f0;
    transition: background-color 0.3s;
}

    .btn-primary:hover {
        background-color: #0099cc;
        border-color: #0099cc;
    }

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    transition: background-color 0.3s;
}

    .btn-success:hover {
        background-color: #218838;
        border-color: #218838;
    }

/* --- Responsive Table (optional but recommended) --- */
@media screen and (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        display: block;
    }

        .table thead, .table tbody, .table tr, .table th, .table td {
            display: block;
        }

            .table thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

        .table tr {
            border: 1px solid #ccc;
            margin-bottom: 10px;
        }

        .table td {
            border: none;
            position: relative;
            padding-left: 50%;
            text-align: right;
        }

            .table td:before {
                content: attr(data-label);
                position: absolute;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                text-align: left;
                font-weight: bold;
            }
}

th {
    text-transform: uppercase !important;
}

.bottomloginondiv {
    position: fixed;
    bottom: 0;
    right: 0;
    margin-bottom: auto;
    margin-right: auto;
    padding: .5rem;
    z-index: 100000;
    background-color: white;
}

.LoginDiv {
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 368px;
    box-shadow: 2px 3px 2px rgba(0, 0, 0, 0.22);
   
    position: relative;
    border-radius: .5rem;
    display: inline-block
}
    .LoginDivFirst {
        background-image: linear-gradient(to bottom right, #02b7f0, #9700ab) !important;
    }
.LoginDivSec {
    background-color: white;
    border: 1px solid #02b7f0;
}

.LoginFormBox {
    position: absolute;
    top: 477px;
    left: 5%;
    margin-left: auto;
    margin-top: auto;
    width: 40%;
    height: 100%;
}

.loginbox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
    width: 350px;
    height: 350px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #d1cbcb;
}

.loginbox-inner {
}
.dataTables_filter {
    text-align: right;
}
.SideLoginContainer {
    position: fixed;
    background-color: #ffff;
    z-index: 100000;
    width: 50px; /* width: 332px;*/
    height: 50px; /*height: 380px;*/
    margin-bottom: auto;
    margin-right: auto;
    margin-top: auto;
    top: 0;
    bottom: 0;
    right: 0;
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
    box-shadow: 0px 4px 13px #000000b8;
    /* border-top: 16px #44c4da; */
    transition: .5s ease all 0s;
    -webkit-transition: .5s ease all 0s;
    -moz-transition: .5s ease all 0s;
    -o-transition: .5s ease all 0s;
    overflow: hidden;
}

.SideLoginbtn {
    height: 380px;
    width: 50px;
    background-color: #44c4da;
    display: inline-block;
    cursor: pointer;
}

.SideLoginbtnspan {
    color: white;
    padding: .6rem;
}

.SideLoginbtnspanleft {
    color: white;
    padding: 164px .6rem;
    display: none;
}

.SideLogin {
    display: inline-block;
    width: 270px;
    float: right;
    padding-top: 1rem;
}

.quicklinkrow img {
    cursor: pointer;
}

/*.quicklinkrow img:hover {
    border: 5px solid #f8aa00;
    border-radius: 100%;
}*/
.quicklinkrow a {
    float: left;
    display: contents;

}
.quicklinkrow .quicklinkPanel{
    background-image: linear-gradient(to bottom right, #02b7f0, #9700ab) !important;
    height: 150px;
    text-align:center;
}
.quicklinkrow .quicklinkPanel:hover {
    background-image: linear-gradient(to bottom right, #0c84aa, #61106c) !important;
    height: 150px;
}
.quicklinkPanel img {
    max-height: 110px;
}
.quicklinkrow .menuname {
    font-size: 1.5rem;
    text-align: center;
    color: white;
    font-weight: bold;
   text-transform:uppercase
}
.dashboard_ActiveCustomers{
    border-radius:.5rem;
    border:1px solid rgba(0, 0, 0, 0.22);
    display:inline-block;
    width:auto;
    margin:.3rem 0rem;
    min-width:100%;
}
.dpImage {
    border-radius: 100%;
    float: left;
    width: 35px;
    height: 35px;
    
    margin-right: 5px;
    margin-top: 6px;
    margin-left: 4px;
}
    .dpImage img {
        border-radius: 100%;
        
        width: 35px;
        height: 35px;
       
    }

.quicklinkrow {
    margin-bottom: 1rem;
}
.RevenueBottomBtn{
    cursor:pointer;
    margin:0px .5px;
    border:1px solid black;
    background-color:white;
}
    .RevenueBottomBtn:hover {
        background-color: #61106c;
        color:white;
    }
.page-header.navbar .page-logo {
    width: auto !important;
}
.logo-indigo .page-header.navbar .page-logo {
    background: none !important;
}
.page-header-inner {
    background-image: linear-gradient(to bottom right, #02b7f0, #9700ab) !important;
}
.header-white .page-header.navbar .top-menu .navbar-nav > li.dropdown-language > .dropdown-toggle > .langname, .header-white .page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle > .username, .header-white .page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle > i{
    color:white !important;
}
.header-white .fullscreen-btn {
    color: white !important;
}
.page-header.navbar .page-logo{
    padding-top:0px !important;
}
.LoginDiv .input-group-text {
    background-color: #ffffff !important;
    border-bottom: 1px solid #ffffff !important;
    border-top: 1px solid #ffffff !important;
    border-right: none !important;
    border-left: 1px solid #ffffff !important;
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0rem !important;
    border-bottom-left-radius: 0.25rem !important;
    border-bottom-right-radius: 0rem !important;
}
.LoginDiv .form-control, .LoginDiv .form-control:active {
    background-color: white !important;
    border: 1px solid white !important;
}
.cddr {
    padding: 10px;
    margin: 12px 0;
    background: #e6e6e6;
    color: #000;
    font-weight: 600;
    border-radius: 6px;
    text-align:center;
}
.memberManDiv {
    margin-top: 1.5rem;
    border-top: 1px solid white;
    padding: 1.5rem 0rem;
    text-align: center;
    background-image: linear-gradient(to bottom right, #02b7f0, #9700ab) !important;
    position: absolute;
    bottom: 0;
}
.apexcharts-legend{
    text-align:left;
}
.tools{
    display:none !important;
}
.error {
    color: #d60101;
}
.control-label {
    text-transform: uppercase !important;
}
#fieldset_customer_create_2, #fieldset_customer_create_3{
    display:none;
}