
/* ========================================================
   Search UI
======================================================== */
.search-container {
    max-width: 600px;
    margin: 0 auto 40px auto;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 15px 50px 15px 50px;
    font-size: 1.1rem;
    border: 2px solid #e3f2fd;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    font-family: inherit;
}

.search-box:focus {
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.search-results {
    margin-top: 20px;
    display: none;
    text-align: left;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-height: 500px;
    overflow-y: auto;
}

.search-results.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.search-item {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item-title {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.search-item-meta {
    font-size: 0.85rem;
    color: #4a90e2;
    margin-bottom: 8px;
    font-weight: bold;
}

.search-item-summary {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.search-item a {
    text-decoration: none;
}

.search-item a:hover .search-item-title {
    color: #4a90e2;
}

.no-results {
    text-align: center;
    color: #7f8c8d;
    padding: 20px;
}

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