:root { 
    --admin-bg: #0f172a; 
    --panel-bg: #1e293b; 
    --accent: #38bdf8; 
}
body { 
    background: var(--admin-bg); 
    font-family: 'Inter', sans-serif; 
    color: white; 
    padding: 20px; 
    margin: 0;
}
.admin-card { 
    background: var(--panel-bg); 
    border-radius: 12px; 
    padding: 25px; 
    max-width: 1100px; 
    margin: 0 auto; 
    border: 1px solid #334155; 
}
.editor-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    border-bottom: 1px solid #334155; 
    padding-bottom: 15px; 
}
.view-controls { 
    display: flex; 
    gap: 5px; 
    background: #0f172a; 
    padding: 5px; 
    border-radius: 8px; 
    width: fit-content; 
    margin-bottom: 20px; 
}
.view-btn { 
    padding: 8px 18px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    background: transparent; 
    color: #94a3b8; 
    font-weight: 600; 
    transition: 0.3s; 
}
.view-btn.active { 
    background: var(--accent); 
    color: #0f172a; 
}
.json-editor { 
    width: 100%; 
    height: 600px; 
    font-family: 'Fira Code', monospace; 
    font-size: 14px; 
    padding: 20px; 
    border: 1px solid #334155; 
    border-radius: 8px; 
    background: #0b1120; 
    color: #7dd3fc; 
    line-height: 1.6; 
    resize: vertical; 
    outline: none; 
    box-sizing: border-box;
}
#form-helper { 
    display: none; 
    height: 600px; 
    overflow-y: auto; 
    padding: 20px; 
    background: #f8fafc; 
    border-radius: 8px; 
    color: #1e293b; 
}
.form-group { 
    margin-bottom: 15px; 
    border-left: 3px solid #cbd5e1; 
    padding-left: 15px; 
}
.form-group label { 
    display: block; 
    font-size: 0.7rem; 
    font-weight: 800; 
    color: #64748b; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
}
.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 10px; 
    border: 1px solid #e2e8f0; 
    border-radius: 6px; 
    font-size: 0.9rem; 
}
.btn-group { display: flex; gap: 10px; }
.action-btn { 
    padding: 10px 20px; 
    border-radius: 8px; 
    border: none; 
    cursor: pointer; 
    font-weight: 700; 
}
.btn-save { background: #10b981; color: white; }
.btn-format { background: #6366f1; color: white; }
.status-msg { 
    padding: 12px; 
    border-radius: 6px; 
    margin-bottom: 15px; 
    display: none; 
    text-align: center; 
    font-size: 0.9rem; 
    font-weight: 700; 
}

.btn-back {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    cursor: pointer;
    background: #0f172a; /* Same as your input background */
    color: #94a3b8; /* Same as your labels */
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #334155; /* Same as your input borders */
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: #1e293b;
    color: white;
    border-color: #38bdf8; /* Your accent color */
}