:root {
    --page-background: linear-gradient(180deg, #f8faff 0%, #eef2ff 100%);
    --panel-background: rgba(255, 255, 255, 0.95);
    --card-background: #fcfcfd;
    --panel-border: #d0d5dd;
    --text-color: #101828;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--page-background);
    color: var(--text-color);
}

body {
    min-height: 100vh;
}

h1,
h2,
p {
    margin-top: 0;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.input {
    width: 100%;
    border: 1px solid var(--panel-border);
    border-radius: 0.75rem;
    padding: 0.8rem 0.9rem;
    background: #fff;
    color: var(--text-color);
}

.input:focus {
    outline: none;
    border-color: #6941c6;
    box-shadow: 0 0 0 4px rgba(105, 65, 198, 0.16);
}

.primary-button {
    width: fit-content;
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #7f56d9 0%, #6941c6 100%);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(105, 65, 198, 0.24);
}

.primary-button:focus-visible {
    outline: 3px solid rgba(105, 65, 198, 0.25);
    outline-offset: 2px;
}

#blazor-error-ui {
    background: #fef3f2;
    border-top: 1px solid #fecdca;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(16, 24, 40, 0.08);
    display: none;
    left: 0;
    padding: 0.75rem 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    float: right;
}
