/* A simple, clean, beige theme */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #F5F5DC;
color: #5D4037;
margin: 0;
padding: 20px;
}
h1, h2 {
text-align: center;
color: #A0522D;
}
.login-container {
max-width: 400px;
margin: 100px auto;
padding: 40px;
background-color: #FFF8E1;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.login-container h1 {
font-size: 2.2em;
margin-bottom: 30px;
}
.login-form {
display: flex;
flex-direction: column;
gap: 20px;
}
.login-form label {
font-weight: bold;
font-size: 1.1em;
text-align: left;
}
.login-form input, .login-form button {
padding: 12px;
font-size: 1.1em;
border-radius: 5px;
}
.login-form input {
border: 1px solid #ccc;
}
.login-form button {
background-color: #A0522D;
color: white;
font-weight: bold;
border: none;
cursor: pointer;
transition: background-color 0.2s;
}
.login-form button:hover {
background-color: #8B4513;
}
.flash-error {
color: #D32F2F;
font-weight: bold;
background-color: rgba(211, 47, 47, 0.1);
padding: 10px;
border-radius: 5px;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1100px;
margin: 0 auto;
}
.header-buttons {
display: flex;
gap: 10px;
}
.logout-button, .print-button {
text-decoration: none;
background-color: #A0522D;
color: white;
padding: 8px 15px;
border-radius: 5px;
font-weight: bold;
border: none;
font-size: 1em;
cursor: pointer;
}
.logout-button:hover, .print-button:hover {
background-color: #8B4513;
}
#calendar {
max-width: 1100px;
margin: 20px auto 0 auto;
background-color: #FFF8E1;
padding: 15px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.fc .fc-button-primary {
background-color: #A0522D;
border-color: #8B413;
}
.fc .fc-button-primary:hover {
background-color: #8B4513;
}
.fc .fc-daygrid-day.fc-day-today {
background-color: rgba(160, 82, 45, 0.15);
}
.custom-event-name, .custom-event-title {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.custom-event-name {
font-weight: 700;
font-size: 0.9em;
padding: 0 1px;
}
.custom-event-title {
padding: 2px 4px;
border-radius: 3px;
margin-top: 2px;
}
.event-lists-container {
display: flex;
justify-content: space-around;
max-width: 1100px;
margin: 20px auto;
gap: 20px;
}
#daily-events, #weekly-events {
background-color: #FFF8E1;
padding: 15px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
width: 48%;
}
#daily-events-list, #weekly-events-list {
list-style-type: none;
padding: 0;
max-height: 300px;
overflow-y: auto;
}
#daily-events-list li, #weekly-events-list li {
background-color: #FDF5E6;
margin-bottom: 8px;
padding: 10px;
border-radius: 4px;
border-left: 5px solid;
}
.event-list-notes {
background-color: #f5eecf;
border-radius: 3px;
padding: 5px;
margin: 5px 0;
font-size: 0.9em;
color: #6d4c41;
}
.urgency-1 { border-color: #D32F2F; }
.urgency-2 { border-color: #F57C00; }
.urgency-3 { border-color: #388E3C; }
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.5);
}
.modal-content {
background-color: #fefefe;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 500px;
border-radius: 8px;
position: relative;
color: #333;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
position: absolute;
top: 10px;
right: 20px;
}
.close:hover, .close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
#eventForm {
display: grid;
gap: 15px;
}
#eventForm label {
font-weight: bold;
color: #5D4037;
}
#eventForm input, #eventForm select, #eventForm textarea {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
font-family: inherit;
}
#eventForm button, #deleteEvent {
padding: 10px 15px;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
font-size: 16px;
}
#eventForm button {
background-color: #388E3C;
}
#eventForm button:hover {
background-color: #2E7D32;
}
#deleteEvent {
background-color: #D32F2F;
margin-top: 10px;
width: 100%;
}
#deleteEvent:hover {
background-color: #C62828;
}
.print-form {
display: flex;
flex-direction: column;
gap: 15px;
margin-top: 20px;
}
.print-form label {
font-weight: bold;
}
.print-form input {
padding: 8px;
font-size: 1.1em;
}
.print-form button {
background-color: #388E3C;
color: white;
padding: 10px 15px;
border: none;
border-radius: 5px;
font-size: 1em;
cursor: pointer;
}
.print-form button:hover {
background-color: #2E7D32;
}

@media screen and (max-width: 768px) {
body {
padding: 10px;
}
h1 {
font-size: 1.5em;
}
h2 {
font-size: 1.2em;
}
.event-lists-container {
flex-direction: column;
}
#daily-events, #weekly-events {
width: 100%;
box-sizing: border-box;
}
.modal-content {
width: 95%;
margin: 15% auto;
padding: 15px;
}
.fc {
font-size: 0.9em;
}
#calendar {
padding: 5px;
}
}