:root {
    --primary: #009EE3;
    --success: #00A650;
    --dark: #1e293b;
    --light-bg: #f8fafc;
    --font: 'Plus Jakarta Sans', sans-serif;
}

body {
    background: #f1f5f9;
    font-family: var(--font);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.tax-container {
    background: white;
    width: 100%;
    max-width: 1100px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tax-header {
    padding: 35px 40px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
}

.badge-promo {
    background: #e6f6ed;
    color: var(--success);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 10px;
}

h1 { font-size: 1.8rem; color: var(--dark); margin: 0; letter-spacing: -1px; }
p { color: #64748b; font-size: 0.95rem; margin-top: 5px; }

.close-card { color: #cbd5e1; font-size: 1.2rem; transition: 0.3s; }
.close-card:hover { color: var(--primary); }

.table-glass-wrapper {
    overflow-x: auto;
    padding: 20px 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

th {
    padding: 15px 10px;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 2px solid #f8fafc;
}

.promo-tag {
    background: var(--success);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    display: block;
    width: fit-content;
    margin: 0 auto 5px;
    font-size: 0.6rem;
}

td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

/* Coluna Fixa para Mobile */
.sticky-col {
    position: sticky;
    left: 0;
    background: white !important;
    text-align: left;
    font-size: 0.85rem;
    color: #64748b;
    z-index: 2;
    padding-left: 15px;
    border-right: 1px solid #f1f5f9;
}

.category-divider td {
    background: #f8fafc;
    color: var(--primary);
    text-align: left;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px;
}

.promo-cell {
    background: rgba(0, 166, 80, 0.03);
    color: var(--success);
    font-weight: 800;
}

/* Zebrado suave para facilitar leitura de tabela longa */
tbody tr:nth-child(even) td:not(.promo-cell):not(.sticky-col) {
    background: #fafafa;
}

.tax-footer {
    padding: 30px 40px;
    text-align: center;
    border-top: 1px solid #f1f5f9;
}

.note { font-size: 0.8rem; color: #94a3b8; margin-bottom: 20px; }

.btn-main {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 12px 40px;
    border-radius: 10px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.btn-main:hover { transform: scale(1.02); background: #0089c7; }

@media (max-width: 768px) {
    .tax-header, .table-glass-wrapper { padding: 20px; }
}