body {
    font-family: Arial, sans-serif;
    margin: 0; /* Remove all default margins */
    padding: 0 10px; /* Keep horizontal padding for content spacing */
    background-color: #ffffff; /* White background */
    color: #27391C; /* Dark green text for contrast */
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.schedule-list h2 {
    margin: 10px 0 10px 10px;
    padding: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.schedule-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.create-schedule-container {
    border: 2px solid rgba(78, 159, 61, 0.8);
    padding: 20px;
    margin: 10px;
    display: flex;
    width: 200px;
    height: 150px;
    text-align: center;
    background-color: rgba(216, 233, 168, 0.2);
    color: #27391C;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.create-schedule-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(216, 233, 168, 0.4);
    border-color: rgba(78, 159, 61, 1);
}

.date-input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.schedule-edit {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Increase space between sections */
}

.schedule-edit-buttons {
    display: flex;
    justify-content: space-between; /* Scatter buttons evenly */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 10px; /* Space between buttons */
    margin-bottom: 20px; /* Add margin below buttons */
}

.schedule-edit-buttons, .schedule-edit > button {
    display: flex;
    gap: 10px;
}

.schedule-edit > table + div {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.schedule-edit > button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    padding: 0 15px;
    margin: 0;
    max-width: 200px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.schedule-edit > button:first-of-type {
    background-color: rgba(65, 136, 51, 0.9);
}

.schedule-edit > button:last-of-type {
    background-color: rgb(53, 82, 36);
}

.schedule-card {
    border: 1px solid rgba(78, 159, 61, 0.8); /* Semi-transparent bright green border */
    padding: 20px; /* Larger padding for a modern look */
    margin: 10px;
    display: inline-block;
    cursor: pointer;
    width: 200px; /* Fixed width for uniformity */
    height: 150px; /* Fixed height for uniformity */
    text-align: center;
    background-color: rgba(216, 233, 168, 0.5); /* Light green with transparency */
    color: #27391C; /* Dark green text for readability */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for modern look */
    border-radius: 8px; /* Rounded corners */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-card:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover */
    background-color: rgba(78, 159, 61, 0.8); /* Bright green on hover */
    color: #ffffff; /* White text for contrast */
}

.schedule-card strong {
    font-size: 18px; /* Larger font for better readability */
    display: block;
    margin-bottom: 10px;
}

.schedule-card.active {
    background-color: rgba(78, 159, 61, 0.6); /* Semi-transparent bright green for active cards */
}

.schedule-card.archived {
    background-color: rgba(39, 57, 28, 0.1); /* Very light green for archived cards */
}

.schedule-card.active .toggle-button {
    background-color: #4E9F3D; /* Bright green for "Archivieren" */
    color: #18230F; /* Dark text for contrast */
}

.schedule-card.archived .toggle-button {
    background-color: #27391C; /* Darker green for "Aktivieren" */
    color: #D8E9A8; /* Light green text */
}

.schedule-card.active .toggle-button:hover {
    background-color: #D8E9A8; /* Light green on hover */
    color: #18230F; /* Dark text for contrast */
}

.schedule-card.archived .toggle-button:hover {
    background-color: #4E9F3D; /* Bright green on hover */
    color: #18230F; /* Dark text for contrast */
}

.toggle-button.archive-button {
    background-color: #e5f0c7 !important; /* Light green for "Archivieren" */
    color: #000000; /* Black text for contrast */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border: 2px solid rgb(53, 82, 36); /* Semi-transparent bright green border */
    font-family: 'Roboto', sans-serif; /* Ensure the modern font is applied */
    font-size: 16px; /* Set a consistent font size for the table */
    background-color: rgba(216, 233, 168, 0.3); /* Light green with transparency */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
    color: #27391C; /* Dark green text for readability */
}

th,
td {
    border: 1px solid #ddd; /* Subtle border for cells */
    padding: 10px; /* Slightly larger padding for better spacing */
    text-align: center;
    vertical-align: middle;
    font-size: inherit; /* Inherit the font size from the table */
    color: #27391C; /* Dark green text for readability */
}

th {
    background-color: rgba(65, 136, 51, 0.9); /* Bright green header background with slight transparency */
    color: #ffffff; /* White text for contrast */
    font-weight: bold;
    text-transform: uppercase; /* Modern uppercase headers */
}

td {
    background-color: rgba(216, 233, 168, 0.2); /* Very light green for table cells */
}

tr:nth-child(even) td {
    background-color: rgba(216, 233, 168, 0.4); /* Slightly darker light green for alternating rows */
}

tr:hover td {
    background-color: rgba(173, 192, 119, 0.404); /* Bright green on hover */
    color: #000000; /* White text for contrast */
}

button {
    padding: 8px 12px; /* Original compact padding */
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 5px; /* Rounded corners */
    font-size: 14px;
    font-weight: bold;
    color: #ffffff; /* White text for contrast */
    background-color: rgba(65, 136, 51, 0.9); /* Original bright green background */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

button:hover {
    background-color: rgba(78, 159, 61, 1); /* Fully opaque bright green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

button:active {
    transform: scale(0.95); /* Slight shrink effect on click */
}

button.secondary {
    background-color: rgb(53, 82, 36); /* Original darker green for secondary buttons */
    color: #ffffff; /* White text */
}

button.secondary:hover {
    background-color: rgb(53, 75, 40); /* Original hover color for secondary buttons */
}

button.danger {
    background-color: rgba(183, 28, 28, 0.9); /* Original red for danger buttons */
    color: #ffffff; /* White text */
}

button.danger:hover {
    background-color: rgba(138, 23, 23, 1); /* Original darker red on hover */
}

button.delete-button {
    background: #ff636344;
    border: 1px solid #ff6363;
    font-size: 16px; /* Adjust size for better visibility */
    cursor: pointer;
    color: #ff6363;
    padding: 5px 10px;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0 auto;
    border-radius: 4px;
}

button.delete-button .material-icons {
    font-size: 18px;
    vertical-align: middle;
}

button.delete-button .delete-text {
    display: none;
}

button.delete-button:hover {
    color: #cc0000;
    border-color: #cc0000;
}

@media (min-width: 768px) {
    button.delete-button .delete-text {
        display: inline;
    }
}

button.primary, button.secondary, button.danger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
    height: 40px; /* Ensure consistent height */
    flex: 1; /* Allow buttons to grow evenly */
    max-width: 200px; /* Limit button width */
}

button.primary i, button.secondary i, button.danger i {
    font-size: 18px; /* Icon size */
}

button.create-schedule-button {
    padding: 8px 12px; /* Smaller padding for a compact look */
    font-size: 14px; /* Slightly smaller font size */
    font-weight: bold;
    color: #ffffff; /* White text for contrast */
    background-color: rgba(65, 136, 51, 0.9); /* Bright green background */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    display: inline-block; /* Prevent full-width stretching */
    margin-top: 10px; /* Add spacing above */
}

button.create-schedule-button:hover {
    background-color: rgba(78, 159, 61, 1); /* Fully opaque bright green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

button.create-schedule-button:active {
    transform: scale(0.95); /* Slight shrink effect on click */
}

#createScheduleButton {
    width: 90%;
    padding: 8px;
    margin: 0;
    font-size: 14px; /* Slightly smaller font size */
    font-weight: bold;
    color: #ffffff; /* White text for contrast */
    background-color: rgba(65, 136, 51, 0.9); /* Bright green background */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
    display: inline-block; /* Prevent full-width stretching */
}

#createScheduleButton:hover {
    background-color: rgba(78, 159, 61, 1); /* Fully opaque bright green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

#createScheduleButton:active {
    transform: scale(0.95); /* Slight shrink effect on click */
}

.edit-mode {
    background-color: #fff3e0;
}

.status-cell {
    cursor: pointer;
}

.day-separator {
    border-top: 2px solid rgba(39, 57, 28, 0.8); /* Slightly darker green border */
    height: 0; /* No height, just a border */
    padding: 0; /* Remove padding to avoid extra space */
    margin: 0; /* Remove default margin */
    background-color: transparent; /* Ensure no background color */
}

input[type="number"] {
    width: 30px;
    text-align: center;
}

.available {
    color: green;
}

.unavailable {
    color: red;
}

.active-button {
    background-color: #4caf50; /* Grün für verfügbar */
    color: white;
}

active-button.unavailable {
    background-color: #f44336; /* Rot für nicht verfügbar */
}

button.available.active-button {
    background-color: #4caf50; /* Green background for active available button */
    color: #ffffff; /* White text for contrast */
    border: 1px solid #4caf50; /* Match border color */
}

button.unavailable.active-button {
    background-color: #f44336; /* Red background for active unavailable button */
    color: #ffffff; /* White text for contrast */
    border: 1px solid #f44336; /* Match border color */
}

.staff-cell {
    white-space: normal; /* Zeilenumbruch erlaubt */
}

.staff-cell.fully-staffed {
    background-color: #bbe9a0; /* Stronger green for fully staffed shifts */
}

.staff-cell.understaffed {
    background-color: #ffb9b9; /* Slightly stronger red for understaffed shifts */
}

.staff-entry {
    display: block; /* Jeder Eintrag in einer neuen Zeile */
}

.staff-entry span {
    white-space: nowrap; /* Symbol und Name in einer Zeile */
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the schedule title and buttons */
    gap: 5px; /* Reduce spacing between the buttons and the title */
    margin-bottom: 10px; /* Reduce spacing below the navigation */
}

.navigation h2 {
    flex: 0; /* Ensure the title does not take full width */
    text-align: center; /* Center the title text */
    margin: 0; /* Remove extra spacing around the title */
    font-size: 22px; /* Slightly larger font size for better visibility */
}

.switch-view-button {
    padding: 10px 15px; /* Add padding for a modern look */
    font-size: 14px; /* Consistent font size */
    font-weight: 600; /* Semi-bold for a modern look */
    color: #ffffff; /* White text for contrast */
    background-color: #4E9F3D; /* Subtle green background */
    border: none;
    border-radius: 5px; /* Rounded corners for a sleek look */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

.switch-view-button:hover {
    background-color: #3d8b2e; /* Darker green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

.switch-view-button:active {
    transform: scale(0.95); /* Slight shrink effect on click */
}

.view {
    display: none;
}

.view.active {
    display: block;
}

/* Responsive table for small screens */
#employeeTable, #adminTable {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ensures columns shrink proportionally */
}

#employeeTable th, #employeeTable td,
#adminTable th, #adminTable td {
    word-wrap: break-word; /* Break long words to fit within cells */
    text-align: center;
    /* Remove conflicting font-size and padding styles */
}

@media (max-width: 768px) {
    #employeeTable th, #employeeTable td,
    #adminTable th, #adminTable td {
        font-size: 12px; /* Further reduce font size for small screens */
        padding: 6px;
    }
    .view table {
        font-size: 12px;
    }
    /* Adjust the "Info" column for small screens */
    #employeeTable th:nth-child(3), #employeeTable td:nth-child(3),
    #adminTable th:nth-child(3), #adminTable td:nth-child(3) {
        width: 20%; /* Make the "Info" column smaller */
        word-wrap: break-word; /* Allow breaking long words */
        hyphens: auto; /* Add hyphens when breaking words */
        text-align: center; /* Align text to the left for better readability */
    }
}

