#blazor-error-ui {
    background: rgba(255, 255, 224, 0.8); /* Lightyellow with transparency */
    backdrop-filter: blur(10px);
    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 {
    --rz-primary: #2563EB; /* A modern and elegant blue */
    --rz-primary-light: #3B82F6;
    --rz-primary-lighter: #60A5FA;
    --rz-primary-dark: #1D4ED8;
    --rz-primary-darker: #1E40AF;
    --rz-on-primary: #fff;
    --rz-success: #116936 !important; /* Darker Green Override */
    font-size: var(--rz-root-font-size);
}

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+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC4xNjYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDg2IDY2LjM4OTIgMjYzLjU3NiA2Ni4xMDI0IDI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 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");
}

/* Responsive tweaks for header username and layout body */

/* Hide username on narrow screens so the sidebar toggle remains tappable */
@media (max-width: 576px) {
  .user-name {
    display: none !important;
  }
}

/* Expand content and reduce excessive side paddings */
.layout-body {
  padding-left: var(--rz-panel-padding, 0.5rem);
  padding-right: var(--rz-panel-padding, 0.5rem);
}

/* Remove Radzen's container max-width and margins for full-width content */
.rz-body .rz-row {
  margin-left: 0;
  margin-right: 0;
}

.rz-body .rz-column {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

/* Make body stretch fully */
.rz-body {
  width: 100%;
}

.order-card {
    border: 1px solid var(--rz-base-200);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Index Page Styles */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
   /* transition: 1s opacity;*/
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* Reduced opacity */
    /*backdrop-filter: blur(5px);*/ /* Added blur effect */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-logo {
    display: block;
    margin-left: 0;
    margin-right: auto;
    max-width: 180px; /* adjust as needed */
}

.hero-text-white {
    color: #fff !important;
    /* Multiple text shadows for maximum visibility against any background */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),     /* Strong black shadow for contrast */
        -1px -1px 2px rgba(0, 0, 0, 0.5),   /* Additional shadow for edge definition */
        1px 1px 3px rgba(0, 0, 0, 0.7),     /* Medium shadow for depth */
        0 0 8px rgba(0, 0, 0, 0.4);         /* Glow effect for extra visibility */
}

.section {
    padding: 4rem 1rem;
}

.section-title {
    margin-bottom: 3rem;
}

.feature-icon {
    font-size: 48px;
}

.store-logo {
    width: 150px;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

    .store-logo:hover {
        filter: grayscale(0%);
    }

.social-links .rz-button {
    margin: 0 0.5rem;
}

.dashboard-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

.full-height {
    height: 100%;
}

.dashboard-logo {
    width: 150px;
}

.order-card-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

/* PWA Install Card Styles */
.pwa-install-card {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(3, 23, 61, 0.8) 0%, rgba(10, 37, 87, 0.8) 100%); /* Added transparency */
    backdrop-filter: blur(10px); /* Added blur effect */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle border */
    color: white;
    animation: slideUp 0.3s ease-out;
}

.pwa-card-content {
    background: transparent !important;
    border: none !important;
    color: white !important;
}

.pwa-text-content {
    flex: 1;
}

.pwa-title {
    color: white !important;
    margin: 0 !important;
}

.pwa-subtitle {
    color: #e0e0e0 !important;
    margin: 0 !important;
}

.pwa-install-card-auth {
    background: linear-gradient(135deg, rgba(3, 23, 61, 0.8) 0%, rgba(10, 37, 87, 0.8) 100%) !important; /* Added transparency */
    backdrop-filter: blur(10px); /* Added blur effect */
    color: white !important;
}

.pwa-auth-icon {
    font-size: 48px !important;
    color: #ffd700 !important;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.pwa-install-card .install-icon {
    font-size: 48px;
    color: #ffd700;
}

.pwa-install-card .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    transition: opacity 0.2s ease;
}

    .pwa-install-card .close-btn:hover {
        opacity: 0.7;
    }
