.aps-wrapper { position: relative; }

.aps-toggle {
    cursor: pointer;
    font-size: 20px;
}


.aps-search-box {
    margin-top: 10px;
    position: absolute;
    width: 300px;
    z-index: 1000;
    right:-130px;
}

input.aps-input{
    border:none;
}

.aps-wrapper {
    position: relative;
}

/* ICON BUTTON */
.aps-toggle {
    cursor: pointer;
    font-size: 18px;
    color: #fff;
}



/* INNER PILL DESIGN */
.aps-search-inner {
    position: relative;
    background: #f5f5f5;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    padding: 8px 50px 8px 20px;
}

/* INPUT */
.aps-input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
}

/* SEARCH ICON INSIDE */
.aps-icon {
    position: absolute;
    right: 45px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

/* CLOSE BUTTON */
.aps-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

/* RESULTS DROPDOWN */
.aps-results {
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* RESULT ITEM */
.aps-results a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.aps-results a:hover {
    background: #f9f9f9;
}

/* MOBILE FULL WIDTH */
@media(max-width:768px){
   

    .aps-search-inner {
        border-radius: 50px;
    }
}
.aps-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    outline: none;
}

.aps-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
    border: none;
    padding: 0px !important;
}

.aps-results {
    background: #fff;
    margin-top: 5px;
}

.aps-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    text-decoration: none;
    align-items: center;
}

.aps-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.aps-item:hover {
    background: #f5f5f5;
}

.aps-no-result {
    padding: 10px;
}