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yNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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


.cari-list .rz-datalist-data {
    display: flex !important;
    flex-wrap: wrap !important;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

/* Radzen'ın her kayıt için oluşturduğu li genişliği bozmasın. */
.cari-list .rz-datalist-item {
    display: contents !important;
}

    /* Bootstrap row davranışını Radzen container içinde taklit eder. */
    .cari-list .rz-datalist-item > [class*="col-"] {
        flex-shrink: 0;
        max-width: 100%;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
        margin-top: var(--bs-gutter-y);
    }

colgroup {
    background: rgb(13 152 209 / 6%);
}

.table thead th, .table thead th a {
    color: #fff;
}

.table thead, .e-grid .e-gridheader tr:first-child th, .btn-showcart, .cart-header-bg {
    color: #fff;
    text-shadow: 2px 3px 3px rgb(0 0 0 / 32%);
    background: rgb(13,152,209);
    background: linear-gradient(180deg, rgba(13,152,209,1) 0%, rgba(2,156,249,1) 43%, rgba(13,152,209,1) 100%) !important;
}

.e-grid.e-resize-lines .e-headercell .e-rhandler, .e-grid.e-resize-lines .e-headercell .e-rsuppress {
    border-right: 1px solid #1078ab;
}

.product-detail-image-container {
    width: 100%;
    border: 2px solid #ef233c;
    background: #fff;
    padding: 10px;
    text-align: center;
}

.product-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.product-detail-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-detail-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 14px;
}

    .product-detail-row strong {
        white-space: nowrap;
    }

::deep .product-detail-dialog .e-dlg-content {
    padding: 24px;
}

@media (max-width: 768px) {
    .product-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    ::deep .product-detail-dialog {
        width: calc(100% - 20px) !important;
    }
}

.page.layout-pending {
    visibility: hidden;
}

html {
    animation: lmx-page-enter 1s ease-out;
}

@keyframes lmx-page-enter {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 992px) {
    .fixed-header {
        width: 100%!important;
    }
}

.dashboard-page {
    padding: 16px;
}

.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.dashboard-eyebrow {
    margin-bottom: 4px;
    color: #0d98d1;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dashboard-title {
    margin: 0;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
}

.dashboard-description {
    margin-top: 5px;
    color: #7a8597;
}

.dashboard-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.demo-badge,
.saved-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 700;
}

.demo-badge {
    background: rgb(245 158 11 / 12%);
    color: #a96300;
}

.saved-state {
    background: rgb(9 173 149 / 12%);
    color: #087e6f;
}

.dashboard-section {
    margin-bottom: 26px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

    .section-heading h2 {
        margin: 0;
        font-size: 18px;
        font-weight: 800;
    }

    .section-heading p {
        margin: 3px 0 0;
        color: #8791a2;
        font-size: 13px;
    }

.dashboard-widget-column {
    cursor: grab;
    transition: opacity 150ms ease, transform 150ms ease;
}

    .dashboard-widget-column:active {
        cursor: grabbing;
    }

    .dashboard-widget-column.is-dragging {
        opacity: .45;
        transform: scale(.985);
    }

.dashboard-widget {
    position: relative;
    display: flex;
    min-height: 190px;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgb(225 230 237 / 80%);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 7px 24px rgb(28 39 60 / 6%);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

    .dashboard-widget::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        content: "";
        background: var(--widget-accent);
    }

    .dashboard-widget:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgb(28 39 60 / 10%);
    }

.accent-primary {
    --widget-accent: #0d98d1;
    --widget-soft: rgb(13 152 209 / 11%);
}

.accent-success {
    --widget-accent: #09ad95;
    --widget-soft: rgb(9 173 149 / 11%);
}

.accent-info {
    --widget-accent: #1170e4;
    --widget-soft: rgb(17 112 228 / 11%);
}

.accent-warning {
    --widget-accent: #f59e0b;
    --widget-soft: rgb(245 158 11 / 12%);
}

.accent-danger {
    --widget-accent: #e82646;
    --widget-soft: rgb(232 38 70 / 11%);
}

.widget-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 17px 0;
}

.widget-icon {
    display: inline-flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--widget-soft);
    color: var(--widget-accent);
    font-size: 20px;
}

.widget-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}

.widget-order-button {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #99a2b1;
}

    .widget-order-button:hover {
        background: #f2f5f8;
        color: #455165;
    }

.drag-handle {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #aab2bf;
    font-size: 16px;
}

.widget-content {
    flex: 1;
    padding: 15px 17px 14px;
}

.widget-title {
    color: #6f7a8c;
    font-size: 13px;
    font-weight: 700;
}

.widget-value {
    margin-top: 6px;
    color: #1d2635;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 850;
    line-height: 1.05;
}

.widget-subtitle {
    margin-top: 8px;
    color: #8d96a5;
    font-size: 12px;
}

.widget-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf0f4;
    padding: 10px 17px;
    color: var(--widget-accent);
    font-size: 12px;
    font-weight: 750;
}

    .widget-link:hover {
        background: var(--widget-soft);
        color: var(--widget-accent);
    }

.dashboard-banner-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-banner-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-radius: 17px;
    background: #162033;
    box-shadow: 0 8px 24px rgb(28 39 60 / 9%);
}

    .dashboard-banner-card img {
        width: 100%;
        height: 100%;
        min-height: 190px;
        object-fit: cover;
        transition: transform 250ms ease;
    }

    .dashboard-banner-card:hover img {
        transform: scale(1.025);
    }

.banner-overlay {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 32px 19px 17px;
    color: #fff;
    background: linear-gradient( 180deg, transparent, rgb(8 15 28 / 88%) );
}

    .banner-overlay strong {
        font-size: 17px;
    }

    .banner-overlay small {
        max-width: 520px;
        color: rgb(255 255 255 / 80%);
    }

.dashboard-logo-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-logo-card {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 5px 18px rgb(28 39 60 / 5%);
}

    .dashboard-logo-card img {
        max-width: 150px;
        max-height: 46px;
        object-fit: contain;
    }

.dashboard-skeleton {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
}

.skeleton-card {
    min-height: 190px;
    border-radius: 16px;
    background: linear-gradient( 90deg, #f1f3f6 25%, #f8f9fb 37%, #f1f3f6 63% );
    background-size: 400% 100%;
    animation: dashboard-shimmer 1.3s infinite;
}

@keyframes dashboard-shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0 0;
    }
}

@media (max-width: 991.98px) {
    .dashboard-page {
        padding: 9px;
    }

    .dashboard-header {
        flex-direction: column;
    }

    .dashboard-header-actions {
        justify-content: flex-start;
    }

    .dashboard-banner-strip {
        grid-template-columns: 1fr;
    }

    .dashboard-logo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .dashboard-logo-strip,
    .dashboard-skeleton {
        grid-template-columns: 1fr;
    }

    .widget-order-button {
        display: inline-flex;
    }

    .dashboard-banner-card,
    .dashboard-banner-card img {
        min-height: 155px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dashboard-widget,
    .dashboard-banner-card img,
    .dashboard-widget-column {
        transition: none;
    }

    .skeleton-card {
        animation: none;
    }
}
