﻿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;
}

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;
}


.lds-ripple {
    /* change color here */
    color: #1c4c5b
}

    .lds-ripple,
    .lds-ripple div {
        box-sizing: border-box;
    }

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ripple div {
        position: absolute;
        border: 4px solid currentColor;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .lds-ripple div:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }

    4.9% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 0;
    }

    5% {
        top: 36px;
        left: 36px;
        width: 8px;
        height: 8px;
        opacity: 1;
    }

    100% {
        top: 0;
        left: 0;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

#pdf-container {
    display: none; /* Default: hidden */
}

#iframe-container {
    display: block; /* Default: show iframe */
}

@media (max-width: 768px) {
    #pdf-container {
        display: block; /* Show on mobile (screen width ≤ 768px) */
    }

    #iframe-container {
        display: none; /* Hide iframe on mobile */
    }
}

.rz-dialog-mask {
    background-color: transparent !important;
}

.skeleton-box {
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}


.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    animation: pulse 1s linear infinite;
}

    .loader:after {
        content: '';
        position: absolute;
        width: 48px;
        height: 48px;
        border: 5px solid #FFF;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: scaleUp 1s linear infinite;
    }

@keyframes scaleUp {
    0% {
        transform: translate(-50%, -50%) scale(0)
    }

    60%, 100% {
        transform: translate(-50%, -50%) scale(1)
    }
}

@keyframes pulse {
    0%, 60%, 100% {
        transform: scale(1)
    }

    80% {
        transform: scale(1.2)
    }
}

.formMax {
    max-width: 350px !important;
    width: 100% !important;
}

.html {
    font-size: 12px !important;
}

.rz-custom-header {
    width: 100% !important;
}

.required-label::after {
    content: " *";
    color: red;
    font-weight: bold;
}

@media (min-width: 768px) { /* Apply for MD (tablets) and larger */
    .align-md-right {
        text-align: right;
    }
}

.rz-column-title-content {
    /*    white-space: normal !important;
    word-wrap: break-word !important;*/
    font-size: 12px
}

.radzen-tab-item {
    flex: 1 1 auto;
    text-align: center;
    max-width: 150px;
}
/*===================== Start: Home Properties =====================*/
#home > div:last-child > div > div {
    min-height: 180px;
    border-radius: 8px !important;
    background: white;
}

    #home > div:last-child > div > div > div:first-child > span {
        font-weight: bold !important;
        font-size: 14px;
    }

#home .rz-ripple {
    border-radius: 4px !important;
    padding: 5px 8px;
}
/*===================== End: Home Properties =====================*/
/*===================== Start: Manage Tenant Properties =====================*/
#tenant-manage .rz-state-active {
    background-color: #1151f3;
    color: white;
    border-radius: 5px;
}

.img-tenant {
    margin-right: 10px;
}

.expand {
    height: 165px;
}

.p-collapse {
    height: 145px;
    transition: height 0.3s ease;
    overflow: hidden;
}

.p-absolute {
    position: absolute;
}

.top-position.show {
    top: -108px !important;
}

.top-position {
    top: -70px;
    right: 0;
    width: 100%;
}

.p-relative {
    position: relative;
}
/*===================== End: Manage Tenant Properties =====================*/
/*===================== Start: Tenant Profile Properties =====================*/
#tenant-profile .tenant-profile-container .tenant-details {
    grid-template-columns: .3fr .4fr;
    gap: 10px;
    display: grid;
    align-items: center;
    height: 40px;
}

#tenant-profile .border-btm {
    border-bottom: 2px solid #ddd;
    box-shadow: inherit !important;
}

#tenant-profile .rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top: none !important;
    border-bottom: 3px solid #1151f3 !important;
}

    #tenant-profile .rz-tabview-top > .rz-tabview-nav .rz-tabview-selected > a {
        font-weight: bold;
    }

#tenant-profile ul.rz-tabview-nav {
    margin: 10px;
}

#tenant-profile .rz-tabview-nav li {
    background: white !important;
    border: none !important;
}

#tenant-profile .rz-text-h4 {
    font-size: 18px;
}

#tenant-profile .rz-text-center {
    text-align: center;
}
/*===================== End: Tenant Profile Properties =====================*/

.rz-grid-table {
    width: unset;
}


/* #region CUSTOM CSS */
/* customize padding of RadzenFieldset */
.custom-fieldset-p-10 .rz-fieldset-content-wrapper .rz-fieldset-content {
    padding: 10px !important;
}

.custom-labelFF .rz-textbox,
.custom-labelFF rz-dropdown {
    height: 40px;
}

.custom-labelFF .rz-form-field-label {
    font-size: 14px !important;
    font-weight: 600;
    color: var(--rz-dialog-title-color) !important;
}

.custom-labelFF .rz-dropdown-label {
    align-content: center;
}

.required-labelFF .rz-form-field-label::after {
    content: " *";
    color: var(--rz-danger);
    font-weight: bold;
}

.required-labelFF .rz-message {
    display: none;
}

.one-row-radio {
    display: grid;
    grid-template-rows: repeat(1, auto);
    grid-auto-flow: column;
}

.two-rows-radio {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
}

.three-rows-radio {
    display: grid;
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
}

.four-rows-radio {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
}

    .two-rows-radio .rz-radio-btn,
    .three-rows-radio .rz-radio-btn,
    .four-rows-radio .rz-radio-btn,
    .one-row-radio .rz-radio-btn {
        margin-block: 5px !important;
    }

.centerItems .rz-g {
    justify-content: center !important;
}


@media only screen and (max-width: 768px) {
    .two-rows-radio, .three-rows-radio, .four-rows-radio, .one-row-radio {
        grid-template-rows: repeat(1, auto);
        grid-auto-flow: row;
    }

    .custom-tabs ul[role=tablist] {
        display: block;
    }

    .custom-block-selectbar .rz-selectbar {
        display: block !important;
        width: 100% !important;
    }

    .custom-block-selectbar .rz-selectbar div {
        width: 100% !important;
    }

    .custom-row-block .rz-row {
        display: block !important;
    }

    .custom-stack-block .rz-stack {
        display: block !important;
    }
}
.formMax {
    max-width: 350px !important;
    width: 100% !important;
}
/* #endregion */
.status-badge {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
}
.status-warning {
    color: #d49a00 !important; /* amber */
}

.status-success {
    color: #1e7e34 !important; /* green */
}

.status-info {
    color: #0c5460 !important; /* teal/blue */
}

.status-primary {
    color: #0056b3 !important; /* blue */
}

.status-dark {
    color: #343a40 !important; /* dark gray */
}

.status-secondary {
    color: #6c757d !important; /* gray */
}
