/* Container */
.search-container {
    max-width: 700px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Search box */
#search-box {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border: 2px solid #ccc;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#search-box:focus {
    border-color: #0078d4; /* Microsoft blue */
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.25);
    outline: none;
}

/* Results container */
#search-results {
    margin-top: 1.5rem;
}

/* Each result */
.search-result {
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    background: #fafafa;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.search-result:hover {
    background: #f0f8ff;
    border-color: #0078d4;
}

/* Title */
.search-result h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.25rem;
}

.search-result h3 a {
    text-decoration: none;
    color: #0078d4;
}

.search-result h3 a:hover {
    text-decoration: underline;
}

/* Snippet */
.search-result p {
    margin: 0;
    color: #555;
    line-height: 1.4;
}

/* “No results” message */
#search-results p {
    font-style: italic;
    color: #777;
}

#search-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.search-highlight {
    background-color: #ffeb3b;
    padding: 0 2px;
}

.search-suggestion {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.search-suggestion a {
    color: #0078d4;
    text-decoration: none;
    font-weight: bold;
}

.search-suggestion a:hover {
    text-decoration: underline;
}
