﻿@import url('https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&sisplay=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

body {
    min-height: 100vh;
    background: #f6f2f2;
    
}

.top-bar {
    position: fixed; /* Fixed to remain at the top */
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #ccc;
    z-index: 999; /* Stays below the sidebar */
    display: flex;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar {
    width: 70px;
    position: fixed; /* Ensure it's on the same context as the top bar */
    height: 100vh;
    background-color: #ddd;
    overflow: hidden;
    padding-top: 20px;
    transition: width 0.5s ease; /* Smooth width transition */
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1001; /* Ensure it is above the top bar */
}

    .sidebar:hover {
        width: 300px;
        
    }
    .sidebar ul {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden; /* prevent horizontal scroll */
        padding-right: 5px; /* space for scrollbar */
    }

.sidebar ul li 
{
    list-style: none;
}

.sidebar ul li:hover
{
   background: #ccc;
}
.sidebar ul li a 
{
    text-decoration: none;
    display: flex;
    white-space:nowrap;
    position:relative;
}
.sidebar ul li a .icon
{
    justify-content:center;
    display: flex;
    align-items: center;
    position: relative;
    min-width: 60px;
    height: 60px;
    font-size:1.5em;
    color: #333;
    left:0
}
.sidebar ul li a .text
{
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 1em;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar ul li.logo
{
    margin-bottom:50px;
}

.sidebar ul li.logo :hover 
{
    background:#b6ff00;
}

.sidebar ul li.logo .icon
{
    font-size: 2em;
}

.sidebar ul li.logo .text 
{
    font-size: 1.2em;
    font-weight: 500;
}

        /* Keep scrollbar inside visible area */
        .sidebar ul::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar ul::-webkit-scrollbar-thumb {
            background-color: #aaa;
            border-radius: 3px;
        }


.bottom 
{
    position:absolute;
    bottom: 20px;
    width: 100%;
}

.top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
}

.logout-top-right 
{
    position: fixed; /* Use fixed to position relative to the viewport */
    top: 5px; /* Distance from the top of the page */
    right: 20px; /* Distance from the right of the page */
    z-index: 1000; /* Ensure it's above other elements */
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-hover-sidebar {
    position: fixed;
    top: 5px;
    right: 20px;
    z-index: 1002; /* Ensure it is above the sidebar */
    pointer-events: auto; /* Ensures it behaves as a separate clickable area */
}

    .no-hover-sidebar:hover ~ .sidebar {
        width: 60px; /* Ensure the sidebar does not expand when hovering over logout-top-right */
    }

.custom-multiview {
    position: fixed; /* Use absolute positioning to control placement */
    top: 100px; /* Start 100px from the top */
    left: 320px; /* Start 320px from the left */
    width: calc(100% - 320px); /* Adjust the width to fill remaining space */
    padding: 20px; /* Add inner padding */
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration:none;
    color: #333;
    cursor: pointer;
    height: 60px;
    
}

    .menu-item:hover {
        background-color: #ccc;
    }

.bottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
}

.Submenu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    height: 40px;
}

    .Submenu-item:hover {
        background-color: #ccc;
    }

.Subbottom {
    position: absolute;
    bottom: 20px;
    width: 100%;
}


/* Gridview ######################################################################*/

.gridview {
    width: 100%;
    border-collapse: collapse;
    background-color: #ddd;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    color: #333;
    border-radius: 10px; /* Add curved corners */
    overflow: hidden; /* Ensures corners apply neatly */
}

    .gridview th {
        background-color: #c8c5c5;
        padding: 10px;
        text-align: left;
        border: 1px solid #f1f1f1;
    }

    .gridview td {
        border: 1px solid #c8c5c5;
        padding: 10px;
    }

    .gridview tr:nth-child(even) {
        background-color: #f1f1f1;
    }

    .gridview tr:hover {
        background-color: #fce0b9;
    }


.main-content {
    margin-top: 0; /* Below the top bar */
    margin-left: 300px; /* Beside the sidebar */
    height: calc(100vh - 50px); /* Full height minus top bar */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensure padding doesn't affect width/height */
}

/* Apply to textboxes */
input[type="text"],
textarea,
select {
    border-radius: 10px; /* Adjust value for desired curvature */
    border: 1px solid #ccc; /* Optional: Add border styling */
    padding: 4px; /* Optional: Add padding for better appearance */
    height: 30px;
    outline: none; /* Remove focus outline */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    transition: all 0.3s ease; /* Smooth transition for hover/focus effects */
}

    /* Add hover effect */
    input[type="text"]:hover,
    textarea:hover,
    select:hover {
        border-color: #888; /* Change border color on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Enhance shadow */
    }

    /* Add focus effect */
    input[type="text"]:focus,
    textarea:focus,
    select:focus {
        border-color: #007BFF; /* Highlight border color on focus */
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3); /* Add focus shadow */
    }