.schedule-edit table {
    margin-top: 30px; /* Add larger margin between table and buttons */
}

.soll-besetzung-slider {
    width: 100%; /* Full width for better usability */
    margin: 0;
    -webkit-appearance: none; /* Remove default styling */
    appearance: none;
    background: rgba(78, 159, 61, 0.8); /* Semi-transparent bright green track */
    height: 6px; /* Track height */
    border-radius: 5px; /* Rounded track */
    outline: none;
    transition: background 0.3s ease;
}

.soll-besetzung-slider:hover {
    background: rgba(78, 159, 61, 1); /* Fully opaque bright green on hover */
}

.soll-besetzung-slider::-webkit-slider-thumb {
    -webkit-appearance: none; /* Remove default styling */
    appearance: none;
    width: 16px; /* Thumb size */
    height: 16px;
    background: rgba(39, 57, 28, 0.8); /* Semi-transparent darker green thumb */
    border-radius: 50%; /* Circular thumb */
    cursor: pointer;
    transition: background 0.3s ease;
}

.soll-besetzung-slider::-webkit-slider-thumb:hover {
    background: rgba(39, 57, 28, 1); /* Fully opaque darker green on hover */
}

.soll-besetzung-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: rgba(39, 57, 28, 0.8); /* Semi-transparent darker green thumb */
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.soll-besetzung-slider::-moz-range-thumb:hover {
    background: rgba(39, 57, 28, 1); /* Fully opaque darker green on hover */
}

