.animate-underline-primary .animate-target:after,
.animate-underline-primary.animate-target:after {
    background-color: #002868 !important;
}

/* Ensure navbar links work with animate-underline */
.navbar-nav .nav-link.animate-underline.animate-target {
    position: relative;
    text-decoration: none;
}

.navbar-nav .nav-link.animate-underline.animate-target:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentcolor;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.navbar-nav .nav-link.animate-underline.animate-target:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Admin Table Styles */
.btn-xs {
    padding: 0.15rem 0.35rem;
    font-size: 0.75rem;
    line-height: 1.2;
}

#specsTable td,
#specsTable th,
#categoryTable td,
#categoryTable th {
    vertical-align: middle;
    padding: 0.4rem 0.5rem;
}

#categoryTable code {
    font-size: 0.75rem;
}

/* Product Filter Styles */
.filter-group .filter-title {
    font-size: 0.9rem;
    color: #333;
}

.filter-group .form-check {
    padding-left: 1.5rem;
    margin-bottom: 0.35rem;
}

.filter-group .form-check-label {
    font-size: 0.875rem;
    cursor: pointer;
}

.filter-group .form-check-input {
    cursor: pointer;
}

.filter-group .badge {
    font-size: 0.7rem;
    font-weight: normal;
}

#activeFilterTags .badge {
    font-size: 0.8rem;
}

#activeFilterTags .btn-close {
    padding: 0;
    margin-left: 0.25rem;
}

.product-item {
    transition: opacity 0.2s ease-in-out;
}

@media (min-width: 992px) {
    .offcanvas-lg {
        position: static;
        z-index: auto;
        flex-grow: 0;
        width: auto;
        height: auto;
        visibility: visible;
        background-color: transparent;
        border: none;
        transform: none;
        transition: none;
    }

    .offcanvas-lg .offcanvas-header {
        display: none;
    }

    .offcanvas-lg .offcanvas-body {
        display: block;
        padding: 0;
        overflow-y: visible;
    }
}

/* ========================================
   Utility Classes - Extracted from Inline CSS
   ======================================== */

/* Height utilities */
.h-180 {
    height: 180px;
}

.max-h-180 {
    max-height: 180px;
}

.max-h-200 {
    max-height: 200px;
}

.max-h-280 {
    max-height: 280px;
}

.max-h-300 {
    max-height: 300px;
}

/* Width utilities */
.w-50px {
    width: 50px;
}

.w-48px {
    width: 48px;
}

.h-48px {
    height: 48px;
}

.max-w-94 {
    max-width: 94px;
}

.max-w-96 {
    max-width: 96px;
}

.max-w-220 {
    max-width: 220px;
}

