/* Date Navigation Control Styles */

.date-navigation-control {
    display: inline-flex;
    align-items: center;
    gap: 4px;              /* ← Reduced from 8px */
    padding: 5px 8px;      /* ← Reduced from 6px 12px */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 13px;       /* ← Reduced from 14px */
    font-weight: 500;
    color: #333;
    font-family: inherit;
    transition: all 0.2s;
}

.date-navigation-control:hover {
    background: white;
    border-color: white;
}

.date-display {
    min-width: 160px;      /* ← Reduced from 200px */
    text-align: center;
    font-weight: 500;
    font-size: 12px;       /* ← Added explicit smaller font */
    color: #333;
    user-select: none;
    transition: color 0.2s;
}

.date-nav-arrow {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 6px;      /* ← Reduced from 2px 8px */
    font-size: 14px;       /* ← Reduced from 16px */
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    line-height: 1;
    min-width: 24px;       /* ← Reduced from 28px */
    visibility: hidden;
}

.date-nav-arrow.visible {
    visibility: visible;
}

.date-nav-arrow:hover {
    background: #f0f0f0;
    border-color: #999;
    color: #333;
}

.date-nav-arrow:active {
    transform: scale(0.95);
    background: #e0e0e0;
}

.date-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.date-nav-reset {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px 5px;      /* ← Reduced from 2px 6px */
    font-size: 13px;       /* ← Reduced from 14px */
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    line-height: 1;
    margin-left: 2px;      /* ← Reduced from 4px */
    min-width: 22px;       /* ← Reduced from 24px */
    visibility: hidden;
}

.date-nav-reset.visible {
    visibility: visible;
}

.date-nav-reset:hover {
    background: #f0f0f0;
    border-color: #999;
    color: #333;
}

.date-nav-reset:active {
    transform: scale(0.95);
    background: #e0e0e0;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .date-navigation-control {
        font-size: 11px;
        padding: 4px 6px;
        gap: 3px;
    }

    .date-display {
        min-width: 130px;
        font-size: 10px;
    }

    .date-nav-arrow {
        padding: 2px 5px;
        font-size: 12px;
        min-width: 20px;
    }

    .date-nav-reset {
        padding: 2px 4px;
        font-size: 11px;
        min-width: 18px;
    }
}

@media screen and (max-width: 480px) {
    .date-navigation-control {
        font-size: 10px;
        padding: 3px 5px;
        gap: 2px;
    }

    .date-display {
        min-width: 110px;
        font-size: 9px;
    }

    .date-nav-arrow {
        padding: 1px 4px;
        font-size: 11px;
        min-width: 18px;
    }

    .date-nav-reset {
        padding: 1px 3px;
        font-size: 10px;
        min-width: 16px;
    }
}