/**
 * TechDoot Mega Menu & Live Search Stylesheet
 */

/* Live Search Modal Overlay */
.td-search-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.td-search-modal-box {
    width: 100%;
    max-width: 680px;
    background: var(--td-surface);
    border: 1px solid var(--td-border);
    border-radius: var(--td-radius-lg);
    box-shadow: var(--td-shadow-lg);
    overflow: hidden;
}

.td-search-input-wrap {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--td-border);
    background: var(--td-card);
}

.td-search-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    color: var(--td-text);
    outline: none;
    padding: 0.25rem 0.75rem;
}

.td-search-results-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
}

.td-search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--td-radius-sm);
    text-decoration: none;
    transition: background 0.15s ease;
}

.td-search-result-item:hover {
    background: var(--td-surface);
}

.td-search-result-thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
