/* assets/css/cheque-especial-juros.css */
/* CSS COMPLETO - Calculadora de Juros do Cheque Especial - ÁREA BANCÁRIA */

/* ===================================
   VARIÁVEIS DE CORES BANCÁRIAS
   ================================== */
:root {
    --primary: #1e40af;          /* Azul bancário confiança */
    --secondary: #1e3a8a;        /* Azul escuro institucional */
    --accent: #f59e0b;           /* Dourado prosperidade */
    --light: #eff6ff;            /* Fundo azul bem claro */
    --gradient: linear-gradient(135deg, #1e40af, #1e3a8a);
    
    /* Cores complementares */
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #0ea5e9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border: #d1d5db;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

/* ===================================
   SEÇÃO DA CALCULADORA CHEQUE ESPECIAL
   ================================== */
.cheque-calculator-section {
    margin-bottom: 3rem;
}

.cheque-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cheque-header h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cheque-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.cheque-container {
    background: var(--white);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.1);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.cheque-container:hover {
    box-shadow: 0 12px 40px rgba(30, 64, 175, 0.15);
    transform: translateY(-2px);
}

.cheque-inputs h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.4rem;
}

/* ===================================
   SISTEMA DE ABAS CHEQUE ESPECIAL
   ================================== */
.cheque-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--light);
    padding-bottom: 1rem;
}

.cheque-tab-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: none;
}

.cheque-tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.cheque-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
    transform: translateY(-2px);
}

.cheque-tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.cheque-tab-content.active {
    display: block;
}

/* ===================================
   INPUTS CHEQUE ESPECIAL
   ================================== */
.cheque-dados-principais {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.cheque-dados-principais:hover {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.12);
}

.cheque-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cheque-input-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cheque-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cheque-input-group input,
.cheque-input-group select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.cheque-input-group input:focus,
.cheque-input-group select:focus {
    outline: none;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

/* Input de dinheiro */
.cheque-money-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cheque-money-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.cheque-money-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

.cheque-money-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.cheque-money-input input:focus {
    outline: none;
    transform: none;
    box-shadow: none;
}

/* Input de porcentagem */
.cheque-percent-input {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cheque-percent-input:focus-within {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.2);
}

.cheque-percent-input input {
    border: none;
    padding: 0.8rem 1rem;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.cheque-percent-input span {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1rem;
    font-weight: bold;
    font-size: 1rem;
}

/* ===================================
   BOTÃO CALCULAR CHEQUE ESPECIAL
   ================================== */
.cheque-calculate-section {
    text-align: center;
    margin: 2.5rem 0;
}

.cheque-calculate-btn {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.cheque-calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.cheque-calculate-btn:active {
    transform: translateY(-1px);
}

/* ===================================
   RESULTADO DO CHEQUE ESPECIAL
   ================================== */
.cheque-resultado {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05), rgba(185, 28, 28, 0.02));
    border: 2px solid var(--danger);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2rem;
    animation: slideInUp 0.5s ease;
}

.cheque-resultado h3 {
    color: var(--danger);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
}

.cheque-resultado-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Resultado Principal */
.cheque-resultado-principal {
    background: var(--gradient);
    color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cheque-resultado-principal h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cheque-valor-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.cheque-currency {
    font-size: 1.5rem;
    font-weight: bold;
}

.cheque-value {
    font-size: 3rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.cheque-valor-juros {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.cheque-periodo {
    opacity: 0.9;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
}

/* Detalhamento */
.cheque-detalhamento {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cheque-detalhamento h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.cheque-item-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cheque-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(30, 58, 138, 0.02));
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.cheque-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.05));
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.cheque-item.destaque {
    background: var(--danger);
    color: var(--white);
    border-left-color: #b91c1c;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.2);
}

.cheque-item.destaque:hover {
    background: #b91c1c;
    transform: translateX(8px);
}

.cheque-item-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cheque-item.destaque .cheque-item-label {
    color: var(--white);
}

.cheque-item-value {
    font-weight: bold;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.cheque-item.destaque .cheque-item-value {
    color: var(--white);
}

/* Alerta */
.cheque-alerta {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--accent);
}

.cheque-alerta h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.cheque-alerta-content p {
    margin: 0.8rem 0;
    color: var(--warning);
    font-weight: 500;
}

.cheque-alerta-content strong {
    color: var(--accent);
    font-weight: 600;
}

/* ===================================
   TAB QUITAÇÃO
   ================================== */
.cheque-quitacao-inputs {
    background: var(--light);
    border: 2px solid var(--success);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.cheque-quitacao-resultado {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--success);
    margin-top: 1.5rem;
}

.cheque-quitacao-resultado h4 {
    color: var(--success);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.cheque-quitacao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cheque-quitacao-item {
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cheque-quitacao-item.economia {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border: 2px solid var(--success);
}

.cheque-quitacao-item.desconto {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border: 2px solid var(--accent);
}

.cheque-quitacao-item.recomendacao {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.05));
    border: 2px solid var(--primary);
}

.cheque-quitacao-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cheque-quitacao-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cheque-quitacao-item.economia .cheque-quitacao-label { color: var(--success); }
.cheque-quitacao-item.desconto .cheque-quitacao-label { color: var(--accent); }
.cheque-quitacao-item.recomendacao .cheque-quitacao-label { color: var(--primary); }

.cheque-quitacao-value {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.cheque-quitacao-item.economia .cheque-quitacao-value { color: var(--success); }
.cheque-quitacao-item.desconto .cheque-quitacao-value { color: var(--accent); }
.cheque-quitacao-item.recomendacao .cheque-quitacao-value { color: var(--primary); }

/* ===================================
   TAB COMPARAÇÃO BANCOS
   ================================== */
.cheque-comparacao {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
}

.cheque-comparacao h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
}

.cheque-bancos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.cheque-banco-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cheque-banco-item.melhor {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
}

.cheque-banco-item.bom {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(5, 150, 105, 0.03));
}

.cheque-banco-item.medio {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
}

.cheque-banco-item.caro {
    border-color: var(--warning);
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(180, 83, 9, 0.05));
}

