/* Custom Glass Dropdown */
.custom-select-wrapper {
    position: relative;
    user-select: none;
    margin-bottom: 1.5rem;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.select-trigger {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.25rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    /* Placeholder color by default */
    background: linear-gradient(145deg, rgba(8, 12, 24, 0.6) 0%, rgba(15, 23, 42, 0.5) 100%);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* Matches tech items */
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.select-trigger:hover {
    border-color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(56, 189, 248, 0.1);
}

.custom-select.open .select-trigger {
    border-color: var(--accent-color);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -3px;
    border: solid var(--text-muted);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.custom-select.open .arrow::after {
    transform: rotate(-135deg);
    margin-top: 0;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--accent-color);
    border-top: 0;
    border-radius: 16px;
    margin-top: 0.5rem;
    /* Detached dropdown look */
    background-color: rgba(15, 23, 42, 0.5);
    /* Semi-transparent dark blue */
    backdrop-filter: blur(60px) saturate(220%);
    -webkit-backdrop-filter: blur(60px) saturate(220%);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover,
.custom-option.selected {
    background-color: rgba(56, 189, 248, 0.15);
    /* Accent color tint */
    color: white;
}