body {
font-family: Arial, sans-serif;
font-size: 12px;
background-color: #f2f2f2;
margin: 0;
padding: 0;
}
textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  font-size: 12px;
  resize: vertical;
  min-height: 100px;
}
.container {
width: 80%;
margin: 20px auto;
background: #fff;
padding: 20px;
}
.checkbox-scroll-wrapper {
max-height: 250px;
overflow-y: auto;
background-color: #fff;
border: 1px solid #ced4da;
border-radius: 4px;
padding: 10px;
width: 100%;
box-sizing: border-box;
}
.checkbox-scroll-wrapper .form-check {
margin-bottom: 8px;
white-space: normal;
}
.form-check-input {
margin-right: 8px;
}
.login-container {
width: 300px;
margin: 100px auto;
background: #fff;
padding: 30px;
border-radius: 5px;
box-shadow: 0px 0px 10px #aaa;
}

h1, h2 {
color: #333;
}

input[type="text"],
input[type="password"],
input[type="email"] {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 3px;
box-sizing: border-box;
}

select {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 3px;
box-sizing: border-box;
}

button {
background: #28a745;
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 3px;
cursor: pointer;
}

button:hover {
background: #218838;
}

nav a {
margin: 0 10px;
text-decoration: none;
color: #007bff;
}

table {
width: 100%;
max-width: 100%;
border-collapse: collapse;
table-layout: auto;
}

.table-responsive {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

table {
width: 100%;
border-collapse: collapse;
}

th, td {
border: 1px solid #ddd;
padding: 10px;
text-align: left;
}

.pagination {
text-align: center;
margin: 20px 0;
}

.pagination a, .pagination strong {
display: inline-block;
margin: 0 5px;
padding: 8px 15px;
background-color: #f0f0f0;
color: #333;
text-decoration: none;
border-radius: 5px;
font-family: Arial, sans-serif;
font-size: 14px;
transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
background-color: #007bff;
color: white;
}

.pagination strong {
background-color: #007bff;
color: white;
font-weight: bold;
}

.pagination a:active {
background-color: #0056b3;
}

.pagination a, .pagination strong {
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination a:first-child {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}

.pagination a:last-child {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}

.pagination a:focus {
outline: none;
}


.user-menu {
position: absolute;
top: 10px;
right: 10px;
display: flex;
align-items: center;
cursor: pointer;
}

.avatar {
width: 40px;
height: 40px;
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
background: gray;
}

.avatar img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 50%;
}

.menu {
display: none;
position: absolute;
top: 50px;
right: 0;
background: white;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
width: 150px;
}

.menu .welcome {
padding: 10px;
font-weight: bold;
background: #f0f0f0;
text-align: center;
border-bottom: 1px solid #ddd;
}

.menu a {
display: block;
padding: 10px;
text-decoration: none;
color: black;
border-bottom: 1px solid #ddd;
}

.menu a:last-child {
border-bottom: none;
}

.menu a:hover {
background: #f0f0f0;
}

 ul {
list-style: none;
padding: 0;
display: none;
border: 1px solid #ddd;
border-radius: 5px;
max-height: 200px;
overflow-y: auto;
position: absolute;
background: white;
width: calc(100% - 22px);
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
li {
padding: 10px;
border-bottom: 1px solid #ddd;
cursor: pointer;
}
li:last-child {
border-bottom: none;
}
li.hidden {
display: none;
}
.search-container {
position: relative;
display: inline-block;
width: 100%;
}
.menuz > a {
background-color: #34db4d;
color: white;
padding: 12px 16px;
font-size: 14px;
border-radius: 5px;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s, transform 0.2s;
float: right;
gap: 10px;
padding: 10px;
}

.menus {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding: 10px;
}

.menus > a, .submenu > a {
background-color: #3498db;
color: white;
padding: 12px 16px;
font-size: 14px;
border-radius: 5px;
text-decoration: none;
display: inline-block;
transition: background-color 0.3s, transform 0.2s;
}

.submenu {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
background-color: white;
min-width: 200px;
box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
border-radius: 5px;
overflow: hidden;
z-index: 1;
top: 100%;
left: 0;
}

.dropdown-content a {
color: #333;
padding: 12px 16px;
text-decoration: none;
display: block;
transition: background-color 0.3s;
}

.dropdown-content a:hover {
background-color: #f1f1f1;
}

.submenu:hover .dropdown-content {
display: block;
}

@media (max-width: 768px) {
.menus {
flex-direction: column;
align-items: center;
gap: 5px;
}

.submenu {
width: 100%;
text-align: center;
}

.dropdown-content {
position: static;
width: 100%;
display: none;
}

.submenu:hover .dropdown-content {
display: block;
}
}

@media (max-width: 600px) {
.menu-container {
position: relative;
}

.menu-toggle {
display: block;
background-color: #3498db;
color: white;
padding: 10px 16px;
font-size: 16px;
border: none;
cursor: pointer;
border-radius: 5px;
width: 100%;
text-align: center;
}

.menus {
display: none;
flex-direction: column;
width: 100%;
}

.menus.active {
display: flex;
}
}
