.pec-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.pec-input-group {
    margin-bottom: 1rem;
}

.pec-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2c3e50;
}

.pec-input-group select,
.pec-input-group input[type="text"],
.pec-input-group input[type="number"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pec-input-group input[type="range"] {
    width: 100%;
}

#pec-calculate {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}

#pec-calculate:hover {
    transform: translateY(-2px);
}

#pec-calculate:disabled {
    background: #95a5a6;
    transform: none;
}

.pec-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.pec-result-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.pec-large-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2980b9;
    margin: 0.5rem 0;
}

.pec-chart-container {
    height: 300px;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .pec-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    .pec-grid {
        grid-template-columns: 1fr;
    }
}