@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    display: flex;
    justify-content: center;
    background-color: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    padding: 30px;
    text-align: center;
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin: 20px;
}

h1 {
    font-weight: 700;
    color: #34495e;
    margin-bottom: 30px;
    font-size: 2em;
}

#checkInButton {
    padding: 12px 24px;
    font-size: 16px;
    margin: 20px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

#checkInButton:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.month-selector {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.month-selector button {
    padding: 8px 16px;
    font-size: 15px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.month-selector button:hover:not(:disabled) {
    background-color: #45a049;
    transform: translateY(-1px);
}

.month-selector button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

#currentMonthDisplay {
    font-size: 20px;
    font-weight: 500;
    min-width: 140px;
    text-align: center;
    color: #34495e;
}

#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 20px;
}

.calendar-day {
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    position: relative;
    min-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    font-weight: 400;
}

.calendar-day:hover:not(.other-month) {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-day.has-egg {
    background-color: #fff8e1;
    box-shadow: inset 0 0 10px rgba(255, 193, 7, 0.2);
    border-color: #ffe082;
}

.calendar-day.has-egg::after {
    content: "🥚";
    position: absolute;
    font-size: 12px;
    right: 2px;
    top: 2px;
}

.calendar-day.today {
    background-color: #e3f2fd;
    box-shadow: inset 0 0 10px rgba(33, 150, 243, 0.2);
    border-color: #90caf9;
    font-weight: 700;
}

.calendar-day.today.has-egg {
    background-color: #fff8e1;
    box-shadow: inset 0 0 10px rgba(255, 193, 7, 0.2);
    border-color: #ffe082;
}

.calendar-day.other-month {
    background-color: #f8f9fa;
    color: #bdc3c7;
    border-color: #f0f0f0;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 320px;
    width: 90%;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons button {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

#modal-confirm {
    background-color: #4CAF50;
    color: white;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

#modal-confirm:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

#modal-cancel {
    background-color: #f5f6f7;
    color: #34495e;
}

#modal-cancel:hover {
    background-color: #e8e9ea;
    transform: translateY(-1px);
}

#modal-message {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    margin-bottom: 20px;
} 