/* ═══════════════════════════════════════════════
   ila — Custom Styles
   Premium laundry service platform
   ═══════════════════════════════════════════════ */

/* ── Smooth Animations ───────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(26, 122, 58, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(26, 122, 58, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-400 {
    animation-delay: 0.4s;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

/* ── Glassmorphism ───────────────────────────── */
.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.glass-dark {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ── Bento Box Grid ──────────────────────────── */
.bento-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(12, 1fr);
}

.bento-item {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.bento-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

/* ── Premium Shadows ─────────────────────────── */
.shadow-premium {
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
}

/* ── Card Hover Effects ──────────────────────── */
.card-hover {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #f1f5f9;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

/* ── Gradient Text ───────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, #0d9488, #0f766e, #115e59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero Background Pattern ─────────────────── */
.hero-pattern {
    background: #fafaf9;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(20, 184, 166, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(13, 148, 136, 0.03) 0%, transparent 40%);
}

/* ── Status Badge Colors ─────────────────────── */
.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.status-picked_up {
    background: #e0e7ff;
    color: #3730a3;
}

.status-processing {
    background: #fae8ff;
    color: #86198f;
}

.status-ready {
    background: #ccfbf1;
    color: #065f46;
}

.status-out_for_delivery {
    background: #ffedd5;
    color: #9a3412;
}

.status-delivered {
    background: #dcfce7;
    color: #166534;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Toast ───────────────────────────────────── */
.toast {
    animation: slideInRight 0.3s ease-out forwards;
    max-width: 380px;
}

.toast-success {
    border-left: 4px solid #22c55e;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-info {
    border-left: 4px solid #1a7a3a;
}

/* ── Timeline ────────────────────────────────── */
.timeline-line {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #1a7a3a, #e5e7eb);
}

/* ── Custom Scrollbar ────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ── Input Focus ─────────────────────────────── */
.input-focus {
    transition: all 0.2s ease;
}

.input-focus:focus {
    outline: none;
    border-color: #1a7a3a;
    box-shadow: 0 0 0 3px rgba(26, 122, 58, 0.15);
}

/* ── Pricing Card Popular ────────────────────── */
.pricing-popular {
    position: relative;
    border: 2px solid #1a7a3a;
    transform: scale(1.05);
}

.pricing-popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1a7a3a, #dc2626);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
}

/* ── Loading Skeleton ────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}