/* ==============================
   ULTRA PRO WRAPPER
============================== */

.uls-wrapper{
    position:relative;
    max-width:520px;
    font-family: Inter, system-ui, sans-serif;
}

/* ==============================
   INPUT FIELD (Glass Style)
============================== */

.uls-input{
    width:100%;
    padding:14px 18px;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.15);
    background:linear-gradient(145deg,#1e1f2b,#151622);
    color:#fff;
    font-size:15px;
    outline:none;
    transition:all .3s ease;
    backdrop-filter: blur(8px);
    box-shadow:0 8px 25px rgba(0,0,0,.35);
}

.uls-input::placeholder{
    color:#888;
}

.uls-input:focus{
    border-color:#4f46e5;
    box-shadow:0 0 0 2px rgba(79,70,229,.4),
               0 8px 25px rgba(0,0,0,.4);
}

/* ==============================
   DROPDOWN (Dark Glass Panel)
============================== */

.uls-dropdown{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    margin-top:8px;
    border-radius:20px;
    background:rgba(20,21,30,0.85);
    backdrop-filter: blur(16px);
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 25px 60px rgba(0,0,0,.55);
    max-height:420px;
    overflow-y:auto;
    animation:fadeIn .25s ease;
}

@keyframes fadeIn{
    from{opacity:0;transform:translateY(8px);}
    to{opacity:1;transform:translateY(0);}
}

/* ==============================
   TOTAL COUNT
============================== */

.uls-total{
    padding:12px 18px;
    font-size:12px;
    text-align: center;
    color:#9ca3af;
    border-bottom:1px solid rgba(255,255,255,0.05);
}

/* ==============================
   RESULT LIST
============================== */

.uls-results{
    list-style:none;
    margin:0;
    padding:0;
}

/* ==============================
   ITEM
============================== */

.uls-item{
    padding:14px 18px;
    cursor:pointer;
    transition:all .25s ease;
    border-bottom:1px solid rgba(255,255,255,0.04);
}

.uls-item:last-child{
    border-bottom:none;
}

.uls-item:hover{
    background:linear-gradient(90deg,
        rgba(79,70,229,.15),
        rgba(16,185,129,.10));
}

/* ==============================
   ROW STRUCTURE
============================== */

.uls-row{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.uls-block{
    display:flex;
    flex-direction:column;
}

/* ==============================
   LABELS
============================== */

.uls-label{
    font-size:10px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    opacity:.6;
}

.product-label{
    color:#d7da0b;
}

.file-label{
    color:#01ffab;
}

/* ==============================
   LINKS
============================== */

.uls-product{
    font-weight:600;
    font-size:15px;
    color:#fff;
    text-decoration:none;
    transition:.2s;
}

.uls-file{
    font-size:13px;
    color:#cbd5e1;
    text-decoration:none;
    transition:.2s;
}

.uls-product:hover{
    color:#818cf8;
}

.uls-file:hover{
    color:#34d399;
}

/* ==============================
   HIGHLIGHT
============================== */

mark{
    background:linear-gradient(90deg,#facc15,#f59e0b)!important;
    color:#111;
    padding:2px 6px;
    border-radius:6px;
}

/* ==============================
   LOADER
============================== */

.uls-loader{
    padding:15px;
    text-align:center;
    color: #01ffeb;
}

.uls-loader::after{
    content:"";
    display:inline-block;
    width:22px;
    height:22px;
    border:3px solid rgba(255,255,255,.2);
    border-top-color:#6366f1;
    border-radius:50%;
    animation:spin .6s linear infinite;
}

@keyframes spin{
    to{transform:rotate(360deg);}
}

/* ==============================
   EMPTY STATE
============================== */

.uls-empty{
    text-align:center;
    padding:25px;
    color:#9ca3af;
}

.uls-empty .icon{
    font-size:30px;
    margin-bottom:8px;
}

/* ==============================
   SCROLLBAR STYLING
============================== */

.uls-dropdown::-webkit-scrollbar{
    width:8px;
}

.uls-dropdown::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.15);
    border-radius:10px;
}

.uls-dropdown::-webkit-scrollbar-thumb:hover{
    background:rgba(255,255,255,.25);
}
