.form-container {
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
}
.form-row:hover {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 9px;
}
.form-row label {
    width: 180px;
    font-weight: bold;
}
.form-row input, .form-row select {
    margin-right: 10px;
    padding: 5px;
}
.form-row input[type='date'] {
    width: 80px;
}
.submit-button, .prev-week, .next-week {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}
.prev-week {
    background-color: #38983C;
}
.submit-button:hover {
    background-color: #45a049;
}
input[id='start-time'], input[id='end-time'] {
    width: 100px;
}
input[id^='start-time-'], input[id^='end-time-'] {
    width: 55px;
}
.ampm-toggle {
    display: flex;
    margin-right: 10px;
}
.ampm-button {
    padding: 5px 10px;
    border: 1px solid #ccc;
    cursor: pointer;
    background-color: #f0f0f0;
    transition: background-color 0.3s;
}
.ampm-button.active {
    background-color: #4CAF50;
    color: white;
}
.form-row.error {
    color: red;
    border: 1px solid red;
}
.form-row.disabled {
    opacity: 0.6;
    text-decoration: line-through;
    color: red;
}
.form-row.disabled input,
.form-row.disabled .ampm-button {
    pointer-events: none;
    cursor: default;
}
#copy-button {
    margin-left: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
#copy-button:hover {
    background-color: #0056b3;
}
#copy-button:disabled {
    background-color: #cccccc;
    cursor: default;
}
#toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #4CAF50;
    padding: 16px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s ease-in-out;
}
#toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-row label, .form-row input, .form-row select, .form-row .ampm-toggle {
        width: 100%;
        margin-bottom: 10px;
    }
    .submit-button, .prev-week, .next-week, #copy-button {
        width: 100%;
        margin-top: 10px;
    }
}
