body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
}

.calendar-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background-color: #ffffff;
    border-bottom: none;
}

.calendar-header .navigation {
    display: flex;
    gap: 0;
}

.calendar-header .navigation button {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    border-radius: 0;
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
    color: #374151;
    font-family: inherit;
    transition: background-color 0.2s, border-color 0.2s;
}

.calendar-header .navigation button:first-child {
    border-radius: 6px 0 0 6px;
}

.calendar-header .navigation button:last-child {
    border-radius: 0 6px 6px 0;
}

.calendar-header .navigation button:not(:first-child) {
    border-left: none;
}

.calendar-header .navigation button:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.calendar-header .month-year {
    font-size: 20px;
    font-weight: 400;
    color: #111827;
    letter-spacing: -0.025em;
}

.calendar-header .view-options {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.calendar-header .view-options button {
    padding: 6px 16px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    font-family: inherit;
    position: relative;
}

.calendar-header .view-options button:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 2px;
    bottom: 2px;
    width: 1px;
    background-color: #d1d5db;
}

.calendar-header .view-options button.active {
    background-color: #e2dfdf;
    color: #111827;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 2px;
}

.calendar-header .view-options button.active::after {
    display: none;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #ffffff;
}

.calendar-grid .day-name {
    background-color: #ffffff;
    text-align: center;
    padding: 16px 12px;
    font-weight: 400;
    color: #9ca3af;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

.calendar-grid .day {
    background-color: #ffffff;
    text-align: left;
    padding: 12px 16px;
    height: 100px;
    position: relative;
    font-size: 15px;
    color: #111827;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    font-weight: 400;
}

.calendar-grid .day:nth-child(7n) {
    border-right: none;
}

.calendar-grid .day.other-month {
    color: #d1d5db;
    background: repeating-linear-gradient(
        45deg,
        #ffffff,
        #ffffff 0.125rem,
        rgba(173, 181, 189, 0.1) 0.125rem,
        rgba(173, 181, 189, 0.1) 0.25rem
    );
}

.calendar-grid .day.other-month:nth-child(7n-1),
.calendar-grid .day.other-month:nth-child(7n) {
    background: repeating-linear-gradient(
        45deg,
        #f9fafb,
        #f9fafb 0.125rem,
        rgba(173, 181, 189, 0.1) 0.125rem,
        rgba(173, 181, 189, 0.1) 0.25rem
    );
}

.calendar-grid .day:nth-last-child(-n+7) {
    border-bottom: none;
}

@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .calendar-grid .day {
        height: 80px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .calendar-grid .day-name {
        padding: 12px 8px;
        font-size: 12px;
    }
}
