/**
 * Laticrete Grout Calculator styles
 * Using isolation to prevent theme conflicts
 */

/* Main container */
.laticrete-grout-calculator-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    box-sizing: border-box;
}

.laticrete-grout-calculator-container * {
    box-sizing: border-box;
}

.laticrete-grout-calculator-container h2 {
    text-align: center;
    color: #333333;
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eeeeee;
}

/* Form styling */
.laticrete-calculator-form {
    margin-top: 20px;
}

.laticrete-form-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.laticrete-form-row label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #333333;
}

.laticrete-form-row input {
    padding: 10px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.laticrete-form-row input:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Button styling */
.laticrete-calculate-button {
    display: inline-block;
    padding: 12px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.laticrete-calculate-button:hover {
    background-color: #333333;
}

/* Results styling */
.laticrete-results {
    margin-top: 25px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #000000;
}

.laticrete-results h3 {
    margin-top: 0;
    color: #333333;
}

.laticrete-results #grout-amount {
    font-weight: bold;
    color: #000000;
}

.laticrete-note {
    font-size: 14px;
    color: #666666;
    margin-top: 10px;
    font-style: italic;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .laticrete-form-row {
        flex-direction: row;
        align-items: center;
    }
    
    .laticrete-form-row label {
        width: 40%;
        margin-bottom: 0;
        padding-right: 15px;
    }
    
    .laticrete-form-row input {
        width: 60%;
    }
    
    .laticrete-calculate-button {
        width: auto;
        float: right;
    }
}

/* Clearfix for floated elements */
.laticrete-form-row:after {
    content: "";
    display: table;
    clear: both;
} 