.cheque-banco-item.perigoso {
    border-color: var(--danger);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
}

.cheque-banco-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.cheque-banco-nome {
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.cheque-banco-item.melhor .cheque-banco-nome { color: var(--success); }
.cheque-banco-item.bom .cheque-banco-nome { color: #10b981; }
.cheque-banco-item.medio .cheque-banco-nome { color: var(--accent); }
.cheque-banco-item.caro .cheque-banco-nome { color: var(--warning); }
.cheque-banco-item.perigoso .cheque-banco-nome { color: var(--danger); }

.cheque-banco-taxa {
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cheque-banco-status {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

.cheque-banco-item.melhor .cheque-banco-status { color: var(--success); }
.cheque-banco-item.bom .cheque-banco-status { color: #10b981; }
.cheque-banco-item.medio .cheque-banco-status { color: var(--accent); }
.cheque-banco-item.caro .cheque-banco-status { color: var(--warning); }
.cheque-banco-item.perigoso .cheque-banco-status { color: var(--danger); }

/* ===================================
   TAB NEGOCIAÇÃO
   ================================== */
.cheque-negociacao {
    background: var(--light);
    border: 2px solid var(--accent);
    border-radius: 16px;
    padding: 2rem;
}

.cheque-negociacao h4 {
    color: var(--accent);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
}

.cheque-estrategias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.cheque-estrategia-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
}

.cheque-estrategia-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.2);
}

.cheque-estrategia-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.cheque-estrategia-item h5 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cheque-estrategia-item p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   EXEMPLOS E AJUDA
   ================================== */
.cheque-examples {
    text-align: center;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.cheque-examples p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cheque-example-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    margin: 0.4rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
}

.cheque-example-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

.cheque-help {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-radius: 12px;
    border: 2px solid var(--danger);
    transition: all 0.3s ease;
}

.cheque-help p {
    margin: 0;
    color: var(--danger);
    font-weight: 500;
}

/* ===================================
   CONTEÚDO EDUCACIONAL CHEQUE ESPECIAL
   ================================== */
.cheque-educational-content {
    margin-top: 4rem;
}

.cheque-content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.cheque-content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.cheque-content-block h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.cheque-content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
}

.cheque-content-block strong {
    color: var(--primary);
    font-weight: 600;
}

/* Formula Display */
.cheque-formula-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.cheque-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cheque-formula-display .formula p {
    margin: 0.8rem 0;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
}

/* Grids de Exemplos */
.cheque-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cheque-example-item {
    background: var(--gray-50);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.cheque-example-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
    border-color: var(--primary);
}

.cheque-example-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.cheque-example-item h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cheque-example-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Exemplo de Solução */
.cheque-example-solution {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 0.5rem;
    margin-top: 2rem;
}

.cheque-example-solution h4 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.cheque-solution-step {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.cheque-solution-step:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.1);
}