.w-45p {
    width: 45%;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Z-index utilities */
.z-toast {
    z-index: 9999;
}

/* Category banner */
.category-banner {
    max-height: 300px;
}

.category-banner-img {
    object-fit: cover;
    max-height: 300px;
}

/* Asset management */
.asset-thumbnail {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.asset-preview-img {
    max-height: 180px;
    max-width: 100%;
}

.asset-edit-preview {
    max-height: 280px;
    max-width: 100%;
}

.asset-preview-container {
    min-height: 200px;
    overflow: hidden;
}

/* Product gallery */
.product-gallery-offset {
    margin-top: -120px;
}

.product-gallery-padding {
    padding-top: 120px;
}

.product-details-offset {
    margin-top: -90px;
}

.product-details-padding {
    padding-top: 90px;
}

.swiper-thumbs-container {
    max-width: 96px;
    height: 650px;
    position: relative;
}

/* Thumbnail navigation arrows */
.swiper-button-prev-thumb,
.swiper-button-next-thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 1;
    visibility: visible;
}

.swiper-button-prev-thumb {
    top: -10px;
}

.swiper-button-next-thumb {
    bottom: -10px;
}

.swiper-button-prev-thumb:after,
.swiper-button-next-thumb:after {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.swiper-button-prev-thumb:after {
    content: '↑';
}

.swiper-button-next-thumb:after {
    content: '↓';
}

.swiper-button-prev-thumb:hover,
.swiper-button-next-thumb:hover {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hide arrows when disabled (at beginning/end) */
.swiper-button-prev-thumb.swiper-button-disabled,
.swiper-button-next-thumb.swiper-button-disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.thumb-ratio {
    max-width: 94px;
}

.sticky-product-img {
    width: 50px;
}

/* Skeleton loader for lazy images */
.skeleton-loader {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.lazy-image {
    will-change: opacity;
}

/* Asset card hover */
.asset-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asset-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Subcategory card */
.subcategory-card {
    transition: all 0.3s ease;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.subcategory-card .card-img-top {
    transition: transform 0.3s ease;
}

.subcategory-card:hover .card-img-top {
    transform: scale(1.05);
}

.subcategory-card .ratio {
    overflow: hidden;
    border-radius: 0.375rem 0.375rem 0 0;
}

/* Product view thumbnail */
.thumb-item {
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumb-item:hover {
    opacity: 1;
}

.thumb-item.active {
    opacity: 1;
    border-color: #000 !important;
    border-width: 2px !important;
}

/* Footer styles */
.footer-newsletter {
    padding-top: 80px;
}

.footer-wave {
    z-index: 1;
    transform: translateY(-1px);
}

.footer-wave svg {
    height: 80px;
    width: 100%;
    display: block;
}

.footer-icon-circle {
    width: 48px;
    height: 48px;
}

.footer-icon {
    font-size: 1.25rem;
}

.newsletter-input {
    background: rgba(255,255,255,0.95);
}

/* Toast container */
.toast-container-fixed {
    z-index: 9999;
}

/* ========================================
   Asset Management - Additional Classes
   ======================================== */

/* Lazy image initial state (before load) */
.lazy-image-initial {
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Preview container styles */
.preview-container {
    max-height: 200px;
    overflow: hidden;
}

/* PDF icon preview container */
.pdf-icon-preview {
    background: #f8f9fa;
}

/* Width auto utility */
.w-auto-inline {
    width: auto;
}

/* Min height for asset preview */
.min-h-150 {
    min-height: 150px;
}

.min-h-200 {
    min-height: 200px;
}



/* Add smooth transitions to elements */
.utopia-category-card img, 
.utopia-category-card .utopia-category-title {
    transition: all 0.3s ease-in-out;
}

/* Ensure the image doesn't overflow the rounded shape when zooming */
.utopia-category-card.ratio {
    overflow: hidden; 
    border-radius: 50rem; /* Forces the pill/circle shape on the container */
}

/* Hover State: Zoom image */
.utopia-category-card:hover img {
    transform: scale(1.1);
}

/* Hover State: Change text color */
.utopia-category-card:hover .utopia-category-title {
    color: var(--bs-primary); /* Uses your Bootstrap primary color */
}

/* ========================================
   Customer Dashboard Styles - Modern Design
   ======================================== */

/* Dashboard Page Container */
.dashboard-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ed 100%);
    min-height: 100vh;
}

/* Dashboard Cards - Modern */
.dashboard-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.dashboard-card .card-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 80%, #000) 100%);
    color: white;
    border-radius: 1rem 1rem 0 0;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.dashboard-card .card-header h5 {
    margin: 0;
    font-weight: 600;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.dashboard-card .card-header h5 i {
    margin-right: 0.75rem;
    opacity: 0.9;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

/* Info Card Styling */
.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-card-icon.primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 70%, #000) 100%);
    color: white;
}

/* Info labels - Modern */
.info-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.info-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.95rem;
}

.info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Order table - Modern */
.order-table {
    border-collapse: separate;
    border-spacing: 0;
}

.order-table thead th {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: #64748b;
    padding: 1rem 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}

.order-table tbody td {
    vertical-align: middle;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.order-table tbody tr:hover td {
    background-color: #f8fafc;
}

.order-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status badges - Modern */
.status-badge {
    padding: 0.4rem 0.875rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.status-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-open {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.status-closed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-cancelled {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

/* Welcome banner - Modern Gradient */
.welcome-banner {
    background: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 60%, #000) 100%);
    color: white;
    border-radius: 1.25rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 40, 104, 0.25);
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    transform: rotate(-15deg);
    pointer-events: none;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
}

.welcome-banner h2 {
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.welcome-banner p {
    opacity: 0.9;
    font-size: 1rem;
}

.welcome-banner .badge {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1rem;
    font-weight: 600;
}

/* Quick links / stat cards - Modern */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 60%, #fff) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 40, 104, 0.15);
    border-color: var(--bs-primary);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card i {
    transition: transform 0.3s ease;
}

.stat-card:hover i {
    transform: scale(1.15);
}

.stat-card .stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--bs-primary) 15%, #fff) 0%, color-mix(in srgb, var(--bs-primary) 8%, #fff) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--bs-primary);
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Date filter - Modern */
.date-filter-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
}

.date-filter-card .form-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.date-filter-card .form-control {
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 0.625rem 0.875rem;
    transition: all 0.2s ease;
}

.date-filter-card .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary) 15%, transparent);
}

/* Order detail modal - Modern */
.order-detail-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 70%, #000) 100%);
    color: white;
    padding: 1.25rem 1.5rem;
}

.order-detail-header h5 {
    font-weight: 700;
}

.order-detail-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.order-detail-section h6 {
    color: var(--bs-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--bs-primary);
    padding-bottom: 0.5rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-line-item {
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.order-line-item:hover {
    border-color: var(--bs-primary);
    box-shadow: 0 2px 8px rgba(0, 40, 104, 0.08);
}

.order-line-item:last-child {
    margin-bottom: 0;
}

/* Dashboard DataTable overrides - Modern */
.dashboard-card .dataTables_wrapper {
    padding: 0.5rem;
}

.dashboard-card .dataTables_wrapper .dataTables_length,
.dashboard-card .dataTables_wrapper .dataTables_filter,
.dashboard-card .dataTables_wrapper .dataTables_info,
.dashboard-card .dataTables_wrapper .dataTables_paginate {
    padding: 0.75rem 0;
}

.dashboard-card .dataTables_wrapper .dataTables_length select,
.dashboard-card .dataTables_wrapper .dataTables_filter input {
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 0.875rem;
    transition: all 0.2s ease;
}

.dashboard-card .dataTables_wrapper .dataTables_filter input:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary) 15%, transparent);
    outline: none;
}

.dashboard-card .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.375rem !important;
    margin: 0 2px;
    transition: all 0.2s ease;
}

.dashboard-card .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(135deg, var(--bs-primary) 0%, color-mix(in srgb, var(--bs-primary) 80%, #000) 100%) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
}

.dashboard-card .dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
    background: color-mix(in srgb, var(--bs-primary) 10%, #fff) !important;
    border-color: var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

/* View Button - Modern */
.btn-view-modern {
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--bs-primary);
    background: transparent;
    color: var(--bs-primary);
}

.btn-view-modern:hover {
    background: var(--bs-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.25);
}

.btn-view-modern i {
    margin-right: 0.35rem;
}

/* Empty State - Modern */
.empty-state {
    padding: 3rem 2rem;
    text-align: center;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.empty-state-icon i {
    font-size: 2rem;
    color: #94a3b8;
}

.empty-state h5 {
    color: #475569;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Address Card */
.address-card-content {
    line-height: 1.8;
    color: #475569;
}

.address-card-content strong {
    color: #1e293b;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Section Title */
.section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--bs-primary);
}

/* Filter Button - Modern */
.btn-filter-toggle {
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    transition: all 0.2s ease;
}

.btn-filter-toggle:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Download Button - Modern */
.btn-download-modern {
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-download-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    color: white;
}

/* Loading Spinner - Modern */
.loading-state {
    padding: 3rem 2rem;
    text-align: center;
}

.loading-state .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

.loading-state p {
    margin-top: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Shipping Report Tabs - Modern */
.shipping-tabs {
    border-bottom: 2px solid #e2e8f0;
    gap: 0.5rem;
}

.shipping-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.shipping-tabs .nav-link:hover {
    color: var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 5%, transparent);
    border-bottom-color: color-mix(in srgb, var(--bs-primary) 30%, transparent);
}

.shipping-tabs .nav-link.active {
    color: var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 8%, #fff);
    border-bottom-color: var(--bs-primary);
}

.shipping-tabs .nav-link .badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.35rem 0.6rem;
    border-radius: 50px;
}

.shipping-tabs .nav-link i {
    font-size: 0.9rem;
}

/* Tab content styling */
#shippingTabContent .tab-pane {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Order Confirmation Modal Styles
   ======================================== */

.order-confirmation {
    background: #fff;
    font-size: 0.9rem;
}

.order-confirmation .table-primary {
    background-color: var(--bs-primary);
}

.order-confirmation .table-primary th {
    background-color: var(--bs-primary);
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-confirmation .table-bordered {
    border-color: #dee2e6;
}

.order-confirmation .table-bordered td,
.order-confirmation .table-bordered th {
    border-color: #dee2e6;
    padding: 0.5rem 0.75rem;
}

.order-confirmation .table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Print styles for order confirmation */
@media print {
    .modal-header,
    .modal-footer {
        display: none !important;
    }

    .modal-dialog {
        max-width: 100% !important;
        margin: 0 !important;
    }

    .modal-content {
        border: none !important;
        box-shadow: none !important;
    }

    .order-confirmation {
        padding: 20px !important;
    }

    .bg-light {
        background-color: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .table-primary th {
        background-color: var(--bs-primary) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* ========================================
   Admin Asset Type Tabs Styling
   ======================================== */
#assetTypeTabs .nav-link {
    color: #6c757d;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    margin-right: 2px;
    transition: all 0.2s ease;
}

#assetTypeTabs .nav-link:hover {
    color: #003068;
    background: #e9ecef;
}

#assetTypeTabs .nav-link.active {
    color: #fff !important;
    background: #003068 !important;
    border-color: #003068 !important;
    font-weight: 600;
}

#assetTypeTabs .nav-link.active .badge {
    background: #fff !important;
    color: #003068 !important;
}

#assetTypeTabs .nav-link .badge {
    font-size: 0.7rem;
}

/* ========================================
   S3 Browser Styles
   ======================================== */
.hover-shadow {
    transition: all 0.2s ease;
}

.hover-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* ========================================
   Admin Dashboard Styles
   ======================================== */

/* Dashboard Stat Cards */
.dashboard-stat-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 48, 104, 0.1);
}

