@import '_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css';

body {
    --body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    margin: 0;
}

.navmenu-icon {
    display: none;
}

.main {
    min-height: calc(100dvh - 86px);
    color: var(--neutral-foreground-rest);
    align-items: stretch !important;
}

.body-content {
    align-self: stretch;
    height: 100% !important;
    display: flex;
}

.content {
    
    align-self: stretch !important;
    width: 100%;
}

.manage {
    width: 100dvw;
}

footer {
    background: var(--neutral-layer-4);
    color: var(--neutral-foreground-rest);
    align-items: center;
    padding: 10px 10px;
}

    footer a {
        color: var(--neutral-foreground-rest);
        text-decoration: none;
    }

        footer a:focus {
            outline: 1px dashed;
            outline-offset: 3px;
        }

        footer a:hover {
            text-decoration: underline;
        }

.alert {
    border: 1px dashed var(--accent-fill-rest);
    padding: 5px;
}


#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;
    margin: 20px 0;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        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::before {
        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");
    }

code {
    color: #c02d76;
}

@media (max-width: 600px) {
    .header-gutters {
        margin: 0.5rem 3rem 0.5rem 1.5rem !important;
    }

    [dir="rtl"] .header-gutters {
        margin: 0.5rem 1.5rem 0.5rem 3rem !important;
    }

    .main {
        flex-direction: column !important;
        row-gap: 0 !important;
    }

    nav.sitenav {
        width: 100%;
        height: 100%;
    }

    #main-menu {
        width: 100% !important;
    }

        #main-menu > div:first-child:is(.expander) {
            display: none;
        }

    .navmenu {
        width: 100%;
    }

    #navmenu-toggle {
        appearance: none;
    }

        #navmenu-toggle ~ nav {
            display: none;
        }

        #navmenu-toggle:checked ~ nav {
            display: block;
        }

    .navmenu-icon {
        cursor: pointer;
        z-index: 10;
        display: block;
        position: absolute;
        top: 15px;
        left: unset;
        right: 20px;
        width: 20px;
        height: 20px;
        border: none;
    }

    [dir="rtl"] .navmenu-icon {
        left: 20px;
        right: unset;
    }
}

/* Sidebar */
.sidebar {
    background-color: #f9f9f9;
    padding: 1rem;
    border-right: 1px solid #e5e5e5;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Footer */
.footer {
    background-color: #fafafa;
    border-top: 1px solid #e5e5e5;
    padding: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

/* Grid container */
.grid-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.95em;
    font-weight: 500;
    display: inline-block;
}

.status-True {
    background: #d1fae5;
    color: #059669;
}

.status-False {
    background: #fee2e2;
    color: #dc2626;
}

.status-draft {
    background: #fef3c7;
    color: #b45309;
}

/*Processing wheel*/
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

.loading-content {
    background: white;
    padding: 2rem 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-width: 300px;
}

    .loading-content p {
        margin: 1rem 0 0.5rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #333;
    }

    .loading-content small {
        color: #666;
        font-size: 0.9rem;
    }


/*grid searhc box*/
.flag {
    height: 1rem;
    margin-top: 4px;
    border: 1px solid var(--neutral-layer-3);
}

.search-box {
    min-width: 250px;
    width: 100%;
}

    .search-box fluent-search {
        width: 100%;
    }



    /*Grid Buttons*/

.button-red {
    background-color: red !important;
    border-color: red !important;
    color: white !important;
}

.button-green {
    background-color: green !important;
    border-color: green !important;
    color: white !important;
}

.button-red:hover {
    background-color: darkred !important;
    border-color: darkred !important;
}

.button-green:hover {
    background-color: darkgreen !important;
    border-color: darkgreen !important;
}


.login-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
}

    .login-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2);
    }

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-container {
    margin-bottom: 16px;
}

.logo-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
    margin-bottom: 8px;
}

.welcome-text {
    color: #718096;
    margin: 0;
    font-size: 16px;
}

.login-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    z-index: 2;
}

