@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --agile-teal: #0d9488;
    --agile-teal-dark: #0f172a;
    --agile-glass: rgba(255, 255, 255, 0.7);
    --agile-border: rgba(13, 148, 136, 0.1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

[x-cloak] {
    display: none !important;
}

/* Glassmorphism & Modern Cards */
.agile-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(13, 148, 136, 0.05);
}

.agile-card {
    background: white;
    border-radius: 1.25rem;
    border: 1px solid var(--agile-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.agile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(13, 148, 136, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(13, 148, 136, 0.3);
}

/* Nav & Sidebar Styles */
.agile-nav {
    background: linear-gradient(135deg, #0f172a 0%, #0d9488 100%);
}

/* Shimmer / Skeleton */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite linear;
    border-radius: 0.5rem;
}

/* Custom UI Components */
.status-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.status-select:focus {
    border-color: var(--agile-teal);
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .agile-nav .flex.justify-between {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .agile-card .flex.justify-between {
        flex-direction: column;
    }

    .status-select {
        min-width: 100%;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    .agile-card {
        border-radius: 1rem;
    }

    /* Larger touch targets */
    button,
    a,
    select {
        min-height: 44px;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}