body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

#logo {
    width: 100px; /* Adjust logo size */
    margin-bottom: 10px;
}

h1 {
    margin: 0;
}

#labels {
    margin-bottom: 20px;
    font-size: 18px;
}

#grid-container {
    overflow: auto; /* Ensure scroll if grid overflows */
    max-width: 100%;
}

#grid {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 2px;
    margin: 0 auto;
    max-width: 100%;
}

.box {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.box.marked {
    background-color: #4caf50;
    border-color: #388e3c;
}

.box:hover {
    transform: scale(1.05);
}

#controls, #date-controls {
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

button:focus {
    outline: none;
}

#date-picker {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ddd;
    margin-right: 10px;
}
