/* ========================================
   ESTILOS ESPECÍFICOS DA PÁGINA DO CLIENTE
   ======================================== */
/* O design base (fundo, header, etc.) vem do styles.css */

/* Seções da página do cliente */
.credits-section,
.interaction-types,
.results-section {
    margin-bottom: 40px;
}

.credits-section h2,
.interaction-types h2,
.results-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.credits-section h2 i { color: #059669; }
.interaction-types h2 i { color: #3b82f6; }
.results-section h2 i { color: #8b5cf6; }

.section-description {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Input de créditos */
.credits-input {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid #bbf7d0;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 15px;
    color: #059669;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #d1fae5;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    background: white;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Interaction Types */
.interaction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.interaction-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.interaction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.interaction-card:hover::before,
.interaction-card.selected::before {
    transform: scaleX(1);
}

.interaction-card:hover,
.interaction-card.selected {
    border-color: #3b82f6;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-5px);
}

.interaction-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ddd6fe 0%, #e0e7ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.interaction-card:hover .interaction-icon,
.interaction-card.selected .interaction-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    transform: scale(1.1);
}

.interaction-icon i {
    font-size: 1.5rem;
    color: #3b82f6;
    transition: color 0.3s ease;
}

.interaction-card:hover .interaction-icon i,
.interaction-card.selected .interaction-icon i {
    color: white;
}

.interaction-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.interaction-card p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.5;
}

.interaction-example {
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    border-left: 3px solid #e2e8f0;
}

.interaction-example small {
    color: #64748b;
    font-style: italic;
}

/* Results Section */
.results-header {
    text-align: center;
    margin-bottom: 30px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.main-result-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 2px solid #bbf7d0;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669, #10b981);
}

.result-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

.result-icon i {
    font-size: 2rem;
    color: white;
}

.main-result-card h3 {
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.interaction-count {
    margin-bottom: 15px;
}

.interaction-count span {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #059669;
    line-height: 1;
}

.interaction-count small {
    color: #64748b;
    font-size: 1rem;
    font-weight: 600;
}

.cost-per-interaction {
    color: #374151;
    font-size: 1.1rem;
}

.cost-per-interaction span:last-child {
    font-weight: 700;
    color: #059669;
}

.comparison-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
}

.comparison-card h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.comparison-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #e2e8f0;
}

.comparison-item.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fef7cd 100%);
    border-left-color: #f59e0b;
}

.comparison-name {
    font-weight: 600;
    color: #374151;
}

.comparison-count {
    font-weight: 700;
    color: #059669;
}

/* Chart Section */
.chart-section {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
}

.chart-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    justify-content: center;
}

.chart-section h3 i {
    color: #8b5cf6;
}

.chart-container {
    max-width: 400px;
    margin: 0 auto;
}

/* Usage Tips */
.usage-tips {
    background: linear-gradient(135deg, #fef7cd 0%, #fef3c7 100%);
    border: 2px solid #fde68a;
    border-radius: 20px;
    padding: 30px;
}

.usage-tips h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #92400e;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    justify-content: center;
}

.usage-tips h3 i {
    color: #f59e0b;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tip-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tip-card i {
    font-size: 2rem;
    color: #f59e0b;
    margin-bottom: 15px;
}

.tip-card h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tip-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsivo específico da página do cliente */
@media (max-width: 768px) {
    .interaction-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .interaction-count span {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .credits-input {
        padding: 20px;
    }
}
