.calendar-container {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.view-toggles {
    display: flex;
    justify-content: center;
}

.toggle-container {
    background: transparent;
    padding: 0.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    position: relative;
    backdrop-filter: blur(4px);
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.toggle-btn.active {
    background: #059669;
    color: white;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
}

.toggle-btn:not(.active) {
    color: #9ca3af;
    background: transparent;
}

.toggle-btn:not(.active):hover {
    color: #e5e7eb;
}

.month-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.nav-btn {
    padding: 0.5rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.month-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.025em;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 0.5rem;
}

.day-header {
    text-align: center;
    font-size: 0.625rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    position: relative;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    margin: 0 0.25rem;
}

.calendar-day.other-month {
    color: #4b5563;
}

.calendar-day.current-month {
    color: #e5e7eb;
}

.calendar-day.current-month:not(.selected):hover {
    background: rgba(34, 197, 94, 0.18);
}

.calendar-day.today:not(.selected) {
    color: #22c55e;
    font-weight: 700;
    background: rgba(209, 250, 229, 0.8);
    border: 1px solid rgba(167, 243, 208, 0.6);
}

.calendar-day.selected {
    background: #22c55e;
    color: #020617;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
    transform: scale(1.1);
    z-index: 10;
}

.today-dot {
    position: absolute;
    bottom: 0.5rem;
    width: 0.25rem;
    height: 0.25rem;
    background: #10b981;
    border-radius: 50%;
}
/* Улучшенные кнопки навигации месяцев */
.enhanced-nav-btn {
    padding: 0.75rem 1rem !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(5, 150, 105, 0.2) !important;
    border-radius: 0.75rem !important;
    color: #374151 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    backdrop-filter: blur(8px) !important;
    min-width: 120px !important;
    text-align: center !important;
}

.enhanced-nav-btn:hover {
    background: rgba(5, 150, 105, 0.1) !important;
    border-color: rgba(5, 150, 105, 0.4) !important;
    color: #059669 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15) !important;
}

.enhanced-nav-btn:active {
    transform: translateY(0) !important;
}

/* Улучшенные кнопки переключения вида */
.enhanced-toggle {
    background: transparent !important;
    border: 1px solid rgba(5, 150, 105, 0.2) !important;
    padding: 0.5rem !important;
    backdrop-filter: blur(8px) !important;
}

.enhanced-toggle .toggle-btn {
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    border: 1px solid transparent !important;
    font-size: 0.875rem !important;
}

.enhanced-toggle .toggle-btn.active {
    background: #059669 !important;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3) !important;
    border-color: #047857 !important;
}

/* Улучшенная навигация месяцев */
.month-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.5rem;
}

.month-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    flex: 1;
    margin: 0 1rem;
}