/*  style.css */
#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of everything */
}

#loading-box {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3); /* Light border */
    border-top: 8px solid #3498db; /* Blue color */
    border-radius: 50%;
    width: 50px; /* Size of the spinner */
    height: 50px; /* Size of the spinner */
    animation: spin 1s linear infinite; /* Animation properties */
    margin: 0 auto; /* Center the spinner */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-message {
    margin-top: 10px; /* Space between spinner and message */
    font-size: 16px;
}

/* Add these styles to your style.css file */
#notification-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Semi-transparent background */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* Ensure it's on top of everything */
}

#notification-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#notification-message {
    margin-bottom: 10px;
    font-size: 16px;
}

#close-notification {
    background-color: #5cb85c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#close-notification:hover {
    background-color: #4cae4c;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    /* width: 100%; */
    /* margin: 0; */
}

.body_logInOut_SignUp_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 10px;
    margin: 20px;
    border-radius: 10px;
    /* Rounded corners */
    background-color: rgba(255, 255, 255, 0.9);
    /* Light background for sections */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Shadow effect for sections */
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    /* adjust width */
}

.authenticationForm {
    display: flex;
    flex-direction: column;
    height: auto;
    max-width: 400px;
    /* adjust width */
}

.practitionerFeild {
    display: flex;
    flex-direction: column;
    height: auto;
    max-width: 1050px;
    /* adjust width */
}

.fields {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-field {
    display: flex;
    width: calc(100% / 3 - 15px);
    flex-direction: column;
    margin: 4px 0;
}

.input-field label {
    font-size: 10px;
    font-weight: 500;
    color: #2e2e2e;
}

.input-field input,
.input-field select {
    outline: none;
    font-size: 12px;
    font-weight: 400;
    color: #333;
    border-radius: 5px;
    border: 1px solid #aaa;
    padding: 8px 15px;
    height: 32px;
    margin: 8px 0;
}

.input-field input:focus,
.input-field select:focus {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.13);
}

.input-field select,
.input-field input[type="date"] {
    color: #707070;
}

.input-field input[type="date"]:valid {
    color: #333;
}


/*-<==>--<==>--<==>- BUTTON SLIDER PROFESSION SELECT AND EMPLOYEE NUMBER -<==>--<==>--<==>-*/
.sliderLabel {
    font-size: 10px;
}

.slider-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.slider-container label {
    font-size: 12px;
    margin-right: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    /*Size of Oval*/
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0b8cd7;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 20px;
    opacity: 0.7;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #81c1f5;
    /* #2196F3 */
}

input:focus+.slider {
    box-shadow: 0 0 1px #81c1f5;
    /* #2196F3 */
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.slider_profcert {
    background-color: #349ff6;
    /* Example background color for slider_profcert */
}

.slider_currentcompany {
    background-color: #349ff6;
    /* Example background color for slider_profcert */
}

.slider_wecareid {
    background-color: #349ff6;
    /* Example background color for slider_profcert */
}

/*-<==>--<==>--<==>- BUTTON SLIDER PROFESSION SELECT AND EMPLOYEE NUMBER -<==>--<==>--<==>-*/

/*-<==>--<==>--<==>- Profile Pic Form -<==>--<==>--<==>-*/

.profilepicContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.button-container {
    align-items: center;
    justify-content: center;
}

.captureBtn,
.retakeBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    max-width: 200px;
    /*width box*/
    width: 150px;
    border: none;
    outline: none;
    color: #080505;
    border-radius: 5px;
    margin: 5px 0;
    background-color: #87d0ec;
    transition: all 0.3s linear;
    cursor: pointer;
}

.captureBtn.disabled {
    pointer-events: none;
    opacity: 0.5; /* You can adjust the opacity as needed */
}
.retakeBtn.disabled {
    pointer-events: none;
    opacity: 0.5; /* You can adjust the opacity as needed */
}

.frame-container {
    border: 5px solid #000; /* Add a frame around the container */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px; /* Adjust padding as needed */
    width: 225px; /* Set a fixed width to match the blank-profile-pic */
    height: 225px; /* Set a fixed height to match the blank-profile-pic */
    overflow: hidden; /* Hide any content that overflows the fixed size */
    border-radius: 50%;
}

.frame-container video,
.frame-container img {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
    height: 250px;
    object-fit: cover; /* Crop and cover the circular frame */
}

#video {
    display: none; /* Hide the video initially */
    max-width: 100%;
    /* height: 300px; */
    transform: scaleX(-1);
}

#profile-pic,
#blank-profile-pic {
    display: none; /* Hide profile pics initially */
}

#canvas {
    display: none;
    border: 5px solid #000; /* Add a frame to the canvas */
}

#capture-button {
    margin-top: 10px;
}
/*-<==>--<==>--<==>- Profile Pic Form -<==>--<==>--<==>-*/

/*-<==>--<==>--<==>--<==>--<==>- EXCEL TABLE -<==>--<==>--<==>--<==>--<==>-*/

table {
    border-collapse: collapse;
    margin-top: 20px;
}

table,
th,
td {
    border: 1px solid #bdc3c7;
}

th,
td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #5ec4ec;
    color: white;
}

tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}


.main-excel {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    align-items: center;
}

.excel-field {
    max-width: 1045px;
}
.excelTABLE {
    width: 100%;
    overflow: auto;
}

/* WebKit-based browsers (Chrome, Safari) */
/* .excelTABLE::-webkit-scrollbar {
    width: 0;
} */

th.excel-header {
    position: relative;
    /* Position relative for absolute positioning of arrows */
    padding-right: 30px;
    /* Add padding to the right for spacing */
}

.sort-arrow {
    position: absolute;
    /* Position absolute for diamond alignment */
    right: 10px;
    /* Align to the right */
    font-size: 1.2em;
    /* Increase size for better visibility */
    color: lightgrey;
    /* Default color for arrows */
    transition: color 0.3s;
    /* Smooth transition for color change */
}

.sort-arrow-up {
    top: 3px;
    /* Position the up arrow */
}

.sort-arrow-down {
    top: 13px;
    /* Position the down arrow below the up arrow */
}

th.excel-header.sorted-asc .sort-arrow-up {
    color: white;
    /* Color for the up arrow when sorted ascending */
}

th.excel-header.sorted-desc .sort-arrow-down {
    color: white;
    /* Color for the down arrow when sorted descending */
}

/*-<==>--<==>--<==>--<==>--<==>- EXCEL TABLE -<==>--<==>--<==>--<==>--<==>-*/

h2 {
    text-align: center;
    color: #333;
}

input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #5cb85c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button:hover {
    background-color: #4cae4c;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#profile {
    text-align: center;
}

.logout_CSS {
    margin-top: 20px;
    /* Adjust the value as needed for spacing */
}

/* Responsive Design */
@media (max-width: 600px) {
    .input-field {
        width: calc(100% / 2 - 15px);
    }
}

@media (max-width: 500px) {
    .input-field {
        width: 100%;
    }
}