/* Multipack Locale Popup */

/* ── Overlay ── */
.mlp-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .25s ease;
}

.mlp-popup-overlay.mlp-popup--visible {
    opacity: 1;
}

/* ── Card ── */
.mlp-popup {
    background: #fff;
    border-radius: 12px;
    padding: 36px 32px 28px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    text-align: center;
    transform: translateY(20px);
    transition: transform .25s ease;
}

.mlp-popup-overlay.mlp-popup--visible .mlp-popup {
    transform: translateY(0);
}

/* ── Title / subtitle ── */
.mlp-popup__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
}

.mlp-popup__subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #666;
}

/* ── Field ── */
.mlp-popup__field {
    margin-bottom: 18px;
    text-align: left;
}

#mlp-popup-overlay .mlp-popup__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

#mlp-popup-overlay .mlp-popup__field select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background: #fafafa;
    color: #222;
    appearance: auto;
    transition: border-color .15s ease;
}

#mlp-popup-overlay .mlp-popup__field select:focus {
    outline: none;
    border-color: rgb(127, 194, 65);
    box-shadow: 0 0 0 2px rgba(127, 194, 65, .25);
}

/* ── Select2 overrides ── */
#mlp-popup-overlay .select2-container {
    width: 100% !important;
}

#mlp-popup-overlay .select2-container--default .select2-selection--single {
    height: auto;
    padding: 10px 36px 10px 12px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background: #fafafa;
    color: #222;
}

#mlp-popup-overlay .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    line-height: normal;
    color: #222;
}

#mlp-popup-overlay .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

#mlp-popup-overlay .select2-container--default.select2-container--focus .select2-selection--single,
#mlp-popup-overlay .select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgb(127, 194, 65);
    box-shadow: 0 0 0 2px rgba(127, 194, 65, .25);
    outline: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #7fc241 !important;
}

/* Match Select2's own specificity (0,2,1) so border-radius wins */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border-radius: 8px;
}

/* ── Confirm button ── */
#mlp-popup-overlay .mlp-popup__button {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: rgb(127, 194, 65);
    border: 1px solid rgb(127, 194, 65);
    border-radius: 5px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

#mlp-popup-overlay .select2-results__option--highlighted{
    background-color: #7fc241 !important;
}
#mlp-popup-overlay input.select2-search__field{
    border-radius: 8px !important;
}

#mlp-popup-overlay span.select2-selection__rendered {
    border:none !important;
}