/* 
 * SIOTH Support Theme
 * Styles spécifiques pour les pages de support
 * Différenciation visuelle adaptée à la nature du support technique
 */

/* Classes Tailwind manquantes pour les pages support */
.space-y-16 > * + * { margin-top: 4rem !important; }
.bg-white { background-color: #ffffff !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.border { border-width: 1px !important; }
.border-io-grey-200 { border-color: #e2e8f0 !important; }
.overflow-hidden { overflow: hidden !important; }
.text-white { color: #ffffff !important; }
.p-6 { padding: 1.5rem !important; }
.flex { display: flex !important; }
.items-center { align-items: center !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.bg-white\/20 { background-color: rgba(255, 255, 255, 0.2) !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.justify-center { justify-content: center !important; }
.mr-4 { margin-right: 1rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.font-bold { font-weight: 700 !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }
.mt-1 { margin-top: 0.25rem !important; }
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.gap-6 { gap: 1.5rem !important; }
.border-io-grey-200 { border-color: #e2e8f0 !important; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.transition-shadow { transition: box-shadow 0.2s ease-in-out !important; }
.p-4 { padding: 1rem !important; }
.items-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.flex-1 { flex: 1 1 0% !important; }
.font-semibold { font-weight: 600 !important; }
.text-io-text { color: #1e293b !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.items-center { align-items: center !important; }
.space-x-4 > * + * { margin-left: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-io-text-secondary { color: #64748b !important; }
.mr-1 { margin-right: 0.25rem !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.inline-flex { display: inline-flex !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.rounded-full { border-radius: 9999px !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.font-medium { font-weight: 500 !important; }
.bg-io-green { background-color: #22c55e !important; }
.bg-io-grey-200 { background-color: #e2e8f0 !important; }
.mb-4 { margin-bottom: 1rem !important; }
.space-x-2 > * + * { margin-left: 0.5rem !important; }
.bg-io-orange { background-color: #FF6F20 !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.rounded-md { border-radius: 0.375rem !important; }
.hover\:bg-io-orange-dark:hover { background-color: #e55a0b !important; }
.transition-colors { transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out !important; }
.text-io-blue { color: #253561 !important; }
.hover\:text-io-blue-dark:hover { color: #1c284b !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }

/* Classes responsive */
@media (min-width: 768px) {
    .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; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Couleurs spécifiques au support */
.support-blue { color: #2563eb !important; }
.bg-support-blue { background-color: #2563eb !important; }
.border-support-blue { border-color: #2563eb !important; }

.support-blue-dark { color: #1d4ed8 !important; }
.bg-support-blue-dark { background-color: #1d4ed8 !important; }
.border-support-blue-dark { border-color: #1d4ed8 !important; }

.support-blue-light { color: #60a5fa !important; }
.bg-support-blue-light { background-color: #60a5fa !important; }
.border-support-blue-light { border-color: #60a5fa !important; }

.support-green { color: #059669 !important; }
.bg-support-green { background-color: #059669 !important; }
.border-support-green { border-color: #059669 !important; }

.support-orange { color: #ea580c !important; }
.bg-support-orange { background-color: #ea580c !important; }
.border-support-orange { border-color: #ea580c !important; }

/* Styles pour les cartes de support */
.support-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.support-card .support-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom-left-radius: 0.375rem;
}

/* Styles pour les indicateurs de statut */
.support-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
}

.support-status-open {
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.support-status-pending {
    background-color: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.support-status-resolved {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.support-status-closed {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

/* Styles pour les articles de la base de connaissances */
.knowledge-article {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.knowledge-article:hover {
    background-color: #f1f5f9;
    border-color: #2563eb;
}

.knowledge-article .article-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    background-color: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

/* Styles pour les canaux de contact */
.contact-channel {
    padding: 1.5rem;
    border-radius: 0.75rem;
    background-color: white;
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-channel:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.contact-channel .channel-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

/* Styles pour les formulaires de support */
.support-form {
    background-color: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.support-form .form-group {
    margin-bottom: 1.5rem;
}

.support-form .form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.support-form .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.support-form .form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Styles pour les badges de priorité */
.priority-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.75rem;
}

.priority-badge-low {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.priority-badge-medium {
    background-color: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.priority-badge-high {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.priority-badge-urgent {
    background-color: rgba(220, 38, 127, 0.1);
    color: #dc2626;
}

/* Styles pour les timelines de support */
.support-timeline {
    position: relative;
    padding-left: 2rem;
}

.support-timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb;
}

.support-timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.support-timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.5rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #2563eb;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #e5e7eb;
}

.support-timeline-content {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Styles pour les FAQ */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #f1f5f9;
}

.faq-question.active {
    background-color: #2563eb;
    color: white;
}

.faq-answer {
    padding: 1rem;
    background-color: white;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Styles pour les indicateurs de disponibilité */
.availability-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.75rem;
}

.availability-indicator-online {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.availability-indicator-busy {
    background-color: rgba(234, 88, 12, 0.1);
    color: #ea580c;
}

.availability-indicator-offline {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

/* Responsive design pour le support */
@media (max-width: 768px) {
    .support-timeline {
        padding-left: 1.5rem;
    }
    
    .support-timeline::before {
        left: 0.5rem;
    }
    
    .support-timeline-item::before {
        left: -1.25rem;
    }
    
    .contact-channel {
        padding: 1rem;
    }
    
    .contact-channel .channel-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}
