﻿@font-face {
    font-family: 'AptosFont';
    src: url('../fonts/Aptos.ttf') format('truetype');
}

#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: 3.5rem;
        top: 0.5rem;
    }

.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."
    }

/*radzen custom*/
.custom-dialog-wrapper-class {
    background-color: transparent;
    width: 100px !important;
    margin-left: 10%;
    /*  min-width:10px;
    min-height:10px;
    max-height:10px;*/
    box-shadow: none;
}

/* Toast Notification Styling - Modern compact single-line format */
.syncf-notification-sec {
    font-family: 'AptosFont', sans-serif;
    min-height: auto !important;
    padding: 0.625rem 1rem !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.syncf-notification-sec .e-toast-message {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.375rem !important;
    padding: 0 !important;
}

.syncf-notification-sec .e-toast-title {
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.syncf-notification-sec .e-toast-content {
    font-size: 0.875rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.syncf-notification-sec .e-toast-icon {
    display: none !important;
}

/* Close button alignment */
.syncf-notification-sec .e-toast-close-icon {
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    align-self: center !important;
}

/* Success toast - light green */
.syncf-notification-sec.e-toast-success {
    background-color: #d1fae5 !important;
    border: 1px solid #6ee7b7 !important;
    color: #065f46 !important;
}

.syncf-notification-sec.e-toast-success .e-toast-title,
.syncf-notification-sec.e-toast-success .e-toast-content,
.syncf-notification-sec.e-toast-success .e-toast-close-icon {
    color: #065f46 !important;
}

/* Error/Danger toast - light red */
.syncf-notification-sec.e-toast-danger {
    background-color: #fee2e2 !important;
    border: 1px solid #fca5a5 !important;
    color: #991b1b !important;
}

.syncf-notification-sec.e-toast-danger .e-toast-title,
.syncf-notification-sec.e-toast-danger .e-toast-content,
.syncf-notification-sec.e-toast-danger .e-toast-close-icon {
    color: #991b1b !important;
}

/* Warning toast - light yellow */
.syncf-notification-sec.e-toast-warning {
    background-color: #fef3c7 !important;
    border: 1px solid #fcd34d !important;
    color: #92400e !important;
}

.syncf-notification-sec.e-toast-warning .e-toast-title,
.syncf-notification-sec.e-toast-warning .e-toast-content,
.syncf-notification-sec.e-toast-warning .e-toast-close-icon {
    color: #92400e !important;
}

/* Info toast - light blue */
.syncf-notification-sec.e-toast-info {
    background-color: #dbeafe !important;
    border: 1px solid #93c5fd !important;
    color: #1e40af !important;
}

.syncf-notification-sec.e-toast-info .e-toast-title,
.syncf-notification-sec.e-toast-info .e-toast-content,
.syncf-notification-sec.e-toast-info .e-toast-close-icon {
    color: #1e40af !important;
}

.step-arrow-container {
    display: flex;
    flex-wrap: wrap;
}

.step-arrow {
    position: relative;
    background: #4caf50;
    padding: 13px 18px;
    color: white;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%);
    white-space: nowrap;
    font-size: 9px;
    text-align: center;
    /* flex: 1 1 200px;*/
    min-width: 120px;
    max-width: 100%;
    box-sizing: border-box;
}

    .step-arrow:nth-child(1) {
        background: #9c27b0;
    }

    .step-arrow:nth-child(2) {
        background: #ab47bc;
    }

    .step-arrow:nth-child(3) {
        background: #7e57c2;
    }

    .step-arrow:nth-child(4) {
        background: #5c6bc0;
    }

    .step-arrow:nth-child(5) {
        background: #29b6f6;
    }

    .step-arrow:nth-child(6) {
        background: #26c6da;
    }

    .step-arrow:nth-child(7) {
        background: #66bb6a;
    }

    .step-arrow:nth-child(8) {
        background: #43a047;
    }

/* Make arrows stack on very small screens */
@media (max-width: 768px) {
    .step-arrow-container {
        flex-direction: column;
        align-items: stretch;
    }

    .step-arrow {
        clip-path: polygon(0% 0%, 95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%);
        font-size: 13px;
    }
}


.ai-assist-background {
    background-image: url('../image/ai-chat-rmbg.png');
    background-size: 16rem;
    background-position: 4.5rem 2rem;
    background-repeat: no-repeat;
}

.e-view-header {
    display: none;
}

.chat-started {
    background-image: none !important;
}

.left-sidebar-nav {
    width: max-content;
    position: relative;
}

.group-parent {
    margin-left: 4%;
}

.collapsed .group-parent {
    margin-left: 20%;
}

.ai {
    color: #02e29c;
}



.marginal-gains {
    font-size: large;
    font-family: 'AptosFont', sans-serif;
}

.blue-text-color {
    color: #0C5FE3;
}

.logo-bar {
}

/* Clickable logo area - navigates to landing page */
.logo-clickable {
    cursor: pointer;
}

.logo-clickable:hover {
    opacity: 0.8;
}

.grid-line {
    height: 1px;
    background-color: #e0e0e0; /* Light gray, like your image */
    width: 100%; /* Full width */
    border: none;
    margin-top: unset !important;
    margin-bottom: unset !important;
}

.grid-line-trimmed {
    height: 1px;
    background-color: #e0e0e0;
    width: 88%;
    border: none;
    margin-left: 6%;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.collapsed .grid-line {
    height: 1px;
    background-color: #e0e0e0; /* Light gray, like your image */
    width: 100%; /* Full width */
    border: none;
    margin-left: 2%;
}


.sidebar-container {
    width: 100%;
    height: 100%;
    padding: 10px 0px;
    background: var(--Color-Variables-white, white);
    display: flex;
    flex-direction: column;
    gap: 143px;
    transition: width 0.1s ease;
}

    .sidebar-container.collapsed {
        width: 49px;
        overflow: hidden;
        /*  padding: 24px 10px; */
        transition: none !important;
    }

.sidebar-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
}

.hamburger-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    display: flex;
    flex-direction: column;
}

.collapsed .nav-item {
    display: flex;
    flex-direction: initial;
    height: 3rem;
}


.collapsed .nav-entry {
    display: flex;
    align-items: center;
    padding: 0px 0px 0px 11px;
    border-radius: 8px;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-entry {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    margin-left: 3%;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .nav-entry:hover {
        background: #f5f7fa;
    }

.nav-item-open .nav-entry * {
    color: var(--Color-Variables-primary, cornflowerblue);
}

.submenu {
    padding-left: 55px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.submenu-item {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-left: 1rem;
    cursor: pointer;
    font-family: 'AptosFont', sans-serif;
    transition: background 0.2s ease;
    color: var(--Color-Variables-outline, #79747E);
}

    .submenu-item:hover {
        background: var(--Color-Variables-primary-container, #e3edff);
        color: var(--Color-Variables-primary, #2563EB);
    }

    .submenu-item.Selected {
        background: var(--Color-Variables-primary-container, #D3E0FB);
        color: var(--Color-Variables-primary, #2563EB);
    }

.collapse-btn {
    align-self: stretch;
    height: 48px;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .collapse-btn:hover {
        background: #f0f0f0;
    }

.nav-label {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    width: 10rem;
    font-family: 'AptosFont', sans-serif;
    line-height: 24px;
    color: var(--Color-Variables-Body-Text, #5C6167);
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.text-ellipsis {
    white-space: nowrap; /* Prevents text wrapping */
    overflow: hidden; /* Hides overflow content */
    text-overflow: ellipsis; /* Adds '...' at the end */
    max-width: 200px; /* Set this to your layout’s width */
    display: inline-block; /* Ensures it behaves like an inline box */
    vertical-align: middle; /* Aligns with icon if needed */
}


.ai-chat-popup-dev-mode {
    padding-right: 6%;
}

.nav-label:hover {
    color: var(--Color-Variables-primary, #2563EB);
}

.icon-box {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-symbols-outlined,
i.ph {
    font-size: 24px;
    color: #767676;
    vertical-align: middle;
    transition: color 0.2s ease;
}

.nav-entry:hover .material-symbols-outlined,
.nav-entry:hover i.ph {
    color: var(--Color-Variables-primary, #2563EB);
}

.nav-action-icon {
    font-size: 24px;
}

.navigation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    font-size: 22px;
    margin-right: 8px;
}

.arrow-icon::after {
    content: "▸";
    display: inline-block;
    transition: transform 0.2s ease;
}

.nav-item[data-state="Open"] .arrow-icon::after {
    transform: rotate(90deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.text-blue {
    color: #338FFF;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
}

.text-green {
    color: #02E29C;
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
}

.sub-nav-item-open {
    background: var(--Color-Variables-primary-container, #e3edff);
    color: var(--Color-Variables-primary, #2563EB);
}


/**container css**/
.page-container {
    font-family: 'AptosFont', sans-serif;
    position: relative;
    height: 100% !important;
    overflow: auto;
    scrollbar-width: none;
    /* Ensure bottom content is fully accessible */
}




.container {
    /*    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: -2px 1px 2px rgba(0, 0, 0, 0.03);
    height: 89%;
    width: 97%;
    min-width: 97%;
    position: relative;
    margin-top: 1rem;
    margin-left: 1.5%;*/

    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    background-color: #fff;
    box-shadow: -2px 1px 2px rgba(0, 0, 0, 0.03);
    height: 97%;
    width: 99%;
    min-width: 99%;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 2rem; /* Add bottom margin for breathing room */
    padding-left: 0 !important; /* IMPLICATION: Override Bootstrap's default container padding */
    padding-right: 0 !important; /* IMPLICATION: Override Bootstrap's default container padding */
    padding-bottom: 60px; /* Add bottom padding to ensure content is fully visible */
    overflow: auto;
    scrollbar-width: none;
}

.main-screen-sidebar {
    width: 100%;
    position: relative !important;
    overflow: auto;
    display: inline-table;
    /* preserve scrolling */
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

/**AI chat styling**/
.chat-button {
    background-color: #10b981 !important;
    color: white;
    border: 2px solid #d1fae5;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    bottom: 1rem;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
    position: absolute;
}

.ai-chat-btn-container {
    right: 1rem;
    position: absolute;
    z-index: 9999;
    bottom: 3rem;
}

.chat-button:hover {
    background-color: #059669; /* darker shade of green on hover */
}

.chat-icon {
    display: inline-block;
}

@media (max-width: 1024px) {

    .ai-chat-btn-container {
        position: absolute;
        /* width: 10%; */
        display: flex;
        padding: unset;
        justify-content: flex-end;
        /* margin: 0px 0px 65px 0px; */
        bottom: 0rem;
    }
}

.statehover {
    position: relative;
    border-radius: 999px;
    background-color: #497dee;
    width: 20%;
    float: right;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 24px;
    box-sizing: border-box;
    gap: 8px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    font-family: 'AptosFont', sans-serif;
    bottom: 14%;
}

/* Existing sidebar styles (ensure these are present and correct) */
/* ... (your existing sidebar styles here, no changes needed to them) ... */

/*.sidebar-container.collapsed .nav-label {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s;
}

.sidebar-container:not(.collapsed) .nav-label {
    width: auto;
    opacity: 1;
    visibility: visible;
}*/

/* --- Sidepane Specific Styles --- */
.sidepane-container {
    position: fixed; /* Changed to fixed so it stays in viewport relative to scroll */
    left: 60px; /* IMPORTANT: Match this to your .sidebar-container.collapsed width */
    /* top: 0; */ /* Will be set dynamically by JavaScript, or by your hardcoded percentage */
    width: 200px; /* Width of the sidepane */
    height: auto; /* Allow height to adjust to content */
    max-height: calc(100vh - 20px); /* Default max height, adjusted by JS for specific position */
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 100000;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* For click-based, we'll start hidden and transition to visible */
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px); /* Initial slide position */
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s; /* Smooth transition */
}

    /* Class to make the sidepane visible (added by Blazor C#) */
    .sidepane-container.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(0); /* Slide into its final position */
    }


/* Sidepane header styling */
.sidepane-header {
    font-weight: bold;
    font-size: 1.1em;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* Sidepane content area (holds the sub-items) */
.sidepane-content {
    flex-grow: 1;
}

/* Individual submenu item within the sidepane */
.sidepane-item {
    padding: 8px 5px;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .sidepane-item:hover {
        background-color: #e0e0e0;
        color: #007bff;
    }

    /* Style for the currently active/expanded sub-nav item (optional) */
    .sidepane-item.sub-nav-item-open {
        font-weight: bold;
        background-color: #e6f2ff;
        color: #0056b3;
    }

/**navbar expand icon**/
.navbar-expand-icon {
    position: absolute;
    margin-left: 92%;
   /* z-index: 200000000 !important;*/
    border-radius: 19px;
    top: 35px;
    background: white;
    cursor: default;
}

.w100per {
    width: 100% !important;
}

/*.e-aiassistview .e-view-content
{
    height : 100% !important;
}*/

.navbar-collapsed-icon {
    position: absolute;
    left: 35px;
    border-radius: 19px;
    /*z-index: 200000000 !important;*/
    top: 35px;
    background: white;
}

.waving-hand-container
{
    margin-left: 10px !important;
}
/**status badge**/
.header-status-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 14px;
    white-space: nowrap;
    font-weight: 500;
    color: #000000;
    align-self: anchor-center;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #4ade80; /* green color */
    border-radius: 50%;
    margin-right: 8px;
}

/* RAG Status Badge Colors */
.status-green {
    background: #dcfce7;
    color: #166534;
}

.status-amber {
    background: #fef3c7;
    color: #92400e;
}

.status-red {
    background: #fee2e2;
    color: #991b1b;
}

.status-notset {
    background: #f3f4f6;
    color: #6b7280;
}


/**profile pic**/
.profile-container {
    background-color: #D3E0FB; /* Google's blue */
    color: #2563EB;
    font-weight: bolder;
    border: 2px solid white; /* White border */
    border-radius: 50%; /* Full circle */
    width: 35px; /* Equal width and height */
    height: 35px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center; /* Center content */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-badge-profile {
    /*flex-wrap: nowrap;
    position: relative;*/
    /* float: right; */
    /*display: flex;
    justify-content: flex-end !important;
    display: flex !important;*/
    /* margin-left: 60%; */
    /*height: 100%;
    width: 50%;
    flex-wrap: nowrap;*/

    position:relative;
}


/**AI chat popup**/
/* Chat popup - position above bottom right corner */
.ai-chat-popup {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 90vw;
    max-width: 400px;
    height: 75vh;
    max-height: 600px;
    background-color: #f4f6fb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    font-family: 'AptosFont', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 9999;
}

.body-container-div
{
    height:95% !important;
    overflow:scroll;
    scrollbar-width:none;
}

.page-container-div
{
    height:100% !important;
}
/* Header */
.ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #14b8a6 0%, #10b981 100%);
    padding: 12px 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* AI Agent Selector - Subtle Green Style */
.ai-agent-selector {
    min-width: 200px;
    flex: 0 0 auto;
}

.ai-menu-dropdown.e-btn,
.ai-menu-dropdown.e-dropdown-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-weight: 500 !important;
    color: white !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    min-width: 200px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    text-align: left !important;
}

.ai-menu-dropdown.e-btn:hover,
.ai-menu-dropdown.e-dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-1px);
}

/* Icon and text container - left aligned */
.ai-menu-dropdown.e-btn .e-btn-content,
.ai-menu-dropdown .e-dropdown-btn-content {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    justify-content: flex-start !important;
}

.ai-menu-dropdown .ai-logo {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    order: -1 !important;
}

/* Dropdown chevron - right aligned */
.ai-menu-dropdown .e-caret,
.ai-menu-dropdown .e-icon-right {
    color: white !important;
    margin-left: auto !important;
    opacity: 0.8 !important;
    font-size: 14px !important;
}

.ai-title {
    display: none;
}

.ai-title-spacer {
    flex: 1;
}

/* Header Action Buttons */
.ai-header-action {
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.ai-header-action:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.ai-header-action i {
    font-size: 14px;
}

.ai-header-action.ai-close:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* Remove old styles */
.ai-icon {
    display: none;
}

.ai-chat-popup-dev-mode {
    display: none;
}

.ai-expand {
    display: none;
}

.ai-chat-material-icon {
    display: none;
}

.ai-chat-material-close-icon {
    display: none;
}

.ai-popup-header-logo {
    height: 30px;
    width: 30px;
}
/* AssistView box */
.ai-chat-box {
   /* flex: 1;
    padding: 1rem;*/
    overflow-y: auto;
    background-color: #FFFFFF;
}

/* Responsive */
@media screen and (max-width: 480px) {
    .ai-chat-popup {
        right: 10px;
        bottom: 80px;
        width: 95vw;
        height: 70vh;
    }
}

/* AI Chat Icon Button - positioned to align with chat dialog */
.ai-chat-icon-button {
    position: fixed;
    z-index: 9999;
    cursor: move;
}

.chat-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
}

/* AI Chat Dialog Container - appears above the icon when opened */
.chat-container {
    position: absolute;
    bottom: 5.5rem;
    right: 1rem;
    width: 30rem;
    height: 50%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    z-index: 20000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

@media (max-width: 1024px) {
    /* For tablets and below (including mobiles) */
    .chat-container {
        position: absolute;
        bottom: 5.5rem;
        height: 50%;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 12px;
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }
}


.chat-container-expanded {
    position: fixed;
    bottom: 5.5rem;
    top: 1rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.chat-header {
    /* background: #f3f3f3;
    padding: 0.5rem 1rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;*/

    display: none;
}

.close-btn {
    font-size: 0.9rem;
}

.e-aiassistview .e-footer {
    position: relative;
    margin: 0 auto 24px;
    width: 100%;
    padding: 0 12px;
}

/* Enhanced Input Area */
.e-aiassistview .e-footer .e-input-group {
    min-height: 60px !important;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
}

.e-aiassistview .e-footer .e-input-group:focus-within {
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.e-aiassistview .e-footer .e-input-group textarea {
    min-height: 56px !important;
    padding: 16px 60px 16px 16px !important;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'AptosFont', sans-serif;
}

/* Enhanced Send Button - Bright MG Green Circle - Fully Inside Input Box */
.e-aiassistview .e-footer .e-assist-send,
.e-aiassistview .e-footer .e-assist-send.e-btn,
.e-aiassistview .e-footer .e-assist-send.e-primary,
.e-aiassistview .e-footer .e-assist-send.e-flat,
.e-aiassistview .e-footer button.e-assist-send,
.e-aiassistview .e-footer button[class*="assist-send"],
button.e-assist-send {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    background-color: #10b981 !important;
    background-image: none !important;
    background: #10b981 !important;
    border: none !important;
    border-color: transparent !important;
    border-radius: 50% !important;
    color: white !important;
    fill: white !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
    position: absolute !important;
    right: 14px !important;
    bottom: 10px !important;
    top: auto !important;
    left: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
    opacity: 1 !important;
    filter: none !important;
    outline: none !important;
}

.e-aiassistview .e-footer .e-assist-send::before,
.e-aiassistview .e-footer .e-assist-send::after {
    display: none !important;
}

.e-aiassistview .e-footer .e-assist-send:active,
.e-aiassistview .e-footer .e-assist-send:focus,
.e-aiassistview .e-footer .e-assist-send:focus-visible,
.e-aiassistview .e-footer button.e-assist-send:active,
.e-aiassistview .e-footer button.e-assist-send:focus {
    background: #10b981 !important;
    background-color: #10b981 !important;
    border-color: transparent !important;
    outline: none !important;
}

.e-aiassistview .e-footer .e-assist-send:hover:not(.disabled),
.e-aiassistview .e-footer button.e-assist-send:hover:not(.disabled) {
    transform: scale(1.05) !important;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.6) !important;
    background: #059669 !important;
    background-color: #059669 !important;
}

/* Disabled state - STILL GREEN! */
.e-aiassistview .e-footer .e-assist-send.disabled,
.e-aiassistview .e-footer .e-assist-send[disabled],
.e-aiassistview .e-footer button.e-assist-send.disabled,
.e-aiassistview .e-footer button.e-assist-send[disabled] {
    background: #10b981 !important;
    background-color: #10b981 !important;
    background-image: none !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    border: none !important;
    border-color: transparent !important;
    pointer-events: none !important;
}

/* Icon styling - ensure visibility */
.e-aiassistview .e-footer .e-assist-send .e-icons,
.e-aiassistview .e-footer .e-assist-send svg,
.e-aiassistview .e-footer .e-assist-send svg path,
.e-aiassistview .e-footer .e-assist-send i,
.e-aiassistview .e-footer .e-assist-send span,
.e-aiassistview .e-footer .e-assist-send::before {
    font-size: 18px !important;
    color: white !important;
    fill: white !important;
    stroke: white !important;
    font-weight: bold !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Make sure the icon is centered */
.e-aiassistview .e-footer .e-assist-send .e-icons {
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ai-chat-container {
    height: 100%;
    width:100% !important;
}

    .ai-chat-container .e-content-body * :not(.material-symbols-outlined) {
        font-family: 'AptosFont', sans-serif;
    }

.e-prompt-container .e-prompt-text {
        background: #2563EB;
        color: #F4F5F6;
        border: 1px solid #fff;
        margin: 6px 0;
        border-radius: 16px 16px 0px 16px;
        max-width: 100%;
        word-wrap: break-word;
        font-family: 'AptosFont', sans-serif;
    }

.e-aiassistview .e-output-container {
    max-width: 100% !important;
    width: auto;
}

.e-output-container:has(.e-skeleton) {
    width: 70% !important;
}

.e-output-container .e-content-body {
    background: #f4f5f6;
    color: #F4F5F6;
    margin: 6px 10px;
    border-radius: 16px 16px 0px 16px !important;
    max-width: 100%;
    word-wrap: break-word;
    font-family: 'AptosFont', sans-serif;
}

.e-aiassistview .e-output {
    gap: 2px;
    background-color: #f4f5f6;
    justify-content: end;
    position: relative;
    border-radius: 16px 16px 16px 0px !important;
}

.e-content-footer {
    display: none;
}

.ai-chat-container-full-screen .e-footer {
    position: fixed;
    top: 87%;
    height: 20%;
    background: #FFF;
    padding-top: 2rem;
}

.e-aiassistview .e-view-content {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.e-aiassistview .e-view-container, .e-aiassistview .e-footer {
    width: 100%;
}

.e-aiassistview .e-views {
    height: 100%;
    overflow: scroll;
    scrollbar-width: none;
}

.e-aiassistview .e-footer:not(.e-footer-template) .e-assist-send.disabled {
    margin-right: 6px !important;
}

.e-suggestion-list ul {
    display: grid !important;
}

/**SEND steps**/
/* Ensure equal spacing between steps */

ol.e-stepper-steps li {
    flex: 1;
}

.send-progress-container .e-stepper-steps .e-step-container {
    flex: 1 1 auto;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

    /* Circle appearance using a pseudo-element */
    .send-progress-container .e-stepper-steps .e-step-container::before {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background-color: #d3d3d3; /* default grey */
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Line between steps */
    .send-progress-container .e-stepper-steps .e-step-container:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        height: 2px;
        width: 100%;
        background-color: #d3d3d3;
        z-index: -1;
    }

/* Completed steps – green circle and green line */
.send-progress-container .e-stepper-steps .e-step-completed::before {
    background-color: #34A853; /* lighter green */
}

.send-progress-container .e-stepper-steps .e-step-completed + .e-step-container::after {
    background-color: #34A853;
}

/* Active step – darker green */
.send-progress-container .e-stepper-steps .e-step-inprogress::before,
.e-stepper-steps .e-step-selected::before {
    background-color: #137333; /* darker green */
}

/* Step label styling */
.send-progress-container .e-stepper-steps .e-step-label-container {
    margin-top: 20px;
    display: block;
    font-size: 13px;
    white-space: normal !important;
}

.send-progress-container .e-stepper .e-stepper-progressbar {
    all:unset;
    margin-left:5% !important;
    height: 1.6px;
    top: 14px !important;
    position: absolute;
    width: 90% !important;
    background-color: #4ade80;
}

.custom-upload-wrapper {
    margin-right: 9px;
}

.send-progress-container {
    flex-wrap: nowrap;
    position: relative;
    margin-top: 6rem;
}

    .send-progress-container .e-stepper-steps .e-step-label-container .e-label {
        color: #1c1b1f !important;
    }

    .send-progress-container .e-stepper .e-stepper-progressbar > .e-progressbar-value {
        background-color: #194A2B;
    }

    .send-progress-container .send-step-skipped .e-indicator {
        background-color: gainsboro !important;
    }

    /* First item */
    .send-progress-container ol.e-stepper-steps .e-indicator {
        background-color: #fff;
        color: black;
        box-shadow: 0 0 0 1px black !important;
    }

    .send-progress-container ol.e-stepper-steps .e-step-selected .e-indicator {
        background-color: #0C5FE3;
        color: white;
        box-shadow: 0 0 0 1px black !important;
        border: 2px solid #d3e0fb;
    }

    /* 4th item */
    /*.send-progress-container ol.e-stepper-steps li:nth-child(4) .e-indicator {
        background-color: lightgreen;
    }*/

    /* Last item */
    /*.send-progress-container ol.e-stepper-steps li:nth-child(7) .e-indicator {
        background-color: #319455;
        color: white;
    }

    .send-progress-container ol.e-stepper-steps .e-indicator {
        background-color: #dbf8e6;
    }*/


/*send student selection progress bar change*/

.send-student-progress-container {
    flex-wrap: nowrap;
    position: relative;
    margin-top: 6rem;
    padding-bottom: 1rem;
}

#pbiReportContainer iframe {
    border-width: 0;
}

.send-student-progress-container ol.e-stepper-steps .e-indicator {
    background-color: #0C5FE3;
    color: white;
}

.fontsize14px {
    font-size: 14px;
}

.send-student-progress-container ol.e-stepper-steps .e-step-disabled .e-indicator {
    background-color: #d3e0fb;
    color: #2563eb;
}

.send-student-progress-container ol.e-stepper-steps .e-step-notstarted .e-indicator {
    background-color: mintcream;
    color: black;
}


.send-student-progress-container .e-stepper .e-stepper-progressbar > .e-progressbar-value {
    background-color: #0C5FE3;
}

.send-student-progress-container .e-stepper-steps .e-step-label-container .e-label {
    color: #1c1b1f !important;
}

.send-student-progress-container ol.e-stepper-steps .e-step-disabled .e-step-label {
}

.send-student-progress-container .e-stepper-steps .e-step-disabled .e-step-label-container .e-label {
    color: #7E8893 !important;
}

.send-student-progress-container .e-stepper-steps .e-step-label-container {
    margin-top: 20px;
    display: block;
    font-size: 13px;
    white-space: normal !important;
}

.send-student-progress-container .send-progress-container {
    flex-wrap: nowrap;
    position: relative;
    top: 2rem;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

/*SEND GRID style*/

.send-grid-scroll thead th {
    background-color: #ECEDEF;
}

.rz-grid-table thead th .rz-column-title-content {
    font-weight: 600;
}

.send-top-tabs .rz-tabview-title {
    font-size: smaller;
    text-transform: none !important;
}

.rz-tabview-selected {
    border-top-width: 0;
    border-bottom: 2px solid #0C5FE3 !important;
}

    .rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected a {
        letter-spacing: normal !important;
    }

.send-top-tabs .rz-tabview.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top-width: 0;
    border-bottom: 2px solid #0C5FE3 !important;
}

.rz-tabview-selected .rz-tabview-title {
    color: #0C5FE3;
    font-size: 14px;
    text-transform: none !important;
}

.top-intro-section {
    flex-wrap: nowrap;
    position: relative;
    width: 100%;
}

.user-intro-container {
    width: 50%;
}

.send-search-control {
    position: relative;
    z-index: 100;
}

.send-search-control-input {
    position: relative;
    background: #F4F5F6;
}

.new-assessment-btn-container {
    flex-wrap: wrap;
    width: 21%;
    position: relative;
    left: 79%;
    margin-bottom: 27px;
    margin-top: 20px;
    z-index: 90;
}

.send-top-tabs {

    position: relative;

}

h4.fw-bolder {
    font-weight: bolder;
    color: black !important;
}

.cursor-default {
    cursor: default;
}

.yellow-icon {
    margin-top: 6px;
    color: gold;
}

/*send empty document tab*/
.empty-upload-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-upload-image {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.8;
}

.empty-upload-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

.empty-upload-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.hidden-upload {
    display: none !important;
}

.file-name {
    margin-left: 12px;
    color: #555;
    font-size: 14px;
}

.custom-upload-container {
    gap: 10px;
    margin-right: 1% !important;
}



.upload-button {
    border-radius: 8px !important;
    background-color: #0C5FE3 !important;
    text-transform: capitalize;
}

.upload-box {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background-color: #f9f9f9;
    flex-wrap: wrap !important;
}

.upload-title {
    font-weight: 600;
    color: #000;
}

.upload-subtext {
    font-size: 12px;
    color: #777;
}

.form-label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

.mg-bold-label {
    font-size: 20px;
    font-weight: 600;
    position: relative;
    color: var(--color-black);
    align-self: start;
}

.profile-details-right-container p {
    padding-right: 3%;
}
/* Remove existing styles on hover, focus, and active */
/* Base autocomplete container */
.syncf-autocomplete {
    box-sizing: border-box !important;
    width: 100% !important;
    font-family: inherit !important;
    font-size: 14px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

    /* Inner input sizing & padding */
    .syncf-autocomplete input {
        box-sizing: border-box !important;
        width: 100% !important;
        height: 2.5rem !important;
        padding: 0.5rem 0.75rem !important;
        font-size: 14px !important;
        font-family: inherit !important;
        background: transparent !important; /* inherit parent bg */
        border: none !important; /* remove inner border */
        outline: none !important;
    }

    /* Focus & active states on container */
    .syncf-autocomplete:focus-within,
    .syncf-autocomplete:active {
        border-color: #0C5FE3 !important;
        width: 100% !important;
        box-shadow: 0 0 0 2px rgba(12,95,227,0.25) !important;
        outline: none !important;
    }

/*profile picture and section*/

.profile-popup {
    position: absolute;
    float: right;
    top: 40px;
    right: 55px;
    border-radius: 1px 10px 1px 1px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 8px 0px 8px 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 220px;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

    .profile-popup.show {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
    }


.card-container {
    width: 300px;
    height: 435px;
    background: #FFF;
    border-radius: 6px;
    position: absolute;
    z-index: 110;
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: inline-block;
}

.upper-container {
    height: 150px;
    background: #0C5FE3;
}

.image-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transform: translate(100px, 100px);
}

    .image-container img {
        width: 80px;
        height: 80px;
        border-radius: 50%;
    }

.lower-container {
    height: 280px;
    background: #FFF;
    padding-top: 40px;
    text-align: center;
    display: grid;
    font-family: 'AptosFont', sans-serif;
}

    .lower-container h3, .lower-container h4 {
        box-sizing: border-box;
        line-height: 0.6;
        font-weight: lighter;
    }

    .lower-container h4 {
        color: #0C5FE3;
        opacity: 0.6;
        font-weight: bold;
    }

    .lower-container p {
        font-size: 16px;
        color: gray;
        margin-bottom: 30px;
    }

    .lower-container .btn {
        padding: 12px 20px;
        background: #0C5FE3;
        border: none;
        color: white;
        border-radius: 30px;
        font-size: 12px;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.3s ease-in;
    }

        .lower-container .btn:hover {
            background: transparent;
            color: #0C5FE3;
            border: 2px solid #7F00FF;
        }

.filter-button {
    background: #FFF !important;
    color: #0C5FE3 !important;
    border: 1px solid #0C5FE3 !important;
    border-radius: 8px !important;
    padding: 0.4rem 1rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-transform: capitalize !important;
}

.rz-chkbox-box.rz-state-active {
    background-color: #0C5FE3 !important; /* Modern way, supported in most modern browsers */
}

.sfsifdebar-header {
    padding: 0px 10px 0px 10px;
}

.responsive-container {
    display: flex !important;
    flex-wrap: wrap !important;
}

.sfsidebar-pane {
    border-inline-end: var(--rz-sidebar-border-inline-end);
    width: 20rem !important;
    background: #FFF !important;
    height:auto !important;
    z-index: 1000;
    overflow:auto;
    scrollbar-width:none;
}

.filter-actions {
    padding: 1rem !important;
    border-top: 0.8px solid #ddd;
}

.top-search-section {
    flex-wrap: nowrap;
    position: relative;
    width:50%;
    left:50%;
}

.save-actions {
    position: relative;
    margin-top: 2.5rem;
}

.rz-tabview.rz-tabview-top > .rz-tabview-panels
{
    border-top: none !important;
}

.filter-count-para {
    background: #0C5FE3 !important;
    color: white;
    width: 20px;
    border-radius: 50%;
}

.mtop-5px-mleft-2rm {
    margin-top: 5px;
    margin-left: 2rem;
}

.mg-default-color {
    color: #0C5FE3 !important
}

span.voted {
    color: #0C5FE3 !important;
}

span.material-symbols-outlined:hover {
    color: #0C5FE3 !important;
    cursor: default;
}

.syncf-autocomplete.e-popup {
    width: 72.3% !important;
}

.ai-menu.e-btn:hover {
    background-color: #0C5FE3 !important;
    border-radius: 8px !important;
}

.fontsize16px
{
    font-size: 16px;
}

.navigation-icon-dropdown-template.e-popup-open
{
    width:30% !important;
}


.second-pbi-deploy-history-tab {
    margin-top: -1rem;
    padding: 1rem 1rem 1rem 1rem;
}

.ai-chat-container .e-input-group.e-multi-line-input.e-auto-width {
    width: 100% !important;
}

/* ===== PbiManagement.razor.css ===== */
.pbi-management-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pbi-header-filters .filter-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-weight: 600;
    color: #111827;
    min-height: 32px;
}

.pbi-tab-shell {
    padding: 0 1.5rem 1.5rem;
}

.pbi-tab-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
    padding: 1rem 1rem 1.25rem;
}

.pbi-tab :deep(.e-tab-header) {
    margin-bottom: 1rem;
    border-bottom: 0;
}

.pbi-tab :deep(.e-tab-header .e-toolbar-item) {
    padding: 0.25rem 0.5rem;
}

.pbi-tab :deep(.e-tab-wrap) {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pbi-tab :deep(.e-tab-wrap:hover) {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.pbi-tab :deep(.e-tab-header .e-toolbar-item.e-active .e-tab-wrap) {
    background: linear-gradient(135deg, #0C5FE3 0%, #0a4fc0 100%);
    border-color: #0C5FE3;
    box-shadow: 0 8px 20px rgba(12, 95, 227, 0.25);
}

.pbi-tab :deep(.e-tab-header .e-toolbar-item.e-active .tab-title),
.pbi-tab :deep(.e-tab-header .e-toolbar-item.e-active .tab-caption),
.pbi-tab :deep(.e-tab-header .e-toolbar-item.e-active i) {
    color: #ffffff;
}

.hide-tab-header :deep(.e-tab-header) {
    display: none;
}

.hide-tab-header :deep(.e-content) {
    border-top: none;
    padding: 0;
}

.hide-tab-header :deep(.e-content .e-item) {
    padding: 0;
}

.pbi-tab :deep(.e-tab-header .e-toolbar-item .tab-title) {
    font-weight: 700;
    color: #111827;
}

.pbi-tab :deep(.e-tab-header .e-toolbar-item .tab-caption) {
    font-size: 0.82rem;
    color: #6b7280;
}

.tab-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tab-label i {
    color: #0C5FE3;
}

.tab-content-container {
    display: grid;
    gap: 0.75rem;
}

.tab-content-container.card-like {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.05);
}

.upload-panel,
.history-panel {
    background: #ffffff;
}

.card-like {
    background: #ffffff;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
    align-items: end;
}

.form-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.selected-file {
    margin: 0rem 0rem 0.45rem;
    color: #6b7280;
    font-size: 0.85rem;
}

.upload-actions {
   
    align-items: center;
}

.panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.hide-tab-header :global(.e-tab .e-tab-header) {
    display: none !important;
}

.panel-header small {
    color: #6b7280;
}

.loading-state {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 1rem 0;
    color: #4b5563;
}

.route-actions {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .pbi-tab-shell {
        padding: 0 1rem 1.5rem;
    }

    .pbi-tab-card {
        padding: 1rem;
    }

    .route-actions {
        flex-direction: column;
    }
}


.mg-text-white
{
    color : #FFF !important;
}