/* Estilos para as Ferramentas Financeiras */
.finance-tools {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.finance-tools .tabs-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.finance-tools .tab-button {
    flex: 1;
    padding: 12px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.finance-tools .tab-button:hover {
    background: #e9ecef;
}

.finance-tools .tab-button.active {
    background: #fff;
    color: #cc092f;
    border-bottom: 2px solid #cc092f;
    margin-bottom: -1px;
}

/* Estilos para as Calculadoras */
.calculator .disclaimer {
    background-color: #fff8e1;
    border-left: 3px solid #ffc107;
    padding: 8px 12px;
    margin-bottom: 15px;
    border-radius: 0 4px 4px 0;
}

.calculator .disclaimer small {
    font-size: 11px;
    color: #856404;
    line-height: 1.4;
    display: block;
}

.calculator {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.calculator:last-child {
    border-bottom: none;
}

.calculator h4 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.calculator-form .form-group {
    margin-bottom: 12px;
}

.calculator-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #555;
}

.calculator-form input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.btn-calculate {
    background: #cc092f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: 600;
    margin-top: 10px;
    transition: background 0.3s;
}

.btn-calculate:hover {
    background: #a80722;
}

.calculator .result {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.calculator .result span:first-child {
    color: #666;
    margin-right: 8px;
}

/* Estilos para as Cotações */
.quotes-container {
    padding: 15px;
}

.quotes-container h4 {
    margin-top: 0;
    color: #333;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.quote-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.currency {
    font-weight: 600;
    color: #444;
    display: block;
    margin-bottom: 5px;
}

.quote-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.quote-update {
    margin-top: 15px;
    text-align: right;
    font-size: 11px;
    color: #777;
}

/* Responsividade */
@media (max-width: 1200px) {
    .finance-tools {
        margin: 0 10px 20px;
    }
}

@media (max-width: 768px) {
    .finance-tools {
        margin: 0 0 20px;
    }
    
    .quote-values {
        flex-direction: column;
    }
    
    .quote-values span {
        margin-bottom: 3px;
    }
}