.soll-besetzung-value {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #27391C; /* Dark green text for readability */
}

.date-input-container {
    display: flex;
    flex-direction: column; /* Stack label and input vertically */
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    margin: 0;
    padding: 0;
}

#month {
    width: 90%;
    padding: 8px;
    text-align: center;
    border: 1px solid rgba(78, 159, 61, 0.8);
    border-radius: 5px;
    background-color: #ffffff; /* White background */
    color: #27391C; /* Dark green text for readability */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
}

button.available, button.unavailable {
    background-color: transparent; /* Transparent background */
    border: 1px solid #4E9F3D; /* Bright green border */
    color: #4E9F3D; /* Bright green text */
    font-size: 14px; /* Consistent font size */
    font-weight: bold; /* Bold text for emphasis */
    padding: 5px 10px; /* Compact padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transitions */
}

button.available:hover {
    background-color: #4d9f3d6b; /* Bright green background on hover */
    color: #ffffff; /* White text for contrast */
}

button.unavailable:hover {
    background-color: #f4433679; /* Red background on hover */
    color: #ffffff; /* White text for contrast */
}

button.available:active, button.unavailable:active {
    background-color: #3A7F2A; /* Slightly darker green on click */
    color: #ffffff; /* White text */
}

button[type="submit"] {
    padding: 10px 15px; /* Larger padding for a modern look */
    font-size: 14px; /* Consistent font size */
    font-weight: bold;
    color: #ffffff; /* White text for contrast */
    background-color: rgba(65, 136, 51, 0.9); /* Bright green background */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions */
}

