/**
 * AP Chemistry Score Calculator Styles
 * Isolated to prevent conflicts with WordPress themes
 */

.ap-chem-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff; /* White background as specified */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ap-chem-calculator-container h2 {
    text-align: center;
    color: #333333;
    margin-bottom: 25px;
}

.calculator-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.calculator-section h3 {
    margin-top: 0;
    color: #333333;
    font-size: 18px;
    margin-bottom: 15px;
}

.ap-chem-calculator-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444444;
}

.ap-chem-calculator-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.calculate-button, .export-button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #000000; /* Black for CTA as specified */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

.calculate-button:hover, .export-button:hover {
    background-color: #333333;
}

.export-button {
    margin-top: 15px;
    background-color: #333333;
}

.export-button:hover {
    background-color: #555555;
}

.results-section {
    margin-top: 25px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 6px;
}

.results-section h3 {
    margin-top: 0;
    color: #333333;
    font-size: 18px;
    margin-bottom: 15px;
}

#composite-score, #ap-score {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

#ap-score {
    margin-bottom: 20px;
}

#composite-score span, #ap-score span {
    font-weight: 700;
    color: #000000; /* Black text for results as specified */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ap-chem-calculator-container {
        padding: 15px;
        max-width: 100%;
    }
    
    .calculator-section, .results-section {
        padding: 12px;
    }
    
    .ap-chem-calculator-container input {
        padding: 8px;
        font-size: 14px;
    }
    
    .calculate-button, .export-button {
        padding: 10px;
        font-size: 14px;
    }
}

/* Medium-sized devices */
@media (max-width: 480px) {
    .ap-chem-calculator-container h2 {
        font-size: 20px;
    }
    
    .calculator-section h3, .results-section h3 {
        font-size: 16px;
    }
    
    .ap-chem-calculator-container label {
        font-size: 14px;
    }
    
    #composite-score, #ap-score {
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .ap-chem-calculator-container {
        padding: 10px;
    }
    
    .calculator-section, .results-section {
        padding: 8px;
    }
} 