/* ==========================================================================
   Report Date Navigation - PC & Mobile
   ========================================================================== */

/* ===== PC: daily-report date nav ===== */

.daily-report__header {
    flex-wrap: wrap;
}

.daily-report__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 6px;
}

.daily-report__more {
    font-size: 12px;
    color: var(--color-gray-400, #94A3B8);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s;
}
.daily-report__more:hover {
    color: var(--color-primary-500, #2563EB);
}
.daily-report__more i {
    font-size: 10px;
}

.daily-report__date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.daily-report__date-current {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    font-variant-numeric: tabular-nums;
    min-width: 90px;
    text-align: center;
    user-select: none;
}

.daily-report__date-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 6px;
    background: var(--bg-primary, #fff);
    color: var(--text-secondary, #64748B);
    cursor: pointer;
    font-size: 11px;
    transition: all 0.15s;
}
.daily-report__date-btn:hover:not(:disabled) {
    border-color: var(--color-primary-500, #2563EB);
    color: var(--color-primary-500, #2563EB);
}
.daily-report__date-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ===== Mobile: m-report date nav ===== */

.m-report__header {
    flex-wrap: wrap;
}

.m-report__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 6px;
}

.m-report__more {
    font-size: 12px;
    color: var(--color-gray-400, #94A3B8);
    text-decoration: none;
    font-weight: 500;
}
.m-report__more:active {
    color: var(--color-primary-500, #2563EB);
}

.m-report__date-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    justify-content: center;
    padding-bottom: 8px;
}

.m-report__date-current {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    font-variant-numeric: tabular-nums;
    min-width: 90px;
    text-align: center;
    user-select: none;
}

.m-report__date-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary, #64748B);
    cursor: pointer;
    font-size: 12px;
    -webkit-tap-highlight-color: transparent;
}
.m-report__date-btn:active:not(:disabled) {
    background: var(--color-gray-100, #F1F5F9);
}
.m-report__date-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ===== Empty state ===== */

.daily-report__empty,
.m-report__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: var(--text-muted, #94A3B8);
    font-size: 14px;
    padding: 20px;
}

/* ===== Dark mode ===== */

[data-theme="dark"] .daily-report__date-btn,
[data-theme="dark"] .m-report__date-btn {
    border-color: var(--border-color);
    color: var(--text-secondary);
}
[data-theme="dark"] .daily-report__date-btn:hover:not(:disabled) {
    border-color: var(--color-primary-400, #60A5FA);
    color: var(--color-primary-400, #60A5FA);
}