button[type="submit"]:hover {
    background-color: rgba(78, 159, 61, 1); /* Fully opaque bright green on hover */
    transform: scale(1.05); /* Slight zoom effect */
}

button[type="submit"]:active {
    transform: scale(0.95); /* Slight shrink effect on click */
}

form {
    padding-right: 10px; /* Add right padding to the form */
}

#employeeName {
    width: 100%; /* Full width for better usability */
    max-width: 250px; /* Limit the width */
    padding: 8px; /* Compact padding */
    font-size: 14px; /* Consistent font size */
    border: 1px solid #ddd; /* Subtle border for a clean look */
    border-radius: 5px; /* Rounded corners */
    background-color: #ffffff; /* White background */
    color: #27391C; /* Dark green text for readability */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
    margin-top: 10px; /* Add spacing above the input field */
    margin-right: 10px; /* Add margin between input and button */
}

#employeeName:focus {
    border-color: rgba(65, 136, 51, 0.9); /* Bright green border on focus */
    box-shadow: 0 4px 8px rgba(65, 136, 51, 0.3); /* Slight shadow on focus */
    outline: none; /* Remove default outline */
}

@media (max-width: 768px) {
    #employeeName {
        max-width: 100%; /* Allow full width on smaller screens */
        font-size: 12px; /* Slightly smaller font size for better scaling */
        padding: 6px; /* Adjust padding for compactness */
    }

    button[type="submit"] {
        width: 100%; /* Full width for better usability */
        font-size: 12px; /* Slightly smaller font size */
        padding: 8px; /* Adjust padding for compactness */
    }

    label[for="employeeName"] {
        font-size: 14px; /* Adjust label font size for better readability */
        display: block; /* Ensure label is on its own line */
        margin-bottom: 5px; /* Add spacing below the label */
    }
}

