:root {
    --title-text-grey: #333;
    --background-grey: #f4f4f8;
    --table-header-grey: #f2f2f2;
    --block-background-grey: #f9f9f9;
    --accent-green-1: #009688;
    --accent-green-2: #00796b;
    --accent-green-3: #669c03; /* Official casaGeo green */
    --accent-green-4: #426402; /* Official casaGeo green, lightness 20% */
    --button-grey-1: #6c757d;
    --button-grey-2: #5a6268;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-grey);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

h1 {
    color: var(--title-text-grey);
    text-align: center;
    margin-bottom: 30px;
}

h2 {
    color: var(--title-text-grey);
    margin-bottom: 20px;
}

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

a:hover {
    text-decoration: underline;
}

button {
    color: white;
    background-color: var(--accent-green-3);
    padding: 10px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: var(--accent-green-4);
}

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

th {
    background-color: var(--table-header-grey);
    color: var(--title-text-grey);
    font-weight: bold;
}

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

form {
    width: 100%;
    text-align: left;
}

label {
    display: block;
    color: var(--title-text-grey);
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
}

input[type="text"], input[type="password"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    width: 100%;
    padding: 10px 0;
    background-color: var(--accent-green-3);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: var(--accent-green-4);
}

input[type="file"] {
    display: block;
    margin-bottom: 20px;
}

.back-link {
    display: block;
    text-align: center;
    color: #007bff;
    margin-top: 20px;
    text-decoration: none;
    font-size: 18px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Added styling for checkbox alignment */
.checkbox-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}
