
.json-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.json-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.json-textarea {
    width: 100%;
    height: 400px;
    padding: 15px;
    border: 1px solid #333;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
    resize: none;
}

.json-textarea:focus {
    border-color: #22c55e;
}

.json-textarea.error {
    border-color: #ef4444;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #2adb5c;
}

.format-options {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.option-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-group label {
    color: #ffffff;
    font-size: 14px;
}


.action-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.error-message {
    background: #2a1a1a;
    border: 1px solid #333;
    color: #dc2626;
    padding: 12px;
    margin: 10px 0;
    font-size: 14px;
    box-shadow: none;
}

.success-message {
    background: #1a2a1a;
    border: 1px solid #333;
    color: #16a34a;
    padding: 12px;
    margin: 10px 0;
    font-size: 14px;
}

.stats {
    background: #000000;
    border: 1px solid #333;
    padding: 15px;
    margin: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #2adb5c;
}

.stat-label {
    font-size: 12px;
    color: #ffffff;
    margin-top: 4px;
}

/* Panel Controls */
.panel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Tree View Styles */
.tree-view {
    background: #000000;
    border: 1px solid #2adb5c;
    padding: 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    overflow: auto;
    max-height: 400px;
}

.tree-node {
    margin-left: 0;
    position: relative;
}

.tree-node.expandable {
    cursor: pointer;
}

.tree-node.expandable:hover {
    background: rgba(42, 219, 92, 0.1);
}

.tree-key {
    color: #2adb5c;
    font-weight: 600;
}

.tree-string {
    color: #34d399;
}

.tree-number {
    color: #fbbf24;
}

.tree-boolean {
    color: #f87171;
}

.tree-null {
    color: #6b7280;
    font-style: italic;
}

.tree-bracket {
    color: #d1d5db;
    font-weight: bold;
}

.tree-expand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    color: #9ca3af;
    transition: transform 0.2s ease;
}

.tree-expand-icon svg {
    transition: transform 0.2s ease;
}

.tree-node.expandable:hover .tree-expand-icon {
    color: #2adb5c;
}

.tree-children {
    margin-left: 20px;
    border-left: 1px solid #444;
    padding-left: 10px;
}

.tree-children.collapsed {
    display: none;
}

@media (max-width: 768px) {
    .json-container {
        flex-direction: column;
    }

    .format-options {
        justify-content: center;
    }
    
    .panel-controls {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .view-selector {
        min-width: 120px;
    }
}

/* Fullscreen Mode Styles */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    padding: 20px;
    box-sizing: border-box;
}

.fullscreen-content {
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fullscreen-header {
    padding: 15px 20px;
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fullscreen-title {
    color: #2adb5c;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.fullscreen-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.2s ease;
}

.fullscreen-close:hover {
    background: #2a2a2a;
    color: #2adb5c;
}

.fullscreen-body {
    flex: 1;
    overflow: auto;
}

.fullscreen-textarea {
    width: 100%;
    height: 100%;
    background: #000000;
    border: 1px solid #333;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    padding: 15px;
    resize: none;
    outline: none;
    box-sizing: border-box;
}

.fullscreen-tree {
    width: 100%;
    height: 100%;
    background: #000000;
    border: 1px solid #1a1a1a;
    border-top: 0;
    padding: 15px;
    overflow: auto;
    box-sizing: border-box;
}

/* SEO Optimized Content Styles */


.features-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.feature-item_formatter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #2adb5c 0%, #22c55e 100%);
    color: white;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(42, 219, 92, 0.3);
    ;
}

.feature-item_formatter i {
    font-size: 16px;
}

.about-section,
.faq-section {
    color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.about-section {
    margin-bottom: 32px;
}


.about-section::before,
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.about-section::after,
.faq-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transition: left 0.5s ease;
}


.about-section h2,
.faq-section h2 {
    color: #2adb5c;
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2adb5c 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.about-section h3 {
    color: #2adb5c;
    margin: 20px 0 12px 0;
    font-size: 1.125rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2adb5c 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.features-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.features-list li {
    padding: 12px 0;
    line-height: 1.6;
    color: #ffffff;
    font-weight: 400;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list strong {
    color: #2adb5c;
    font-weight: 600;
}

.faq-item {
    /* margin-bottom: 20px; */
    padding-bottom: 16px;
    position: relative;
    z-index: 1;
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    color: #2adb5c;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #2adb5c 0%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item p {
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .features-highlight {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item_formatter {
        width: 100%;
        justify-content: center;
        max-width: 250px;
    }
}