
button, input[type="submit"], input[type="reset"] {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.3s, color 0.3s;
}

/* Primary Button */
button {
    background-color: #0172ad;
    color: #fff;
}

button:hover {
    background-color: #02659a;
}

/* Secondary Button */
button.secondary {
    background-color: #5d6b89;
    color: #fff;
}

button.secondary:hover {
    background-color: #48536b;
}

/* Contrast Button */
button.contrast {
    background-color: #181c25;
    color: #fff;
}

button.contrast:hover {
    background-color: #000;
}

/* Outline Buttons */
button.outline {
    background-color: transparent;
    color: #0172ad;
    border: 1px solid #0172ad;
}

button.outline.secondary {
    color: #5d6b89;
    border: 1px solid #5d6b89;
}

button.outline.contrast {
    color: #181c25;
    border: 1px solid #181c25;
}

button.outline:hover {
    background-color: #0172ad;
    color: #fff;
}

/* Form Elements */
input[type="text"], input[type="search"], select, input[type="file"] {
    padding: 8px 12px;
    border: 1px solid #cfd5e2;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1rem;
}

/* Checkboxes and Radio Buttons */
input[type="checkbox"], input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
}

/* Renaming radio buttons to radio1 */
input[type="radio"].radio1 {
    margin-right: 8px;
    cursor: pointer;
}

/* Example for checked state */
input[type="radio"].radio1:checked {
    background-color: #0172ad;
    border-color: #0172ad;
}

/* Hover state */
input[type="radio"].radio1:hover {
    border-color: #5d6b89;
}


/* Center the parameter names */
.product-parameters .parameter h4 {
    text-align: center;
    margin-bottom: 10px;
}

/* Ensure max 20px gap between measure name and options */
.product-parameters {
    margin-top: 20px;
}

/* Add 5px space between options */
.product-parameters .parameter-options label,
.product-parameters .parameter-options select {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Style for drop-down lists */
.product-parameters .parameter-options select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .product-parameters .parameter-options label,
    .product-parameters .parameter-options select {
        display: block;
        margin-right: 0;
    }
}

/* Custom styles for Blind Price Grid plugin */
.blind-custom-fields-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 5px;
    border: 1px solid #ccc;
    max-width: 400px;
    margin: 0 auto 20px auto;
}

.blind-unit-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.blind-dimensions,
.blind-price-calculate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dimension-unit {
    margin-left: 5px;
    font-size: 14px;
}

.blind-calculated-price {
    margin-top: 10px;
    text-align: center;
}

.price-display {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.blind-lead-time {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.custom-box-style {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.custom-unit-style {
    background-color: #e9ecef;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    text-align: center;
}

.custom-unit-style label {
    margin-right: 15px;
}

.custom-unit-style input {
    margin-right: 5px;
}

.error-message {
    color: red;
    margin-top: 10px;
    font-size: 20px;
    text-align: center;
}

/* Hide the default WooCommerce Add to Cart button */
.single_add_to_cart_button {
    display: none !important;
}