/**
 * Chebyshev's Theorem Calculator Styles
 * Isolated styles to prevent conflicts with WordPress themes
 */

.chebyshev-calculator-container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 20px 0;
    max-width: 600px;
    padding: 25px;
    box-sizing: border-box;
}

.chebyshev-calculator-container * {
    box-sizing: border-box;
}

.chebyshev-calculator-container h2 {
    color: #333;
    font-size: 1.5em;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.chebyshev-calculator-container p {
    color: #555;
    line-height: 1.5;
}

.chebyshev-calculator-container .form-group {
    margin-bottom: 20px;
}

.chebyshev-calculator-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.chebyshev-calculator-container input[type="number"] {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    padding: 10px;
    width: 100%;
    max-width: 200px;
}

.chebyshev-calculator-container .ctc-button {
    background: #000000;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    text-align: center;
    transition: background 0.3s ease;
}

.chebyshev-calculator-container .ctc-button:hover {
    background: #333333;
}

.chebyshev-calculator-container .ctc-results {
    background: #f9f9f9;
    border-left: 4px solid #000000;
    margin-top: 20px;
    padding: 15px;
}

.chebyshev-calculator-container .ctc-results h3 {
    color: #333;
    font-size: 1.2em;
    margin-top: 0;
}

.chebyshev-calculator-container #ctc-percentage,
.chebyshev-calculator-container #ctc-k-display {
    font-weight: bold;
    color: #000000;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .chebyshev-calculator-container {
        padding: 15px;
    }
    
    .chebyshev-calculator-container h2 {
        font-size: 1.3em;
    }
    
    .chebyshev-calculator-container .ctc-button {
        width: 100%;
    }
} 