/*body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
*/
/* .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 20px;
} */


.top {
    /*background-color: #333;*/
    padding: 20px;
    border-radius: 10px;
    width: 100vw;
    box-sizing: border-box;
    text-align: center;
    grid-column: span 2;
    color:#00bcd4;
}

.left-side, .right-side {
    /*padding: 20px;*/
    /*background-color: #1e1e1e;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);*/
    /*width:50%;*/
    /*border:1px solid #33A8FF;*/
    /*box-sizing:border-box;*/
}

.left-side{
    /*max-width: 600px;*/
    margin-left: 84px;

}

.side-nav {
	display:flex;
}

.navigation {
    display: flex;
    align-items: center;
    /*justify-content: space-between;*/
    margin-bottom: 20px;
    margin-left:260px;

    
}

.arrow {
    /*background-color: #333;
    color: #00bcd4;
    border: none;*/
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 40px;
    height: 40px;
}

.arrow:hover {
    /*background-color: #444;*/
}

/*
select {
    width: calc(100% - 100px);
    padding: 10px;
    background-color: #333;
    color: #00bcd4;
    border: none;
    border-radius: 5px;
}





 button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}



button {
    cursor: pointer;
    background-color: #444;
}

button:hover {
    background-color: #555;
}

#form-submit {
    width: 64px;
    color: #00bcd4;
}
*/

#form-selector, #item-selector {
    width: max-content;
}

#date-selector {
    /*border: none;*/
    border-radius: 5px;
    /*background-color: #333;*/
    /*color: #fff;*/
    height: 30px;
    padding: 0 10px;
    /*transition: background-color 0.3s, transform 0.2s;*/
    padding-left: 5px;
    height:34px;
    margin-left: 220px;
}
.item-navigation{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 24px;
    margin-right:8px;
}

.form h1 {
    text-align: center;
    color: #00bcd4; 
    margin-bottom: 20px;
    font-size: 32px;
}


@media (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
    }

    .navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 24px;
    margin-right:8px;
    }

    #date-selector{
        position: relative;
        right:134px;
    }
    
}


.vitals{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    /*background-color: #262626;*/
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    width:60%;
}
.vitals div{
    padding: 15px;
    text-align: center;
}

.vitals input{
    border: 1px solid #33A8FF;
    border-radius: 5px;
    /*background-color: #333;*/
    /*color: #fff;*/
    height: 30px;
    padding: 0 10px;
    /*transition: background-color 0.3s, transform 0.2s;*/
}
.vitals input:focus {
    /*background-color: #444;*/
    /*transform: scale(1.05);*/
    /*outline: none;*/
}
#Vitals-Date{
    width: 170px;
    padding-left: 5px;
    height:34px;
}
.vitals h3{
    margin-bottom: 5px;
    color: #00bcd4;
    font-size:20px;
}
.vitals div:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .vitals {
        flex-direction: column;
        align-items: center;
    }

    .vitals div {
        width: 100%;
    }
}
.labin{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    /*background-color: #262626;*/
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}
.labin div{
    padding: 15px;
    text-align: center;
}

.labin input{
   /*border: none;*/
    border-radius: 5px;
    /*background-color: #333;*/
    /*color: #fff;*/
    height: 30px;
    padding: 0 10px;
    /*transition: background-color 0.3s, transform 0.2s;*/
}
.labin input:focus {
    /*background-color: #444;*/
    /*transform: scale(1.05);*/
    /*outline: none;*/
}
#LabIn-Date{
    width: 170px;
    padding-left: 5px;
    height:34px;
}
.labin h3{
    margin-bottom: 5px;
    color: #00bcd4;
    font-size:20px;
}
.labin div:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .labin {
        flex-direction: column;
        align-items: center;
    }

    .labin div {
        width: 100%;
    }
}




.devices {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}


.devices > div {
    width: 35%; 
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    /*background-color: #262626;*/
}


.devicedates div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}



.devices input[type="radio"] + .devices label {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    /*transition: background-color 0.3s ease;*/
    /*background-color: #555; */
    /*color: #fff; */
}


.devices input[type="radio"] + .devices label:not(:checked) {
    /*background-color: #555;*/
}

/* Styling for checked radio button */
.devices input[type="radio"]:checked + .devices label {
    /*background-color: #007bff; */
}

.devices label{
   position: relative;
   right:240px;
   bottom:-5px;
}


.antibiotic{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    /*background-color: #262626;*/
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}
.antibiotic div{
    padding: 15px;
    text-align: center;
}

