body {
    margin: 0;
    padding: 0;
    font-family: Arial;
     background-color: #F9F9F9; /* light background */
}
* {
    box-sizing: content-box;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.pharma-bg { 
    background-image: url('../uploads/pharma-background.jpg'); /* Replace with your pharmaceutical-themed background image */
    background-size: cover;
    background-position: center;
    width: 400px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.8);
}

.login-form {
    text-align: center;
    padding:20px;
}

.login-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing:border-box;
}

button {
    width:100%;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: red;
}
/*topbar style */
.topbar{
    margin-left:250px;
    height:20px;
    width:calc(97% - 250px);
    background-color:gray;
    padding:20px;    
}
.tb-usr{
    float:right;
    right:10;
}
/* Sidebar Styles */
.sidebar {
    width: 250px;
    height: 100%;
    background-color: lightgray;
    position: fixed;
    top: 0;
   /* left: -250px; /* Hide the sidebar by default */
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow:auto;
}
.cont{
    margin-left:250px;
    width:calc(100% - 250px);
    padding:10px;
}
.sidebar.open {
    left: 0;
}

.logo {
    text-align: center; 
    padding: 20px;
    width:80px;
}

.logo img {
    max-width: 80%;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
  /*  overflow:auto; */
}

.menu li {
    position: relative; /* Ensure relative positioning for dropdowns */
    padding: 10px 20px;
    border-bottom: 1px solid #444;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom:5px;
}

.menu li:hover {
    background-color: gray;
    cursor: pointer;
}

.menu li a {
    color: #333;
    text-decoration: none; 
    margin-bottom:4px;
}

/* Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: lightgray;
    z-index: 1;
    color:yellow;
}

.menu li:hover .dropdown-content {
    display: block;
}

/* Use more specific selector or add !important */
.dropdown-content a {
    padding: 10px 20px;
    margin-bottom: 10px;
    color:yellow;
    text-decoration: none;
}

.dropdown:hover .dropdown-content {
    display: block;
} 

/* Content Styles */
.content {
    margin-left: 0; /* Adjust this value based on your sidebar width */
    padding: 20px;
    transition: margin-left 0.4s ease;
    margin-bottom:4px;
}

.sidebar.open + .content {
    margin-left: 250px; /* Match the sidebar width */
}
