@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Eye-Friendly & Comfortable Color Palette */
:root {
    --bg-primary: #f8fafc; /* Gentle slate white background */
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --text-primary: #1e293b; /* Gentle slate dark for comfortable reading */
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Calm, Matte Accent Colors (Non-straining) */
    --accent-blue: #4f46e5;
    --accent-blue-light: #6366f1;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --accent-teal: #0f766e;
    --accent-purple: #7c3aed;

    /* Soft, Matte Borders & Shadows */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

/* Global Font Override with Calm Fallbacks and Ultra-Crisp Rendering */
* {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background: #f8fafc; /* Solid, highly comfortable slate background to minimize eye strain */
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Panel Z-Index Layering */
#loginScreen {
    z-index: 10;
    position: relative;
}

#loginScreen.hidden {
    display: none !important;
}

#employeePanel,
#departmentPanel,
#adminPanel {
    z-index: 20;
    position: relative;
}

/* Accelerated Hardware Transitions */
.glass-card,
.glass-panel,
.btn-primary,
.order-card,
button,
input,
select {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.2s ease,
        opacity 0.2s ease;
}

.glass-card,
.glass-panel {
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 18px 0 rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px 0 rgba(15, 23, 42, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-light) 100%);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Button Active State for Mobile Feel */
button:active {
    transform: scale(0.95);
}

/* Status Badges */
.status-badge {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-pending {
    background: #fee2e2;
    color: #991b1b;
}

.status-verified {
    background: #dbeafe;
    color: #1e40af;
}

.status-dispatched {
    background: #f3e8ff;
    color: #6b21a8;
}

.status-delivered {
    background: #dcfce7;
    color: #166534;
}

.status-requested {
    background: #fce7f3;
    color: #be185d;
}

.tab-active {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15) !important;
    transform: scale(1.02);
}

/* Employee Panel Tab Buttons */
.emp-tab-btn.tab-active {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15) !important;
}

/* Employee Sidebar - Fixed and Sticky */
#empSidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    height: 100dvh !important; /* Use dynamic viewport height */
    overflow-y: auto !important; /* Allow internal scrolling */
    overflow-x: hidden !important;
    z-index: 60 !important;
}

/* Department Sidebar - Fixed and Sticky */
#deptSidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 40 !important;
}

/* Admin Sidebar - Fixed and Sticky */
#adminSidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 40 !important;
}

/* Ensure sidebar scrollbar is styled nicely */
#empSidebar::-webkit-scrollbar,
#deptSidebar::-webkit-scrollbar,
#adminSidebar::-webkit-scrollbar {
    width: 6px;
}

#empSidebar::-webkit-scrollbar-track,
#deptSidebar::-webkit-scrollbar-track,
#adminSidebar::-webkit-scrollbar-track {
    background: transparent;
}

#empSidebar::-webkit-scrollbar-thumb,
#deptSidebar::-webkit-scrollbar-thumb,
#adminSidebar::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 10px;
}

#empSidebar::-webkit-scrollbar-thumb:hover,
#deptSidebar::-webkit-scrollbar-thumb:hover,
#adminSidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.5);
}


.order-card {
    border-left: 4px solid transparent;
    background: #ffffff;
}

.order-card:hover {
    transform: translateX(4px);
    border-left-color: var(--accent-blue);
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

/* Razor-Sharp Premium Hover Cards with Zero Blur */
.premium-hover-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 1.5rem;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1),
                border-color 0.2s ease,
                background-color 0.2s ease;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.premium-hover-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-medium);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Bouncy Sidebar Transition */
.sidebar-bouncy {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Backdrop Fade Transition */
.backdrop-fade {
    transition: opacity 0.4s ease, backdrop-filter 0.4s ease !important;
}

/* Mobile Responsive Tabs with Hide Scrollbar */
.scrollable-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    mask-image: linear-gradient(to right, transparent, black 10px, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10px, black 90%, transparent);
}

/* Optimized Blob Animation */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 8s infinite ease-in-out;
    will-change: transform;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Logo Floating Animation */
@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.logo-float {
    animation: logoFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo-float:hover {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.animate-shimmer {
    animation: shimmer 3s infinite;
}

@media (max-width: 768px) {
    .animate-blob {
        animation-duration: 12s;
        filter: blur(50px);
    }

    .glass-card {
        padding: 1rem !important;
    }
}

/* ============================================ */
/* ADMIN PANEL SHIPROCKET STYLE */
/* ============================================ */

/* Admin Tab Styling */
.admin-tab {
    background: transparent;
    color: #64748b;
    border: none;
    cursor: pointer;
}

.admin-tab:hover {
    background: #f1f5f9;
    color: #334155;
}

.admin-tab.tab-active {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transform: scale(1.02);
}

.admin-tab.tab-active[data-color="red"] {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    box-shadow: 0 4px 12px rgba(190, 18, 60, 0.15);
}

.admin-tab.tab-active[data-color="blue"] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}

.admin-tab.tab-active[data-color="purple"] {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
}

.admin-tab.tab-active[data-color="emerald"] {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.15);
}

