/* 新增表单动画效果 */
.search-container form {
    position: relative;
    animation: formAppear 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes formAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-highlight {
    border-radius: 15px;
    background: linear-gradient(145deg, #f0f5ff, #e0eaff);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.form-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    animation: highlightPulse 3s ease-in-out infinite;
    z-index: 0;
}

@keyframes highlightPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(0.8);
        opacity: 0.7;
    }
}

.form-highlight .search-box {
    position: relative;
    z-index: 1;
    border: 2px solid #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.3);
}

.form-highlight .search-button {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #4a90e2, #2a70c8);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.form-highlight .search-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.6);
}

/* 其他元素轻微动画 */
.card-container {
    animation: fadeIn 1s 0.5s forwards;
    opacity: 0;
}

.button {
    animation: fadeIn 1s 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}