/**
 * Dunk Calculator Styles
 * Isolated styles for the dunk calculator plugin to prevent theme conflicts
 */

/* Container */
.dunk-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #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;
}

.dunk-calculator-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Form Styles */
.dunk-calculator-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.dunk-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.dunk-input:focus {
    border-color: #000000;
    outline: none;
}

.dunk-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 20px;
}

.dunk-button:hover {
    background-color: #333333;
}

/* Results Section */
.dunk-result {
    margin-top: 25px;
    padding: 15px;
    border-top: 1px solid #eee;
    display: none;
}

.dunk-result h3 {
    margin-top: 0;
    color: #333;
}

.dunk-result.show {
    display: block;
}

#result-content {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    line-height: 1.6;
}

.result-positive {
    color: #28a745;
    font-weight: bold;
}

.result-negative {
    color: #dc3545;
    font-weight: bold;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .dunk-calculator-container {
        padding: 15px;
    }
    
    .dunk-input, .dunk-button {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .dunk-calculator-container {
        padding: 10px;
    }
    
    .dunk-calculator-container h2 {
        font-size: 20px;
    }
} 