.form-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.2s ease;
    background: #f7fafc;
}

    .form-input:focus {
        outline: none;
        border-color: #667eea;
        background: white;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .form-input::placeholder {
        color: #a0aec0;
    }

.login-button {
    width: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    }

    .login-button:active {
        transform: translateY(0);
    }

.button-text {
    flex: 1;
    text-align: center;
}

.button-icon {
    transition: transform 0.2s ease;
}

.login-button:hover .button-icon {
    transform: translateX(2px);
}

.error-message {
    background: linear-gradient(135deg, #fed7d7, #feb2b2);
    border: 1px solid #fc8181;
    color: #c53030;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.error-icon {
    flex-shrink: 0;
}

.validation-summary {
    margin-top: 16px;
}

    .validation-summary ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .validation-summary li {
        background: #fed7d7;
        border: 1px solid #fc8181;
        color: #c53030;
        padding: 12px 16px;
        border-radius: 8px;
        margin-bottom: 8px;
        font-size: 14px;
    }

.login-footer {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Page Layout */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 24px 32px;
    margin: -20px -20px 24px -20px;
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.page-icon {
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb-link {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .breadcrumb-link:hover {
        opacity: 0.7;
    }

.breadcrumb-separator {
    opacity: 0.5;
}

.breadcrumb-current {
    font-weight: 500;
}

.page-stats {
    display: flex;
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filters Section */
.filters-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-container {
    display: flex;
    gap: 16px;
    align-items: center;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

.search-input {
    padding-left: 48px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    font-size: 16px;
    transition: all 0.2s;
}

    .search-input:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.clear-filters-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 500;
}

/* Table Section */
.table-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.table-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.table-count {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Table Container with Scroll */
.table-container {
    position: relative;
}

.table-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

    .table-scroll-wrapper::-webkit-scrollbar {
        height: 8px;
    }

    .table-scroll-wrapper::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .table-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

        .table-scroll-wrapper::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

/* FluentUI Data Grid Override Styling */
fluent-data-grid {
    width: 100%;
    min-width: 1800px;
    --design-unit: 4;
    --control-corner-radius: 8;
    --stroke-width: 1;
    --focus-stroke-width: 2;
}

fluent-data-grid-row {
    border-bottom: 1px solid var(--neutral-stroke-divider-rest) !important;
    height: 50px !important;
}

    fluent-data-grid-row:hover {
        background: var(--neutral-fill-secondary-hover) !important;
    }

fluent-data-grid-cell {
    padding: 12px 16px !important;
    font-size: 14px !important;
    border-right: 1px solid var(--neutral-stroke-divider-rest);
    height:50px;
}

/* Header styling */
fluent-data-grid-row[row-type="header"] fluent-data-grid-cell {
    background: #f8fafc !important;
    font-weight: 600 !important;
    color: #374151 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

/* Modern button overrides for FluentUI */
fluent-button {
    --control-corner-radius: 8;
    font-weight: 500;
    font-size: 13px;
}

    fluent-button[appearance="accent"] {
        --accent-fill-rest: #667eea;
        --accent-fill-hover: #5a6fd8;
        --accent-fill-active: #4c63d2;
    }

/* Cell Content Styling */
.cell-content {
    display: flex;
    align-items: center;
    gap: 8px;
 
}

.title-cell {
    max-width: 200px;
}

.product-title {
    display: block;
    font-size: 14px;
    color: #1e293b;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.id-link {
    font-weight: 600;
    color: #667eea;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #667eea;
    font-size: 14px;
}

.price-cell {
    text-align: right;
}

.proceeds-cell {
    text-align: right;
}

.price-amount {
    font-weight: 600;
    color: #059669;
}

.percentage {
    font-size: 12px;
    font-weight: 500;
    margin-top: 2px;
}

    .percentage.positive {
        color: #059669;
    }

    .percentage.negative {
        color: #dc2626;
    }

.days-badge {
    background: #e0e7ff;
    color: #3730a3;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

    .status-badge.active {
        background: #dcfce7;
        color: #166534;
    }

    .status-badge.inactive {
        background: #fee2e2;
        color: #991b1b;
    }

    .status-badge.amazon-status {
        background: #fef3c7;
        color: #92400e;
    }

    .status-badge.meli-status {
        background: #e0f2fe;
        color: #0c4a6e;
    }

/* Attribute Button */
.attribute-button {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    min-width: 60px;
}

    .attribute-button.success {
        background: #dcfce7;
        color: #166534;
        border: 1px solid #bbf7d0;
    }

    .attribute-button.error {
        background: #fee2e2;
        color: #991b1b;
        border: 1px solid #fecaca;
    }

/* Action Buttons */
.actions-cell {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

    .action-btn.primary-action {
        background: #667eea;
        color: white;
    }

    .action-btn.secondary-action {
        background: #10b981;
        color: white;
    }

    .action-btn.meli-action {
        background: #f59e0b;
        color: white;
    }

    .action-btn.danger-action {
        background: #ef4444;
        color: white;
    }

/* Bulk Actions */
.bulk-actions-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 20px 32px;
}

.bulk-actions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.selection-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #374151;
}

.bulk-actions-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.bulk-btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
}

    .bulk-btn.danger {
        background: #ef4444;
        color: white;
    }

/* Pagination */
.pagination-top, .pagination-bottom {
    padding: 16px 32px;
}

.pagination-bottom {
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.loading-spinner {
    margin-bottom: 20px;
}

.loading-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.loading-subtitle {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

/* Filter Dropdown */
.filter-dropdown {
    padding: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .page-header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .table-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .search-container {
        flex-direction: column;
        gap: 12px;
    }

    .bulk-actions-buttons {
        justify-content: center;
    }

    .actions-cell {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 16px 20px;
        margin: -16px -16px 16px -16px;
    }

    .filters-section, .table-section {
        margin: 0 -16px;
        border-radius: 0;
    }

    .table-header, .bulk-actions-section {
        padding: 16px 20px;
    }

    .pagination-top, .pagination-bottom {
        padding: 12px 20px;
    }
}

/* Animation for smooth loading */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-section {
    animation: fadeIn 0.6s ease-out;
}

.filters-section {
    animation: fadeIn 0.4s ease-out;
}



/* Add this CSS to your site.css or in a <style> section in your component */

/* Enhanced grid styling for better inline editing experience */
 

/* Hover effect for editable cells */
.editable-cell {
    cursor: pointer;
    padding: 1px;
    border-radius: 4px;
    transition: all 0.2s ease;
    min-height: 24px;
    display: flex;
    align-items: center;
}

.editable-cell:hover {
    background-color: var(--neutral-fill-input-hover);
    box-shadow: 0 0 0 1px var(--accent-fill-rest);
}

.editable-cell.editing {
    background-color: var(--neutral-fill-input-focus);
    box-shadow: 0 0 0 2px var(--accent-fill-rest);
}

/* Empty cell placeholder styling */
.empty-cell {
    color: var(--neutral-foreground-disabled);
    font-style: italic;
}

/* Action buttons styling */
.action-buttons {
    display: flex;
    gap: 4px;
    justify-content: flex-start;
}

.action-buttons .fluent-button {
    min-width: auto;
    padding: 4px 8px;
}

/* Inline edit form styling */
.inline-edit-form {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 150px;
}

.inline-edit-buttons {
    display: flex;
    gap: 4px;
    margin-top: 4px;
}

/* Loading state */
.loading-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-foreground-rest);
}

/* Status indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-indicator.active {
    background-color: var(--accent-fill-rest);
    color: white;
}

.status-indicator.inactive {
    background-color: var(--neutral-fill-rest);
    color: var(--neutral-foreground-rest);
}

.status-indicator.ai-generated {
    background-color: var(--success-fill-rest);
    color: white;
}

/* Grid responsiveness improvements */
@media (max-width: 768px) {
    .fluent-data-grid {
        font-size: 14px;
    }
    
    .inline-edit-form {
        min-width: 120px;
    }
    
    .action-buttons .fluent-button {
        padding: 2px 6px;
        font-size: 12px;
    }
}

/* Custom scrollbar for the grid */
.fluent-data-grid::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.fluent-data-grid::-webkit-scrollbar-track {
    background: var(--neutral-fill-rest);
    border-radius: 4px;
}

.fluent-data-grid::-webkit-scrollbar-thumb {
    background: var(--neutral-stroke-rest);
    border-radius: 4px;
}

.fluent-data-grid::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-stroke-hover);
}


/*dashboard*/



.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #edebe9;
}

    .metric-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }

.metric-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
}

.metric-title {
    font-size: 14px;
    color: #605e5c;
    font-weight: 500;
}

.metric-value {
    font-size: 32px;
    font-weight: 600;
    color: #323130;
    margin-bottom: 8px;
}

.metric-change {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .metric-change.positive {
        color: #107c10;
    }

    .metric-change.negative {
        color: #d13438;
    }

    .metric-change.neutral {
        color: #605e5c;
    }

.change-indicator {
    font-size: 12px;
}

/* Color themes for different metrics */
.blue {
    background: #e6f2ff;
    color: #0078d4;
}

.green {
    background: #dff6dd;
    color: #107c10;
}

.purple {
    background: #f3e6ff;
    color: #5c2d91;
}

.orange {
    background: #fff4e6;
    color: #d83b01;
}

.teal {
    background: #e0f7f7;
    color: #008272;
}

.red {
    background: #fde7e9;
    color: #d13438;
}

.yellow {
    background: #fff9e6;
    color: #faa001;
}

.indigo {
    background: #e6e6ff;
    color: #4b53bc;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}