/* Glassmorphism Design System */

:root {
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
}

.glass-card-stat {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-stat:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(99, 102, 241, 0.3);
}

.glass-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    transition: all 0.3s ease;
    outline: none;
}

.glass-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.glass-input-sm {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: white;
    outline: none;
}

.btn-gradient {
    background: var(--accent-gradient);
    border: none;
}

.btn-primary-sm {
    background: #6366f1;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: all 0.2s;
}

.btn-primary-sm:hover {
    background: #4f46e5;
}

.btn-secondary-sm {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    transition: all 0.2s;
}

.btn-secondary-sm:hover {
    background: rgba(30, 41, 59, 0.8);
    color: white;
}

/* Navigation Buttons */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-btn i {
    font-size: 1.1rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-btn.active {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fade-slide-in 0.4s ease-out;
}

/* Table Styling */
tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.stage-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.stage-PENDING {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.stage-DESIGNING {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.stage-REVIEW {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.stage-PRODUCTION {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.stage-SHIPPED {
    background: rgba(107, 114, 128, 0.1);
    color: #9ca3af;
}

/* Product Thumbnails */
.product-thumb {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    object-fit: cover;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fade-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out;
}

@keyframes bounce-slow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}