* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background: #f5f7fb;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

/* Card container */
form {
    background: white;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    max-width: 850px;
    width: 100%;
}

#insertForm {
    display: none;
    flex-direction: column;
    gap: 2px;
}

/* Labels */
label {
    margin-top: 10px;
    display: block;
}

/* Inputs */
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #dcdfe6;
    font-size: 14px;
    transition: border 0.2s;
}

input:focus,
select:focus {
    border-color: #4f46e5;
    outline: none;
}

/* Radio + checkbox groups */
.horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Make radio/checkbox nicer */
input[type="radio"],
input[type="checkbox"] {
    accent-color: #4f46e5;
    margin-right: 6px;
}

/* Buttons */
button,
input[type="submit"] {
    margin-top: 15px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #4f46e5;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

button:hover,
input[type="submit"]:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

/* Log panel */
#logPanel {
    display: none;
    flex: 1;
    background: #e5e7eb;
    color: #000000;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    flex-direction: column;
}

/* Log textarea */
#logOutput {
    width: 100%;
    flex: 1;
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    resize: none;
    font-family: monospace;
    font-size: 13px;
    background: #e5e7eb;
    color: #000000;
}