/* Phone Format */
input[type="tel"] {
    width: 125px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
}


/* General button styling ############################################################################## */
button,
input[type="button"],
input[type="submit"] {
    background-color: #007BFF; /* Default background color */
    color: #fff; /* Text color */
    border: none; /* Remove borders */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding for better size */
    font-size: 14px; /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

    /* Hover effect for buttons */
    button:hover,
    input[type="button"]:hover,
    input[type="submit"]:hover {
        background-color: #0056b3; /* Darker blue on hover */
        transform: scale(1.05); /* Slightly enlarge the button */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
    }

    /* Active effect for buttons */
    button:active,
    input[type="button"]:active,
    input[type="submit"]:active {
        background-color: #004080; /* Even darker blue when active */
        transform: scale(0.98); /* Slightly shrink the button */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Reduce shadow */
    }

    /* Disabled button styling */
    button:disabled,
    input[type="button"]:disabled,
    input[type="submit"]:disabled {
        background-color: #cccccc; /* Light gray for disabled state */
        color: #666; /* Dark gray text for contrast */
        cursor: not-allowed; /* Not-allowed cursor for disabled buttons */
        box-shadow: none; /* Remove shadow for disabled buttons */
    }


/*Release Location History Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalLoc {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentLoc {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 810px; /* Set exact width */
    height: 440px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentLoc iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeLoc {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}



/*Release Provider History Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalProv {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentProv {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 840px; /* Set exact width */
    height: 620px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentProv iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeProv {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}


/*Release Schedule History Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalSchedule {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentSchedule {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 800px; /* Set exact width */
    height: 600px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentSchedule iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeSchedule {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}




/*Release Appointment History Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalAppt {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentAppt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1015px; /* Set exact width */
    height: 700px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentAppt iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeAppt {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}

/*Release Cancelation History Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalCancel {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentCancel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 820px; /* Set exact width */
    height: 260px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentCancel iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeCancel {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}


/*Release Canceled Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalCanceled {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentCanceled {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 744px; /* Set exact width */
    height: 215px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentCanceled iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeCanceled {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}




/*Release Patient Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalPt {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentPt {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 840px; /* Set exact width */
    height: 520px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentPt iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closePt {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}


/*Release User Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalUser {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentUser {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 830px; /* Set exact width */
    height: 610px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentUser iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeUser {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}


/*Release Summon Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalSummon {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentSummon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 800px; /* Set exact width */
    height: 250px; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentSummon iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeSummon {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}




/*Release Text Message Form $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ */

.modalText {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 50% transparent black */
}

.modal-contentText {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46%; /* Set exact width */
    height: 80%; /* Set exact height */
    background-color: #fff;
    padding: 0; /* Remove extra padding to fit the iframe perfectly */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

    .modal-contentText iframe {
        width: 100%; /* Match the parent container's width */
        height: 100%; /* Match the parent container's height */
        border: none; /* Remove border for clean appearance */
        border-radius: 10px; /* Adjust the value to set the desired curvature */
        overflow: hidden; /* Ensures content stays within rounded corners */
    }

.closeText {
    position: absolute;
    top: 4px; /* Adjust as needed */
    right: 12px; /* Position to the right */
    cursor: pointer;
    z-index: 1001; /* Ensure it appears above other content */
}




/* Apply styles to password fields ######################################################################*/
input[type="password"] {
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 4px;
    height: 30px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    input[type="password"]:hover {
        border-color: #888;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    input[type="password"]:focus {
        border-color: #007BFF;
        box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    }





/* Apply styles to Image fields ######################################################################*/

.my-image-field {
    border-radius: 15px; /* Smooth curved edges */
    overflow: hidden; /* Hides content overflow */
    max-width: 100%;
    height: auto;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
}



.my-image-field2 {
    border-radius: 15px; /* Smooth curved edges */
    overflow: hidden; /* Hides content overflow */
    max-width: 100%;
    height: auto;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* Shadow effect */
}

    .my-image-field2:hover {
        transform: scale(1.05);
        box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.4);
    }

#Minor-Image-Panel img {
    border-radius: 15px; /* Curve the image corners */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); /* Soft shadow effect */
    overflow: hidden;
    width: 90px; /* Ensure width matches your generated buttons */
    height: 90px; /* Ensure height matches your generated buttons */
    object-fit: cover; /* Maintain aspect ratio without stretching */
    transition: transform 0.2s ease-in-out; /* Smooth animation */
}

    /* Optional: Add hover effect */
    #Minor-Image-Panel img:hover {
        transform: scale(1.05); /* Slight zoom-in on hover */
        box-shadow: 6px 6px 15px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
    }

