.calendar {
    max-width: 100%;
    margin: 20px auto;
    background: transparent;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.month-header {
    text-align: center;
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 2px solid #eee;
}

.days-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.day-cell {
    aspect-ratio: 1;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
    position: relative;
    transition: all 0.2s;
    cursor: pointer;
}

.day-cell:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.day-cell.selected {
    background-color: #e3f2fd;
    border: 2px solid #2196f3;
}

.other-month {
    background: transparent;
    color: #999;
}

.date-number {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.week-day {
    text-align: center;
    color: #666;
    padding: 10px;
    font-size: 14px;
}

.review-content {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    box-shadow: 0 2px 12px 10px rgba(0,0,0,0.1);
}

.review-date {
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

@media (max-width: 600px) {
    .date-number {
        font-size: 12px;
    }
    .week-day {
        padding: 5px;
        font-size: 12px;
    }
    .day-cell {
        padding: 5px;
    }
    .days-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        grid-auto-rows: minmax(40px, auto);
    }
}
