/* General styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.loginbody {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f4f4f4;
    margin: 0;
}
.logincontainer {
    background: #515151;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    color: white;
}
.logo {
    margin-bottom: 20px;
}
input[type=email], input[type=password] {
    width: calc(100% - 16px);
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #333;
    color: white;
}

h1, h2, h3 {
    color: #333;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 5px 0;
}

/* Container styles */

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Form styles */

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

form button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #f7cf46;
    color: #fff;
    cursor: pointer;
    margin-top: 10px;
}

form button:hover {
    background-color: #0056b3;
}

/* Table styles */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

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

table th {
    background-color: #f2f2f2;
}

/* Confirmation delete styles */

.confirm-delete {
    background-color: #ffdddd;
    padding: 20px;
    border: 1px solid #f5c6cb;
    color: #721c24;
    margin-bottom: 20px;
}

/* Navigation styles */

nav {
    background-color: #515151;
}

nav a {
    color: red;
    display: inline-block;
}

nav a:hover {
    background-color: #575757;
}

/* Navigation styling */
.nav-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: right;
    float: right;
    display: flex;
    align-items: center;
    height: 48px; /* Align with the logo height */
}

.nav-links li {
    display: inline;
    margin-left: 10px;
}

.user-info {
    color: white;
    display: inline;
    margin-right: 20px;
}

/* Header styling */
.main-header {
    background-color: #515151;
    padding: 10pxi 20px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
}
