/* Diagnostic Chat Progress Indicator Styles */

.diagnostic-progress-indicator {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.95), rgba(0, 0, 0, 0.9));
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    padding: 12px 16px;
    backdrop-filter: blur(10px);
    border-radius: 12px 12px 0 0;
    margin: -10px -10px 10px -10px;
}

.diagnostic-progress-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.diagnostic-progress-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.diagnostic-icon {
    color: #c9a227;
    font-size: 1.2rem;
}

.diagnostic-title {
    flex: 1;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}

.diagnostic-exit-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaa;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.diagnostic-exit-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.diagnostic-progress-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.diagnostic-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c9a227, #d4af37);
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

.diagnostic-progress-text {
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}

/* Diagnostic Completion UI */
.diagnostic-completion-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
}

.diagnostic-completion-icon {
    font-size: 2rem;
    color: #4ade80;
}

.diagnostic-completion-text {
    flex: 1;
}

.diagnostic-completion-text strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 3px;
}

.diagnostic-completion-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #aaa;
}

.btn-go-to-evaluation {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    position: relative;
    z-index: 1000;
}

.btn-go-to-evaluation:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74, 222, 128, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diagnostic-progress-indicator {
        padding: 10px 12px;
    }
    
    .diagnostic-title {
        font-size: 0.85rem;
    }
    
    .diagnostic-completion-content {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-go-to-evaluation {
        width: 100%;
        justify-content: center;
    }
}