/* Add to wwwroot/css/site.css - Responsive Sidebar Behavior */

/* Mobile-first sidebar behavior */
@media (max-width: 768px) {
    /* Ensure sidebar overlays content on mobile */
    .rz-sidebar {
        position: fixed !important;
        height: 100vh !important;
        z-index: 1000 !important;
        background: rgba(255, 255, 255, 0.1); /* Glass effect for mobile sidebar */
        backdrop-filter: blur(15px);
    }

    /* Add backdrop when sidebar is open on mobile */
    .rz-layout:has(.rz-sidebar[data-expanded="true"]) .rz-body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        pointer-events: all;
    }

    /* Prevent body scroll when sidebar is open on mobile */
    .rz-layout:has(.rz-sidebar[data-expanded="true"]) {
        overflow: hidden;
    }
}

/* Desktop behavior - keep original layout */
@media (min-width: 769px) {
    .rz-sidebar {
        position: relative !important;
    }
}

/* Smooth transitions for sidebar */
.rz-sidebar {
    transition: transform 0.3s ease-in-out;
}

/* Touch-friendly sidebar toggle on mobile */
@media (max-width: 768px) {
    .rz-sidebar-toggle {
        padding: 0.75rem !important;
        font-size: 1.25rem !important;
    }
}

.workflow-step {
    border-left: 4px solid var(--rz-base-200);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

    .workflow-step.completed {
        border-left-color: var(--rz-success);
    }

    .workflow-step.current {
        border-left-color: var(--rz-primary);
        background-color: var(--rz-primary-light);
        border-radius: 0 8px 8px 0;
    }

    .workflow-step.pending {
        border-left-color: var(--rz-base-300);
    }

.item-card {
    transition: transform 0.2s ease;
}

    .item-card:hover {
        transform: translateY(-2px);
    }

.status-timeline {
    position: relative;
    padding-left: 2rem;
}

    .status-timeline::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--rz-base-200);
    }

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -1.5rem;
        top: 0.5rem;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--rz-base-200);
        border: 3px solid white;
        box-shadow: 0 0 0 2px var(--rz-base-200);
    }

    .timeline-item.completed::before {
        background: var(--rz-success);
        box-shadow: 0 0 0 2px var(--rz-success);
    }

    .timeline-item.current::before {
        background: var(--rz-primary);
        box-shadow: 0 0 0 2px var(--rz-primary);
        animation: pulse 2s infinite;
    }

.tracking-timeline {
    position: relative;
    padding-left: 2rem;
}

    .tracking-timeline::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, var(--rz-primary) 0%, var(--rz-base-200) 100%);
        border-radius: 2px;
    }

.timeline-step {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

    .timeline-step::before {
        content: '';
        position: absolute;
        left: -1.75rem;
        top: 0.5rem;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: var(--rz-base-200);
        border: 3px solid white;
        box-shadow: 0 0 0 2px var(--rz-base-200);
        z-index: 1;
    }

    .timeline-step.completed::before {
        background: var(--rz-success);
        box-shadow: 0 0 0 2px var(--rz-success);
    }

    .timeline-step.current::before {
        background: var(--rz-primary);
        box-shadow: 0 0 0 2px var(--rz-primary);
        animation: pulse 2s infinite;
    }

    .timeline-step.current .step-card {
        border-left: 4px solid var(--rz-primary);
        background: linear-gradient(90deg, var(--rz-primary-light) 0%, transparent 100%);
    }

    .timeline-step.completed .step-card {
        border-left: 4px solid var(--rz-success);
    }

    .timeline-step.pending .step-card {
        border-left: 4px solid var(--rz-base-300);
        opacity: 0.7;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 2px var(--rz-primary);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(var(--rz-primary-rgb), 0.3);
    }

    100% {
        box-shadow: 0 0 0 2px var(--rz-primary);
    }
}

.step-card {
    transition: all 0.3s ease;
}

    .step-card:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