.antibiotic input{
    /*border: none;*/
    border-radius: 5px;
    /*background-color: #333;*/
    /*color: #fff;*/
    height: 30px;
    padding: 0 10px;
    /*transition: background-color 0.3s, transform 0.2s;*/
}
.antibiotic input:focus {
    /*background-color: #444;*/
    /*transform: scale(1.05);*/
    /*outline: none;*/
}
.antibiotic input[type="date"]{
    width: 170px;
    padding-left: 5px;
    height:34px;
}
.antibiotic h3{
    margin-bottom: 5px;
    color: #00bcd4;
    font-size:20px;
}
.antibiotic div:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}

@media (max-width: 768px) {
    .antibiotic {
        flex-direction: column;
        align-items: center;
    }

    .antibiotic div {
        width: 100%;
    }
}



#form5 {
    margin: 20px auto;
    max-width: 800px;
    padding: 20px;
    /* border: 1px solid #262626; */
    border-radius: 5px;
    /*background-color: #262626;*/
    font-family: Arial, sans-serif;
    position: relative;
    left: 94px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.followup{
    margin-left:32%;
   
}




h1 {
    text-align: center;
    color: #333;
}


.navigation-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 280px;
    
}

.arrow-1 {
    /*background-color: #333;*/
    /*color: #00bcd4;*/
    /*border: none;*/
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    margin-left: 24px;
}

.arrow-1:hover {
    /*background-color: #444;*/
}
.form-1{
    width: 100%
   
}
#form-submit-1 {
    width: 64px;
    color: #00bcd4;
    margin-left: 24px;
}
#form-selector-1{
    width: max-content;
    margin-left: 24px;
}
.ros1{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 100%; 
    box-sizing: border-box;
}

#form1 {
    position: relative;
    left: 42px;
    top: 12px;
}





.ros-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box; 
}

.ros {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box; 
}

.ros > div {
    flex: 1 1 300px;
    /* background-color: #262626; */
    /* border: 1px solid #262626; */
    border-radius: 8px;
    padding: 15px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    position: relative;
    bottom: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 400px;
}

.ros h2 {
    margin-top: 0;
    color: #00bcd4;
    font-size: 1.2em;
    text-align: center;
}

.ros h3 {
    margin: 10px 0;
    color: #00bcd4;
    font-size: 1em;
}

.ros input[type='radio'] {
    margin-right: 10px;
}

.ros label {
    margin-bottom: 5px;
    display: block;
    color: #333;
}

.followup input[type='radio'] {
    margin-bottom: 10px;
    margin-right: 4px;
    position: relative;
    top:2px;
}

.ros1{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}



@media (max-width: 768px) {
    .ros > div {
        flex: 1 1 100%;
    }
}

.devices-row {
    position: relative;
    left:128px;
}
.devices h2 {
    font-size: 24px;
}


.devices input{
    /*border: none;*/
    border-radius: 5px;
    /*background-color: #333;*/
    /*color: #fff;*/
    height: 30px;
    padding: 0 10px;
    /*transition: background-color 0.3s, transform 0.2s;*/
}
#form6 {
    padding: 20px;
    /* border: 1px solid #262626; */
    border-radius: 5px;
    width: 850px;
}


#form7 {
    /* margin: 20px auto; */
    /* max-width: 600px; */
    padding: 20px;
    /* border: 1px solid #262626; */
    border-radius: 5px;
    position: relative;
    right: -290px;
    height: 280px;
    width:280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
#form2 h1 {
    position: relative;
    right: 240px;
}


#form7 h1 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 28px;
}


.cultures-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.cultures {
    width: calc(50% - 10px); 
    margin-bottom: 20px;
    margin-left: 160px;
    margin-top:18px;

    
}


.cultures select,
.cultures input[type="date"],
.cultures input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 5px;
    box-sizing: border-box;
    /*background-color: #333;*/
    transition: border-color 0.3s ease;
    /*color: #fff;*/
}



.cultures select:hover,
.cultures input[type="date"]:hover,
.cultures input[type="text"]:hover {
    border-color: #999;
}



.cultures h3 {
    margin-top: 0;
    color: #00bcd4;
}

.item {
    width: max-content;
    margin: 0 auto;
    padding: 20px;
    /*background-color: #2a2a2a;*/
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/*
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #444;
}

th {
    background-color: #333;
    color: #fff;
}

td {
    background-color: #2a2a2a;
}

tr:hover td {
    background-color: #3a3a3a;
}
*/
.item td:first-child {
    font-weight: bold;
}


#item3 select{
    width:max-content;
    margin: 0 auto; 
    display: block;
    height: max-content;
}


