.jttsp-main-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.jttsp-config-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    border: 1px solid #e9ecef;
}

.jttsp-config-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jttsp-config-item label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.jttsp-config-item input[type="text"] {
    padding: 8px 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    width: 160px;
    transition: border-color 0.3s;
    font-size: 13px;
}

.jttsp-config-item input[type="text"]:focus {
    border-color: #2196F3;
    outline: none;
}

.jttsp-config-item select {
    padding: 8px 12px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    width: 140px;
    transition: border-color 0.3s;
    font-size: 13px;
    background: white;
}

.jttsp-config-item select:focus {
    border-color: #2196F3;
    outline: none;
}

.jttsp-editor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: 400px;
}

.jttsp-editor-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jttsp-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 2px solid #2196F3;
}

.jttsp-editor-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jttsp-editor-title i {
    color: #2196F3;
    font-size: 18px;
}

.jttsp-json-input {
    width: 100%;
    height: 400px;
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    resize: vertical;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: #fafbfc;
}

.jttsp-json-input:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.3), 0 0 10px rgba(33, 150, 243, 0.1);
}

.jttsp-json-input::placeholder {
    color: #adb5bd;
}

.jttsp-ts-output {
    width: 100%;
    height: 400px;
    padding: 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: #263238;
    color: #aed581;
    overflow-y: auto;
    white-space: pre;
    tab-size: 2;
}

.jttsp-action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.jttsp-sample-btn {
    padding: 8px 16px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.jttsp-sample-btn:hover {
    background: #5a6268;
}

.jttsp-stats-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.jttsp-success-msg {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 13px;
    display: none;
    align-items: center;
    gap: 8px;
    border-left: 4px solid #4CAF50;
}

.jttsp-success-msg.show {
    display: flex;
}

@media screen and (max-width: 900px) {
    .jttsp-editor-container {
    grid-template-columns: 1fr;
    gap: 15px;
    }

    .jttsp-config-panel {
    flex-direction: column;
    align-items: flex-start;
    }

    .jttsp-action-buttons {
    flex-direction: column;
    align-items: stretch;
    }
}