.cheque-solution-step h5 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cheque-solution-step p {
    margin: 0.5rem 0;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.cheque-solution-final {
    background: var(--danger);
    color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

.cheque-solution-final h5 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cheque-solution-final p {
    margin: 0;
    font-family: inherit;
}

/* Grid de Dicas */
.cheque-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cheque-tip-item {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid;
}

.cheque-tip-item.urgente {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(185, 28, 28, 0.05));
    border-color: var(--danger);
}

.cheque-tip-item.importante {
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    border-color: var(--success);
}

.cheque-tip-item.medio {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.05));
    border-color: var(--accent);
}

.cheque-tip-item.bom {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(30, 58, 138, 0.05));
    border-color: var(--primary);
}

.cheque-tip-item.preventivo {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.05));
    border-color: var(--info);
}

.cheque-tip-item.calculadora {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(30, 64, 175, 0.05));
    border-color: var(--secondary);
}

.cheque-tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.cheque-tip-item h4 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.cheque-tip-item.urgente h4 { color: var(--danger); }
.cheque-tip-item.importante h4 { color: var(--success); }
.cheque-tip-item.medio h4 { color: var(--accent); }
.cheque-tip-item.bom h4 { color: var(--primary); }
.cheque-tip-item.preventivo h4 { color: var(--info); }
.cheque-tip-item.calculadora h4 { color: var(--secondary); }

.cheque-tip-item p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0.8rem 0;
}

/* Grid de Direitos */
.cheque-direitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cheque-direito-item {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.cheque-direito-item.lei {
    border-color: var(--primary);
}

.cheque-direito-item.negociacao {
    border-color: var(--success);
}

.cheque-direito-item.limite {
    border-color: var(--accent);
}

.cheque-direito-item.reclamacao {
    border-color: var(--danger);
}

.cheque-direito-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
}

.cheque-direito-item h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.cheque-direito-item.lei h4 { color: var(--primary); }
.cheque-direito-item.negociacao h4 { color: var(--success); }
.cheque-direito-item.limite h4 { color: var(--accent); }
.cheque-direito-item.reclamacao h4 { color: var(--danger); }

.cheque-direito-item p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* ===================================
   FAQ, CREDIBILIDADE E REFERÊNCIAS
   ================================== */
.content-block {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light);
    transition: all 0.3s ease;
}

.content-block:hover {
    box-shadow: 0 10px 35px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.content-block h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    border-bottom: 4px solid var(--primary);
    padding-bottom: 0.8rem;
    font-weight: 600;
}

/* FAQ Styles */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(30, 64, 175, 0.1);
}