.arr {
    /*background-color: #333;*/
    color: #00bcd4;
    /*border: none;*/
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
   
    margin-left: 24px;
}
.nav-container{
    display: flex;
}

#item3 .arr.disabled {
    color: red;
    cursor: not-allowed;
}

/* new ip styles  by vj*/ 
.case-sheet-header {
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
}

.section-title {
    font-weight: bold;
    text-decoration: underline;
}

.form-label {
    font-weight: bold;
}

.checkbox-section {
    display: flex;
    align-items: center;
}

.checkbox-section label {
    margin-left: 10px;
}

.vital-signs-section {
    margin-top: 20px;
}

/* Styling for the save button */
.save-btn {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.position-relative {
    position: relative;
}

.clear-button1 {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
}

.clear-button1:hover {
    color: #333;
}

 /* navbar */
 .navbar-right {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    right: -250px; /* Initially hidden */
    height: 45%;
    width: 250px;
    background-color: #42A5F5; /* Change the color as needed */
    padding-top: 20px;
    z-index: 1000;
    transition: right 0.3s ease; /* Smooth transition */
}

/* Show the navbar only on mobile and tablet devices */
@media screen and (max-width: 1024px) {
    .navbar-right {
        display: block; /* Visible on tablet and mobile devices */
    }
}

.navbar-right a {
    padding: 10px 15px;
    display: block;
    color: white !important;
    text-decoration: none;
}

.navbar-right a:hover {
    background-color: #1E88E5;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 40px; /* Increased font size for better visibility */
    color: white;
    cursor: pointer;
}

/* Toggle button (three horizontal lines) */
.toggle-btn {
    display: none; /* Hidden on desktop */
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 2000;
    background-color: #42A5F5;
    border: 2px solid #42A5F5;
    padding: 5px 10px;
    border-radius: 5px;
}

.toggle-btn:hover {
    background-color: #1E88E5;
    color: white;
}

/* Only show the toggle button on mobile and tablet devices */
@media screen and (max-width: 1024px) {
    .toggle-btn {
        display: block;
    }
}

/* Hide toggle button when navbar is open */
.toggle-btn.hide {
    display: none !important;
}
        
            /* new navbar */
        /* Horizontal Navbar for Desktop and Tablet */
        .navbar-horizontal {
            width: 100%;
            background-color: #42A5F5;
            position: fixed;
            top: 0;
            left: 0;
            height: 60px;
            display: flex;
            align-items: center;
            padding: 0 20px; /* Add padding to the left and right */
            z-index: 0;
            font-weight: bold;
        }
        
        /* Add margin-left: auto to the first link to push all links to the right */
        .navbar-horizontal a:first-child {
            margin-left: auto; /* This pushes all the links to the right side */
        }
        
        /* Navbar links styling */
        .navbar-horizontal a {
            color: white !important;
            text-decoration: none;
            padding: 14px 20px;
            font-size: 18px;
            transition: background-color 0.3s ease;
            text-align: center;
        }
        
        /* Hover effect for navbar links */
        /* .navbar-horizontal a:hover {
            background-color: #34495e;
        } */
        
        /* Main content positioning adjustment for the fixed navbar */
        .main-content {
            margin-top: 60px; /* Offset the content for the height of the navbar */
            padding: 20px;
        }
        
        /* Hide navbar on mobile devices (max-width 768px) */
        @media screen and (max-width: 768px) {
            .navbar-horizontal {
                display: none; /* Hide the navbar on mobile devices */
            }
        
            .main-content {
                margin-top: 0; /* Remove the margin-top when the navbar is hidden */
            }
        }
        
        .active-link {
            background-color: Green;
            font-weight: bold;
          }
          
          /* ip patient reading */
          .carousel-content {
            display: none;
        }
        .active-content {
            display: block;
        }
        /* Custom dropdown styling */
        .custom-dropdown {
            position: relative;
            display: inline-block;
        }
        .custom-dropdown-menu {
            display: none;
            position: absolute;
            background-color: #fff;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1000;
            min-width: 150px;
        }
        .custom-dropdown-menu.show {
            display: block;
        }
        .custom-dropdown-menu li {
            list-style: none;
        }
        .custom-dropdown-menu li a {
            display: block;
            padding: 8px 16px;
            text-decoration: none;
            color: #000;
        }
        .custom-dropdown-menu li a:hover {
            background-color: #f1f1f1;
        }

         /* view modal popup scrool x  */
        #viewVitalsModal .modal-body {
            overflow-x: auto;
            white-space: nowrap;
          }
          
          #viewVitalsModal .table {
            width: 100%;
            min-width: 800px; /* Adjust as needed for larger tables */
          }