:root {
    --primary-color: #348a73;
    --hover-color: #1a5841;
    --bg-color: #f8f9fa;
    --border-color: #ddd;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

h2 {
    font-size: 22px;
    color: #444;
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.search-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    text-align: center;
    padding: 0 20px;
}

.search-box {
    width: 85%;
    max-width: 900px;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.search-button {
    width: 200px;
    padding: 12px 30px;
    font-size: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-container {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px auto;
    width: 90%;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.input-group.properties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 15px 0;
}

.node-input {
    display: flex;
    flex: 1;
    gap: 10px;
}

.node-input input {
    flex: 1;
}

.frosted {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
}

.button, .search-button, .form-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 14px;
    font-size: 16px;
    margin: 5px;
}

.button:hover, .search-button:hover, .form-button:hover {
    background-color: var(--hover-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-button {
        width: 50%;
        min-width: auto;
    }
    
    .form-container {
        width: 95%;
        padding: 15px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-group.properties {
        grid-template-columns: 1fr;
    }
    
    .node-input {
        flex-direction: column;
        width: 100%;
    }
}