.product-hero {
    background: linear-gradient(135deg, var(--rz-primary-light) 0%, var(--rz-secondary-light) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.action-button {
    min-width: 140px;
}

/* Consolidated Print Styles */
@media print {
    .no-print {
        display: none;
    }

    .print-only {
        display: block;
    }

    .rz-card {
        box-shadow: none !important;
        border: 1px solid #dee2e6;
        break-inside: avoid;
    }

    body {
        font-size: 12px;
    }
}

.status-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Glassmorphism Effect for Radzen Cards */
.rz-card {
    /* Frosted glass effect with a blue tint derived from your site's primary color */
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%); /* Safari support */
    background-color: rgba(96, 165, 250, 0.2) !important; /* Using a transparent version of --rz-primary-lighter */
    /* Subtle border to enhance the glass edge */
    border: 1px solid rgba(96, 165, 250, 0.3);
    /* Ensure content inside the card is not affected by the blur */
    position: relative;
    overflow: hidden; /* Hides the glare when it moves outside the card boundaries */
}

    /* Moving glare effect using a pseudo-element */
    .rz-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* A semi-transparent white gradient to create the light beam */
        background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100% );
        /* Skew the glare and prepare for animation */
        transform: translateX(-150%) skewX(-30deg);
        /* Apply the animation */
        animation: moveGlare 10s infinite linear;
    }

/* Keyframes for the glare animation */
@keyframes moveGlare {
    0% {
        transform: translateX(-150%) skewX(-30deg);
    }

    100% {
        transform: translateX(250%) skewX(-30deg);
    }
}

.jumping-bunny {
    display: inline-block;
    animation: jump 1s infinite;
    vertical-align: middle;
    margin-left: 0.5rem;
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Work Order Dashboard Styles - Updated Version */
.work-order-card {
    transition: transform 0.2s ease-in-out;
}

    .work-order-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

.dashboard-item-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Allow multi-line content */
    width: 100%;
    gap: 1rem;
    min-height: 60px; /* Ensures consistent card height */
}

.dashboard-item-left {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex: 1;
    min-width: 0;
}

.dashboard-item-right {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-shrink: 0;
    text-align: right;
}

.dashboard-status-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem; /* Align with text baseline */
}

.dashboard-client-name {
    word-wrap: break-word;
    line-height: 1.4;
    max-width: 250px; /* Increased for better readability */
}

.dashboard-product-name {
    word-wrap: break-word;
    line-height: 1.4;
    max-width: 400px; /* Increased max-width for better readability */
}

.dashboard-order-id {
    flex-shrink: 0;
    min-width: 80px;
    margin-top: 0.25rem; /* Small top margin to align with text baseline */
}

/* Enhanced Work Order Dashboard Styles - New Implementation */
.dashboard-item-layout-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 1.5rem;
    min-height: 80px; /* Increased height for more content */
}

.dashboard-item-left-enhanced {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex: 2; /* Make left column much wider - takes 2/3 of space */
    min-width: 0;
}

.dashboard-item-right-enhanced {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex: 1; /* Takes 1/3 of space */
    flex-shrink: 0;
    text-align: right;
    min-width: 200px;
}

.dashboard-product-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.dashboard-spanish-description {
    color: var(--rz-text-color-secondary) !important;
    font-style: italic;
    line-height: 1.3;
    margin-top: 0.25rem;
}

