/* =========================================
   TEXT CONTENT WIDGETS
   ========================================= */

.base-content-text {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.base-content-text-large {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.base-content-text-small {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.base-content-text-small-padding-5 {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    padding: 5px;
}

.base-info-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.base-cta-desc {
    max-width: 600px;
    margin-inline: auto;
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.base-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.base-intro-text {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: var(--line-height-normal);
}

.base-content-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.base-content-footer-update {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
}

/* 011-ui-html.mdc Rule 006 Hover Effect requirement */
.base-highlight-gold {
    display: inline-block;
    position: relative;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background-position;
    background-size: 200% auto;
    font-weight: var(--font-weight-bold);
}

.base-highlight-gold:hover {
    background-position: right center;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

.base-highlight-gold::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-gold);
    transition: width 0.4s ease;
}

.base-highlight-gold:hover::after {
    width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .base-highlight-gold {
        transition: none;
    }

    .base-highlight-gold:hover {
        background-position: left center;
        text-shadow: none;
    }

    .base-highlight-gold::after {
        display: none;
    }
}

.base-dashboard-merchant-commissions-toolbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.base-dashboard-merchant-commissions-period-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.base-dashboard-affiliate-network-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
}

.base-dashboard-last7-merchant-date-range {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

[data-dashboard-last30-day-row="1"] {
    cursor: pointer;
}

.base-dashboard-last30-daily-detail-row-hidden {
    display: none !important;
}

.base-dashboard-last30-daily-detail-row-visible {
    display: grid;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-table-row-bg);
    grid-template-columns: minmax(0, 1fr);
}

.base-dashboard-last30-daily-detail-row-visible:hover {
    background-color: var(--color-surface-hover);
}

.base-dashboard-last30-daily-detail-row-hidden:last-child,
.base-dashboard-last30-daily-detail-row-visible:last-child {
    border-bottom: 0;
}

@media (max-width: 576px) {
    .base-dashboard-last30-daily-detail-row-visible {
        display: block;
        border-bottom: 1px solid var(--color-border);
        padding: 8px 0;
    }
}

.base-dashboard-last30-daily-day-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.base-dashboard-last30-daily-day-text {
    font-size: var(--font-size-sm);
    word-break: break-word;
}

.base-dashboard-last30-daily-detail-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 0 0.25rem 0;
}

.base-dashboard-last30-commissions-fragment-table-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.base-dashboard-last30-commissions-fragment-total-wrap {
    margin-top: 0.75rem;
}