.nova-select-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.nova-select {
    position: relative;
    width: 100%;
    color: #fff;
    font-family: inherit;
}

.nova-select-trigger {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 46px 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028)),
        rgba(5, 8, 8, 0.78);
    color: rgba(255, 255, 255, 0.9);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nova-select-trigger::after {
    content: "";
    position: absolute;
    right: 18px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--nova-green, #10b981);
    border-bottom: 2px solid var(--nova-green, #10b981);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 180ms ease, opacity 180ms ease;
    opacity: 0.9;
}

.nova-select-value {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nova-select:not(.has-value) .nova-select-value {
    color: rgba(255, 255, 255, 0.58);
}

.nova-select-trigger:hover {
    border-color: rgba(16, 185, 129, 0.35);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
        rgba(5, 10, 10, 0.88);
}

.nova-select-trigger:focus-visible,
.nova-select.is-open .nova-select-trigger {
    border-color: var(--nova-green, #10b981);
    background: rgba(16, 185, 129, 0.065);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.nova-select.is-open .nova-select-trigger::after {
    transform: translateY(3px) rotate(225deg);
}

.nova-select.is-invalid .nova-select-trigger {
    border-color: rgba(248, 113, 113, 0.8);
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}

.nova-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 10050;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(18, 20, 20, 0.98), rgba(8, 9, 10, 0.98)),
        rgba(10, 12, 12, 0.98);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(16, 185, 129, 0.06);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top center;
    transition: opacity 160ms ease, visibility 160ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nova-select.is-open .nova-select-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.nova-select.is-dropup .nova-select-menu {
    top: auto;
    bottom: calc(100% + 10px);
    transform-origin: bottom center;
}

.nova-select-search {
    width: 100%;
    min-height: 42px;
    margin-bottom: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    color: rgba(255, 255, 255, 0.92);
    font: inherit;
    font-size: 0.9rem;
    outline: none;
}

.nova-select-search::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.nova-select-search:focus {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.nova-select-options {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 185, 129, 0.65) rgba(255, 255, 255, 0.06);
}

.nova-select-options::-webkit-scrollbar {
    width: 6px;
}

.nova-select-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 999px;
}

.nova-select-options::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.7);
    border-radius: 999px;
}

.nova-select-option {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 36px 10px 12px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.nova-select-option:hover,
.nova-select-option.is-active {
    background: rgba(255, 255, 255, 0.065);
    color: #fff;
}

.nova-select-option[aria-selected="true"] {
    background: rgba(16, 185, 129, 0.14);
    color: #fff;
}

.nova-select-option[aria-selected="true"]::after {
    content: "";
    position: absolute;
    right: 14px;
    width: 7px;
    height: 12px;
    border-right: 2px solid var(--nova-green, #10b981);
    border-bottom: 2px solid var(--nova-green, #10b981);
    transform: rotate(45deg);
}

.nova-select-empty {
    padding: 18px 12px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.88rem;
    text-align: center;
}

.waitlist-form-group .nova-select-trigger {
    min-height: 52px;
    border-radius: var(--radius-lg, 14px);
    background: rgba(255, 255, 255, 0.03);
}

.form-group .nova-select-trigger {
    min-height: 56px;
    border-radius: 14px;
}

.order-modal-input-group:has(.nova-select) {
    overflow: visible;
}

.order-modal-input-group .nova-select-trigger {
    min-height: 52px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .nova-select-menu {
        position: fixed;
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        max-height: min(68vh, 520px);
        border-radius: 24px;
        padding: 10px;
        transform: translateY(18px) scale(0.98);
        transform-origin: bottom center;
    }

    .nova-select.is-open .nova-select-menu {
        transform: translateY(0) scale(1);
    }

    .nova-select-options {
        max-height: min(52vh, 390px);
    }

    .nova-select-option {
        min-height: 48px;
        font-size: 1rem;
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nova-select-trigger,
    .nova-select-menu,
    .nova-select-option {
        transition: none;
    }
}
