#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

:root {
    font-size: var(--rz-root-font-size);
    --rz-sidebar-width: 200px;
}

body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    font-size: var(--rz-body-font-size);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
}

.rz-body {
    --rz-body-padding: 0;
}

a {
    color: var(--rz-link-color);
}

    a:hover,
    a:focus {
        color: var(--rz-link-hover-color);
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyI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 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/*PartyMast, Inward Entry*/
.address-fieldset {
    background-color: var(--rz-input-background-color);
    border: var(--rz-input-border);
}

    .address-fieldset .rz-dropdown,
    .address-fieldset .rz-textbox,
    .address-fieldset input {
        border: none !important;
        border-bottom: var(--rz-input-border) !important;
        border-radius: 0 !important;
        box-shadow: none !important; /* Prevents any Radzen shadow borders */
        padding:0;
    }

.rz-position-relative {
    position: relative;
}
/*Validation*/
.validation-message {
    color: var(--rz-form-error-color);
    font-size: var(--rz-form-error-font-size);
    position: absolute !important;
    z-index: 3 !important;
    left: 50% !important;
    background-color: var(--rz-card-background-color) !important;
    padding: 0.5rem !important;
    /*top: -0.5rem !important;*/
    top: -0.5rem;
}

/*Validation*/

/*Profile Photo --Starts Here*/
.icon-container {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

    .icon-container:hover {
        box-shadow: 0 0 0 3px #007bff33;
    }

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.initials-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--rz-card-background-color);
    color: var(--rz-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}
/*Profile Photo --Ends Here*/


/* Login Css(Own Style)*/
.form-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #4e54c8;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #333;
    }

.input-wrapper {
    position: relative;
    display: flex;
}

    .input-wrapper input {
        flex: 1;
        padding: 0.75rem;
        padding-right: 2.5rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 1rem;
    }

.toggle-visibility {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.btn-submit {
    background-color: #4e54c8;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn-submit:hover {
        background-color: #3b41a1;
    }

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-error {
    background-color: #ffe0e0;
    color: #d8000c;
}

.validation-message {
    color: #d8000c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}



/* Inbox And Sent Below */


.search-box {
    display: flex;
    align-items: center;
    background: var(--rz-card-background-color);
    border-radius: 10px;
    padding: 0.15rem 1rem;
    /*margin-bottom: 1rem;*/
    border: 1px solid #ccc;
}

.search-icon {
    font-size: 1.3rem;
}

.search-text-box {
    width: 100%;
    border: none;
    outline: none;
}

.search-box input {
    border: none !important;
    box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.inbox-header {
    display: flex;
    align-items: center;
    background: var(--rz-card-background-color);
    padding: 0.5rem;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.inbox-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.inbox-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.inbox-item {
    background: var(--rz-card-background-color);
    width: 100%;
    border-radius: 5px;
    padding: 0.3rem;
    margin-bottom: 0.2rem;
    border: 1px solid #eee;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.item-left {
    max-width: 70%;
}

.item-id-status {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-id {
    font-weight: bold;
    margin-right: 0.5rem;
}

.item-status {
    padding: 2px 10px;
    font-size: 0.60rem;
    border-radius: 12px;
    border: 1px solid;
    background-color: transparent;
}

    .item-status.active {
        color: #28a745;
        border-color: #28a745;
    }

    .item-status.closed {
        color: #dc3545;
        border-color: #dc3545;
    }

.item-from,
.item-description {
    margin-bottom: 0.3rem;
}

.item-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.attachment-chip {
    background: var(--rz-card-background-color);
    border-radius: 16px;
    padding: 2px 8px;
    margin-right: 4px;
    max-width: 6rem;
    font-size: 0.70rem;
    border-color: #dc3545;
    max-height: 2.5rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-right {
    text-align: right;
    min-width: 100px;
}

.tappal-number {
    font-size: 0.70rem;
}

.assigned-label {
    font-size: 0.75rem;
    color: #888;
}

.assigned-value {
    font-size: 0.80rem;
}

.assigned-date {
    font-size: 0.75rem;
}

/* inbox-filter.css */
.radzen-dialog .rz-dialog-content {
    border-radius: 15px;
    background-color: #fff;
}

.rz-row {
    display: flex;
    flex-direction: row;
}

.inbox-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Default: show all */
.hide-on-mobile {
    display: block;
}

/* On screens smaller than 768px (typical mobile width), hide these */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .only-mobile {
        display: block !important;
    }

    .description-col {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    .inbox-item {
        border-bottom: 1px solid #e0e0e0;
        padding: 0.5rem;
    }
}

.attachment-chip {
    padding: 2px 10px;
    border-radius: 12px;
    color: #dc3545;
    border: 1px solid;
    background-color: transparent;
}

.from-div {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    background: var(--rz-card-background-color);
    padding: 0 0.5rem;
    font-weight: bold;
    font-size: 1rem;
}

.from-card {
    position: relative;
    margin-top: 1rem;
    border-top: 2px;
}

.custom-popup {
    display: none;
    position: absolute;
    overflow: hidden;
    width: 400px;
    border: var(--rz-panel-border);
    background-color: var(--rz-panel-background-color);
    box-shadow: var(--rz-panel-shadow);
    border-radius: var(--rz-border-radius);
    padding: 20px;
}

.popup-label {
    margin-bottom: 4px;
    display: block;
    font-weight: 600;
}

.popup-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Login Css(Own Style)*/


/*My Floating button --starts here*/

.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: move;
}

.fab-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #2196F3;
    color: white;
    font-size: 28px;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

    .fab-main:hover {
        background-color: #1976D2;
    }

.fab-options {
    display: none;
    flex-direction: column;
    position: absolute;
    bottom: 70px;
    right: 0;
    gap: 10px;
}

.fab-container.open .fab-options {
    display: flex;
}

.fab-option {
    background-color: white;
    border-radius: 20px;
    padding: 10px 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

    .fab-option:hover {
        background-color: #f0f0f0;
    }


/*My Floating button --ends here*/