.dashboard-notes-red {
    color: #dc3545 !important; /* Bootstrap danger red */
    font-weight: 500 !important;
    line-height: 1.3;
    margin-top: 0.25rem;
    background-color: rgba(220, 53, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border-left: 3px solid #dc3545;
}

.dashboard-total-price {
    font-weight: 600;
    color: var(--rz-success) !important;
    font-size: 1.1em;
}

/* Enhanced Order Item Step Cards */
.order-step-card {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.order-step-card.completed {
    background-color: rgba(108, 117, 125, 0.15) !important; /* Gray background for completed steps */
    border-left: 4px solid var(--rz-success);
}

.order-step-card.current {
    border-left: 4px solid var(--rz-primary);
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
}

.order-step-card.pending {
    border-left: 4px solid var(--rz-base-300);
    opacity: 0.8;
}

.order-step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.order-step-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.order-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}

.order-step-icon.completed {
    background-color: var(--rz-success);
}

.order-step-icon.current {
    background-color: var(--rz-primary);
    animation: pulse 2s infinite;
}

.order-step-icon.pending {
    background-color: var(--rz-base-300);
    color: var(--rz-text-color-secondary);
}

.help-tooltip-trigger {
    color: var(--rz-primary);
    cursor: help;
    font-size: 1.1rem;
    margin-left: 0.5rem;
}

.help-tooltip-trigger:hover {
    color: var(--rz-primary-dark);
}

/* Enhanced Info Cards */
.info-highlight-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.cost-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.cost-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid var(--rz-primary-lighter);
}

.cost-item.total {
    background: linear-gradient(135deg, rgba(17, 105, 54, 0.1) 0%, rgba(17, 105, 54, 0.05) 100%);
    border-left-color: var(--rz-success);
    font-weight: 600;
}

/* Status Badge Enhancements */
.enhanced-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enhanced-status-badge.new {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
    color: white;
}

.enhanced-status-badge.quoted {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
}

.enhanced-status-badge.approved {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: white;
}

.enhanced-status-badge.completed {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
}

/* Contact Button Enhancements */
.contact-button-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.contact-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin: 2rem 0;
    position: relative;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rz-base-200);
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    background: white;
    padding: 0.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.progress-step.completed {
    background: var(--rz-success);
    color: white;
}

.progress-step.current {
    background: var(--rz-primary);
    color: white;
    animation: pulse 2s infinite;
}

.progress-step.pending {
    background: var(--rz-base-100);
    color: var(--rz-text-color-secondary);
    border: 2px solid var(--rz-base-200);
}

/* Image and Media Enhancements */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.media-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--rz-base-50);
    border: 1px solid var(--rz-base-200);
}

.media-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem;
    font-size: 0.875rem;
}

/* Responsive Design for Enhanced Dashboard */
@media (max-width: 768px) {
    .dashboard-item-layout-enhanced {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .dashboard-item-left-enhanced {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        flex: 1;
    }

    .dashboard-item-right-enhanced {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        text-align: left;
        min-width: 0;
    }

    .dashboard-status-actions {
        width: 100%;
        justify-content: flex-start;
        margin-top: 0;
    }

    .dashboard-total-price {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .dashboard-item-left-enhanced {
        align-items: center;
        text-align: center;
    }

    .dashboard-item-right-enhanced {
        align-items: center;
        text-align: center;
    }

    .dashboard-status-actions {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .dashboard-total-price {
        text-align: center;
    }

    .dashboard-notes-red {
        text-align: left;
    }
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
    .dashboard-item-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .dashboard-item-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .dashboard-item-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.5rem;
    }

    .dashboard-status-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0;
    }

    .dashboard-client-name,
    .dashboard-product-name {
        max-width: none;
        text-align: right;
    }
}

@media (max-width: 480px) {
    .dashboard-item-left {
        align-items: center;
        text-align: center;
    }

    .dashboard-item-right {
        align-items: center;
        text-align: center;
    }

    .dashboard-status-actions {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
    }

    .dashboard-client-name,
    .dashboard-product-name {
        text-align: center;
    }
}

/* Responsive Enhancements for Order Item */
@media (max-width: 768px) {
    .cost-breakdown-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-button-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .progress-indicator {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-indicator::before {
        display: none;
    }
}

/* Print Enhancements for Order Item */
@media print {
    .order-step-card {
        break-inside: avoid;
        border: 1px solid #ccc !important;
        background: white !important;
    }
    
    .help-tooltip-trigger {
        display: none;
    }
    
    .contact-button-group .rz-button {
        display: none;
    }
}