html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: white;
    }

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    }

header {
    background-color: #2c2c2c;
    padding: 10px 20px;
    }

header h1 {
    margin: 0;
    font-size: 1.5rem;
    }

.form-label {
    width: 38vw;
    display: block;
    margin-bottom: 8px;
    }

.form-actions {
    display: flex; 
    gap: 20px; 
    margin-top: 40px;
    }

.container {
    flex: 1;
    padding: 20px;
    max-width: 780px;
    margin: 0 auto;
    }

footer {
    background-color: #2c2c2c;
    color: #aaa;
    text-align: center;
    padding: 10px 0;
    }

input[type="text"], textarea, input[type="submit"], button, select {
    width: 100%;
    padding: 14px 12px; 
    font-size: 18px;  
    background-color: #1e1e1e; 
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    margin-bottom: 10px;
    box-sizing: border-box;
    resize: vertical;
    }

input[type="number"] {
    width: 96%; 
    padding: 14px 12px; 
    font-size: 18px; 
    border-radius: 6px; 
    border: 1px solid #444; 
    background-color: #1e1e1e; 
    color: white;
    }

.btn {
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: 18px; 
    padding: 14px 12px;
    text-align: center;
    align-items: center;
    justify-content: center;
    }

.create-button {
    background-color: #007bff;
    border: 1px solid #007bff;
    margin-left: 18px;
    padding: 14 18px;
    width: 250px;
    display: flex;
    }

.create-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    }

.search-button {
    font-size: 15px;
    border-radius: 0 6px 6px 0;
    background-color: #007bff;
    border: 1px solid #007bff;
    margin: 0;
    padding: 14 18px;
    display: flex;
    }

.search-button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}
.add-button {
    background-color: #007bff;
    }

.add-button:hover {
    background-color: #0056b3;
    }

.open-button {
    background-color: #28a745;
    }

.open-button:hover {
    background-color: #1e7e34;
    }

.delete-button {
    background-color: #c00;
    }

.delete-button:hover {
    background-color: #a00;
    }

.cancel-button {
    background-color: #555;
    height: 22px;
    width: 300px;
    }

.cancel-button:hover {
    background-color: #777;
    }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 20px;
    gap: 18px;
    }

.top-bar form.search-form {
    display: flex;
    flex-grow: 1;
    max-width: 520px;
    }

.top-bar form.search-form input[type="text"] {
    flex-grow: 1;
    padding: 14 10px;
    font-size: 18px;
    margin: 0;
    border-radius: 4px 0 0 4px;
    border-right: none;
    }

.createForm { 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column;
    gap: 30px; 
    font-size: 18px;
    }

table {
    position: absolute;
    left: 15vw;
    width: 70vw;
    border-collapse: collapse;
    table-layout: fixed;
    }

th, td {
    padding: 9px 12px;
    border: 1px solid #333;
    text-align: left;
    vertical-align: middle;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    }

th {
    background-color: #222;
    letter-spacing: 0.05em;
    }

td {
    background-color: #1a1a1a;
    }

.actions {
    text-align: center;
    white-space: nowrap;
    }

.actions a {
    margin-left: 6px;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
    }

h1.main-title {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.8rem;
    }