/* Dark theme with professional medical app styling */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --secondary-color: #03dac6;
    --background-color: #121212;
    --surface-color: #1e1e1e;
    --surface-light: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --error-color: #cf6679;
    --warning-color: #ffb74d;
    --success-color: #81c995;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    padding: 16px;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--surface-color);
    padding: 16px;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 12px;
}

p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2px;
}

input {
    width: 100%;
    padding: 12px;
    background-color: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

button {
    height: 44px;
    padding: 0 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 4px;
}

button:hover {
    background-color: var(--primary-dark);
}

#output {
    margin-top: 16px;
}

.section {
    background-color: var(--surface-light);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 6px;
    border-left: 4px solid var(--primary-color);
}

/* FIX IS HERE: Changed 'display: block' to 'display: inline' */
.section strong {
    color: var(--text-primary);
    display: inline; /* This allows the text to flow on the same line */
    font-size: 1rem;
    margin-right: 6px; /* Adds a little space after the colon */
}

.error, .warning {
    font-weight: 500;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.error {
    color: var(--error-color);
    background-color: rgba(207, 102, 121, 0.1);
}

.warning {
    color: var(--warning-color);
    background-color: rgba(255, 183, 77, 0.1);
}

ul {
    padding-left: 20px;
    margin-top: 5px;
}

li {
    margin-bottom: 5px;
    color: #e0e0e0;
    font-size: 0.98rem;
    line-height: 1.4;
}

/* Mobile responsive design */
@media (max-width: 480px) {
    body {
        padding: 0;
    }

    .container {
        padding: 16px;
        border-radius: 0;
        min-height: 100vh;
        max-width: 100%;
        box-shadow: none;
    }
}