/*
 * CNC Machine Price Calculator Stylesheet
 */

 .cnc-calculator-wrapper {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    overflow: hidden; /* Contains floats and margins */
}

.cnc-machine-info {
    text-align: center;
    margin-bottom: 2rem;
}

.cnc-machine-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cnc-machine-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.cnc-machine-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.cnc-calculator-form {
    margin-bottom: 1.5rem;
}

.cnc-calculator-form label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.cnc-options-select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    appearance: none; /* For custom arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%208l5%205%205-5z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.cnc-price-display {
    background-color: #e9efff; /* Light blue background */
    border: 1px solid #c3d5ff;
    border-radius: 8px;
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.cnc-price-label {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #4a5a8a;
    font-weight: 500;
}

.cnc-price-value {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: #0052cc; /* A strong blue color */
    line-height: 1.2;
}

/* Style for text-based prices like "Ask Price" */
.cnc-price-value.cnc-price-text-based {
    font-size: 2.2rem; /* Make the text a bit smaller than the price */
    font-weight: 600;
    color: #c94a47; /* A reddish color to indicate action needed */
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .cnc-calculator-wrapper {
        padding: 1.5rem;
    }
    .cnc-machine-title {
        font-size: 1.75rem;
    }
    .cnc-price-value {
        font-size: 2.25rem;
    }
}