.minor-container {
    display: inline-block;
    text-align: center;
    margin: 10px;
}

    .minor-container img {
        border-radius: 15px;
        box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.2s;
    }

        .minor-container img:hover {
            transform: scale(1.1);
        }

.minor-name-link {
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #007bff;
    margin-top: 5px;
}

    .minor-name-link:hover {
        text-decoration: underline;
    }

.minor-name-linkPt {
    display: block;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    color: #fc7e05;
    margin-top: 5px;
}


/* Enable scrolling for the entire page */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Make sure the main content can expand and scroll */
#MainContent {
    min-height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Ensure the form takes full height and allows scrolling */
form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Star Rating ######################################################################*/


.star-rating i {
    font-size: 24px;
    color: gray;
    cursor: pointer;
}

    .star-rating i.selected {
        color: gold;
    }

.question-container {
    margin-bottom: 20px;
}

.question-label {
    /*font-weight: bold;*/
    font-size: 14px;
}

/* Checkbox ######################################################################*/
.chk-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

    .chk-list label {
        width: 100px; /* Fixed width for each label */
        display: flex;
        align-items: center;
    }


/* Checkbox for Provider Schedule ######################################################################*/

/* Style for checkboxes and labels */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 4px; /* Adds spacing between checkbox and label */
    margin: 14px; /* Adjust margin for spacing */
}

    /* Style for checkbox */
    .checkbox-container input[type="checkbox"] {
        width: 14px; /* Adjust checkbox size if needed */
        height: 14px;
        margin-right: 5px; /* Extra spacing between checkbox and label */
    }

    /* Style for label */
    .checkbox-container label {
        font-size: 12px; /* Adjust font size if needed */
        cursor: pointer;
        white-space: nowrap; /* Prevents text wrapping */
    }

/* Checkbox for Appointment Status ######################################################################*/

/* Style for checkboxes and labels */
.checkbox-containerAppt {
    display: flex;
    align-items: center;
    gap: 4px; /* Adds spacing between checkbox and label */
    margin: 14px; /* Adjust margin for spacing */
}

    /* Style for checkbox */
    .checkbox-containerAppt input[type="checkbox"] {
        width: 14px; /* Adjust checkbox size if needed */
        height: 14px;
        margin-right: 5px; /* Extra spacing between checkbox and label */
    }

    /* Style for label */
    .checkbox-containerAppt label {
        font-size: 14px; /* Adjust font size if needed */
        cursor: pointer;
        white-space: nowrap; /* Prevents text wrapping */
    }

/* Buttons for days ######################################################################*/

.dayButton {
    margin: 4px;
    padding: 10px;
    background-color: #f0ad4e;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.hourButton {
    margin: 4px;
    padding: 8px;
    background-color: #5bc0de;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}


/* Location Radio Button ######################################################################*/

.Location-radio-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-top: 5px;
}

    .Location-radio-list input[type="radio"] {
        display: none;
    }

    .Location-radio-list label {
        display: block;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: #f9f9f9;
        transition: all 0.3s ease;
        cursor: pointer;
        font-size: 13px;
    }

        .Location-radio-list label:hover {
            background-color: #e6f7ff;
        }

    .Location-radio-list input[type="radio"]:checked + label {
        border-color: #007bff;
        background-color: #cce5ff;
    }

