html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.landing-hero {
    background: #111827;
    color: #fff;
    min-height: 92vh;
    overflow: hidden;
    padding: 1.25rem clamp(1rem, 4vw, 4rem) 5rem;
    position: relative;
}

.landing-nav {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 72rem;
    position: relative;
    z-index: 2;
}

.landing-brand {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-size: 1.1rem;
    font-weight: 800;
    gap: 0.65rem;
    text-decoration: none;
}

.landing-brand:hover {
    color: #fff;
}

.brand-mark {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    color: #111827;
    display: inline-flex;
    font-size: 0.85rem;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.landing-nav-actions {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.language-selector {
    align-items: center;
    display: inline-flex;
    gap: 0.4rem;
    margin: 0;
}

.language-selector .form-select {
    background-color: #fff;
    border-radius: 8px;
    min-width: 4.25rem;
    padding-left: 0.55rem;
    padding-right: 1.6rem;
    width: 4.25rem;
}

.language-current-flag {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: inline-flex;
    height: 2rem;
    overflow: hidden;
    width: 2.25rem;
}

.flag-pl {
    background: linear-gradient(to bottom, #fff 0 50%, #dc143c 50% 100%);
}

.flag-en {
    background:
        linear-gradient(33deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60%),
        linear-gradient(147deg, transparent 0 42%, #fff 42% 48%, #c8102e 48% 54%, #fff 54% 60%, transparent 60%),
        linear-gradient(to right, transparent 0 42%, #fff 42% 58%, transparent 58%),
        linear-gradient(to bottom, transparent 0 38%, #fff 38% 62%, transparent 62%),
        linear-gradient(to right, transparent 0 46%, #c8102e 46% 54%, transparent 54%),
        linear-gradient(to bottom, transparent 0 43%, #c8102e 43% 57%, transparent 57%),
        #012169;
}

.flag-de {
    background: linear-gradient(to bottom, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%);
}

.landing-nav-actions a:not(.btn) {
    color: #d1d5db;
    text-decoration: none;
}

.landing-nav-actions a:not(.btn):hover {
    color: #fff;
}

.landing-hero-content {
    margin: 0 auto;
    max-width: 72rem;
    padding-top: clamp(5rem, 12vh, 9rem);
    position: relative;
    z-index: 2;
}

.landing-kicker {
    color: #2dd4bf;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.landing-hero h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 1rem;
}

.landing-lead {
    color: #e5e7eb;
    font-size: clamp(1.15rem, 2.1vw, 1.55rem);
    line-height: 1.5;
    max-width: 46rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.qr-scene {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(4rem, 1fr));
    opacity: 0.5;
    position: absolute;
    right: clamp(-7rem, -8vw, -2rem);
    top: 8rem;
    transform: rotate(8deg);
    width: min(42rem, 72vw);
    z-index: 1;
}

.tile {
    background: #f9fafb;
    border: 8px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    display: block;
    min-height: 4rem;
}

.tile-dark {
    background: #0f172a;
    border-color: rgba(45, 212, 191, 0.6);
}

.tile-accent {
    background: #f59e0b;
}

.tile-xs {
    aspect-ratio: 1;
}

.tile-sm {
    aspect-ratio: 1.2;
}

.tile-md {
    aspect-ratio: 1;
    grid-column: span 2;
}

.tile-lg {
    aspect-ratio: 1.3;
    grid-column: span 2;
    grid-row: span 2;
}

.landing-section {
    margin: 0 auto;
    max-width: 72rem;
    padding: 4.5rem clamp(1rem, 4vw, 2rem);
}

.landing-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    padding-bottom: 2rem;
    padding-top: 2rem;
}

.landing-metrics > div,
.landing-feature-grid article,
.landing-plans article {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    padding: 1.2rem;
}

.landing-metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
}

.landing-metric-label {
    color: #667085;
}

.landing-section-header {
    margin-bottom: 1.5rem;
}

.landing-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 850;
    margin: 0;
}

.landing-feature-grid,
.landing-plans {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.landing-feature-grid strong,
.landing-plans span {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.landing-feature-grid p,
.landing-plans p {
    color: #667085;
    margin-bottom: 0;
}

.landing-plans h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}

.landing-plans .btn {
    margin-top: 1rem;
}

.featured-plan {
    border-color: #1b6ec2 !important;
    box-shadow: 0 1rem 2rem rgba(17, 24, 39, 0.12);
}

.landing-final {
    align-items: center;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding: 2rem;
}

.landing-final h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.public-auth-page {
    margin: 0 auto;
    max-width: 36rem;
    padding: clamp(2rem, 8vh, 5rem) 1rem;
}

.public-auth-page h1 {
    font-weight: 850;
    margin-bottom: 1rem;
}

.public-auth-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.public-auth-header h1 {
    margin-bottom: 0;
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.panel {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.panel h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.section-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.qr-form {
    max-width: 48rem;
}

.qr-preview svg {
    display: block;
    height: auto;
    max-width: 16rem;
    width: 100%;
}

.usage-bar {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
}

.download-controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.download-controls .form-select {
    max-width: 12rem;
}

.table-download {
    min-width: 12rem;
}

.qr-detail-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
}

.qr-detail-preview {
    align-self: start;
}

.qr-preview-large svg {
    max-width: 22rem;
}

.details-list {
    display: grid;
    gap: 0.35rem 1rem;
    grid-template-columns: max-content minmax(0, 1fr);
}

.details-list dd {
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.analytics-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.analytics-summary > div {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    min-width: 10rem;
    padding: 0.75rem;
}

.metric-label {
    color: #667085;
    display: block;
    font-size: 0.85rem;
}

.metric-value {
    display: block;
    font-size: 1.4rem;
}

.analytics-table td {
    max-width: 18rem;
    overflow-wrap: anywhere;
}

.analytics-dashboard {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.analytics-card {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    padding: 1rem;
}

.analytics-card h3,
.analytics-table-heading {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.analytics-chart-panel {
    grid-column: 1 / -1;
}

.visitor-quality-card {
    grid-column: 1 / -1;
}

.visitor-quality-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    margin-bottom: 0.75rem;
}

.scan-chart {
    align-items: end;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(14, minmax(1.8rem, 1fr));
    min-height: 12rem;
}

.scan-chart-column {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.scan-chart-bar {
    align-items: flex-start;
    background: #1b6ec2;
    border-radius: 6px 6px 0 0;
    color: #fff;
    display: flex;
    font-size: 0.75rem;
    font-weight: 700;
    justify-content: center;
    min-height: 0.45rem;
    padding-top: 0.2rem;
    width: 100%;
}

.scan-chart-column small {
    color: #667085;
    font-size: 0.75rem;
    white-space: nowrap;
}

.breakdown-list {
    display: grid;
    gap: 0.8rem;
}

.breakdown-row-header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.breakdown-row-header span {
    overflow-wrap: anywhere;
}

.breakdown-track {
    background: #eef2f7;
    border-radius: 999px;
    height: 0.45rem;
    margin: 0.25rem 0;
    overflow: hidden;
}

.breakdown-fill {
    background: #1b6ec2;
    border-radius: 999px;
    height: 100%;
}

.metric-date {
    font-size: 1rem;
    line-height: 1.25;
}

.plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.billing-summary {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
}

.plan-heading {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.plan-name {
    display: block;
    font-size: 2rem;
    line-height: 1.1;
}

.status-pill {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    white-space: nowrap;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-free {
    background: #e0f2fe;
    color: #075985;
}

.status-warning {
    background: #fef3c7;
    color: #92400e;
}

.status-muted {
    background: #eef2f7;
    color: #475467;
}

.usage-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.usage-counter span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.usage-counter small {
    color: #667085;
}

.feature-grid,
.retention-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.feature-item {
    align-items: flex-start;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem;
}

.feature-active {
    border-color: #86efac;
    background: #f0fdf4;
}

.feature-check {
    align-items: center;
    background: #1b6ec2;
    border-radius: 6px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.75rem;
    font-weight: 700;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

.feature-item p,
.retention-grid p {
    color: #667085;
    margin: 0.15rem 0 0;
}

.retention-grid > div {
    border-left: 3px solid #1b6ec2;
    padding-left: 0.85rem;
}

.individual-plan-form {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(10rem, 14rem) minmax(12rem, 1fr) max-content;
}

.individual-plan-form .form-label {
    grid-column: 1;
    margin-bottom: -0.35rem;
}

.individual-plan-form .form-control {
    grid-column: 1;
}

.admin-settings-panel {
    max-width: 62rem;
}

.admin-settings-grid {
    display: grid;
    gap: 0.75rem 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.admin-settings-grid .mb-3:first-child {
    grid-column: 1 / -1;
}

.admin-settings-actions {
    display: flex;
    justify-content: flex-end;
}

.admin-email-form {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(16rem, 1fr) max-content;
    margin-top: 1rem;
}

.admin-email-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.admin-email-row {
    align-items: center;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.75rem;
}

.admin-email-row span {
    color: #667085;
    display: block;
    font-size: 0.85rem;
}

.external-auth-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1rem 0;
}

.external-auth-card {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    padding: 0.9rem;
}

.external-auth-card-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.admin-security-list {
    margin-bottom: 0;
}

.admin-page-header {
    margin-bottom: 1rem;
}

.admin-statistics-filter {
    align-items: end;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(18rem, 1fr) repeat(2, minmax(10rem, 14rem)) max-content;
}

.admin-statistics-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-statistics-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    margin-bottom: 1rem;
}

.admin-statistics-grid .analytics-card {
    min-height: 8rem;
}

.admin-statistics-grid small {
    color: #667085;
    display: block;
    margin-top: 0.35rem;
}

.admin-metric-chart-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-metric-card-header {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.admin-metric-card-header small {
    margin-top: 0.15rem;
    text-align: right;
}

.admin-inline-chart {
    margin-top: auto;
}

.admin-inline-bars {
    align-items: end;
    display: flex;
    gap: 0.22rem;
    height: 4.5rem;
    overflow-x: auto;
    padding: 0.2rem 0 0.15rem;
    scrollbar-width: thin;
}

.admin-inline-bar-column {
    align-items: end;
    display: flex;
    flex: 1 0 0.45rem;
    height: 100%;
    min-width: 0.45rem;
}

.admin-inline-bar {
    background: #2563eb;
    border-radius: 5px 5px 0 0;
    min-height: 0.18rem;
    width: 100%;
}

.admin-inline-chart-footer {
    color: #667085;
    display: flex;
    font-size: 0.72rem;
    justify-content: space-between;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.admin-users-panel {
    margin-bottom: 1rem;
}

.admin-users-grid {
    max-height: 32rem;
    overflow: auto;
}

.admin-users-table {
    min-width: 78rem;
}

.admin-users-table thead th {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.admin-users-table td,
.admin-users-table th {
    white-space: nowrap;
}

.admin-users-table td:first-child,
.admin-users-table th:first-child {
    min-width: 16rem;
    white-space: normal;
}

.admin-user-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-width: 14rem;
}

.legal-footer {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 0.85rem;
    justify-content: center;
    padding: 1.25rem;
}

.public-shell .legal-footer {
    background: #fff;
}

.portal-main .legal-footer {
    margin-top: auto;
}

.legal-footer a,
.legal-link-button {
    background: transparent;
    border: 0;
    color: #006bb7;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: none;
}

.legal-footer a:hover,
.legal-link-button:hover {
    text-decoration: underline;
}

.cookie-consent-backdrop {
    background: rgba(15, 23, 42, 0.18);
    inset: 0;
    position: fixed;
    z-index: 1040;
}

.cookie-consent {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    bottom: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.22);
    color: #111827;
    display: grid;
    gap: 1rem;
    left: 50%;
    max-height: calc(100vh - 2rem);
    max-width: 58rem;
    overflow: auto;
    padding: 1.25rem;
    position: fixed;
    transform: translateX(-50%);
    width: min(calc(100vw - 2rem), 58rem);
    z-index: 1050;
}

.cookie-consent h2 {
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
}

.cookie-consent p {
    color: #475467;
    margin-bottom: 0;
}

.cookie-consent-kicker {
    color: #0f766e !important;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    margin-bottom: 0.35rem !important;
    text-transform: uppercase;
}

.cookie-preferences {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.cookie-preference-row {
    align-items: flex-start;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem;
}

.cookie-preference-row input {
    margin-top: 0.25rem;
}

.cookie-preference-row small {
    color: #64748b;
    display: block;
    margin-top: 0.2rem;
}

.cookie-consent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.9rem;
}

.cookie-consent-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.legal-page {
    background: #f8fafc;
    min-height: 100vh;
}

.legal-hero {
    background: #111827;
    color: #fff;
    padding: 1.25rem clamp(1rem, 4vw, 4rem) 3rem;
}

.legal-hero .landing-brand {
    margin-bottom: 3rem;
}

.legal-hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1rem;
    max-width: 56rem;
}

.legal-hero p {
    color: #d1d5db;
    font-size: 1.1rem;
    max-width: 48rem;
}

.legal-hero small {
    color: #9ca3af;
}

.legal-content {
    display: grid;
    gap: 1.25rem;
    margin: 0 auto;
    max-width: 64rem;
    padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
}

.legal-content section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-content p:last-child,
.legal-content ul:last-child {
    margin-bottom: 0;
}

.legal-table-wrapper {
    overflow-x: auto;
}

.legal-table {
    min-width: 44rem;
}

.legal-table th {
    white-space: nowrap;
}

.admin-statistics-charts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-mini-chart {
    min-height: 8rem;
}

.admin-mini-chart .scan-chart-bar {
    font-size: 0.7rem;
    min-height: 1rem;
}

@media (max-width: 760px) {
    .landing-hero {
        min-height: 88vh;
        padding-bottom: 3rem;
    }

    .landing-nav {
        align-items: flex-start;
    }

    .landing-nav-actions {
        gap: 0.5rem;
    }

    .qr-scene {
        opacity: 0.25;
        right: -10rem;
        top: 10rem;
        width: 36rem;
    }

    .landing-metrics,
    .landing-feature-grid,
    .landing-plans {
        grid-template-columns: 1fr;
    }

    .landing-final {
        align-items: flex-start;
        flex-direction: column;
    }

    .billing-summary {
        grid-template-columns: 1fr;
    }

    .qr-detail-layout {
        grid-template-columns: 1fr;
    }

    .details-list {
        grid-template-columns: 1fr;
    }

    .analytics-dashboard {
        grid-template-columns: 1fr;
    }

    .scan-chart {
        gap: 0.25rem;
        grid-template-columns: repeat(7, minmax(1.8rem, 1fr));
        overflow-x: auto;
    }

    .individual-plan-form {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-settings-grid {
        grid-template-columns: 1fr;
    }

    .admin-email-form {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .external-auth-grid {
        grid-template-columns: 1fr;
    }

    .admin-statistics-filter {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .admin-statistics-charts {
        grid-template-columns: 1fr;
    }

    .cookie-consent {
        bottom: 0;
        border-radius: 8px 8px 0 0;
        max-height: 88vh;
        width: 100%;
    }

    .cookie-consent-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-consent-actions .btn {
        width: 100%;
    }

    .legal-footer {
        align-items: center;
        flex-direction: column;
    }

    .individual-plan-form .form-label,
    .individual-plan-form .form-control {
        grid-column: auto;
    }
}

.app-loading {
    padding: 2rem;
}

.auth-panel {
    max-width: 32rem;
}

.turnstile-widget {
    min-height: 4.25rem;
}

.external-login {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.external-login-button {
    align-items: center;
    border: 1px solid #cfd7e3;
    border-radius: 8px;
    color: #1f2937;
    display: inline-flex;
    font-weight: 600;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    text-decoration: none;
}

.external-login-button:hover {
    background: #f8fafc;
    color: #111827;
}

.provider-icon {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-weight: 700;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

.provider-google {
    background: #fff;
    border: 1px solid #dadce0;
    color: #4285f4;
}

.provider-facebook {
    background: #1877f2;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
}

.provider-microsoft {
    background: linear-gradient(90deg, #f25022 0 50%, #7fba00 50% 100%);
    color: #fff;
    font-size: 0.85rem;
}

.auth-divider {
    color: #667085;
    font-size: 0.9rem;
    margin: 0.25rem 0 1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
