.text-gray-500{display: flex;
    flex-direction: column;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
}
.flex{
        flex-direction: row;
}
.modal-panel {
    width: 100%;
    max-width: 46rem;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 25px 45px -12px rgba(15, 23, 42, 0.35);
    padding: 1.75rem;
}

button {
    transition: transform 0.1s ease, filter 0.1s ease, box-shadow 0.1s ease;
}

button:active {
    transform: translateY(1px) scale(0.98);
    filter: brightness(0.92);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.08);
}

.task-index-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
