/**
 * MM to Inches Converter Calculator Styles
 * Isolated styles to prevent theme conflicts
 */

.mm-to-inches-calculator-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    max-width: 500px;
    margin: 20px auto;
}

.mm-to-inches-calculator {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 25px;
    box-sizing: border-box;
}

.mm-to-inches-calculator h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-size: 1.4em;
}

.mm-to-inches-input-group {
    margin-bottom: 20px;
}

.mm-to-inches-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.mm-to-inches-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.mm-to-inches-button-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.mm-to-inches-button {
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    transition: background-color 0.3s, transform 0.1s;
}

.mm-to-inches-button:hover {
    background-color: #333333;
}

.mm-to-inches-button:active {
    transform: scale(0.98);
}

.mm-to-inches-result {
    background-color: #f7f7f7;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    text-align: center;
}

.mm-to-inches-result p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#inches-result {
    color: #000000;
}

.mm-to-inches-info {
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .mm-to-inches-calculator {
        padding: 15px;
    }
    
    .mm-to-inches-button {
        padding: 10px;
    }
} 