.navigation-button {
    background: none;
    border: none;
    font-size: 28px; /* Larger font size for better visibility */
    cursor: pointer;
    color: #4E9F3D; /* Bright green for better visibility */
    font-weight: bold; /* Make the text bold */
    transition: color 0.3s ease, transform 0.2s ease; /* Add smooth transitions */
}

.navigation-button:hover {
    background: none; /* Ensure no background color on hover */
    color: #27391C; /* Dark green on hover for contrast */
    transform: scale(1.2); /* Slight zoom effect on hover */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #caff853f;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    color: #333333;
    margin-bottom: 30px;
    height: 90px;
}

.header-title {
    flex: 1;
    font-size: 38px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    color: #4E9F3D;
}

.logo {
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.switch-view-button {
    margin-left: auto;
    padding: 8px 15px;
}

@media (max-width: 768px) {
    .header {
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
    }

    .header-title {
        font-size: 24px;
        order: 2;
        flex: 1 1 100%;
        margin: 10px 0;
    }

    .logo {
        height: 65px;
        order: 1;
    }

    .switch-view-button {
        order: 1;
        padding: 8px 12px;
        font-size: 12px;
        margin-left: auto;
    }
}

@media (min-width: 768px) {
    .header {
        padding: 15px 25px;
    }

    .header-title {
        font-size: 32px;
        order: 0;
        margin: 0;
        flex: 1;
        text-align: left;
        margin-left: 20px;
    }

    .logo {
        max-width: 240px;
    }
}

.calendar-export-btn {
    margin-top: 10px;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.calendar-export-btn i {
    font-size: 20px;
}

.calendar-export-btn:hover {
    background-color: #45a049;
}

.calendar-export-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-left: auto;
}

.help-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: help;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: relative;
    padding: 0;
    margin: 0;
}

.help-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    right: 0;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    width: 200px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    text-align: left;
    z-index: 1;
    white-space: normal;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid rgba(78, 159, 61, 0.8);
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #27391C;
}

.modal .soll-besetzung-slider {
    height: 6px; /* Thinner track */
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: rgba(78, 159, 61, 0.8);
    border-radius: 3px;
    margin: 8px 0; /* Consistent margin for slider */
}

.modal .soll-besetzung-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: rgba(39, 57, 28, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal .soll-besetzung-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: rgba(39, 57, 28, 0.8);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.shift-form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Consistent gap between all form sections */
}

.shift-form > div {
    margin: 0; /* Remove any default margins */
}

.shift-form label {
    display: block;
    margin-bottom: 8px; /* Consistent space between label and input */
    color: #27391C;
    font-weight: bold;
}

.form-row {
    display: flex;
    gap: 20px; /* Match the vertical gap */
}

.form-row > div {
    flex: 1;
    width: 50%;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Smaller gap for related elements */
}

.info-type-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0; /* Remove default margin */
    padding: 4px 0; /* Add small vertical padding */
}

.info-input {
    width: 100%;
    box-sizing: border-box;
    height: 35px; /* Consistent height for all inputs */
    padding: 8px;
    margin: 0; /* Remove default margin */
}

.shift-form input[type="date"],
.shift-form input[type="time"],
.shift-form input[type="number"],
.shift-form select,
.shift-form input[type="text"] {
    width: 100%;
    height: 35px;
    box-sizing: border-box;
    padding: 8px;
    border: 1px solid rgba(78, 159, 61, 0.8);
    border-radius: 4px;
    font-size: 14px;
}

.info-type-selector input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.info-type-selector label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
}

#customShiftInfo {
    background-color: #ffffff;
    transition: border-color 0.3s ease;
}

#customShiftInfo:focus {
    border-color: rgba(65, 136, 51, 0.9);
    outline: none;
}
