/* Minimal styling for the two server-rendered auth forms. Every interactive screen uses
   MudBlazor, so this file stays deliberately small and easy to replace later. */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-field label {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.7;
}

.auth-field input {
    padding: 0.65rem 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font: inherit;
}

.auth-field input:focus {
    outline: 2px solid var(--mud-palette-primary, #7986cb);
    outline-offset: 1px;
}

.auth-submit {
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 4px;
    background: var(--mud-palette-primary, #7986cb);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.auth-submit:hover {
    filter: brightness(1.1);
}

.auth-error {
    padding: 0.75rem 1rem;
    border-radius: 4px;
    border: 1px solid rgba(244, 67, 54, 0.5);
    background: rgba(244, 67, 54, 0.12);
    font-size: 0.875rem;
}

.auth-validation {
    color: #ef9a9a;
    font-size: 0.8125rem;
}

/* Rows in the history tables navigate on click. */
.cursor-pointer {
    cursor: pointer;
}

/* JSONB and search-text blocks on the event detail screen. */
.code-block {
    margin: 0;
    padding: 1rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8125rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}
