input, textarea {
    border: 1px solid var(--primary-color);
    padding: var(--spacing-unit);
    font-size: var(--font-size-base);
    border-radius: 4px;
}

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

form div {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    margin-bottom: 8px;
    display: block;
}

input[type="text"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    box-sizing: border-box;
}

button {
    padding: 12px;
    font-size: 18px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
}

button:hover {
    background-color: #e6c200; /* Darkened yellow */
    color: var(--secondary-color);
}

button:active {
    background-color: #cca300; /* Even darker yellow for active state */
    color: var(--secondary-color); /* Ensures the text remains white on active state */
}

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

table, th, td {
    border: 1px solid var(--primary-color);
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 10px 10px 10px 0; /* Adjusted margin to add space between buttons */
}

a.button:hover {
    background-color: #e6c200; /* Darkened yellow */
    color: var(--secondary-color);
}

a.button:visited {
    color: var(--secondary-color);
}

.actions a {
    margin-right: 10px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.actions a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

.actions a:visited {
    text-decoration: underline;
    color: var(--secondary-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 20px;
    color: var(--secondary-color);
}

.navbar a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
}

.navbar a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