.admin-tab.tab-active[data-color="rose"] {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

.admin-tab.tab-active[data-color="indigo"] {
    background: linear-gradient(135deg, #4338ca 0%, #3730a3 100%);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.15);
}

.admin-tab.tab-active[data-color="violet"] {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.15);
}

.admin-tab.tab-active[data-color="slate"] {
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
    box-shadow: 0 4px 12px rgba(71, 85, 105, 0.15);
}

.admin-tab.tab-active[data-color="cyan"] {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.15);
}

/* Quick Stats Pulse Animation */
@keyframes statPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.quick-stat:hover {
    animation: statPulse 0.5s ease;
}

/* Admin Cards Modern Style */
.admin-order-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.admin-order-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: transparent;
}

/* Scrollbar Hide Utility */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Scale In Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-scaleIn {
    animation: scaleIn 0.3s ease forwards;
}

/* Admin Filter Card */
.admin-filter-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
}

/* Admin Stats Cards */
.admin-stat-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: currentColor;
    opacity: 0.8;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Sidebar Navigation Active State */
.sidebar-nav-item.sidebar-active {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    color: #065f46 !important;
    border-left: 3px solid #10b981;
    font-weight: 600;
}

.sidebar-nav-item:hover {
    background: #f1f5f9;
}

/* Admin Sidebar Mobile Overlay */
@media (max-width: 1023px) {
    #adminSidebar:not(.-translate-x-full)::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

/* ============================================ */
/* SPEED POST LABEL PRINT STYLES */
/* Exact match to India Post Speed Post COD */
/* ============================================ */
@media print {
    body * {
        visibility: hidden !important;
    }

    #labelPrintArea,
    #labelPrintArea * {
        visibility: visible !important;
    }

    #labelPrintArea {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        background: white !important;
    }

    .no-print {
        display: none !important;
    }
}

/* Main Label Container - 6x4 inch */
.speed-post-label {
    width: 576px;
    font-family: Arial, Helvetica, sans-serif;
    border: 3px solid #000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Yellow Header */
.speed-post-label .header {
    background: linear-gradient(180deg, #FFFDE7 0%, #FFF59D 100%);
    color: #C62828;
    font-size: 26px;
    font-weight: bold;
    font-style: italic;
    text-align: center;
    padding: 12px 15px;
    border-bottom: 2px solid #000;
}

/* Biller/Customer ID Section - Gray */
.speed-post-label .biller-info {
    background: #F5F5F5;
    padding: 10px 210px 10px 15px;
    border-bottom: 2.5px solid #333;
    font-size: 12px;
    color: #333;
    position: relative;
    min-height: 58px;
}

.speed-post-label .biller-info div {
    margin: 2px 0;
}

.speed-post-label .biller-info-left {
    min-width: 0;
}

.speed-post-label .biller-info-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    white-space: nowrap;
    font-weight: 800;
    color: #000;
}

.speed-post-label .biller-info-right > div:not(.gst-display-fixed) {
    display: none;
}

.speed-post-label .gst-display-fixed span {
    font-weight: 900;
}

.speed-post-label .biller-info strong {
    color: #000;
}

/* Deliver To Section with Barcode */
.speed-post-label .deliver-section {
    display: flex;
    padding: 12px 15px;
    background: white;
    border-bottom: 2.5px solid #333;
    min-height: 100px;
}

.speed-post-label .address-block {
    flex: 1;
    padding-right: 15px;
    border-right: 2.5px solid #555;
    margin-right: 15px;
}

.speed-post-label .address-block .label-title {
    font-size: 11px;
    color: #333;
    font-weight: normal;
    margin-bottom: 2px;
}

.speed-post-label .address-block .customer-name {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    margin: 4px 0 8px 0;
    line-height: 1.2;
}

.speed-post-label .address-block .address-text {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 8px;
}

.speed-post-label .address-block .mobile-no {
    font-size: 13px;
    font-weight: bold;
    color: #000;
}

/* Barcode Block - Right Side */
.speed-post-label .barcode-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 5px;
}

.speed-post-label .barcode-block svg {
    max-width: 140px;
}

.speed-post-label .tracking-number {
    font-size: 12px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin-top: 5px;
    color: #000;
}

/* COD Section */
.speed-post-label .cod-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-bottom: 2.5px solid #333;
}

.speed-post-label .cod-amount {
    color: #C62828;
}

.speed-post-label .cod-amount .cod-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}

.speed-post-label .cod-amount .cod-value {
    font-size: 20px;
    font-weight: bold;
}

.speed-post-label .cod-amount .cod-value span {
    font-size: 24px;
}

/* URGENT DELIVERY Badge */
.speed-post-label .urgent-badge {
    background: #FFF8E1;
    color: #C62828;
    border: 2px solid #C62828;
    padding: 10px 18px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
}

/* Weight Section - Gray */
.speed-post-label .weight-section {
    background: #F5F5F5;
    padding: 8px 15px;
    border-bottom: 2.5px solid #333;
    font-size: 12px;
    color: #333;
}

.speed-post-label .weight-section div {
    margin: 2px 0;
}

