body {
    /*background-color: #f8f9fa;*/
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}
.header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.logo {
    font-weight: 700;
    font-size: 2.2rem;
    letter-spacing: 1px;
}
.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}
.editor-container, .visualization-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
    height: 600px;
}
.visualization-container {
    background: #1e1e1e;
    overflow: hidden;
    position: relative;
}
#jsoneditor {
    width: 100%;
    height: 450px;
}
.btn-primary {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #5a0db8 0%, #1c68f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn-outline-secondary {
    border-color: #6a11cb;
    color: #6a11cb;
}
.btn-outline-secondary:hover {
    background-color: #6a11cb;
    color: white;
}
.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.json-example {
    font-size: 0.85rem;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    cursor: pointer;
}
.json-example:hover {
    background-color: #e9ecef;
}
footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    color: #6c757d;
    font-size: 0.9rem;
}
#tree-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.node circle {
    fill: #6a11cb;
    r: 8;
    cursor: pointer;
    transition: all 0.2s ease;
}
.node circle:hover {
    r: 10;
    fill: #2575fc;
}
.node text {
    font-size: 12px;
    /*fill: white;*/
    font-weight: 500;
}
.node.internal circle {
    fill: #2575fc;
}
.node.leaf circle {
    fill: #4cc9f0;
}
.link {
    fill: none;
    stroke: #6a11cb;
    stroke-width: 1.5px;
    opacity: 0.7;
}
.controls {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}
.controls button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.controls button:hover {
    background: rgba(255, 255, 255, 0.3);
}
.node-type {
    font-size: 10px;
    fill: #aaa;
}
.node-value {
    font-size: 10px;
    fill: #ccc;
    font-style: italic;
}
.zoom-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
}
.leaf-node {
    cursor: default;
}
.leaf-node circle {
    fill: #4cc9f0 !important;
}
