/*.form-group { margin-bottom: 15px; }*/
/*.form-group label {*/
/*    display: block;*/
/*    margin-bottom: 5px;*/
/*    font-weight: bold;*/
/*    font-size: 0.9em;*/
/*    color: #606770;*/
/*}*/
.mcp-tool-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mcp-tool-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.mcp-tool-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: #f8f9fa;
    transition: background-color 0.3s;
}

.mcp-tool-header:hover {
    background-color: #f1f8ff;
}

.tool-info {
    flex: 1;
}

.mcp-tool-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 4px;
}

.mcp-tool-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

.toggle-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #edf2f7;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.toggle-icon svg {
    width: 16px;
    height: 16px;
    fill: #7f8c8d;
    transition: fill 0.3s;
}

.mcp-tool-item.active .toggle-icon {
    transform: rotate(180deg);
    background-color: #3498db;
}

.mcp-tool-item.active .toggle-icon svg {
    fill: white;
}

/* 参数区域样式 - 初始隐藏 */
.mcp-tool-parameters {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: #fff;
}

.mcp-tool-item.active .mcp-tool-parameters {
    max-height: 600px;
}

.param-container {
    padding: 20px;
    border-top: 1px solid #eee;
}

.param-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e0e6ed;
}

.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #4a5568;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.form-group input::placeholder {
    color: #a0aec0;
    font-style: italic;
}