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

/* Hero Section */
.radar-hero {
    position: relative;
    background: linear-gradient(135deg, var(--bs-primary) 0%, #2a3a5c 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: #fff;
    overflow: hidden;
    margin-bottom: 2rem;
}

.radar-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.radar-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.radar-hero-content {
    position: relative;
    z-index: 1;
}

.radar-hero h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.radar-hero h2 .highlight {
    background: linear-gradient(90deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.radar-hero p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 700px;
}

.radar-hero-icon {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
}

.radar-hero-icon i {
    font-size: 6rem;
    color: #818cf8;
}

/* IGR campanha (hero — float-end) */
.radar-hero-igr-wrap {
    max-width: 220px;
}

.radar-hero-igr-score {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.35rem 0.75rem;
    display: inline-block;
    min-width: 88px;
    text-align: center;
}

.radar-hero-igr-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.35rem;
}

.radar-hero-igr-class {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 0.2rem;
}

/* Info Cards */
.radar-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.radar-info-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.radar-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.radar-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.radar-info-card.card-sigilo::before {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.radar-info-card.card-anonimo::before {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.radar-info-card.card-psicossocial::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.radar-info-card.card-lgpd::before {
    background: linear-gradient(90deg, #ec4899, #f472b6);
}

.radar-info-card .ri-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.card-sigilo .ri-icon {
    background: #dcfce7;
    color: #16a34a;
}

.card-anonimo .ri-icon {
    background: #e0e7ff;
    color: #4f46e5;
}

.card-psicossocial .ri-icon {
    background: #fef3c7;
    color: #d97706;
}

.card-lgpd .ri-icon {
    background: #fce7f3;
    color: #db2777;
}

.radar-info-card h6 {
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.radar-info-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Seção de Campanhas */
.section-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-label .sl-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.section-label h5 {
    margin: 0;
    font-weight: 700;
    color: #1e293b;
}

.section-label .sl-badge {
    margin-left: auto;
    font-size: 0.75rem;
}

/* Campaign Card */
.campaign-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.25s;
    position: relative;
}

.campaign-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #c7d2fe;
}

.campaign-card .cc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.campaign-card .cc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.campaign-card .cc-dates {
    font-size: 0.82rem;
    color: #94a3b8;
}

.cc-progress-wrapper {
    margin: 1rem 0;
}

.cc-progress-bar {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.cc-progress-bar .fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-progress-bar .fill.low {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.cc-progress-bar .fill.mid {
    background: linear-gradient(90deg, #6366f1, #818cf8);
}

.cc-progress-bar .fill.full {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.cc-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.cc-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cc-bottom .btn-radar {
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.cc-bottom .btn-radar.btn-continuar {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    border: none;
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.cc-bottom .btn-radar.btn-visualizar {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.cc-bottom .btn-radar:hover {
    transform: translateY(-1px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
}

.empty-state .es-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #64748b;
    font-weight: 600;
}

.empty-state p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Status badges */
.badge-concluido {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.badge-em_andamento {
    background: #e0e7ff !important;
    color: #3730a3 !important;
}

.badge-pendente {
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* Responsive */
@media (max-width: 768px) {
    .radar-hero {
        padding: 2rem 1.5rem;
    }

    .radar-hero h2 {
        font-size: 1.5rem;
    }

    .radar-hero-igr-wrap {
        float: none !important;
        text-align: center !important;
        max-width: none;
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 1rem !important;
    }

    .radar-hero-icon {
        display: none;
    }

    .radar-info-cards {
        grid-template-columns: 1fr 1fr;
    }

    .cc-bottom {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cc-bottom .btn-radar {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .radar-info-cards {
        grid-template-columns: 1fr;
    }
}