.calendar-container {
    font-family: sans-serif;
    margin: 20px auto;
    max-width: 1000px;
}

.calendar-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-inputs input[type="date"] {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.calendar-inputs button {
    background: #f0f0f0;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.calendar-inputs button:hover {
    background: #ddd;
}

#calendar-result {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

#calendar-output {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
}

.calendar-month {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    width: 350px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex-shrink: 0;
    box-sizing: border-box;
}

.calendar-month-title {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.calendar-cell {
    font-size: 14px;
    padding: 10px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    box-sizing: border-box;
}

.calendar-cell.header {
    font-weight: bold;
    background: transparent;
    border-radius: 0;
}

.calendar-cell.highlight {
    background-color: #e0e0e0;
    font-weight: bold;
}

.calendar-cell.empty {
    visibility: hidden;
}