/* Provider Radio Button ######################################################################*/

.provider-radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

    .provider-radio-list input[type="radio"] {
        display: none; /* Hide default radio button */
    }

    .provider-radio-list label {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid #ccc;
        padding: 10px;
        border-radius: 10px;
        cursor: pointer;
        width: 150px;
        transition: all 0.3s ease;
        background-color: #f9f9f9;
        text-align: center;
    }

        .provider-radio-list label:hover {
            background-color: #e6f7ff;
        }

    .provider-radio-list input[type="radio"]:checked + label {
        border-color: #007bff;
        background-color: #cce5ff;
    }


/* Calendar ######################################################################*/

.custom-calendar {
    border-collapse: collapse;
    width: 100%;
}

    .custom-calendar td,
    .custom-calendar th {
        border: 1px solid #ddd;
        padding: 6px;
        text-align: center;
    }

    .custom-calendar td {
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .custom-calendar td:hover {
            background-color: #f0f0f0;
        }

.available-day {
    position: relative;
}

    /* Available Day ######################################################################*/

    .available-day a {
        display: inline-block;
        padding: 8px 10px;
        background-color: #007BFF;
        color: white !important;
        border-radius: 10%;
        font-weight: bold;
        width: 100px;
        height: 30px;
        line-height: 14px;
        text-align: center;
        transition: background-color 0.3s;
        text-decoration: none !important;
    }

        .available-day a:hover {
            background-color: #0645b5;
        }

/* Available Hours ######################################################################*/

.hours-grid {
    display: grid;
    grid-template-columns: repeat(5, auto); /* max 5 columns */
    gap: 10px;
    margin-top: 10px;
}

.hourButton {
    padding: 8px 12px;
    background-color: #6DCD4B;
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

    .hourButton:hover {
        background-color: #218838;
    }



/* Map ######################################################################*/

#map {
    width: 100%;
    height: 500px; /* or whatever height you need */
    border-radius: 15px; /* optional, but looks good with shadows */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


/* Confirmation Message ######################################################################*/

.confirmation-panel {
    padding: 15px;
    background-color: #fefefe;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
}

.confirm-btn, .cancel-btn {
    margin: 10px 5px;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    border: none;
}

.confirm-btn {
    background-color: #28a745;
    color: white;
}

.cancel-btn {
    background-color: #dc3545;
    color: white;
}





/* Current Patient Hour ######################################################################*/

.hourButton2.current-patient-slot {
    background-color: #FFA500 !important;
    color: white !important;
    font-weight: bold;
    cursor: not-allowed;
}

.hourButton2 {
    margin: 5px;
    padding: 10px 14px;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

.disabled-slot {
    background-color: #ccc !important;
    color: #888 !important;
    cursor: not-allowed;
}

.selected-slot {
    background-color: darkorange !important;
    font-weight: bold;
}

.current-patient-slot {
    background-color: #FFA500 !important; /* Orange */
    color: white !important;
    font-weight: bold;
    cursor: not-allowed;
}

/* Cancel Box ######################################################################*/

.cancel-box {
    border: 2px solid #FFB6C1; /* Light red/pink border */
    border-radius: 10px;
    padding: 10px;
    background-color: #fff8f8;
    margin-top: 10px;
}

.ajax__tab_default .ajax__tab_header {
    font-weight: bold;
    background-color: #f5f5f5;
}

.ajax__tab_active .ajax__tab_tab {
    background-color: #e0f7fa;
    font-weight: bold;
}


/* Stars ######################################################################*/

.rating {
    color: gold;
    font-size: 20px;
    display: block;
    margin-top: 4px;
}

/* Tab Button for setting Section ######################################################################*/

.tab-button {
    background-color: #7A807D;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px; 
    border-bottom-right-radius: 0px; 
    margin-right: 2px;
    transition: background-color 0.3s;
}

.tab-button:hover {
    background-color: #ddd;
}

.tab-button.active {
    background-color: #0078d7;
    color: white;
}


.center-text {
    text-align: center;
}


/* Style for the first table (filter table) */
.filter-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

    .filter-table td {
        padding: 6px 10px;
        border: 1px solid #d9d9d9;
        text-align: left;
        background-color: #fbfbfb;
    }

/* Style for the second table (appointment result table) */
.appointment-table {
    width: 100%;
    border-collapse: collapse;
}

    .appointment-table th,
    .appointment-table td {
        border: 1px solid #ccc;
        padding: 8px;
        text-align: center;
        word-wrap: break-word;
    }

    .appointment-table th {
        background-color: #f2f2f2;
    }


/* ----------------------------------------------------------- Style for Sub Menu ------------------------------------------------------- */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 20px;
    left: 40px; /* show next to icon */
    background: #f9f9f9;
    border: 1px solid #ccc;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    min-width: 130px;
    max-height: 130px;
    overflow-y: auto;
    border-radius: 6px;
}

/* Show submenu on hover */
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.submenu li {
    padding: 5px 15px;
    white-space: nowrap;
}

.submenu-item {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    height: 30px;
    font-size:13px;
}

    .submenu-item:hover {
        background-color: #ccc;
    }

/* ----------------------------------------------------------- Style for Chart ------------------------------------------------------- */
.chart-container {
    width: 400px;
    height: 300px;
    margin: 20px auto;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.chart-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.chart-center-label {
    position: relative;
    top: -170px;
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

/* ----------------------------------------------------------- Style for Satisfaction ------------------------------------------------------- */
.satisfaction-card {
    border: 2px solid #E46C0A;
    border-radius: 20px;
    padding: 20px;
    width: 280px;
    text-align: center;
    font-family: Arial, sans-serif;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.stars {
    font-size: 28px;
    color: orange;
    margin-bottom: 10px;
}

.overall {
    font-size: 16px;
}

.score {
    font-weight: bold;
    color: orange;
    font-size: 20px;
}
.center-card {
    display: inline-block;
    text-align: center;
}

/*----------------------------------------- Multi Select DropDown for messaging---------------------------------------------------- */
.multiselect-wrapper {
    width: 140px;
    position: relative;
}

.multiselect-header {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 5px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 13px;
}

.multiselect-checkboxes {
    display: none;
    position: absolute;
    top: 35px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 180px;
    overflow-y: auto;
    font-size: 13px;
    z-index: 1000;
}

/*----------------------------------------- Multi Select DropDown Race And Ethnicity for messaging---------------------------------------------------- */
.multiselectRE-wrapper {
    width: 100%;
    position: relative;
}

.multiselectRE-header {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 5px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 13px;
}

.multiselectRE-checkboxes {
    display: none;
    position: absolute;
    top: 35px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 180px;
    overflow-y: auto;
    font-size: 12px;
    z-index: 1000;
}

/*----------------------------------------- Multi Select DropDown Insurance for messaging---------------------------------------------------- */
.multiselectIns-wrapper {
    width: 435px;
    position: relative;
}

.multiselectIns-header {
    border: 1px solid #ccc;
    background-color: #fff;
    padding: 5px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 13px;
}

.multiselectIns-checkboxes {
    display: none;
    position: absolute;
    top: 35px;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    max-height: 180px;
    overflow-y: auto;
    font-size: 12px;
    z-index: 1000;
}

/*----------------------------------------- Upload Custom List for Messaging ---------------------------------------------------- */

.upload-panel {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.upload-container {
    width: 100%;
    height: 200px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
    padding-top: 50px;
    font-family: Arial;
    font-size: 16px;
    color: #333;
    position: relative;
}

.upload-btn {
    margin-top: 15px;
    background-color: #0f5d7d;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
}

.upload-input {
    display: none; /* Hidden unless needed as fallback */
}

.drop-zone {
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    color: #333;
    background-color: #f9f9f9;
    cursor: pointer;
}

.blue-btn {
    margin-top: 10px;
    background-color: #166687;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 4px;
}

/*Header and Title format #####################################################################*/
.section-box {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    background-color: #fefefe;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size:14px;
}

    .section-box h1 {
        font-size: 20px;
        margin-bottom: 15px;
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
        color: #333;
    }

/* Direction Right to Left #############################################################*/
.rtl {
    direction: rtl;
    text-align: right;
    
}

              