/* ========================================
   Integration Objects Design System
   Standards Professionnels - Version Propre
   ======================================== */

/* IO Blue Colors */
.bg-io-blue { background-color: #253561 !important; }
.text-io-blue { color: #253561 !important; }
.border-io-blue { border-color: #253561 !important; }

.bg-io-blue-dark { background-color: #1c284b !important; }
.text-io-blue-dark { color: #1c284b !important; }

.bg-io-blue-light { background-color: #3b4a7a !important; }
.text-io-blue-light { color: #3b4a7a !important; }

/* Nuances supplémentaires de bleu IO */
.bg-io-blue-100 { background-color: #e6eaf0 !important; }
.bg-io-blue-200 { background-color: #ccd4e1 !important; }
.bg-io-blue-300 { background-color: #b3bfd3 !important; }
.bg-io-blue-400 { background-color: #99a9c4 !important; }
.bg-io-blue-500 { background-color: #8094b5 !important; }
.bg-io-blue-600 { background-color: #667ea6 !important; }
.bg-io-blue-700 { background-color: #4d6897 !important; }
.bg-io-blue-800 { background-color: #3b4a7a !important; } /* io-blue-light */
.bg-io-blue-900 { background-color: #253561 !important; } /* io-blue */
.bg-io-blue-950 { background-color: #1c284b !important; } /* io-blue-dark */

/* IO Orange Colors */
.bg-io-orange { background-color: #FF6F20 !important; }
.text-io-orange { color: #FF6F20 !important; }
.border-io-orange { border-color: #FF6F20 !important; }

.bg-io-orange-dark { background-color: #e55a0f !important; }
.text-io-orange-dark { color: #e55a0f !important; }

.bg-io-orange-light { background-color: #ff8a47 !important; }
.text-io-orange-light { color: #ff8a47 !important; }

/* Nuances supplémentaires d'orange IO */
.bg-io-orange-100 { background-color: #fff0e6 !important; }
.bg-io-orange-200 { background-color: #ffe1cc !important; }
.bg-io-orange-300 { background-color: #ffd2b3 !important; }
.bg-io-orange-400 { background-color: #ffc399 !important; }
.bg-io-orange-500 { background-color: #ffb480 !important; }
.bg-io-orange-600 { background-color: #ffa566 !important; }
.bg-io-orange-700 { background-color: #ff964d !important; }
.bg-io-orange-800 { background-color: #ff8a47 !important; } /* io-orange-light */
.bg-io-orange-900 { background-color: #FF6F20 !important; } /* io-orange */
.bg-io-orange-950 { background-color: #e55a0f !important; } /* io-orange-dark */

/* IO Green Colors */
.bg-io-green { background-color: #22c55e !important; }
.text-io-green { color: #22c55e !important; }
.border-io-green { border-color: #22c55e !important; }

.bg-io-green-dark { background-color: #16a34a !important; }
.text-io-green-dark { color: #16a34a !important; }

.bg-io-green-light { background-color: #4ade80 !important; }
.text-io-green-light { color: #4ade80 !important; }

/* IO Purple Colors */
.bg-io-purple { background-color: #8b5cf6 !important; }
.text-io-purple { color: #8b5cf6 !important; }
.border-io-purple { border-color: #8b5cf6 !important; }

.bg-io-purple-dark { background-color: #7c3aed !important; }
.text-io-purple-dark { color: #7c3aed !important; }

.bg-io-purple-light { background-color: #a78bfa !important; }
.text-io-purple-light { color: #a78bfa !important; }

/* IO Grey Colors */
.bg-io-grey-50 { background-color: #f8fafc !important; }
.bg-io-grey-100 { background-color: #f1f5f9 !important; }
.bg-io-grey-200 { background-color: #e2e8f0 !important; }
.bg-io-grey-300 { background-color: #cbd5e1 !important; }
.bg-io-grey-400 { background-color: #94a3b8 !important; }
.bg-io-grey-500 { background-color: #64748b !important; }
.bg-io-grey-600 { background-color: #475569 !important; }
.bg-io-grey-700 { background-color: #334155 !important; }
.bg-io-grey-800 { background-color: #1e293b !important; }
.bg-io-grey-900 { background-color: #0f172a !important; }

/* IO White Color */
.bg-io-white { background-color: #ffffff !important; }
.text-io-white { color: #ffffff !important; }

/* IO Text Colors */
.text-io-text { color: #1e293b !important; }
.text-io-text-secondary { color: #64748b !important; }
.text-io-text-muted { color: #94a3b8 !important; }

/* Opacity variants */
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1) !important; }
.text-white\/90 { color: rgba(255, 255, 255, 0.9) !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }

/* Hover States */
.hover\:bg-io-white:hover { background-color: #ffffff !important; }
.hover\:bg-io-blue:hover { background-color: #253561 !important; }
.hover\:bg-io-blue-dark:hover { background-color: #1c284b !important; }
.hover\:bg-io-orange:hover { background-color: #FF6F20 !important; }
.hover\:bg-io-orange-dark:hover { background-color: #e55a0b !important; }
.hover\:bg-io-green:hover { background-color: #22c55e !important; }
.hover\:bg-io-green-dark:hover { background-color: #16a34a !important; }
.hover\:bg-io-purple:hover { background-color: #8b5cf6 !important; }
.hover\:bg-io-purple-dark:hover { background-color: #7c3aed !important; }
.hover\:bg-io-grey-50:hover { background-color: #f8fafc !important; }
.hover\:text-io-blue:hover { color: #253561 !important; }
.hover\:text-io-blue-dark:hover { color: #1c284b !important; }
.hover\:text-io-orange:hover { color: #FF6F20 !important; }
.hover\:text-io-orange-dark:hover { color: #e55a0b !important; }
.hover\:text-io-green:hover { color: #22c55e !important; }
.hover\:text-io-purple:hover { color: #8b5cf6 !important; }
.hover\:underline:hover { text-decoration: underline !important; }

/* Focus States */
.focus\:bg-io-blue:focus { background-color: #253561 !important; }
.focus\:text-io-blue:focus { color: #253561 !important; }
.focus\:ring-io-blue-light:focus { --tw-ring-color: #3b4a7a !important; }
.focus\:ring-io-orange:focus { --tw-ring-color: #FF6F20 !important; }

/* ========================================
   Classes Grid Professionnelles
   ======================================== */

/* Classes col-span */
.col-span-1 { grid-column: span 1 / span 1 !important; }
.col-span-2 { grid-column: span 2 / span 2 !important; }

/* Classes grid-cols */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

/* Classes gap */
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.gap-8 { gap: 2rem !important; }

/* Classes rounded */
.rounded-md { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-t-lg { border-top-left-radius: 0.5rem !important; border-top-right-radius: 0.5rem !important; }
.rounded-b-lg { border-bottom-left-radius: 0.5rem !important; border-bottom-right-radius: 0.5rem !important; }

/* Classes shadow */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }

/* Classes border */
.border { border-width: 1px !important; }
.border-t-2 { border-top-width: 2px !important; }
.border-io-grey-200 { border-color: #e2e8f0 !important; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2) !important; }

/* Classes padding */
.p-4 { padding: 1rem !important; }
.p-6 { padding: 1.5rem !important; }
.p-8 { padding: 2rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }

/* Classes margin */
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 0.75rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-4 { margin-top: 1rem !important; }

/* Classes width/height */
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }
.w-1 { width: 0.25rem !important; }

/* Classes text */
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }

/* Classes font */
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }

/* Classes leading */
.leading-relaxed { line-height: 1.625 !important; }

/* Classes flex */
.flex { display: flex !important; }
.flex-col { flex-direction: column !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-1 { flex: 1 1 0% !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.space-x-4 > * + * { margin-left: 1rem !important; }
.space-x-6 > * + * { margin-left: 1.5rem !important; }
.space-y-3 > * + * { margin-top: 0.75rem !important; }

/* Classes position */
.relative { position: relative !important; }
.absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.right-0 { right: 0 !important; }
.top-1\/2 { top: 50% !important; }
.right-\[-120px\] { right: -120px !important; }

/* Classes transform */
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1) !important; }
.-translate-y-1\/2 { transform: translateY(-50%) !important; }

/* Classes display */
.hidden { display: none !important; }
.block { display: block !important; }

/* Classes responsive */
@media (min-width: 768px) {
    .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .md\:block { display: block !important; }
    .md\:absolute { position: absolute !important; }
    .md\:right-\[-120px\] { right: -120px !important; }
    .md\:top-1\/2 { top: 50% !important; }
    .md\:transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1) !important; }
    .md\:-translate-y-1\/2 { transform: translateY(-50%) !important; }
    .md\:w-\[100px\] { width: 100px !important; }
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row !important; }
}

/* Classes transition */
.transition-colors { transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out !important; }
.transition-shadow { transition: box-shadow 0.2s ease-in-out !important; }
.transition-transform { transition: transform 0.2s ease-in-out !important; }

/* Classes focus */
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(37, 53, 97, 0.5) !important; }
.focus\:ring-io-blue:focus { box-shadow: 0 0 0 2px rgba(37, 53, 97, 0.5) !important; }
.focus\:border-transparent:focus { border-color: transparent !important; }

/* Classes button */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem 1rem; border-radius: 0.375rem; font-weight: 500; text-decoration: none; transition: all 0.2s ease-in-out; }
.btn-primary { background-color: #253561; color: #ffffff; border: 1px solid #253561; }
.btn-primary:hover { background-color: #1c284b; border-color: #1c284b; }
.btn-secondary { background-color: #FF6F20; color: #ffffff; border: 1px solid #FF6F20; }
.btn-secondary:hover { background-color: #e55a0b; border-color: #e55a0b; }
.btn-outline { background-color: transparent; color: #253561; border: 1px solid #253561; }
.btn-outline:hover { background-color: #253561; color: #ffffff; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1.125rem; }

/* Classes cursor */
.cursor-pointer { cursor: pointer !important; }

/* Classes inline-flex */
.inline-flex { display: inline-flex !important; }

/* Classes max-width */
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.max-w-4xl { max-width: 56rem !important; }
.max-w-6xl { max-width: 72rem !important; }
.max-w-7xl { max-width: 80rem !important; }

/* Classes mx-auto */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Classes text-center */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

/* Classes h-full */
.h-full { height: 100% !important; }

/* Classes pt */
.pt-16 { padding-top: 4rem !important; }
.pt-20 { padding-top: 5rem !important; }

/* Classes bg */
.bg-white { background-color: #ffffff !important; }
.bg-red-50 { background-color: #fef2f2 !important; }
.bg-red-600 { background-color: #dc2626 !important; }

/* Classes text red */
.text-red-600 { color: #dc2626 !important; }
.text-red-700 { color: #b91c1c !important; }
.text-red-900 { color: #7f1d1d !important; }

/* Classes border red */
.border-red-200 { border-color: #fecaca !important; }

/* Classes success */
.bg-io-success { background-color: #10b981 !important; }
.text-io-success { color: #10b981 !important; }

/* Classes warning */
.bg-io-warning { background-color: #f59e0b !important; }
.text-io-warning { color: #f59e0b !important; }

/* Classes error */
.bg-io-error { background-color: #ef4444 !important; }
.text-io-error { color: #ef4444 !important; }

/* Classes info */
.bg-io-info { background-color: #3b82f6 !important; }
.text-io-info { color: #3b82f6 !important; }

/* Animation classes */
.animate-fade-in { animation: fadeIn 0.6s ease-in-out !important; }
.animate-slide-up { animation: slideUp 0.8s ease-out !important; }

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}