/* roadmaps-theme.css */
body {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.text-primary {
    color: #0ea5e9;
}

.bg-primary {
    background-color: #0ea5e9;
}

.btn-primary {
    background-color: #0ea5e9;
    border-color: #0ea5e9;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.roadmap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.roadmap-card:hover {
    border-color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.roadmap-header-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.roadmap-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.roadmap-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex-grow: 1;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: #0ea5e9;
    transition: width 0.3s ease;
}

/* Detail View */
.phases-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.phase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.phase-header {
    background: rgba(14, 165, 233, 0.05);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.phase-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #0ea5e9;
    margin-bottom: 0.25rem;
}

.phase-duration {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.phase-goal {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

.phase-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.steps-section,
.resources-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-left: 3px solid transparent;
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all 0.2s;
}

.step-card.completed {
    opacity: 0.7;
    border-left-color: #10b981;
}

.step-card.pending {
    border-left-color: #f59e0b;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.step-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.resource-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

.resource-link {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.resource-link:hover {
    text-decoration: underline;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.2rem;
    border-radius: 4px;
}

.btn-icon:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.btn-icon.danger:hover {
    color: #ef4444;
}