/* ===========================================================
   Roadmap Specific Styles
   (Common styles moved to assessment-shared.css)
   =========================================================== */

/* ===========================================================
   FIXED TOP HEADER - ROADMAP SPECIFIC
   Extends .page-fixed-header from assessment-shared.css
   =========================================================== */
.roadmap-fixed-header {
    padding: 12px 16px;
    flex-shrink: 0;
}

/* ===========================================================
   ACHIEVEMENT MESSAGE CONTAINER (ROADMAP SPECIFIC)
   =========================================================== */
.achievement-message-container {
    margin: 1rem 0;
}

.achievement-alert {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.achievement-icon {
    font-size: 2.5rem;
    color: #ffd700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.achievement-content {
    color: white;
}

.achievement-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-text {
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
}

/* ===========================================================
   DROPDOWN STYLES
   =========================================================== */
.w-250 {
    width: 250px;
}

/* ===========================================================
   MAIN CONTAINER - ROADMAP SPECIFIC
   Extends .page-container from assessment-shared.css
   =========================================================== */
.roadmap-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.row.align-items-center.mb-3 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.d-flex.align-items-center.gap-3.mb-3.flex-wrap {
    margin-bottom: 8px !important;
}

/* ===========================================================
   STICKY LEGEND ROW - ROADMAP SPECIFIC
   =========================================================== */
.header-rowroad {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #f8f9fa;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
    padding: 4px 12px;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 38px;
}

    .header-rowroad .col-md-12 {
        text-align: left;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        flex: 1;
    }

/* ===========================================================
   MAIN CONTENT AREA - ROADMAP SPECIFIC
   NOTE: Use .assessment-content-area from assessment-shared.css for scrolling
   This class is kept for any roadmap-specific content area overrides if needed
   =========================================================== */
.roadmap-content-area {
    /* Inherits scrollbar styling from .assessment-content-area in shared CSS */
}

/* ===========================================================
   PROCESS LEVEL - ROADMAP SPECIFIC
   =========================================================== */
.process-title {
    justify-content: flex-start;
}

    .process-title .expand-icon {
        min-width: 20px;
        margin-right: 0.75rem;
        font-size: 10px;
    }

    .process-title span:not(.expand-icon) {
        color: #10b981;
        font-size: 15px;
        font-weight: 700;
    }

/* ===========================================================
   PRACTICE LEVEL - ROADMAP SPECIFIC
   =========================================================== */
.practice-title {
    justify-content: flex-start;
}

    .practice-title .expand-icon {
        min-width: 10px;
        margin-right: 0.5rem;
        font-size: 10px;
    }

    .practice-title span:not(.expand-icon) {
        color: #f59e0b;
        font-size: 16px;
        font-weight: 600;
    }

/* ===========================================================
   PRACTICE CONTENT (ROADMAP SPECIFIC)
   =========================================================== */
.practice-content-block {
    padding: 0.75rem 1rem;
    padding-left: 3.5rem;
    background-color: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.ml-list {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin: 0;
}

    .ml-list li {
        padding: 0.25rem 0;
        color: #374151;
        font-size: 12px;
        line-height: 1.6;
    }

.ncrf-references {
    padding: 0.5rem;
    background-color: white;
    border-radius: 6px;
}

    .ncrf-references strong {
        font-size: 13px;
        display: block;
        margin-bottom: 0.5rem;
    }

.reference-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .reference-list li {
        padding: 0.35rem 0.5rem;
        margin-bottom: 0.35rem;
        border-radius: 4px;
        color: #1f2937;
        font-size: 12px;
        transition: all 0.2s ease;
    }

        .reference-list li:hover {
            transform: translateX(4px);
        }

        .reference-list li:last-child {
            margin-bottom: 0;
        }

/* ===========================================================
   RESPONSIVE DESIGN
   =========================================================== */
@media (max-width: 768px) {
    .achievement-alert {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .achievement-icon {
        font-size: 2rem;
    }

    .achievement-title {
        font-size: 1.1rem;
    }

    .w-250 {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .practice-content-block {
        padding-left: 2rem;
    }
}
.process-score-box {
    background-color: #d4f8d4;
    color: #1e7f1e;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: auto;
}


.practice-score-box {
    background-color: #ffeac7;
    color: #d88700;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin-left: auto;
}

.ml-list {
    padding-left: 20px;
    list-style: none
}

    .ml-list li::marker {
        font-weight: bold;
        list-style: none
    }

    .ml-list .child-item {
        margin-left: 20px; /* indent */
        list-style: none; /* remove default number */
    }


.ml-list {
    list-style: none;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

    .ml-list > li {
        margin-bottom: 6px;
        line-height: 1.5;
    }

/* CHILD LIST � FORCE INDENT */
.ml-sub-list {
    list-style: none;
    display: block !important;
    margin-left: 20px !important; /* ? adjust 28�48px as needed */
    padding-left: 0 !important;
    margin-top: 6px;
}

    .ml-sub-list li {
        margin-bottom: 4px;
        line-height: 1.4;
    }




.action-btn-adjust {
    margin-top: -12px;
}

.action-item-link {
    cursor: pointer;
    color: #0d6efd;
}

    .action-item-link:hover {
        text-decoration: underline;
    }

.ai-comment-list {
    margin-top: 6px;
    padding-left: 18px;
    color: #6c757d;
    font-size: 13px;
}

    .ai-comment-list li {
        margin-bottom: 2px;
    }

.ai-summary-wrapper {
    margin-top: 10px;
}

.ai-dropdowns {
    margin-left: auto; /* ?? THIS pushes it to extreme right */
    display: flex;
    gap: 8px;
    margin-left: auto;
    align-items: flex-end;
}

.model-btn {
    margin-right: 4px;
    gap: 6px;
}

.model-btn .rz-button-icon-left {
    margin-right: 4px;
}

.ai-comment-list li {
    margin-bottom: 6px;
    position: relative; /* ?? important */
    padding-right: 140px; /* space for date on right */
}

.comment-date {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 12px;
    color: #6c757d;
    white-space: nowrap;
}

.ai-comment-toggle {
    cursor: pointer;
    font-size: 13px;
    color: #0d6efd;
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .ai-comment-toggle:hover {
        text-decoration: underline;
    }

.toggle-icon {
    font-size: 10px;
}