/* Lucro Percentual - Design Premium */
.lucro-percentual-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Input Principal Featured */
.featured-input {
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    border: 2px solid #3399ff;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.featured-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3399ff, #667eea, #3399ff);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.featured-input label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
    margin-bottom: 12px;
}

.featured-input label i {
    color: #3399ff;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Input com Sugestões */
.input-with-suggestions {
    position: relative;
}

.input-with-suggestions input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
}

.input-with-suggestions input:focus {
    border-color: #3399ff;
    box-shadow: 0 0 0 3px rgba(51, 153, 255, 0.1);
    transform: scale(1.02);
}

/* Botões de Sugestão */
.suggestion-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-suggestion {
    padding: 8px 16px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.btn-suggestion:hover {
    border-color: #3399ff;
    color: #3399ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 153, 255, 0.2);
}

.btn-suggestion.popular {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-color: #ffd700;
    color: #333;
    font-weight: 700;
    animation: pulse-gold 2s infinite;
}

.btn-suggestion.popular:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

@keyframes pulse-gold {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Card de Informações */
.lucro-info-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.info-header i {
    color: #ffc107;
    font-size: 1.3rem;
}

.info-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.info-content p {
    margin: 0 0 15px 0;
    color: #555;
    line-height: 1.5;
}

/* Exemplo de Cálculo */
.example-calculation {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid #3399ff;
}

.example-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    font-size: 0.9rem;
}

.example-row span {
    color: #666;
}

.example-row strong {
    color: #333;
    font-weight: 600;
}

.example-row.highlight {
    background: rgba(51, 153, 255, 0.1);
    padding: 8px 12px;
    border-radius: 5px;
    margin-top: 10px;
}

.example-row.highlight strong {
    color: #3399ff;
    font-size: 1.05rem;
}

/* Dica de Comparação */
.comparison-tip {
    display: flex;
    gap: 15px;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 15px;
}

.tip-icon {
    flex-shrink: 0;
}

.tip-icon i {
    color: #f39c12;
    font-size: 1.4rem;
}

.tip-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.tip-content strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.green {
    color: #27ae60;
    font-weight: 600;
}

.orange {
    color: #f39c12;
    font-weight: 600;
}



/* Responsivo */
@media (max-width: 768px) {
    .lucro-percentual-container {
        gap: 15px;
    }
    
    .featured-input {
        padding: 15px;
    }
    
    .suggestion-buttons {
        gap: 6px;
    }
    
    .btn-suggestion {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 50px;
    }
    
    .lucro-info-card {
        padding: 15px;
    }
    
    .comparison-tip {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .example-row {
        font-size: 0.85rem;
    }
    
    .comparison-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .comparison-card {
        padding: 20px;
    }
    
    .current-analysis,
    .suggested-analysis {
        padding: 15px;
    }
    
    .analysis-row {
        font-size: 0.9rem;
    }
    
    .summary-row {
        font-size: 0.9rem;
    }
}