.faq-item[open] {
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.faq-question {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    background: var(--secondary);
}

.faq-question::after {
    content: "▼";
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: var(--white);
}

.faq-answer p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

/* Credibilidade Styles */
.credibilidade-container {
    background: linear-gradient(135deg, var(--light), rgba(30, 64, 175, 0.05));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.credibilidade-content {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.credibilidade-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(30, 64, 175, 0.2);
}

/* Referências Styles */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.referencia-item {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.referencia-item:hover {
    background: rgba(30, 64, 175, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.1);
}

.referencia-item::before {
    content: "📖";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.referencia-item em {
    color: var(--primary);
    font-weight: 600;
}

/* ===== SUPORTE PARA CARDS DINÂMICOS DO JAVASCRIPT ===== */
.calc-explanation,
.calc-legal {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    animation: slideInUp 0.5s ease;
}

.calc-explanation h3,
.calc-legal h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.calc-explanation h4,
.calc-legal h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.calc-explanation p,
.calc-legal p {
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.calc-explanation strong,
.calc-legal strong {
    color: var(--primary);
    font-weight: 600;
}

/* ===================================
   ANIMAÇÕES
   ================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE CHEQUE ESPECIAL
   ================================== */
@media (max-width: 1024px) {
    .cheque-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cheque-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .cheque-quitacao-grid {
        grid-template-columns: 1fr;
    }

    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .cheque-header h1 {
        font-size: 2rem;
    }
    
    .cheque-container {
        padding: 1.5rem;
    }
    
    .cheque-dados-principais {
        padding: 1.5rem;
    }
    
    .cheque-input-group {
        min-width: auto;
    }
    
    .cheque-calculate-btn {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    .cheque-value {
        font-size: 2.5rem;
    }
    
    .cheque-examples-grid,
    .cheque-tips-grid,
    .cheque-direitos-grid,
    .cheque-bancos-grid,
    .cheque-estrategias-grid {
        grid-template-columns: 1fr;
    }

    .content-block {
        padding: 1.5rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .cheque-header h1 {
        font-size: 1.8rem;
    }
    
    .cheque-container {
        padding: 1rem;
    }
    
    .cheque-dados-principais {
        padding: 1rem;
    }
    
    .cheque-calculate-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .cheque-value {
        font-size: 2.2rem;
    }
    
    .cheque-item {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .cheque-example-icon {
        font-size: 2.2rem;
    }

    .content-block {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 1rem;
    }

    .credibilidade-container {
        padding: 1.5rem;
    }

    .credibilidade-badges {
        gap: 0.5rem;
    }

    .credibilidade-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO - CHEQUE ESPECIAL
   =================================== */

.cheque-explanation {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
}

.cheque-explanation h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#calculationSteps {
    display: grid;
    gap: 1.5rem;
}

.cheque-step {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.08);
}

.cheque-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(30, 64, 175, 0.15);
    border-left-color: var(--primary);
}

.cheque-step h4 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cheque-step h4::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.cheque-step p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0;
    padding-left: 1rem;
}

.cheque-step p strong {
    color: var(--secondary);
    font-weight: 600;
}

/* Último step (Resultado Final) - destaque especial */
.cheque-step:last-of-type {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left-color: var(--success);
    border-left-width: 5px;
}

.cheque-step:last-of-type h4 {
    color: var(--success);
    font-size: 1.2rem;
}

.cheque-step:last-of-type h4::before {
    background: var(--success);
    width: 10px;
    height: 10px;
}

/* Aviso Bancário */
.aviso-bancario-disclaimer {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.aviso-bancario-disclaimer h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.aviso-bancario-disclaimer p {
    color: var(--secondary);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.aviso-bancario-disclaimer p:last-child {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.aviso-bancario-disclaimer strong {
    color: var(--primary);
    font-weight: 700;
}

/* Responsivo */
@media (max-width: 768px) {
    .cheque-explanation {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .cheque-explanation h3 {
        font-size: 1.3rem;
    }

    .cheque-step {
        padding: 1.2rem;
    }

    .cheque-step h4 {
        font-size: 1rem;
    }

    .cheque-step p {
        font-size: 0.9rem;
    }

    .aviso-bancario-disclaimer {
        padding: 1.2rem;
    }

    .aviso-bancario-disclaimer h4 {
        font-size: 1.1rem;
    }
}

/* Animação sutil ao aparecer */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cheque-explanation {
    animation: fadeInUp 0.5s ease-out;
}

.cheque-step {
    animation: fadeInUp 0.6s ease-out backwards;
}

.cheque-step:nth-child(1) { animation-delay: 0.1s; }
.cheque-step:nth-child(2) { animation-delay: 0.2s; }
.cheque-step:nth-child(3) { animation-delay: 0.3s; }
.cheque-step:nth-child(4) { animation-delay: 0.4s; }

.aviso-bancario-disclaimer {
    animation: fadeInUp 0.7s ease-out 0.5s backwards;
}
