/* Styles pour les transcripts de tickets */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; color: #333; } .container { max-width: 1200px; margin: 0 auto; background: white; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); overflow: hidden; } .header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px; text-align: center; } .header h1 { font-size: 2em; margin-bottom: 10px; } .header .ticket-id { font-size: 1.2em; opacity: 0.9; } .info-section { padding: 30px; background: #f8f9fa; } .info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; } .info-item { background: white; padding: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .info-label { font-weight: 600; color: #666; font-size: 0.9em; margin-bottom: 5px; } .info-value { font-size: 1.1em; color: #333; } .status-badge { display: inline-block; padding: 5px 15px; border-radius: 20px; font-weight: 600; font-size: 0.9em; } .status-open { background: #10b981; color: white; } .status-closed { background: #ef4444; color: white; } .status-pending { background: #f59e0b; color: white; } .messages-section { padding: 30px; } .messages-section h2 { margin-bottom: 20px; color: #333; font-size: 1.5em; } .message { background: #f8f9fa; border-left: 4px solid #667eea; padding: 15px; margin-bottom: 15px; border-radius: 8px; } .message-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9em; } .message-author { font-weight: 600; color: #667eea; } .message-date { color: #666; } .message-content { color: #333; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; } .attachments { margin-top: 10px; padding-top: 10px; border-top: 1px solid #dee2e6; font-size: 0.9em; } .attachments a { color: #667eea; text-decoration: none; } .attachments a:hover { text-decoration: underline; } .candidature-section { padding: 30px; background: #f8f9fa; border-top: 2px solid #667eea; } .candidature-section h2 { margin-bottom: 20px; color: #333; font-size: 1.5em; } .question-item { background: white; padding: 20px; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .question-label { font-weight: 600; color: #667eea; margin-bottom: 10px; font-size: 1.1em; } .question-text { color: #666; margin-bottom: 10px; font-style: italic; } /* Support pour les anciens transcripts avec question-response */ .question-response { background: white; padding: 20px; margin-bottom: 15px; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .question { margin-bottom: 10px; color: #667eea; font-size: 1.1em; } .response { color: #333; line-height: 1.6; white-space: pre-wrap; word-wrap: break-word; padding: 10px; background: #f8f9fa; border-radius: 4px; } .no-messages { text-align: center; color: #666; font-style: italic; padding: 40px; } .footer { background: #f8f9fa; padding: 20px; text-align: center; color: #666; font-size: 0.9em; border-top: 1px solid #dee2e6; } .footer p { margin: 5px 0; } /* Responsive */ @media (max-width: 768px) { body { padding: 10px; } .header { padding: 20px; } .header h1 { font-size: 1.5em; } .info-section, .messages-section, .candidature-section { padding: 20px; } .info-grid { grid-template-columns: 1fr; } }