* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.top-bar {
    background-color: #841617;
    padding: 30px 60px;
    color: white;
    display: flex;
    align-items: center;
}

.top-bar img {
    height: 75px;
    margin-right: 15px;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    border: 1px solid #ddd;
    border-radius: 15px;
    overflow: hidden;
}

.header {
    background-color: #841617;
    color: white;
    padding: 15px 20px;
    font-size: 16px;
}

.content {
    padding: 30px;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.info-text {
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
}

.hours-display {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #856404;
    font-weight: bold;
    text-align: center;
}

.custom-message {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    color: #0c5460;
    text-align: center;
    font-size: 16px;
    display: none;
}

.custom-message.show {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: normal;
}

input[type="text"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
    border-radius: 8px;
}

input[type="text"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #841617;
}

.btn {
    padding: 10px 25px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    margin-top: 10px;
    border-radius: 8px;
}

.btn-primary {
    background-color: #5b9bd5;
    color: white;
}

.btn-primary:hover {
    background-color: #4a8bc2;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.modal {
    display: none;
    padding: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    margin-bottom: 20px;
    border-radius: 10px;
}

.modal.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.modal.active {
    display: block;
}

.modal h5 {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.course-list {
    border: 1px solid #ccc;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border-radius: 8px;
}

.course-item {
    padding: 10px;
    cursor: pointer;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    font-weight: bold;
}

.course-item:hover {
    background: #f5f5f5;
}

.course-item.selected {
    background: #e8e8e8;
}

.course-yellow {
    color: #d4a900;
}

.course-orange {
    color: #ff8c00;
}

.course-red {
    color: #dc143c;
}

.course-blue {
    color: #1e90ff;
}

.course-purple {
    color: #8b00ff;
}

.course-green {
    color: #228b22;
}

.button-container {
    text-align: center;
}

.settings-group {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.settings-group h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.toggle-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.toggle-btn {
    padding: 8px 15px;
    border: 2px solid #6c757d;
    background: white;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
}

.toggle-btn.active {
    background: #841617;
    color: white;
    border-color: #841617;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.footer {
    background-color: #f8f9fa;
    border-top: 2px solid #dee2e6;
    padding: 20px 40px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
}

.footer strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    color: white;
    font-size: 1em;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}