body {
    /*background-color: #f8f9fa;*/
    /*padding-top: 20px;*/
    /*padding-bottom: 60px;*/
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}
.header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border: none;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card-header {
    background-color: #f1f3f5;
    border-bottom: none;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0 !important;
}
.form-control, .form-select {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}
.btn-primary {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1a2530);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn-outline-secondary {
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-outline-secondary:hover {
    transform: translateY(-2px);
}
.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    transition: all 0.3s;
}
.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #a23526);
    transform: translateY(-2px);
}
.alert {
    border-radius: 8px;
    border: none;
}
.example-link {
    cursor: pointer;
    color: #3498db;
    text-decoration: underline;
    transition: color 0.3s;
}
.example-link:hover {
    color: #2c3e50;
}
.highlight {
    background-color: #fff8e1;
    transition: background-color 0.3s;
}
.footer {
    text-align: center;
    margin-top: 40px;
    color: #6c757d;
    font-size: 0.9rem;
}
.button-group {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.button-group .btn {
    flex: 1;
}
.feature-list {
    list-style-type: none;
    padding: 0;
}
.feature-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}
.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}
.tool-card {
    height: 100%;
}
.instructions {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}
/* CodeMirror容器样式 */
.editor-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.CodeMirror {
    height: 300px;
    font-family: 'Fira Code', 'Monaco', 'Consolas', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 0 0 8px 8px;
}
.CodeMirror-gutters {
    background-color: #f8f9fa;
    border-right: 1px solid #eee;
}
.nav-pills .nav-link.active {
    background: linear-gradient(135deg, #3498db, #2c3e50);
}
.nav-pills .nav-link {
    color: #3498db;
}
.example-type {
    margin-top: 15px;
}
.example-type .btn {
    margin-right: 8px;
    margin-bottom: 8px;
}
.debug-info {
    font-size: 0.85rem;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    display: none;
}
