/* Simple styles for demo */
body {
    font-family: Segoe UI, Roboto, Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
    margin: 0
}

main {
    max-width: 450px;
    margin: 48px auto;
    padding: 24px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06)
}

h1 {
    margin-top: 0
}

#output {
    white-space: pre-wrap;
    background: #f2f6fb;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #e1e8f0
}

button {
    margin-top: 12px;
    padding: 8px 12px
}

#statusMsg {
    color: #666;
    margin-bottom: 8px
}

.controls {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    font-size: 0.9rem;
    color: #445;
    margin-bottom: 6px;
}

select {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d6dee9;
    background: linear-gradient(#fff, #fbfdff);
    font-size: 1rem;
}

.actions button,
button#apply {
    background: linear-gradient(180deg, #0078d4, #005a9e);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
}

.actions button:hover,
button#apply:hover {
    filter: brightness(0.95);
}

#loginModal {
    display: none; /* Hide the login modal by default */
}

#loginModal.hidden {
    display: none !important; /* Ensure the modal stays hidden until explicitly shown */
}
