/* AURORA Custom Styles & Polish */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --primary: #18181b;
    --primary-hover: #27272a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --cdek-green: #008744;
    --cdek-light: #e6f4ea;
    --border-color: #e4e4e7;
    --bg-muted: #f8fafc;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #18181b;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.font-serif-brand {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Glassmorphism nav */
.nav-blur {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Product Card animations */
.product-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.08);
}
.product-card .img-zoom {
    transition: transform 0.5s ease;
}
.product-card:hover .img-zoom {
    transform: scale(1.05);
}

/* Status badges */
.badge-status-accepted {
    background-color: #ede9fe;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}
.badge-status-created {
    background-color: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}
.badge-status-transit {
    background-color: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.badge-status-delivered {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Tracking Timeline */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2563eb;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px #93c5fd;
}

.timeline-line {
    position: relative;
    border-left: 2px solid #e2e8f0;
    margin-left: 16px;
}

/* Loading Spinner */
.spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-left-color: #18181b;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.spinner-light {
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-left-color: #ffffff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animations */
.animate-fadeIn {
    animation: fadeIn 0.25s ease-out forwards;
}

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