/**
 * LM Custom Print Options Styles
 */

p#lmcpo-total-price-display {
    font-size: var(--text-s);
    margin-bottom: 10px;
}

.lm-custom-print-options h4 {
    font-size: var(--text-m);
    color: #333;
}

/* Old styles for radio buttons - can be removed or commented out */
/*
.lm-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 7px;
}

.lm-option-buttons input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lm-option-buttons label {
    color: black;
    display: inline-block;
    padding: 8px 15px;
    font-size: calc(var(--text-m) * 0.8);
    background-color: #ffffff;
    border: 2px solid #eee;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lm-option-buttons input[type="radio"]:checked + label {
    background-color: black;
    color: white;
    border-color: black;
}

.lm-option-buttons label:hover {
    border-color: black;
}
*/

/* New Dropdown Styles */
.lm-print-size-selector {
    position: relative; /* For positioning the native select */
    display: inline-block; /* Or block, depending on layout needs */
    width: 100%; /* Adjust as needed, e.g., 200px or auto */
    max-width: 300px; /* Example max-width */
    margin: 10px 0 7px;
}

.lm-custom-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px 10px 15px;
    font-size: calc(var(--text-m) * 0.9);
    color: #333;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none; /* Prevent text selection on the trigger */
}

.lm-custom-dropdown-trigger:hover,
.lm-custom-dropdown-trigger:focus {
    border-color: black;
    outline: none; /* Or a custom focus style */
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.lm-selected-size-text {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lm-dropdown-arrow {
    margin-left: 10px;
    font-size: 1.5em; /* Increased size */
    color: #555;
    display: inline-flex; /* For better SVG alignment */
    align-items: center;  /* Vertically center SVG in span */
}

.lm-native-select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Makes the native select invisible */
    cursor: pointer; /* Ensures cursor indicates interactivity */
    /* Allow native select to handle font size for its options list if desired, or set explicitly */
    font-size: 16px; /* Affects the size of the dropdown options list on some browsers */
    border: none; /* Remove default border if any */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    -webkit-appearance: none; /* Removes default styling on WebKit browsers */
    -moz-appearance: none; /* Removes default styling on Firefox */
    appearance: none; /* Removes default styling */
}

/* 
.lm-custom-price-display {
    margin-top: 15px;
    padding: 10px;
    background-color: #f0f0f0;
    border-left: 4px solid #4CAF50;
}

.lm-custom-price-display p.price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.lm-custom-price-display .lm-custom-price {
    color: #4CAF50;
} */
