:root {
    --primary-color: #4361ee;
    --primary-hover: #3a56d4;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --warning-color: #f8961e;
    --light-bg: #f8f9fa;
    --border-radius: 0.375rem;
}

table.dataTable>tbody>tr {
    background-color: transparent;
    line-height: 40px !important;
}

.badge {
    text-transform: capitalize;
}

/* Soft-colored status badges for consistent styling across table and order details */
.badge-status-placed {
    background-color: #e3f2fd !important;
    color: #1976d2 !important;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.badge-status-confirmed {
    background-color: #e0f7fa !important;
    color: #00838f !important;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.badge-status-shipped {
    background-color: #f3e5f5 !important;
    color: #7b1fa2 !important;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.badge-status-cancelled {
    background-color: #ffebee !important;
    color: #c62828 !important;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.badge-status-delivered {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.badge-status-default {
    background-color: #f5f5f5 !important;
    color: #616161 !important;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
}

.btn-view-details {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1px 10px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.btn-view-details:hover {
    background-color: #2e419b;
    color: white;
    border: none;
    padding: 1px 10px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.nav-link.active {
    border-top: 1px solid #dee2e6 !important;
    border-left: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
    border-bottom: 1px solid white !important;
}

.nav-link:hover {
    border-top: 1px solid #dee2e6 !important;
    border-left: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
    border-bottom: 1px solid white !important;
}

.nav-link {
    border: none !important;
    transition: none !important;
}

.plant-diagnosis-btn {
    position: relative;
    z-index: 99;
    background: linear-gradient(145deg, #2e7d32, #1b5e20) !important;
    color: white;
    border: none;
    padding: 7px 16px 13px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.plant-diagnosis-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.5);
    background: linear-gradient(145deg, #1b5e20, #2e7d32);
    color: white !important;
}

.plant-diagnosis-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.4);
}

.plant-diagnosis-btn::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    z-index: 1;
}

.plant-diagnosis-btn::after {
    content: "🌿";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    z-index: 2;
}

.leaf-decoration {
    position: absolute;
    width: 15px;
    height: 25px;
    background: #a5d6a7;
    border-radius: 50% 0 50% 50%;
    transform: rotate(45deg);
    opacity: 0.7;
}

.leaf-1 {
    top: -5px;
    right: 15%;
    transform: rotate(-20deg);
}

.leaf-2 {
    bottom: -5px;
    right: 20%;
    transform: rotate(70deg);
}

.ai-assistant-btn {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    border-radius: 12px;
    color: white;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-assistant-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    color: white;
}

.ai-assistant-btn:active {
    transform: translateY(0);
}

