﻿.hc-month-picker {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin: 1rem 0;
}

.hc-month-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8eef4 100%);
    color: #333;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hc-year-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 120, 215, 0.08);
    border: 1px solid rgba(0, 120, 215, 0.15);
    border-radius: 0.375rem;
    color: #0078D7;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hc-year-btn:hover {
    background: rgba(0, 120, 215, 0.15);
    border-color: rgba(0, 120, 215, 0.25);
}

.hc-year-btn:active {
    transform: scale(0.92);
}

.hc-year-btn.disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.hc-year-btn.disabled:hover {
    background: rgba(0, 120, 215, 0.08);
    border-color: rgba(0, 120, 215, 0.15);
}

.hc-year-display {
    text-align: center;
    min-width: 5rem;
}

.hc-current-year {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hc-month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.hc-month-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    background: #f8f9fa;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
}

.hc-month-cell:hover:not(.disabled):not(.active) {
    background: rgba(0, 120, 215, 0.08);
    border-color: rgba(0, 120, 215, 0.3);
    color: #0078D7;
}

.hc-month-cell.active {
    background: rgba(0, 120, 215, 0.1);
    border-color: rgba(0, 120, 215, 0.25);
    color: #0078D7;
    font-weight: 600;
    box-shadow: none;
}

.hc-month-cell.disabled {
    background: #f0f0f0;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.hc-month-cell.disabled:hover {
    background: #f0f0f0;
    border-color: transparent;
    color: #ccc;
}

.hc-month-picker-footer {
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    background: #fafbfc;
}

@media (max-width: 576px) {
    .hc-month-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
        padding: 0.75rem;
    }

    .hc-month-cell {
        height: 2.5rem;
        font-size: 0.875rem;
    }

    .hc-year-btn {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .hc-current-year {
        font-size: 1.25rem;
    }
}