.speed-post-label .weight-section strong {
    color: #000;
    font-weight: bold;
}

/* Sender Section - Gray */
.speed-post-label .sender-section {
    background: #F5F5F5;
    padding: 10px 15px;
    font-size: 12px;
    color: #333;
}

.speed-post-label .sender-section .sender-title {
    font-size: 11px;
    color: #666;
    margin-bottom: 2px;
}

.speed-post-label .sender-section .sender-name {
    font-size: 13px;
    font-weight: bold;
    color: #000;
    margin-bottom: 2px;
}

.speed-post-label .sender-section .sender-address {
    color: #333;
    line-height: 1.4;
}

/* ==========================================================================
   WA PREMIUM INBOX REDESIGN DESIGN SYSTEM
   ========================================================================== */

/* Custom Animations */
@keyframes waPopIn {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes waGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 8px 3px rgba(16, 185, 129, 0.7);
    }
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.wa-pulse-glow {
    animation: waGlow 2s infinite;
}

/* Glassmorphic Utilities for WA Tab */
.wa-glass-bg {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(190%) !important;
}

.wa-glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(15, 118, 110, 0.08);
    border-radius: 1.25rem;
    box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wa-glass-card:hover {
    border-color: rgba(15, 118, 110, 0.2);
    box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
}

/* Custom Sleek Scrollbar */
.wa-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.wa-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.wa-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(15, 118, 110, 0.15);
    border-radius: 10px;
    border: 1px solid transparent;
}

.wa-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 118, 110, 0.3);
}

/* Sidebar Custom Filters Chips */
.wa-filter-chip {
    padding: 0.35rem 0.75rem;
    font-size: 10px;
    font-weight: 700;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    white-space: nowrap;
}

.wa-filter-chip:hover {
    border-color: rgba(15, 118, 110, 0.3);
    color: #0f766e;
    background: rgba(15, 118, 110, 0.03);
}

.wa-filter-chip.active {
    background: #0f766e;
    border-color: #0f766e;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

/* Conversation Lists card layout */
.wa-conv-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    margin: 0.25rem 0.5rem;
    border: 1px solid transparent;
}

.wa-conv-item:hover {
    background: rgba(15, 118, 110, 0.04) !important;
    border-color: rgba(15, 118, 110, 0.05);
}

.wa-conv-item.active {
    background: rgba(15, 118, 110, 0.08) !important;
    border-left: 4px solid #0f766e !important;
    border-color: rgba(15, 118, 110, 0.15);
}

/* Chat bubble aesthetics */
.wa-bubble-in {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
    animation: waPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: left bottom;
}

.wa-bubble-out {
    background: linear-gradient(135deg, #e6f7f4 0%, #d5f2ec 100%);
    border: 1px solid rgba(15, 118, 110, 0.08);
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.04);
    border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
    animation: waPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: right bottom;
}

/* Premium template message styles */
.wa-template-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 1.25rem 1.25rem 0.25rem 1.25rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    animation: waPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: right bottom;
}

/* Interactive Variable Mockup Modal */
.wa-mockup-phone {
    width: 280px;
    height: 520px;
    border: 10px solid #1e293b;
    border-radius: 36px;
    background: #f1f5f9;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.wa-mockup-screen {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    position: relative;
}

.wa-mockup-header {
    background: #075e54;
    color: white;
    padding: 24px 12px 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-mockup-chatlog {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #efeae2;
}

.wa-mockup-footer {
    background: #f0f0f0;
    padding: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CRM Customer Profile Panel Styles */
#waCustomerProfilePanel {
    background: #ffffff;
    box-shadow: -4px 0 16px rgba(15, 23, 42, 0.01);
}

.crm-section-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.075em;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.crm-metric-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.01);
    transition: all 0.2s ease;
}

.crm-metric-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    border-color: rgba(15, 118, 110, 0.15);
}

.crm-timeline-item {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #e2e8f0;
    margin-left: 0.5rem;
    padding-bottom: 1.25rem;
}

.crm-timeline-item:last-child {
    border-left-color: transparent;
    padding-bottom: 0.5rem;
}

.crm-timeline-dot {
    position: absolute;
    left: -5px;
    top: 3px;
    width: 8px;
    height: 8px;
    border-radius: 55px;
    background: #cbd5e1;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #cbd5e1;
}

/* Timeline dot colors depending on status */
.crm-dot-delivered { background: #10b981; box-shadow: 0 0 0 2px #a7f3d0; }
.crm-dot-cancelled { background: #ef4444; box-shadow: 0 0 0 2px #fca5a5; }
.crm-dot-rto { background: #f59e0b; box-shadow: 0 0 0 2px #fde68a; }
.crm-dot-dispatched { background: #3b82f6; box-shadow: 0 0 0 2px #bfdbfe; }
.crm-dot-pending { background: #8b5cf6; box-shadow: 0 0 0 2px #ddd6fe; }

/* Address Card Copy Feedback Effect */
.copy-feedback {
    animation: bounceIn 0.3s ease forwards;
}

@keyframes bounceIn {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}