/* Circuit decoration */
.circuit-decoration {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.circuit-1 {
    width: 20px;
    height: 2px;
    top: 30%;
    left: 15%;
    transform: rotate(45deg);
}

.circuit-2 {
    width: 15px;
    height: 2px;
    bottom: 25%;
    right: 20%;
    transform: rotate(-30deg);
}

/* Neural network nodes */
.node-decoration {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.node-1 {
    top: 20%;
    left: 25%;
}

.node-2 {
    bottom: 15%;
    right: 30%;
}

/* AI icon */


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 991px) {

    /* Tablet adjustments */
    .myaccount-nav-div ul.nav-tabs {
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 768px) {

    /* Mobile adjustments */
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem;
        min-width: auto;
    }

    .plant-diagnosis-btn,
    .ai-assistant-btn {
        font-size: 0.875rem;
        padding: 6px 16px;
        margin-top: 8px;
    }

    .btn-view-details {
        font-size: 12px;
        padding: 2px 8px;
    }

    /* Profile form responsive */
    #profileForm .col-lg-3,
    #profileForm .col-md-6,
    #profileForm .col-md-4 {
        margin-bottom: 1rem;
    }

    /* Order modal responsive */
    .modal-dialog.modal-lg {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    /* Empty state responsive */
    .empty-state-container {
        padding: 40px 15px;
    }

    .empty-state-icon svg {
        width: 60px;
        height: 60px;
    }

    /* Loading skeleton responsive */
    .skeleton-card {
        padding: 15px;
    }
}

@media (max-width: 576px) {

    /* Small mobile */
    .myaccount-nav-div h4 {
        font-size: 1.25rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }

    .tab-content .card {
        margin-bottom: 1rem;
    }

    /* Wishlist cards */
    .card {
        margin-bottom: 1rem;
    }

    /* Orders table */
    .table-responsive {
        font-size: 0.875rem;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
/* Focus indicators */
.btn-view-details:focus,
.plant-diagnosis-btn:focus,
.ai-assistant-btn:focus,
.nav-link:focus,
.btn:focus,
.form-control:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: none !important;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {

    .btn-view-details,
    .plant-diagnosis-btn,
    .ai-assistant-btn {
        border: 2px solid currentColor;
    }

    .nav-link.active {
        border-width: 2px;
        font-weight: 600;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .skeleton-line {
        animation: none;
        background: #e0e0e0;
    }
}

/* Keyboard navigation for tabs */
.nav-link:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: -3px;
    z-index: 1;
}

/* Ensure interactive elements are keyboard accessible */
button:not(:disabled),
a:not([tabindex="-1"]),
input:not(:disabled),
select:not(:disabled),
textarea:not(:disabled) {
    cursor: pointer;
}

/* Improved button states for accessibility */
.btn:disabled,
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Form inputs in edit mode */
.form-control.border-primary {
    border-color: var(--primary-color) !important;
}

/* ============================================
   LOADING STATES
   ============================================ */
.account-loading-container {
    padding: 20px;
}

.skeleton-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 20px;
}

.skeleton-line {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    display: block;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.loading-skeleton {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============================================
   EMPTY STATES
   ============================================ */
.empty-state-container {
    padding: 60px 20px;
}

.empty-state-icon {
    color: #ccc;
    opacity: 0.6;
}

.empty-state-icon svg {
    stroke: currentColor;
}

.empty-state-container h4 {
    font-weight: 600;
    margin-bottom: 12px;
}

.empty-state-container p {
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

/* ============================================
   BUTTON STATES
   ============================================ */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Table container with sophisticated styling */
/* ============================================
   ORDERS TABLE - PROFESSIONAL & REFINED STYLING
   ============================================ */

/* Clean table container with subtle elegance */
#ordersTable_wrapper {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Refined table header with subtle gradient */
#ordersTable thead th {
    color: #2d3748;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    padding: 14px 16px;
    border: none;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.2s ease;
}

#ordersTable thead th:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

#ordersTable thead th:first-child {
    border-top-left-radius: 8px;
}

#ordersTable thead th:last-child {
    border-top-right-radius: 8px;
}

/* Professional table body with optimal row height */
#ordersTable tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f7fafc;
    background-color: #ffffff;
}

#ordersTable tbody tr:hover {
    background: #f8f9fa;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-left: 2px solid #4a5568;
}

#ordersTable tbody td {
    vertical-align: middle;
    font-size: 0.875rem;
    color: #4a5568;
    font-weight: 400;
    border-top: none;
    line-height: 1.4;
}

/* Subtle alternating row colors */
#ordersTable tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

#ordersTable tbody tr:nth-child(even):hover {
    background: #f1f3f4;
}

/* Professional status badges - refined and clean */
#ordersTable .badge {
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 80px;
    justify-content: center;
}

/* Subtle status colors */
#ordersTable .badge.bg-success {
    background: #f0fff4 !important;
    color: #2f855a;
    border-color: #c6f6d5;
}

#ordersTable .badge.bg-warning {
    background: #fffaf0 !important;
    color: #c05621;
    border-color: #fed7aa;
}

#ordersTable .badge.bg-danger {
    background: #fff5f5 !important;
    color: #c53030;
    border-color: #fed7d7;
}

#ordersTable .badge.bg-info {
    background: #f0f9ff !important;
    color: #2c5aa0;
    border-color: #c3dafe;
}

/* Professional action buttons */
#ordersTable .btn-view-details {
    background: #ffffff;
    color: #4a5568;
    border: 1.5px solid #e2e8f0;
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

#ordersTable .btn-view-details:hover {
    background: #4a5568;
    color: #ffffff;
    border-color: #4a5568;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Refined DataTables pagination */
#ordersTable_wrapper .dataTables_paginate {
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

#ordersTable_wrapper .dataTables_paginate .paginate_button {
    border-radius: 6px;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #4a5568;
    font-weight: 500;
    min-width: 36px;
    text-align: center;
    font-size: 0.8rem;
}

#ordersTable_wrapper .dataTables_paginate .paginate_button:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    color: #2d3748;
}

#ordersTable_wrapper .dataTables_paginate .paginate_button.current {
    background: #4a5568;
    color: white !important;
    border-color: #4a5568;
    font-weight: 600;
}

/* Professional search and filter controls */

#ordersTable_wrapper .dataTables_filter label,
#ordersTable_wrapper .dataTables_length label {
    font-weight: 500;
    color: #4a5568;
    font-size: 0.8rem;
    margin-bottom: 6px;
}

#ordersTable_wrapper .dataTables_filter input,
#ordersTable_wrapper .dataTables_length select {
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    background: #ffffff;
    color: #2d3748;
}