.dashboard-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    transition: all 0.3s ease;
}

.dashboard-stat-card:hover .dashboard-icon {
    transform: scale(1.1);
}

/* Dashboard Card Headers */
.card-header {
    background-color: #fff;
}

/* Progress Bars */
.progress {
    background-color: rgba(0, 48, 104, 0.1);
}

.progress-bar {
    transition: width 0.6s ease;
}

/* List Group Items */
.list-group-item {
    border-left: none;
    border-right: none;
    transition: background-color 0.2s ease;
}

.list-group-item:first-child {
    border-top: none;
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item:hover {
    background-color: rgba(0, 48, 104, 0.02);
}

/* Dashboard Quick Action Buttons */
.dashboard-stat-card .btn-outline-primary:hover,
.dashboard-stat-card .btn-outline-success:hover,
.dashboard-stat-card .btn-outline-info:hover {
    transform: translateX(5px);
    transition: all 0.2s ease;
}

/* Badge Animations */
.badge {
    transition: all 0.2s ease;
}

/* Table Hover Effects */
.table-hover tbody tr {
    transition: background-color 0.2s ease;
}

/* Dashboard Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-stat-card {
        margin-bottom: 1rem;
    }
    
    .dashboard-icon {
        width: 48px;
        height: 48px;
    }
    
    .dashboard-stat-card h2 {
        font-size: 1.5rem;
    }
}

/* Loading Animation for Auto-Refresh */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.auto-refreshing {
    animation: pulse 2s infinite;
}

/* Dashboard Chart Colors */
.dashboard-chart-primary {
    background-color: rgba(0, 48, 104, 0.1);
    color: #003068;
}

.dashboard-chart-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.dashboard-chart-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dashboard-chart-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.dashboard-chart-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0dcaf0;
}

/* Empty State Styling */
.text-center.py-5 i {
    opacity: 0.5;
}

/* Card Shadow Levels */
.shadow-sm {
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Dashboard Specific Badge Styling */
.dashboard-stat-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
}

/* System Status Badge */
.badge.border {
    font-size: 0.875rem;
    font-weight: 600;
}
