/* ============================================
   DIMENSIONADOR SAVE - ELEGÂNCIA ENERGIZADA
   Conceito: Dark Mode Premium + Dourado Vibrante
   Filosofia: Onde a elegância encontra a energia
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   VARIÁVEIS - A PALETA DO LUXO TECNOLÓGICO
   ============================================ */
:root {
    /* Base Profunda - Grafite e Ônix */
    --onyx: #0a0a0a;
    --graphite: #111111;
    --charcoal: #1a1a1a;
    --dark-slate: #1f1f1f;
    
    /* O Toque de Ouro - Gradiente Nobre */
    --gold-light: #FFD700;
    --gold-amber: #FFC107;
    --gold-deep: #DAA520;
    --gold-rich: #B8860B;
    
    /* Texto - Clareza e Conforto Visual */
    --ice-white: #f9fafb;
    --text-light: #e5e7eb;
    --text-medium: #d1d5db;
    --text-secondary: #9ca3af;
    --text-subtle: #6b7280;
    
    /* Sombras - Profundidade e Levitação */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-large: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.2);
    --shadow-gold-hover: 0 0 30px rgba(255, 215, 0, 0.4);
}

/* ============================================
   RESET - FUNDAÇÃO LIMPA
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--onyx) 0%, var(--graphite) 50%, var(--charcoal) 100%);
    background-attachment: fixed;
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   HEADER - PORTAL DE ENTRADA
   ============================================ */
header {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
    animation: slideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-amber) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

header p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.header-content {
    flex: 1;
}

.header-actions {
    flex-shrink: 0;
}

.btn-logout {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
}

.text-center {
    text-align: center;
}

/* ============================================
   MAIN - ARENA DE CONTEÚDO
   ============================================ */
main {
    padding: 3rem 0;
}

/* ============================================
   CARDS - ELEGÂNCIA FLUTUANTE
   ============================================ */
.card, .section-card {
    background: var(--graphite);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 1rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-amber), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--shadow-large), var(--shadow-gold-hover);
    transform: translateY(-4px) scale(1.005);
}

.card:hover::before {
    opacity: 1;
}

/* Animação de Entrada dos Cards */
.card {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.3s; }

/* ============================================
   TIPOGRAFIA - CLAREZA E IMPACTO
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 1.5rem;
    color: var(--gold-amber);
}

p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ============================================
   FORMULÁRIOS - INTERAÇÃO REFINADA
   ============================================ */
label {
    display: block;
    font-weight: 600;
    color: var(--gold-amber);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

input, select, textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--dark-slate);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 0.75rem;
    color: var(--ice-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gold-amber);
    background: var(--charcoal);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1),
                var(--shadow-gold);
    transform: translateY(-1px);
}

input::placeholder, textarea::placeholder {
    color: var(--text-subtle);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFC107' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

/* ============================================
   BOTÕES - CHAMADOS PARA AÇÃO
   ============================================ */

/* Botão Base */
button, .btn, input[type="submit"], a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    border: none;
    position: relative;
    overflow: hidden;
}

/* Botão Principal - Fundo Dourado Vibrante */
.btn-primary,
button[type="submit"]:not([class*="btn-"]) {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-amber) 50%, var(--gold-deep) 100%);
    color: var(--onyx);
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

.btn-primary::before,
button[type="submit"]:not([class*="btn-"])::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover,
button[type="submit"]:not([class*="btn-"]):hover {
    background: linear-gradient(135deg, var(--gold-amber) 0%, var(--gold-deep) 50%, var(--gold-rich) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-large), var(--shadow-gold-hover);
}

.btn-primary:hover::before,
button[type="submit"]:not([class*="btn-"]):hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Botão Secundário - Contorno Elegante */
.btn-secondary {
    background: transparent;
    color: var(--gold-amber);
    border: 2px solid var(--gold-deep);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Botões de Ação Específicos */
.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--ice-white);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--ice-white);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: var(--ice-white);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-info:hover {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Container de Botões */
.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.button-group.justify-between {
    justify-content: space-between;
}

.inline {
    display: inline;
}

/* ============================================
   FORMULÁRIO
   ============================================ */
.form-group {
    margin-bottom: 2rem;
}

/* ============================================
   ALERTAS - MENSAGENS VISUAIS
   ============================================ */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    border: 1px solid;
    font-weight: 500;
    animation: slideInLeft 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--gold-deep);
    color: var(--gold-light);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3B82F6;
    color: #60A5FA;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10B981;
    color: #34D399;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: #EF4444;
    color: #F87171;
}

/* ============================================
   TABELAS - ORGANIZAÇÃO VISUAL
   ============================================ */

/* Wrapper responsivo para tabelas */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

/* Sombra de indicação de scroll (direita) */
.table-responsive::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.5));
    pointer-events: none;
    z-index: 5;
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.75rem;
    overflow: hidden;
}

th, td {
    padding: 1.125rem 1.25rem;
    text-align: left;
    white-space: nowrap;
}

th {
    background: var(--dark-slate);
    color: var(--gold-amber);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    z-index: 10;
}

tbody tr {
    background: var(--graphite);
    border-bottom: 1px solid rgba(255, 215, 0, 0.05);
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(255, 193, 7, 0.05);
}

/* ============================================
   FOOTER - ENCERRAMENTO ELEGANTE
   ============================================ */
footer {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 2.5rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.mt-2 { margin-top: 0.5rem; }

/* ============================================
   PROGRESS BAR - FEEDBACK VISUAL
   ============================================ */
.progress-bar {
    background: var(--dark-slate);
    border-radius: 1rem;
    height: 0.5rem;
    overflow: hidden;
    margin: 1.5rem 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold-amber) 50%, var(--gold-deep) 100%);
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

