/**
 * Resin Calculator Styles
 * Uses isolation techniques to prevent conflicts with WordPress themes
 */

/* Container */
.resin-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;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Title */
.resin-calculator-title {
    font-size: 24px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Form layout */
.resin-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resin-calculator-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

.resin-calculator-row label {
    flex: 1;
    min-width: 150px;
    font-weight: 500;
    margin-right: 10px;
}

/* Inputs and selects */
.resin-input {
    flex: 2;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* Button */
.resin-button {
    background-color: #000000; /* Black as specified */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    width: 100%;
    margin-top: 10px;
}

.resin-button:hover {
    background-color: #333333;
}

.resin-button:active {
    transform: translateY(1px);
}

/* Results section */
.resin-results {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #000000;
}

.resin-results h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

#resin-volume-result,
#resin-weight-result {
    font-weight: 600;
    color: #000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .resin-calculator-container {
        padding: 15px;
    }
    
    .resin-calculator-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .resin-calculator-row label {
        margin-bottom: 5px;
    }
    
    .resin-input {
        width: 100%;
    }
} 