/* Search Section Container */
.search-section-container {
    position: relative;
    width: 100%;
    padding: 40px 20px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-section {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.3);
    overflow: hidden;
    border: 2px solid #1a237e;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.search-box:focus-within {
    box-shadow: 0 15px 40px rgba(30, 136, 229, 0.5);
    transform: translateY(-5px);
}

.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    position: relative;
}

.search-icon {
    font-size: 1.1rem;
    color: #1a237e;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: #333;
    background: transparent;
    padding: 0;
}

.search-input::placeholder {
    color: #757575;
}

.clear-search {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    width: 28px;
    height: 28px;
}

.clear-search:hover {
    background: #f0f0f0;
    color: #666;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    overflow: hidden;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    animation: fadeIn 0.3s ease-out;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    background: #f9f9f9;
}

.search-results-header span {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.close-results {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.close-results:hover {
    background: #f0f0f0;
    color: #666;
}

.search-results-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.no-results {
    text-align: center;
    color: #666;
    padding: 30px 0;
}

.no-results-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

.no-results p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.no-results small {
    font-size: 0.9rem;
    color: #999;
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.search-result-item:hover {
    background: #f8f9fa;
    border-color: #4a90e2;
    transform: translateX(5px);
}

.result-content {
    flex: 1;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-title {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 1.05rem;
}

.result-category {
    font-size: 0.8rem;
    background: #e3f2fd;
    color: #1976d2;
    padding: 3px 10px;
    border-radius: 12px;
}

.result-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.result-keywords {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.keyword-tag {
    font-size: 0.75rem;
    background: #f5f5f5;
    color: #666;
    padding: 3px 8px;
    border-radius: 10px;
}

.result-arrow {
    color: #999;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Blue light effect */
.blue-light-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, rgba(33, 150, 243, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

/* Responsive design */
@media (max-width: 768px) {
    .search-section-container {
        padding: 30px 15px;
    }
    
    .search-section {
        max-width: 100%;
    }
    
    .search-input-group {
        padding: 15px;
    }
    
    .search-results-dropdown {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 10px;
        margin-top: 0;
    }
}