body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 0;
}

.tdm-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #cc0000;
    padding: 8px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.tdm-top-bar-button {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.tdm-top-bar-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.container {
    max-width: 1000px;
    margin: 30px auto;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

h1 {
    color: #111;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 28px;
}

p {
    line-height: 1.6;
    color: #555;
    font-size: 16px;
}

.json-editor-container {
    margin-top: 30px;
}

#json-input {
    width: 100%;
    min-height: 250px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: monospace;
    font-size: 15px;
    box-sizing: border-box;
    resize: vertical;
}

.editor-actions {
    margin: 15px 0;
    display: flex;
    gap: 10px;
}

.editor-actions button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.editor-actions button#clear-btn {
    background-color: #6c757d;
}

#json-output {
    background-color: #282c34;
    /* Koyu tema */
    color: #abb2bf;
    padding: 20px;
    border-radius: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 15px;
    min-height: 250px;
    border: 1px solid #212529;
}

#status-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    font-weight: 500;
    display: none;
    /* Başlangıçta gizli */
}

#status-message:not(:empty) {
    display: block;
    /* İçerik gelince göster */
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.warn {
    background-color: #fff3cd;
    color: #856404;
}

/* Syntax Highlighting Stilleri */
#json-output .string {
    color: #98c379;
}

#json-output .number {
    color: #d19a66;
}

#json-output .boolean {
    color: #56b6c2;
}

#json-output .null {
    color: #c678dd;
}

#json-output .key {
    color: #e06c75;
}