/* ============================================
   RADAR WIZARD — DESIGN PREMIUM
   ============================================ */

.radar-wizard-container {
    max-width: 860px;
    margin: 0 auto;
}

/* Progress Header */
.rw-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rw-progress-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.rw-progress-bar .rw-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 3px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dimensão/Grupo Label */
.rw-dimensao-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
}

.rw-dimensao-badge i {
    font-size: 0.9rem;
}

/* Pergunta Card */
.rw-pergunta-slide {
    display: none;
    animation: rwSlideIn 0.35s ease-out;
}

.rw-pergunta-slide.active {
    display: block;
}

@keyframes rwSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rw-pergunta-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.rw-pergunta-texto {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

/* Escala Visual 1-5 */
.rw-escala {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.rw-escala-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
}

.rw-escala-item .rw-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    border: 3px solid #e2e8f0;
    background: #fff;
    color: #94a3b8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rw-escala-item:hover .rw-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.rw-escala-item .rw-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #94a3b8;
    text-align: center;
    max-width: 80px;
    transition: color 0.25s;
}

/* Cores por valor da escala */
.rw-escala-item[data-valor="1"] .rw-circle {
    border-color: #fecaca;
}

.rw-escala-item[data-valor="1"].selected .rw-circle {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.rw-escala-item[data-valor="2"] .rw-circle {
    border-color: #fed7aa;
}

.rw-escala-item[data-valor="2"].selected .rw-circle {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.rw-escala-item[data-valor="3"] .rw-circle {
    border-color: #fde68a;
}

.rw-escala-item[data-valor="3"].selected .rw-circle {
    background: #eab308;
    color: #fff;
    border-color: #eab308;
    box-shadow: 0 4px 20px rgba(234, 179, 8, 0.4);
}

.rw-escala-item[data-valor="4"] .rw-circle {
    border-color: #bfdbfe;
}

.rw-escala-item[data-valor="4"].selected .rw-circle {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.rw-escala-item[data-valor="5"] .rw-circle {
    border-color: #bbf7d0;
}

.rw-escala-item[data-valor="5"].selected .rw-circle {
    background: #22c55e;
    color: #fff;
    border-color: #22c55e;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.rw-escala-item.selected .rw-label {
    color: #1e293b;
    font-weight: 700;
}

.rw-escala-item.selected .rw-circle {
    transform: scale(1.15);
}

/* Navegação */
.rw-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.rw-nav .btn {
    min-width: 130px;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
}

.rw-nav .btn-rw-next {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.rw-nav .btn-rw-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.rw-nav .btn-rw-prev {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.rw-nav .btn-rw-prev:hover {
    background: #e2e8f0;
}

/* Saving */
.rw-saving {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    background: #1e293b;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rw-saving.show {
    display: flex;
    animation: fadeInDown 0.2s;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dots mini-map */
.rw-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.rw-dots .rw-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.rw-dots .rw-dot.answered {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.rw-dots .rw-dot.current {
    background: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
    transform: scale(1.3);
}

/* Responsivo */
@media (max-width: 768px) {
    .rw-escala {
        gap: 0.5rem;
    }

    .rw-escala-item .rw-circle {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .rw-escala-item .rw-label {
        font-size: 0.65rem;
        max-width: 60px;
    }

    .rw-nav .btn {
        min-width: 100px;
        font-size: 0.85rem;
    }

    .rw-pergunta-texto {
        font-size: 1rem;
    }
}