.text-muted, .help-text, small {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: block;
    margin-top: 0.5rem;
}

.hidden {
    display: none !important;
}

.flex {
    display: flex;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* ============================================
   RESPONSIVIDADE - ADAPTAÇÃO FLUIDA
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    header {
        padding: 1.5rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
    }
    
    .btn-logout {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    header p {
        font-size: 0.875rem;
    }
    
    .card {
        padding: 1.5rem;
        border-radius: 0.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    button, .btn {
        width: 100%;
        padding: 1rem;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group > * {
        width: 100%;
    }
    
    /* Tabelas responsivas no mobile */
    .table-responsive {
        border-radius: 0.5rem;
        border: 1px solid rgba(255, 215, 0, 0.2);
        box-shadow: var(--shadow-soft);
    }
    
    table {
        min-width: 100%;
        font-size: 0.8125rem;
    }
    
    th, td {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    th {
        font-size: 0.75rem;
    }
    
    /* Indicador de scroll */
    .table-responsive::after {
        content: '← Deslize para ver mais →';
        display: block;
        text-align: center;
        padding: 0.75rem;
        background: rgba(255, 193, 7, 0.1);
        color: var(--gold-amber);
        font-size: 0.75rem;
        font-weight: 600;
        border-top: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    /* Remover transformação de hover em mobile */
    tbody tr:hover {
        transform: none;
    }
    
    /* Result cards responsivos */
    .result-card {
        padding: 1.25rem;
    }
    
    .result-card-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .result-card-value {
        font-size: 1.75rem;
    }
    
    /* Grid responsivo */
    .grid {
        gap: 1rem;
    }
    
    /* Visual progress em mobile */
    .visual-progress-label {
        font-size: 0.6875rem;
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .visual-progress-bar-wrapper {
        height: 1.25rem;
    }
    
    .visual-progress-percentage {
        font-size: 0.6875rem;
    }
    
    /* Seções colapsáveis em mobile */
    .section-header {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }
    
    .section-header h3 {
        font-size: 1rem;
    }
    
    .section-icon {
        font-size: 1.25rem;
    }
    
    .section-content {
        padding: 1.5rem 1rem;
    }
    
    /* Progress container em mobile */
    .progress-container {
        padding: 1rem;
    }
    
    .progress-text {
        font-size: 0.875rem;
    }
}

/* ============================================
   SCROLLBAR - DETALHE REFINADO
   ============================================ */
::-webkit-scrollbar {
    width: 0.75rem;
}

::-webkit-scrollbar-track {
    background: var(--onyx);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-deep) 100%);
    border-radius: 0.375rem;
    box-shadow: var(--shadow-gold);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-amber);
    box-shadow: var(--shadow-gold-hover);
}

/* ============================================
   ANIMAÇÕES - A MÁGICA ACONTECE
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   LINKS - NAVEGAÇÃO ELEGANTE
   ============================================ */
a {
    color: var(--gold-amber);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

/* ============================================
   ESTADOS ESPECIAIS
   ============================================ */
.selected,
tr.selected {
    background: rgba(255, 193, 7, 0.15) !important;
    border-color: var(--gold-amber) !important;
}

.check-icon {
    color: #10B981;
    font-weight: 700;
}

.cross-icon {
    color: #EF4444;
    font-weight: 700;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, var(--gold-amber) 0%, var(--gold-deep) 100%);
    color: var(--onyx);
    border-radius: 1rem;
    font-size: 0.8125rem;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}

/* ============================================
   GRID SYSTEM - LAYOUT RESPONSIVO
   ============================================ */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

.grid-cols-md-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .grid-cols-md-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   RESULT CARDS - CARDS DE RESULTADO
   ============================================ */
.result-card {
    background: var(--graphite);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.result-card:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.result-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.result-card-title {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-align: center;
}

.result-card-value {
    color: var(--gold-light);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.result-card-subtitle {
    color: var(--text-secondary);
    font-size: 0.8125rem;
    text-align: center;
}

/* ============================================
   VISUAL PROGRESS - BARRAS DE PROGRESSO VISUAIS
   ============================================ */
.visual-progress {
    margin-top: 1rem;
}

.visual-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.visual-progress-bar-wrapper {
    background: var(--dark-slate);
    border-radius: 1rem;
    height: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.visual-progress-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-progress-bar.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.visual-progress-bar.warning {
    background: linear-gradient(135deg, var(--gold-amber) 0%, var(--gold-deep) 100%);
}

.visual-progress-bar.danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.visual-progress-percentage {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ice-white);
}

/* ============================================
   STATUS BADGE
   ============================================ */
.status-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.status-badge.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid #10B981;
}

.status-badge.warning {
    background: rgba(255, 193, 7, 0.2);
    color: var(--gold-amber);
    border: 1px solid var(--gold-amber);
}

/* ============================================
   SEÇÕES COLAPSÁVEIS
   ============================================ */
.collapsible-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--dark-slate);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-header:hover {
    border-color: var(--gold-amber);
    background: var(--charcoal);
    box-shadow: var(--shadow-gold);
}

.section-header h3 {
    flex: 1;
    margin-bottom: 0;
    font-size: 1.25rem;
    color: var(--gold-amber);
}

.section-icon {
    font-size: 1.5rem;
}

.toggle-icon {
    font-size: 1rem;
    color: var(--gold-amber);
    transition: transform 0.3s ease;
}

.section-content {
    padding: 2rem 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.section-content.hidden {
    display: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 2000px;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* ============================================
   PROGRESS CONTAINER
   ============================================ */
.progress-container {
    background: var(--graphite);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.progress-bar-wrapper {
    margin-bottom: 1rem;
}

.progress-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 600;
}

