body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* Layout */
.app {
    display: flex;
    height: 100vh;
}

/* LEFT PANEL */
.left-panel {
    width: 30%;
    padding: 20px;
    background: #f4f4f4;
}

.left-panel input,
.left-panel select,
.left-panel textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

/* RIGHT PANEL */
.right-panel {
    width: 70%;
    padding: 20px;
}

/* Buttons */
button {
    padding: 8px 12px;
    margin: 5px;
    background: #ff6c37;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Tabs */
.tabs {
    margin-bottom: 10px;
}

.tabs button {
    background: #ddd;
    color: black;
}

.tab-content {
    height: 80vh;
    overflow: auto;
}



/* 🌙 Dark Mode */
.dark {
    background: #121212;
    color: white;
}

.dark .left-panel {
    background: #1e1e1e;
}

.dark pre {
    background: black;
}
.response-card {
    background: #0f0f0f;
    color: #e5e5e5;
    padding: 15px;
    border-radius: 10px;
    font-family: monospace;
    width: 100%;          /* ✅ ADD */
}
.response-card h3 {
    color: #00ffcc;
    margin-bottom: 10px;
}

/* FIX STATUS ALIGNMENT */
.top-row {
    display: flex;
    align-items: center;
    gap: 10px;   /* 🔥 controls spacing */
    margin-bottom: 12px;
}

/* STATUS BOX */
.status {
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: bold;
     margin-left: 10px;
}

.status.success {
    background: #1e3a2f;
    color: #00ff88;
}

.status.error {
    background: #3a1e1e;
    color: #ff4d4d;
}

/* FIX INFO SPREAD */
.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
}
.response-data {
    margin-top: 10px;
    padding: 10px;
    background: #1a1a1a;
    border-radius: 6px;
    font-size: 13px;
    overflow-x: auto;
    max-height: 300px;
}