/* Dashboard Polish - Phase 1.1 CSS */
/* Action Row Labels - used across all role dashboards */

.b2b-action-row-primary {
    grid-column: 1 / -1;
    font-size: 12px;
    font-weight: 700;
    color: #0f766e;
    text-transform: uppercase;
}

.b2b-action-row-growth {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    text-transform: uppercase;
}

.b2b-action-row-safety {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #b45309;
    text-transform: uppercase;
}

.b2b-action-row-explore {
    grid-column: 1 / -1;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    text-transform: uppercase;
}

/* Onboarding Strip Styling */
.b2b-onboarding-strip {
    background: #ecfeff;
    border: 1px solid #99f6e4;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.b2b-onboarding-strip strong {
    display: block;
    color: #0f766e;
    margin-bottom: 8px;
    font-weight: 700;
}

.b2b-onboarding-strip .b2b-onboarding-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #134e4a;
    font-size: 13px;
}

/* Onboarding strip dismissal state (Phase 2) */
.b2b-onboarding-strip.dismissed {
    display: none;
}

/* Dismiss button */
.b2b-onboarding-strip {
    position: relative;
}
.b2b-onboarding-dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #0f766e;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.b2b-onboarding-dismiss:hover {
    opacity: 1;
}

/* Arrow spacing in onboarding steps */
.b2b-onboarding-arrow {
    margin: 0 4px;
    color: #0f766e;
    opacity: 0.7;
}

/* Tier variants */
.b2b-onboarding-tier-new {
    background: #ecfeff;
    border-color: #99f6e4;
}
.b2b-onboarding-tier-active {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.b2b-onboarding-tier-active strong {
    display: block;
    color: #0369a1;
    margin-bottom: 8px;
    font-weight: 700;
}
.b2b-onboarding-tier-active .b2b-onboarding-steps {
    color: #0c4a6e;
}

/* Negative trend on stat cards */
.b2b-stat-trend.negative {
    color: #dc2626;
}

/* Primary CTA Button Styling */
.b2b-primary-cta-button {
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background-color: #0f766e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.b2b-primary-cta-button:hover {
    background-color: #084c48;
    text-decoration: none;
    color: white;
}

/* Dashboard Header CTA Container */
.b2b-dashboard-header-cta {
    margin-top: 8px;
}

/* Phase 3: inline campaign expiry alerts */
.b2b-campaign-expiry-alert {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.b2b-campaign-expiry-alert-soon {
    background: #f0f9ff;
    color: #0c4a6e;
    border: 1px solid #bae6fd;
}

.b2b-campaign-expiry-alert-urgent {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.b2b-campaign-expiry-alert-expired {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
