/* Roadmap Table View Styles */

/* Containers */
.quarterly-roadmap-container,
.three-year-plan-container {
    overflow-x: auto;
}

/* Empty State */
.roadmap-table-view__empty {
    text-align: center;
    color: #777;
    margin-top: 20px;
}

/* Quarterly Roadmap Table */
.quarterly-roadmap-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-md);
}

.quarterly-roadmap-table thead th {
    background: var(--theme-bg-tertiary);
    padding: var(--space-md);
    text-align: left;
    border: 1px solid var(--theme-border-color);
    font-weight: 600;
    white-space: nowrap;
}

.quarterly-roadmap-table tbody td {
    border: 1px solid var(--theme-border-color);
    padding: 0;
    vertical-align: top;
}

/* Theme Cell */
.theme-cell {
    background: var(--theme-bg-secondary);
    padding: var(--space-md) !important;
    font-weight: 600;
    color: var(--theme-text-primary);
    min-width: 150px;
}

/* Quarter Cell */
.quarter-cell {
    min-height: 100px;
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* Initiative Card */
.initiative-card {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-color);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid var(--theme-text-muted);
}

.initiative-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
    border-left-width: 4px;
}

/* Initiative Title */
.initiative-title {
    font-weight: 600;
    color: var(--theme-text-primary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

/* Initiative SDE */
.initiative-sde {
    font-size: 0.75rem;
    color: var(--theme-text-secondary);
    margin-top: 4px;
}

.initiative-sde-breakdown {
    font-size: 0.7rem;
    color: var(--theme-text-muted);
    padding-left: var(--space-sm);
    margin-top: 2px;
}

/* Status Colors */
.initiative-card.status-backlog {
    border-left-color: var(--theme-text-muted);
}

.initiative-card.status-defined {
    border-left-color: var(--theme-info);
}

.initiative-card.status-committed {
    border-left-color: var(--theme-primary);
}

.initiative-card.status-in-progress {
    border-left-color: var(--theme-primary-hover);
}

.initiative-card.status-completed {
    border-left-color: var(--theme-success);
    background: color-mix(in srgb, var(--theme-success), transparent 90%);
}

.initiative-card.status-blocked {
    border-left-color: var(--theme-danger);
}

.initiative-card.status-done {
    border-left-color: var(--theme-success);
    opacity: 0.8;
}