/* Estilos específicos para ferramentas */

/* Sistema de abas moderno */
.tab-navigation {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow-x: auto;
    gap: 4px;
}

.tab-btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background: rgba(255,255,255,0.8);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: white;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    transform: translateY(-2px);
}

.tab-btn.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorias para dados/resultados */
.data-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.data-result-item {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 15px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.data-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.data-result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-result-item:hover::before {
    opacity: 1;
}

.data-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.data-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.data-resultado-principal {
    text-align: center;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 30px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0,123,255,0.2);
}

.data-resultado-principal span {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.data-detalhes {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
}

.detalhe-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.detalhe-item:last-child {
    border-bottom: none;
}

.detalhe-item strong {
    color: #495057;
    font-weight: 600;
}

.detalhe-item span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Melhorias responsivas para abas */
@media (max-width: 768px) {
    .tab-navigation {
        padding: 3px;
        gap: 2px;
    }
    
    .tab-btn {
        min-width: 120px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .data-result-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .data-result-item {
        padding: 15px 10px;
    }
    
    .data-number {
        font-size: 24px;
    }
    
    .data-resultado-principal {
        padding: 20px 15px;
    }
    
    .data-resultado-principal span {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .tab-navigation {
        flex-direction: column;
        gap: 3px;
    }
    
    .tab-btn {
        min-width: auto;
        width: 100%;
    }
    
    .data-result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Melhorias para opções de cálculo */
.opcoes-calculo {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.checkbox-item:hover {
    background: rgba(0,123,255,0.05);
}

.checkbox-item:last-child {
    margin-bottom: 0;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Melhorias para age/idade display */
.idade-principal {
    text-align: center;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 40px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(255,107,107,0.3);
}

.idade-anos {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.idade-anos small {
    display: block;
    font-size: 16px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 8px;
}

.idade-detalhada {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.idade-item {
    text-align: center;
    background: white;
    padding: 20px 15px;
    border-radius: 12px;
    border: 2px solid #f1f3f4;
    transition: all 0.3s ease;
}

.idade-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.idade-item span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.idade-item small {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
}

.curiosidades-idade {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #dee2e6;
}

.curiosidades-idade h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.curiosidade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.curiosidade-item:last-child {
    border-bottom: none;
}

.curiosidade-item strong {
    color: #495057;
    font-weight: 600;
}

.curiosidade-item span {
    color: var(--primary-color);
    font-weight: 500;
}

/* Melhorias para dias úteis */
.resultado-principal {
    text-align: center;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 40px 20px;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(40,167,69,0.3);
}

.dias-uteis-numero {
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dias-uteis-numero small {
    display: block;
    font-size: 16px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 8px;
}

.detalhes-calculo,
.detalhes-adicao {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

/* Melhorias responsivas adicionais */
@media (max-width: 768px) {
    .idade-principal,
    .resultado-principal {
        padding: 30px 15px;
    }
    
    .idade-anos,
    .dias-uteis-numero {
        font-size: 36px;
    }
    
    .idade-anos small,
    .dias-uteis-numero small {
        font-size: 14px;
    }
    
    .idade-detalhada {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .idade-item {
        padding: 15px 10px;
    }
    
    .idade-item span {
        font-size: 20px;
    }
    
    .curiosidades-idade,
    .detalhes-calculo,
    .detalhes-adicao {
        padding: 20px 15px;
    }
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* Cabeçalho da ferramenta */
.tool-header {
    margin-top: 25px;
    margin-bottom: 2rem;
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tools-info-section {
    text-align: left;
}

.tools-info-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.tool-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.daily-proverb {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.daily-proverb h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.proverb-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0 0 0.8rem 0;
    padding: 0;
    border: none;
    quotes: """ """ "'" "'";
}

.proverb-text::before {
    content: open-quote;
}

.proverb-text::after {
    content: close-quote;
}

.proverb-citation {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
}

/* Conteúdo da ferramenta */
.tool-content {
    margin: 0 auto;
}

/* Formulário da ferramenta */
.tool-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group input.error {
    border-color: #e74c3c;
}

.form-group input.success {
    border-color: #27ae60;
}

.form-help {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-error {
    display: block;
    font-size: 0.85rem;
    color: #e74c3c;
    margin-top: 0.25rem;
}

/* Botões */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 1rem;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #3a7bc8;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Resultado da ferramenta */
.tool-result {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.tool-result.success {
    border-color: #27ae60;
    background: #d5f4e6;
}

.tool-result.warning {
    border-color: #f39c12;
    background: #fef9e7;
}

.tool-result.error {
    border-color: #e74c3c;
    background: #fadbd8;
}

/* Estilos específicos para IMC */
.imc-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.imc-classificacao {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.imc-classificacao.normal {
    color: #27ae60;
}

.imc-classificacao.sobrepeso {
    color: #f39c12;
}

.imc-classificacao.obesidade {
    color: #e74c3c;
}

.imc-classificacao.abaixo {
    color: #3498db;
}

.imc-descricao {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* Informações da ferramenta */
.tool-info {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.tool-info h3, .tool-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Tabela IMC */
.imc-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.imc-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.imc-table th,
.imc-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.imc-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

/* Estilos específicos para geradores */
.cpf-value, .cnpj-value, .senha-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.cpf-info, .cnpj-info, .senha-info {
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.validacao-info {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Disclaimer */
.tool-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.tool-disclaimer h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.tool-disclaimer p {
    color: #856404;
    margin: 0;
}

/* Listas ordenadas e não ordenadas */
.tool-info ol,
.tool-info ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.tool-info ol li,
.tool-info ul li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.tool-info ol {
    list-style-type: decimal;
}

.tool-info ul {
    list-style-type: disc;
}

/* Estilos específicos para gerador de cores */
.paleta-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.cor-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cor-item:hover {
    transform: translateY(-2px);
}

.cor-preview {
    width: 100%;
    height: 80px;
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.cor-codigo {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.btn-copy-small {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-copy-small:hover {
    background: #3a7bc8;
}

.cor-info-container {
    text-align: center;
}

.cor-codigos {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.codigo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.codigo-valor {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    margin: 0 1rem;
}

.btn-copy {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-copy:hover {
    background: #3a7bc8;
}

/* Estilos específicos para gerador de CEP */
.endereco-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.campo-endereco {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.campo-endereco:last-child {
    border-bottom: none;
}

.endereco-completo {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
}

.endereco-completo .valor-campo {
    margin: 0.5rem 0;
    font-style: italic;
}

.valor-campo {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 1rem;
    flex-grow: 1;
}

.btn-copy-campo {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-copy-campo:hover {
    background: #3a7bc8;
}

.lista-ceps {
    margin: 1rem 0;
}

.cep-item {
    margin-bottom: 0.5rem;
}

.cep-linha {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 4px;
    gap: 1rem;
}

.cep-codigo {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 100px;
}

.cep-endereco {
    flex-grow: 1;
    font-size: 0.9rem;
}

/* Estilos específicos para gerador de PIX */
.pix-dados {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.pix-info h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.pix-campo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.pix-campo:last-child {
    border-bottom: none;
}

.pix-campo strong {
    color: var(--text-dark);
    min-width: 100px;
}

/* Estilos específicos para gerador de QR Code */
.qr-container {
    text-align: center;
    margin: 1rem 0;
}

.qr-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn-success {
    background: #27ae60;
    color: white;
}

.btn-success:hover {
    background: #219a52;
}

.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    min-height: 80px;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

@media (max-width: 768px) {
    .campo-endereco {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cep-linha {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .valor-campo {
        margin: 0;
    }
    
    .qr-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-actions button {
        width: 100%;
        max-width: 200px;
    }
    
    .pix-campo {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .pix-campo strong {
        min-width: auto;
    }
}

/* Estilos específicos para gerador de dados pessoais */
.perfil-card {
    background: white;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.perfil-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.perfil-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.btn-copy-perfil {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-copy-perfil:hover {
    background: rgba(255, 255, 255, 0.3);
}

.perfil-dados {
    padding: 1.5rem;
}

.dados-grupo {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.dados-grupo:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dados-grupo h5 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.campo-perfil {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    gap: 1rem;
}

.campo-perfil.endereco-completo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.campo-label {
    font-weight: 500;
    color: var(--text-dark);
    min-width: 120px;
    flex-shrink: 0;
}

.campo-valor {
    flex-grow: 1;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 500;
}

.endereco-completo .campo-valor {
    font-style: italic;
    font-family: inherit;
}

.dados-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .campo-perfil {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .campo-label {
        min-width: auto;
        font-size: 0.9rem;
    }
    
    .dados-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .dados-actions button {
        width: 100%;
        max-width: 200px;
    }
    
    .perfil-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Estilos específicos para gerador de números */
.numero-resultado {
    text-align: center;
    margin: 1rem 0;
}

.numero-valor {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
}

.lista-resultado,
.sequencia-resultado {
    margin: 1rem 0;
}

.numeros-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.numero-item {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.numero-formatado {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.numero-formatado code {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    display: block;
    margin: 0.5rem 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.loteria-resultado {
    margin: 1rem 0;
}

.jogo-loteria {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
}

.numeros-loteria {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.numero-loteria {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.numeros-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Estilos específicos para gerador de UUID */
.uuid-lista {
    margin: 1rem 0;
}

.uuids-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.uuid-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

.uuid-valor {
    flex-grow: 1;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-weight: 500;
    word-break: break-all;
}

.uuid-formatado {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.uuid-formatado pre {
    background: white;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    overflow-x: auto;
    border: 1px solid #e1e1e1;
}

.uuid-formatado code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.uuid-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .numero-valor {
        font-size: 2rem;
    }
    
    .numeros-lista {
        gap: 0.25rem;
    }
    
    .numero-item {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .numero-loteria {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .uuid-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .numeros-actions,
    .uuid-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .numeros-actions button,
    .uuid-actions button {
        width: 100%;
        max-width: 200px;
    }
}

.imc-table tr:nth-child(even) {
    background: #f8f9fa;
}

.imc-table tr:hover {
    background: #e3f2fd;
}

/* Disclaimer */
.tool-disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.tool-disclaimer h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.tool-disclaimer p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsividade */
/* Grid de ferramentas */
.tools-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.tools-category {
    margin-bottom: 3rem;
}

.tools-category h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 0.5rem;
}

.tools-category h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.tools-category h2 a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

/* Card da ferramenta */
.tool-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.tool-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.tool-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.tool-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.tool-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tool-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #6c757d;
    color: white;
}

.tool-status.available {
    background: #27ae60;
}

/* Informações das ferramentas */
.tools-info {
    background: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 8px;
    margin: 2rem 0 4rem 0;
    text-align: center;
}

.tools-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Estilos específicos das calculadoras */
.calculator-container {
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* Tabs das calculadoras */
.calculator-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    margin-bottom: 0;
    border: 1px solid #e1e1e1;
    border-bottom: none;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--primary-color);
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.tab-button:hover:not(.active) {
    background: #e9ecef;
    color: var(--text-dark);
}

/* Conteúdo das tabs */
.tab-content {
    display: none;
    border: 1px solid #e1e1e1;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.tab-content.active {
    display: block;
}

/* Formulário da calculadora */
.calculator-form h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e1e1;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.input-with-select {
    display: flex;
    gap: 5px;
}

.input-with-select input {
    flex: 1;
}

.input-with-select select {
    padding: 0.75rem;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 1rem;
    background: white;
    min-width: 120px;
}

/* Controles da calculadora */
.calculator-controls {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e1e1e1;
}

.btn-calculate {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-calculate:hover {
    background: #3a7bc8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.btn-clear {
    background: #6c757d;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: #545b62;
    transform: translateY(-1px);
}

/* Resultado */
.result-container {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.result-container h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.result-container h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.1rem;
}

.result-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

.result-item.highlight {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.result-label {
    font-weight: 600;
    color: var(--text-dark);
}

.result-value {
    font-size: 1.2rem;
    font-weight: bold;
}

.result-value.success {
    color: #27ae60;
}

.result-value.warning {
    color: #f39c12;
}

.result-value.error {
    color: #e74c3c;
}

/* Breakdown dos resultados */
.result-breakdown {
    margin: 2rem 0;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e1e1e1;
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.desconto .breakdown-value {
    color: #e74c3c;
}

.breakdown-label {
    font-weight: 500;
}

.breakdown-rate {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Benefícios */
.result-benefits {
    margin: 2rem 0;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #d5f4e6;
    border-radius: 4px;
}

.benefit-label {
    font-weight: 500;
}

.benefit-value.success {
    color: #27ae60;
    font-weight: bold;
}

/* Análise */
.result-analysis {
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

.analysis-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.analysis-item:last-child {
    margin-bottom: 0;
}

.analysis-label {
    font-weight: 500;
}

.analysis-value {
    font-weight: bold;
    color: var(--primary-color);
}

/* Gráfico */
.result-chart {
    margin: 2rem 0;
}

#grafico-container {
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
}

/* Tabela de resultados */
.result-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.result-table th,
.result-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.result-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.result-table tr:nth-child(even) {
    background: #f8f9fa;
}

.result-table .success {
    color: #27ae60;
    font-weight: 600;
}

/* Regra de Três específicos */
.proportion-container {
    margin: 2rem 0;
}

.proportion-section {
    background: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.proportion-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.proportion-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.proportion-divider span {
    background: white;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

/* Regra de Três Composta */
.compound-container {
    margin: 2rem 0;
}

.compound-header {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.compound-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Mensagens de erro */
.error-message {
    color: #e74c3c;
    background: #fadbd8;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #e74c3c;
    font-weight: 600;
}

.error-text {
    color: #e74c3c;
}

/* Seções de informação */
.info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e1e1e1;
}

.info-section:last-child {
    border-bottom: none;
}

.info-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-section ul {
    margin-left: 1.5rem;
}

.info-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Estilos específicos para juros compostos */
.result-summary {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.result-item.highlight {
    border-color: var(--primary-color);
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.result-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.result-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
}

.result-value.success {
    color: #27ae60;
}

.result-chart {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.result-chart h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.1rem;
}

#grafico-container {
    text-align: center;
    padding: 1rem;
}

.result-breakdown {
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.result-breakdown h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Responsividade para o header */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tools-info-section {
        text-align: center;
    }
    
    .tools-info-section h1 {
        font-size: 2rem;
    }
    
    .daily-proverb {
        padding: 1.2rem;
    }
    
    .proverb-text {
        font-size: 0.9rem;
    }

@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 2rem;
    }
    
    .tool-form,
    .tool-info {
        padding: 1.5rem;
    }
    
    .calculator-container {
        margin: 0 1rem;
    }
    
    .tab-content {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculator-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-calculate,
    .btn-clear {
        width: 100%;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .breakdown-item,
    .analysis-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .proportion-section {
        padding: 1rem;
    }
    
    .proportion-divider span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .compound-header,
    .compound-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .compound-header {
        font-size: 0.9rem;
    }
    
    .result-table {
        font-size: 0.85rem;
    }
    
    .result-table th,
    .result-table td {
        padding: 0.5rem;
    }
    
    .imc-value {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .imc-table {
        font-size: 0.9rem;
    }
    
    .tools-list {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-info {
        padding: 2rem 1rem;
    }
    
    .tools-category h2 {
        font-size: 1.5rem;
    }
}