#ordersTable_wrapper .dataTables_filter input:focus,
#ordersTable_wrapper .dataTables_length select:focus {
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
    outline: none;
}

#ordersTable_wrapper .dataTables_info {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 400;
    padding-top: 12px;
}

/* ============================================
   WISHLIST CARDS - PROFESSIONAL REFINEMENT
   ============================================ */

/* Clean card container with subtle depth */
#wishlistContent .card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#wishlistContent .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

/* Professional product image */
#wishlistContent .card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s ease;
    background: #f7fafc;
}

#wishlistContent .card:hover .card-img-top {
    transform: scale(1.03);
}

/* Clean card body */
#wishlistContent .card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

/* Professional product title */

/* Clean price styling */
#wishlistContent .card-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 14px;
    letter-spacing: -0.2px;
}

/* Professional remove button */
#wishlistContent .removeBtn {
    background: #ffffff;
    color: #718096;
    border: 1.5px solid #e2e8f0;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-top: auto;
    letter-spacing: 0.3px;
    text-transform: none;
}

#wishlistContent .removeBtn:hover {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Wishlist section header */

/* Responsive adjustments */
@media (max-width: 768px) {
    #ordersTable_wrapper {
        padding: 16px;
        border-radius: 8px;
    }

    #ordersTable thead th {
        padding: 12px 14px;
        font-size: 0.7rem;
    }

    #ordersTable tbody td {
        padding: 14px;
        font-size: 0.85rem;
    }

    #wishlistContent .card {
        border-radius: 10px;
    }

    #wishlistContent .card-img-top {
        height: 160px;
    }

    #wishlistContent .card-body {
        padding: 14px;
    }
}

@media (max-width: 576px) {
    #ordersTable_wrapper {
        padding: 12px;
    }

    #ordersTable thead th,
    #ordersTable tbody td {
        padding: 10px 12px;
    }

    #wishlistContent .card-img-top {
        height: 140px;
    }

    #wishlistContent .card-title {
        font-size: 0.85rem;
    }

    #wishlistContent .card-text {
        font-size: 1rem;
    }
}

/* Loading states */
#ordersTable_wrapper .loading {
    opacity: 0.7;
    pointer-events: none;
}

#wishlistContent .removeBtn .spinner-border-sm {
    width: 14px;
    height: 14px;
    border-width: 2px;
}

/* Focus states for accessibility */
#ordersTable .btn-view-details:focus,
#wishlistContent .removeBtn:focus {
    outline: 2px solid #4a5568;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #ordersTable_wrapper {
        box-shadow: none;
        border: 1px solid #000;
    }

    #ordersTable tbody tr:hover {
        background: transparent !important;
        border-left: none;
    }
}

/* ============================================
   WISHLIST CARDS - PROFESSIONAL UI IMPROVEMENTS
   ============================================ */

/* Premium card container with sophisticated styling */
#wishlistContent .card {
    border: none;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

#wishlistContent .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f72585 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#wishlistContent .card:hover::before {
    opacity: 1;
}

#wishlistContent .card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

/* Professional product image with overlay effect */
#wishlistContent .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

#wishlistContent .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(102, 126, 234, 0) 0%, rgba(102, 126, 234, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#wishlistContent .card:hover .card-img-top {
    transform: scale(1.08);
}

#wishlistContent .card:hover .card-img-top::after {
    opacity: 1;
}

/* Enhanced card body with better spacing */
#wishlistContent .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to bottom, #ffffff 0%, #fafbff 100%);
}

/* Professional product title styling */


/* Premium price styling */
#wishlistContent .card-text {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

#wishlistContent .card-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #48bb78 0%, transparent 100%);
    border-radius: 2px;
}

/* Professional remove button with premium effects */
#wishlistContent .removeBtn {
    background: linear-gradient(135deg, #f72585 0%, #c2185b 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(247, 37, 133, 0.35), 0 2px 6px rgba(247, 37, 133, 0.2);
    margin-top: auto;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#wishlistContent .removeBtn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#wishlistContent .removeBtn:hover::before {
    width: 400px;
    height: 400px;
}

#wishlistContent .removeBtn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(247, 37, 133, 0.45), 0 4px 12px rgba(247, 37, 133, 0.3);
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
}

#wishlistContent .removeBtn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Loading state for remove button */
#wishlistContent .removeBtn .spinner-border-sm {
    width: 16px;
    height: 16px;
    border-width: 2.5px;
    border-color: rgba(255, 255, 255, 0.8);
    border-right-color: transparent;
}

/* Wishlist section header enhancement */


