/* Global country/language/currency selector, calibrated from the supplied viagogo reference video. */

/* The original desktop header does not expose language/currency controls.
   Global settings are opened from the footer only. */
.vg-header-actions > .vg-currency-trigger {
    display: none !important;
}

.vg-currency-trigger {
    border: 0;
    background: transparent;
    color: #111;
    font: inherit;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.vg-currency-trigger::after { content: '⌄'; font-size: 11px; transform: translateY(-1px); }

.vg-setting-country,
.vg-setting-stack { cursor: pointer; }
.vg-setting-country:hover,
.vg-setting-stack:hover { border-color: #9aa5af; }

.vg-global-ui[hidden],
.vg-global-modal[hidden] { display: none !important; }
.vg-global-ui {
    position: fixed;
    inset: 0;
    z-index: 10020;
    font-family: Inter, Arial, sans-serif;
    color: #111;
}
.vg-global-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}
.vg-global-modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(576px, calc(100% - 32px));
    background: #fff;
    border-radius: 22px;
    padding: 24px 24px 26px;
    box-shadow: 0 20px 55px rgba(0,0,0,.24);
}
.vg-global-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.vg-global-modal-head h2 {
    margin: 0;
    font-size: 25px;
    line-height: 31px;
    font-weight: 700;
    letter-spacing: -.35px;
}
.vg-global-close {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.vg-global-field { margin-top: 18px; }
.vg-global-field:first-of-type { margin-top: 0; }
.vg-global-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 21px;
    font-weight: 700;
}
.vg-global-select-wrap { position: relative; }
.vg-global-select {
    width: 100%;
    height: 46px;
    appearance: none;
    border: 1px solid #c8cfd5;
    border-radius: 4px;
    background: #f7f8fa;
    color: #5d6672;
    font-size: 16px;
    line-height: 20px;
    padding: 0 42px 0 15px;
    outline: none;
}
.vg-global-select:focus { border-color: #759b43; box-shadow: 0 0 0 2px rgba(75,133,0,.12); }
.vg-global-select-wrap::after {
    content: '⌄';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-55%);
    pointer-events: none;
    color: #5d6672;
    font-size: 18px;
}
.vg-global-modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.vg-global-confirm {
    min-width: 84px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: #4b8500;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 0 18px;
    cursor: pointer;
}
.vg-global-confirm:hover { background: #3f7100; }
body.vg-global-lock { overflow: hidden; }

@media (max-width: 620px) {
    .vg-global-modal { width: calc(100% - 24px); padding: 22px 18px; border-radius: 18px; }
    .vg-global-modal-head h2 { font-size: 22px; }
    .vg-global-field label, .vg-global-select, .vg-global-confirm { font-size: 15px; }
}
