:root {
--primary-color: #0d47a1; /* SAP Blue */
--secondary-color: #1976d2;
--background-color: #f5f7fa;
--card-bg: #ffffff;
--text-color: #333333;
--border-color: #e0e0e0;
--success-color: #4caf50;
--error-color: #f44336;
}
body {
font-family: 'Roboto', sans-serif;
background-color: var(--background-color);
margin: 0;
padding: 0;
color: var(--text-color);
}
.app-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
display: flex;
flex-direction: column;
height: 95vh;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--card-bg);
padding: 15px 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
margin-bottom: 20px;
}
.logo {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
}
.status-indicator {
display: flex;
align-items: center;
gap: 8px;
font-size: 0.9rem;
}
.status-dot {
width: 12px;
height: 12px;
background-color: var(--error-color);
border-radius: 50%;
display: inline-block;
}
.status-dot.connected {
background-color: var(--success-color);
box-shadow: 0 0 8px var(--success-color);
}
main {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.card {
background: var(--card-bg);
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
h2 {
margin-top: 0;
font-size: 1.2rem;
color: var(--primary-color);
border-bottom: 2px solid #f0f0f0;
padding-bottom: 10px;
}
.form-group {
margin-bottom: 15px;
}
.form-row {
display: flex;
gap: 15px;
}
.form-row .form-group {
flex: 1;
}
label {
display: block;
font-size: 0.85rem;
margin-bottom: 5px;
color: #666;
}
input, textarea {
width: 100%;
padding: 8px 12px;
border: 1px solid var(--border-color);
border-radius: 4px;
box-sizing: border-box;
font-family: inherit;
}
input:focus, textarea:focus {
outline: none;
border-color: var(--secondary-color);
}
.checkbox-group {
display: flex;
align-items: center;
gap: 10px;
padding-top: 25px;
}
.checkbox-group input {
width: auto;
}
.checkbox-group label {
margin: 0;
}
button {
cursor: pointer;
border: none;
padding: 10px 20px;
border-radius: 4px;
font-weight: 500;
transition: background-color 0.2s;
}
.btn-primary {
background-color: var(--primary-color);
color: white;
width: 100%;
}
.btn-primary:hover {
background-color: var(--secondary-color);
}
.btn-secondary {
background-color: #e3f2fd;
color: var(--primary-color);
}
.btn-secondary:hover {
background-color: #bbdefb;
}
.tool-actions {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 20px;
}
.console-section {
flex: 1;
background: #1e1e1e;
border-radius: 8px;
display: flex;
flex-direction: column;
overflow: hidden;
}
.console-header {
background: #2d2d2d;
padding: 10px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.console-header h3 {
margin: 0;
color: #fff;
font-size: 0.9rem;
}
.btn-text {
background: none;
color: #aaa;
padding: 0;
}
.btn-text:hover {
color: #fff;
}
.console-body {
flex: 1;
padding: 15px;
overflow-y: auto;
font-family: 'Consolas', 'Monaco', monospace;
font-size: 0.9rem;
}
.log-entry {
margin-bottom: 5px;
word-break: break-all;
}
.system { color: #888; }
.info { color: #4caf50; }
.error { color: #f44336; }
.request { color: #2196f3; }
.response { color: #e0e0e0; }