/* PPC De-Confuser Custom Styles */
/* Only custom styles needed beyond Bootstrap 5 */

.ppc-deconfuser {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    color: #ffffff;
}

.deconfuser-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.deconfuser-header .highlight {
    color: #94c83e;
}

.deconfuser-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.input-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(159, 255, 0, 0.1);
}

.input-section h3 {
    color: #94c83e;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.input-section .form-label {
    color: #e0e0e0;
    font-weight: 500;
    margin-bottom: 8px;
}

.input-section .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(159, 255, 0, 0.2);
    color: #ffffff;
}

.input-section .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #94c83e;
    color: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(159, 255, 0, 0.15);
}

.input-section .form-control::placeholder {
    color: #666;
}

.input-section .input-group-text {
    background: rgba(159, 255, 0, 0.1);
    border: 1px solid rgba(159, 255, 0, 0.2);
    color: #94c83e;
    font-weight: 600;
}

.calculate-btn {
    background: #94c83e;
    color: #1a1a1a;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    background: #b3ff33;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 255, 0, 0.3);
}

.calculate-btn:active {
    transform: translateY(0);
}

.input-section .alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    color: #b0b0b0;
    border-radius: 6px;
}

.results-section {
    background: rgba(159, 255, 0, 0.05);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(159, 255, 0, 0.2);
}

.results-section h3 {
    color: #94c83e;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #94c83e;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.metric-label {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 1.8rem;
    color: #94c83e;
    font-weight: 700;
}

.metric-description {
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

.results-section .alert-warning {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
    color: #ffb74d;
}

/* Responsive Design */
@media (max-width: 968px) {
    .calculator-container {
        grid-template-columns: 1fr;
    }

    .deconfuser-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .ppc-deconfuser {
        padding: 20px 15px;
    }

    .deconfuser-header h2 {
        font-size: 1.5rem;
    }

    .input-section,
    .results-section {
        padding: 20px;
    }

    .metric-value {
        font-size: 1.5rem;
    }
}