/* 搜索框样式 - 匹配网站整体风格，放置在图片下方 */
.search-container {
    width: 100%;
    background: transparent;
    padding: 15px 0;
    margin: 0 auto;
}

.search-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #1a1a1a;
    padding: 12px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.search-input {
    flex: 1;
    max-width: 600px;
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
    border: 2px solid #444;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: #fff;
}

.search-input:focus {
    border-color: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
    background: #333;
}

.search-input::placeholder {
    color: #888;
}

.search-button {
    height: 42px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    white-space: nowrap;
}

.search-button:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff4040 100%);
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.5);
    transform: translateY(-1px);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-container {
        padding: 12px 0;
    }
    
    .search-form {
        padding: 10px 12px;
        gap: 8px;
    }
    
    .search-input {
        max-width: 100%;
        height: 40px;
        font-size: 13px;
        padding: 0 15px;
    }
    
    .search-button {
        height: 40px;
        padding: 0 25px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 10px 15px;
    }
    
    .search-form {
        flex-direction: column;
        gap: 10px;
        padding: 12px;
    }
    
    .search-input {
        width: 100%;
        height: 38px;
    }
    
    .search-button {
        width: 100%;
        height: 38px;
    }
}

/* 深色主题优化 */
@media (prefers-color-scheme: dark) {
    .search-form {
        background: #0d0d0d;
    }
    
    .search-input {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .search-input:focus {
        background: #252525;
    }
}

