/* ===== SPLITBIT SEARCH — Icon only, popup on click ===== */

/* The trigger icon — circle with magnifier */
.sb-icon-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    cursor: pointer;
	border:none !important;
    color: #fff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
}


/* If used on a light/white navbar, add class sb-light to wrapper */
.sb-light .sb-icon-trigger {
    border-color: rgba(0, 0, 0, 0.55);
    color: #222;
}
.sb-light .sb-icon-trigger:hover {
    background: rgba(0, 0, 0, 0.07);
    border-color: #222;
}

/* ===== OVERLAY ===== */
.sb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 10, 20, 0.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    animation: sbFadeIn 0.22s ease;
}

.sb-overlay.sb-active {
    display: flex;
}

@keyframes sbFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ===== POPUP BOX ===== */
.sb-popup {
    width: 100%;
    max-width: 640px;
    margin: 0 16px;
    animation: sbSlideDown 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes sbSlideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}

.sb-popup-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 10px 14px 10px 22px;
    gap: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}

.sb-popup-icon {
    color: #aaa;
    flex-shrink: 0;
}

.sb-popup-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 17px;
    color: #1a1a2e;
    font-family: inherit;
    padding: 4px 0;
}

.sb-popup-input::placeholder {
    color: #bbb;
}

/* Close X button */
.sb-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #888;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
}

.sb-close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

/* Press ESC hint */
.sb-esc-hint {
    text-align: center;
    margin-top: 16px;
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    font-family: inherit;
    letter-spacing: 0.03em;
}
