/**
 * Copyright © MageWorx. All rights reserved.
 * See LICENSE.txt for license details.
 */

/* Dynamic Option Hint Display - shown below input field */
.dynamic_option_hint_display {
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #f5f5f5;
    border-left: 3px solid #1979c3;
    font-size: 13px;
    color: #666;
    display: inline-block;
}

/* Measurement unit styling */
.dynamic_option_measurement_unit {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-left: 5px;
}

/* Area calculation display */
.dynamic_option_area_display {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    font-size: 15px;
    color: #2e7d32;
    border-radius: 3px;
}

.dynamic_option_area_display strong {
    font-weight: 600;
}

.dynamic_option_area_display .area-value {
    font-size: 18px;
    font-weight: bold;
    color: #1b5e20;
}

/* Stock warning display */
.dynamic_option_stock_warning {
    margin-top: 15px;
    padding: 12px 15px;
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    font-size: 14px;
    color: #c62828;
    border-radius: 3px;
}

.dynamic_option_stock_warning strong {
    font-weight: 600;
    color: #b71c1c;
}

.dynamic_option_stock_warning .warning-text {
    display: block;
    margin-top: 5px;
}

/* Make sure the control div can accommodate the hint */
.field .control {
    position: relative;
}