/* Responsive adjustments for wishlist */
@media (max-width: 768px) {
    #wishlistContent .card {
        border-radius: 16px;
    }

    #wishlistContent .card-img-top {
        height: 200px;
    }

    #wishlistContent .card-body {
        padding: 16px;
    }

    #wishlistContent .card-title {
        font-size: 0.9rem;
        min-height: 2.7em;
    }

    #wishlistContent .card-text {
        font-size: 1.1rem;
    }

    #wishlistContent .removeBtn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    #wishlistContent .card-img-top {
        height: 180px;
    }

    #wishlistContent .card-title {
        font-size: 0.85rem;
    }

    #wishlistContent .card-text {
        font-size: 1rem;
    }
}


/* ============================================
   ORDER STATUS TIMELINE - PHASE 1
   ============================================ */
/* ============================================
   ORDER STATUS TIMELINE - PROFESSIONAL VERSION
   ============================================ */



.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
}

.timeline-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    z-index: 2;
    background: white;
    border: 3px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.timeline-step.completed .timeline-icon {
    background: #10b981;
    border-color: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.timeline-step.active .timeline-icon {
    background: #4CAF50;
    border-color: #10b981;
    color: white;
}

.timeline-step.pending .timeline-icon {
    background: white;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.timeline-content {
    margin-top: 12px;
    text-align: center;
    padding: 0 8px;
    width: 100%;
}

.timeline-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: #1e293b;
    line-height: 1.4;
}

.timeline-step.completed .timeline-label {
    color: #10b981;
}

.timeline-step.active .timeline-label {
    color: #3b82f6;
    font-weight: 700;
}

.timeline-step.pending .timeline-label {
    color: #94a3b8;
}

.timeline-step.cancelled .timeline-icon {
    color: #c62828;
}

.timeline-step.cancelled .timeline-label {
    color: #c62828;
    font-weight: 700;
}

.timeline-date {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.3;
}

.timeline-step.active .timeline-date {
    color: #3b82f6;
    font-weight: 600;
}

.timeline-line {
    position: absolute;
    top: 17px;
    left: 60%;
    right: -40%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-step:last-child .timeline-line {
    display: none;
}

.timeline-step.completed .timeline-line {
    background: #10b981;
}

.timeline-step.active .timeline-line {
    background: linear-gradient(90deg, #10b981 0%, #e2e8f0 100%);
}

/* Progress animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Tooltip for additional information */
.timeline-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1e293b;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: -4px;
}

.timeline-icon:hover::after,
.timeline-icon:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RESPONSIVE DESIGN - PROFESSIONAL STANDARDS
   ============================================ */

@media (max-width: 1024px) {
    .timeline-container {
        padding: 0 24px;
    }

    .timeline-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .timeline-line {
        top: 22px;
    }
}

@media (max-width: 768px) {
    .order-timeline {
        margin: 16px 0;
        padding: 20px 0;
        border-radius: 8px;
    }

    .timeline-container {
        flex-direction: column;
        padding: 0 20px;
        gap: 0;
    }

    .timeline-step {
        flex-direction: row;
        align-items: center;
        margin-bottom: 0;
        width: 100%;
        padding: 16px 0;
        position: relative;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .timeline-content {
        text-align: left;
        margin-top: 0;
        padding: 0;
        flex: 1;
    }

    .timeline-line {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        right: auto;
        width: 3px;
        height: 100%;
        background: #e2e8f0;
    }

    .timeline-step:last-child .timeline-line {
        display: block;
        height: 50%;
    }

    .timeline-step:first-child .timeline-line {
        top: 50%;
        height: 50%;
    }

    .timeline-step.completed .timeline-line {
        background: #10b981;
    }

    .timeline-step.active .timeline-line {
        background: linear-gradient(to bottom, #10b981 0%, #e2e8f0 100%);
    }

    /* Mobile specific adjustments */
    .timeline-label {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .timeline-date {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .order-timeline {
        padding: 16px 0;
        margin: 12px 0;
    }

    .timeline-container {
        padding: 0 16px;
    }

    .timeline-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        margin-right: 12px;
        border-width: 2px;
    }

    .timeline-step {
        padding: 12px 0;
    }

    .timeline-label {
        font-size: 0.8rem;
    }

    .timeline-date {
        font-size: 0.65rem;
    }

    .timeline-line {
        left: 18px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .timeline-step.completed .timeline-icon {
        background: #000;
        border-color: #000;
    }

    .timeline-step.active .timeline-icon {
        background: #000;
        border-color: #000;
    }

    .timeline-line {
        background: #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .timeline-icon {
        transition: none;
    }

    @keyframes pulse {

        0%,
        100% {
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
    }
}