/* Use Inter font */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* gray-100 */
}

/* Auto-growing textarea styles */
#commandInput {
    min-height: 3rem;
    overflow-y: hidden;
    resize: none;
    transition: height 0.1s ease-out;
}

/* Basic styling for dynamically created elements */
.ui-element {
    border: 1px solid #d1d5db; /* gray-300 */
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.375rem; /* rounded-md */
    background-color: #ffffff; /* white */
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
}
.ui-element button {
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem; /* rounded-md */
    background-color: #3b82f6; /* blue-500 */
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.ui-element button:hover {
    background-color: #2563eb; /* blue-600 */
}
 .ui-element button:disabled {
    background-color: #9ca3af; /* gray-400 */
    cursor: not-allowed;
}
.ui-element input {
    border: 1px solid #d1d5db; /* gray-300 */
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem; /* rounded-md */
    width: 100%; /* Take full width within its container */
}
.ui-element label {
     margin-right: 0.5rem;
}
.log-message {
    padding: 0.5rem;
    margin-top: 0.25rem;
    border-radius: 0.375rem; /* rounded-md */
    font-size: 0.875rem; /* text-sm */
}
.log-error {
    background-color: #fee2e2; /* red-100 */
    color: #b91c1c; /* red-700 */
    border: 1px solid #fecaca; /* red-300 */
}
.log-info {
    background-color: #dbeafe; /* blue-100 */
    color: #1e40af; /* blue-800 */
    border: 1px solid #bfdbfe; /* blue-300 */
}
.log-success {
     background-color: #dcfce7; /* green-100 */
    color: #15803d; /* green-700 */
    border: 1px solid #bbf7d0; /* green-300 */
}