/* _content/onwardb.Web/Components/Layout/EmptyLayout.razor.rz.scp.css */
.el-body[b-hm234uf6sh] {
    background: linear-gradient(135deg, #3a4a7b 0%, #5a3b7c 100%);
    height: 100%;
    width: 100%;
}
/* _content/onwardb.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-lkw07d36tw] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lkw07d36tw] {
    flex: 1;
}

.sidebar[b-lkw07d36tw] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-lkw07d36tw] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-lkw07d36tw]  a, .top-row[b-lkw07d36tw]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-lkw07d36tw]  a:hover, .top-row[b-lkw07d36tw]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-lkw07d36tw]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-lkw07d36tw] {
        justify-content: space-between;
    }

    .top-row[b-lkw07d36tw]  a, .top-row[b-lkw07d36tw]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-lkw07d36tw] {
        flex-direction: row;
    }

    .sidebar[b-lkw07d36tw] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-lkw07d36tw] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-lkw07d36tw]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-lkw07d36tw], article[b-lkw07d36tw] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-lkw07d36tw] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-lkw07d36tw] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/onwardb.Web/Components/Pages/Login/Enable2fa.razor.rz.scp.css */
/* _content/onwardb.Web/Components/Pages/Login/Login.razor.rz.scp.css */
.login-container[b-g898stx19q] {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientShift-b-g898stx19q 15s ease infinite;
    overflow: hidden;
}

.login-container[b-g898stx19q]::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0px,
        rgba(255, 255, 255, 0.1) 15px,
        transparent 15px,
        transparent 30px
    );
    background-size: 30px 30px;
    animation: waveMove-b-g898stx19q 30s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.login-card[b-g898stx19q] {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    border-radius: 12px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.login-card:hover[b-g898stx19q] {
    transform: perspective(1000px) rotateX(1deg) rotateY(-1deg) translateY(-5px);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.login-header[b-g898stx19q] {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title[b-g898stx19q] {
    color: #333;
    margin-bottom: 0.5rem;
}

.login-subtitle[b-g898stx19q] {
    color: #666;
    margin-bottom: 0;
}

.login-form[b-g898stx19q] {
    width: 100%;
}

.form-group[b-g898stx19q] {
    margin-bottom: 1.5rem;
}

[b-g898stx19q] .form-input {
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.875rem 1rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

[b-g898stx19q] .form-input:focus {
    border-color: #667eea;
    box-shadow:
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 1);
    transform: scale(1.02);
}

.remember-label[b-g898stx19q] {
    margin-left: 0.5rem;
    color: #666;
}

.form-actions[b-g898stx19q] {
    margin-top: 2rem;
}

[b-g898stx19q] .login-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[b-g898stx19q] .login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.login-error[b-g898stx19q] {
    margin-top: 1rem;
    border-radius: 6px;
}

.login-success[b-g898stx19q] {
    margin-top: 1rem;
    border-radius: 6px;
}

.success-content[b-g898stx19q] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-footer[b-g898stx19q] {
    margin-top: 2rem;
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

@keyframes gradientShift-b-g898stx19q {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveMove-b-g898stx19q {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(30px);
    }
}

.test-credentials[b-g898stx19q] {
    color: #666;
    line-height: 1.5;
}
/* _content/onwardb.Web/Components/Pages/Users/AddUserDialog.razor.rz.scp.css */
/* Make Radzen dialog responsive globally */
:global(.rz-dialog)[b-tfkbb78lld] {
    /* Responsive width between 320px and 800px, pref 50% viewport width */
    width: clamp(320px, 50vw, 800px);
    max-height: 90vh; /* keep some space at top/bottom */
}

:global(.rz-dialog-content)[b-tfkbb78lld] {
    overflow: visible; /* prevent inner scrollbars, let page scroll if needed */
}

:global(.rz-dialog-body)[b-tfkbb78lld] {
    overflow-y: auto;
    max-height: 70vh; /* content scrolls within dialog if too tall */
}

.form-wrapper[b-tfkbb78lld] {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-loader-overlay[b-tfkbb78lld] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* semi-transparent overlay */
    display: flex;
    justify-content: stretch;
    align-items: center;
    z-index: 999; /* ensure it appears on top */
    pointer-events: all; /* block interaction */
}
