195 lines
3.0 KiB
CSS

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
margin: auto;
padding: 20px;
}
.header {
background-color: #0f431f;
color: white;
padding: 10px 0;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.logo-container img {
width: 200px;
height: 50px;
cursor: pointer;
}
.categories {
display: flex;
gap: 15px;
margin-left: 50px;
}
.categories a {
color: white;
text-decoration: none;
font-weight: bold;
}
.categories a:hover {
text-decoration: underline;
}
.user-section {
display: flex;
align-items: center;
margin-right: 20px;
}
.user-name {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
}
.logout-container {
display: flex;
align-items: center;
}
.logout-container img {
width: 25px;
height: 25px;
margin-left: 10px;
cursor: pointer;
}
.info-card {
background-color: white;
padding: 20px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
margin-bottom: 20px;
border-radius: 8px;
}
.info-card h2 {
border-bottom: 2px solid #0f431f;
padding-bottom: 10px;
margin-bottom: 20px;
}
.info-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
}
.info-table th,
.info-table td {
padding: 12px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.info-table th {
background-color: #f8f8f8;
color: #333;
}
.action-btn {
display: inline-block;
padding: 10px 20px;
color: white;
background-color: #0f431f;
text-decoration: none;
border-radius: 5px;
margin: 10px 0;
cursor: pointer;
}
.action-btn:hover {
background-color: #092d14;
}
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
padding-top: 60px;
}
.modal-content {
background-color: #fefefe;
margin: 5% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 400px;
border-radius: 8px;
}
.footer {
text-align: center;
padding: 10px 0;
background-color: #0f431f;
color: white;
margin-top: 40px;
}
.search-bar {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: 1px solid #ddd;
}
.details {
display: none;
}
/* Dropdown menu */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: white;
min-width: 200px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #ddd;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown:hover .dropbtn {
background-color: #0f431f;
}