@tailwind base;
@tailwind components;
@tailwind utilities;

/* Touch Targets - WCAG 2.5.5 Compliance */
@layer components {
    .touch-target {
        @apply min-h-[48px] min-w-[48px] inline-flex items-center justify-center;
    }

    .touch-target-sm {
        @apply min-h-[44px] min-w-[44px] inline-flex items-center justify-center;
    }

    /* Espacement entre cibles tactiles */
    .touch-group > * + * {
        @apply ml-3; /* 12px = 3mm minimum */
    }
}

/* Animations pour notifications toast temps réel */
@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slide-down {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.animate-slide-up {
    animation: slide-up 0.3s ease-out;
}
