}

.profile-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.profile-info-item:hover {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.2);
  transform: translateX(4px);
}

.profile-info-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.profile-info-content {
  flex: 1;
  min-width: 0;
}

.profile-info-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.profile-info-value {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

.profile-info-value a {
  color: #a78bfa;
  text-decoration: none;
  transition: color 0.2s;
}

.profile-info-value a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.auth-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.btn-auth {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-auth::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-auth:hover::before {
  left: 100%;
}

.btn-login {
  background: rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}

.btn-login:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: #6366f1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-register {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border: 1px solid transparent;
}

.btn-register:hover {
  background: linear-gradient(135deg, #7c7ff3, #9f82f7);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.btn-visitor {
  background: rgba(16, 185, 129, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.btn-visitor:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.welcome-user-message {
  text-align: center;
  margin-top: 32px;
  padding: 24px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 16px;
  animation: fadeInUp 0.6s ease-out;
}

.welcome-user-message h3 {
  color: #10b981;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.welcome-user-message #welcomeUsername {
  color: #6ee7b7;
  font-weight: 700;
}

.welcome-user-message p {
  color: #cbd5e1;
  font-size: 1rem;
}

#loginModal h2,
#registerModal h2 {
  background: var(--gradient-secondary);
  padding: 24px;
  margin: 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.5rem;
  color: var(--text-primary);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#loginModal form,
#registerModal form {
  padding: 32px;
}

.auth-link {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.auth-link p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

.auth-link a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
  position: relative;
}

.auth-link a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s;
}

.auth-link a:hover {
  color: #a78bfa;
}

.auth-link a:hover::after {
  width: 100%;
}

.form-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-style: italic;
  opacity: 0.8;
}

#registerModal input:valid:not(:placeholder-shown) {
  border-color: var(--accent-success);
  background: rgba(16, 185, 129, 0.05);
}

#registerModal input:invalid:not(:placeholder-shown) {
  border-color: var(--accent-danger);
  background: rgba(239, 68, 68, 0.05);
}

.add-image-btn {
  background: var(--gradient-secondary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  font-weight: 500;
}

.add-image-btn:hover {
  background: var(--gradient-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: rgba(15, 15, 26, 0.3);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6366f1, #8b5cf6);
  border-radius: 3px;
  transition: all 0.3s;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #7c7ff3, #9f82f7);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

.interactive:hover {
  transform: translateY(-2px);
  transition: transform var(--transition-fast);
}

.hamburger {
  display: none;
  position: fixed;
  top: var(--space-lg);
  left: var(--space-lg);
  z-index: 900;
  cursor: pointer;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all var(--transition-base);
}

body.sidebar-hidden .hamburger {
  display: none !important;
}

.hamburger:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--accent-primary);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.dragging {
  opacity: 0.6;
  background: rgba(99, 102, 241, 0.1);
  transform: scale(0.95);
  transition: all var(--transition-fast);
}

[draggable="true"] {
  cursor: move;
}

[draggable="true"]:active {
  cursor: grabbing;
}

.tinymce-container {
  position: relative;
}

.tinymce-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 26, 0.8);
  border-radius: var(--radius-md);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.tinymce-loading-overlay.show {
  display: flex;
}

.tinymce-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.resizable-image-wrapper {
  display: inline-block;
  position: relative;
  border: 2px solid transparent;
  cursor: move;
  max-width: 100%;
  resize: both;
  overflow: hidden;
  min-width: 50px;
  min-height: 50px;
  width: var(--image-width, 200px);
  height: var(--image-height, auto);
  transition: border-color var(--transition-base);
}

.resizable-image-wrapper:hover {
  border-color: var(--accent-primary);
}

.resizable-image-wrapper.selected {
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3);
}

.resizable-image-content {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.resizable-image-wrapper:hover .resize-handle,
.resizable-image-wrapper.selected .resize-handle {
  opacity: 1;
}

.image-delete-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent-danger);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: none;
  z-index: 10;
  transition: all var(--transition-base);
}

.resizable-image-wrapper:hover .image-delete-btn,
.resizable-image-wrapper.selected .image-delete-btn {
  display: block;
}

.image-delete-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.upload-indicator {
  background: rgba(99, 102, 241, 0.1);
  padding: var(--space-sm);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  margin: 4px 0;
  color: var(--accent-primary);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  animation: pulse 1.5s ease-in-out infinite;
}

.upload-indicator::before {
  content: "📤";
  font-size: 1.2rem;
}

.hidden-input {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.error-message {
  display: none;
  color: var(--accent-danger);
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.error-message.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

#deleteConfirmModal,
#deleteGroupConfirmModal {
  z-index: 1600 !important;
}

.display-none {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.display-block {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* SUPPRIMÉ - Ces styles sont dans welcome.css maintenant
.welcome-screen {
  DÉPLACÉ VERS welcome.css
}
*/

.ai-brain-container {
  position: relative;
  width: 240px;
  height: 240px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-brain {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
  animation: float 6s ease-in-out infinite;
}

.brain-circuits {
  animation: rotateCircuits 20s linear infinite;
  transform-origin: center;
}

.data-point {
  animation: dataPulse 2s ease-in-out infinite;
}

.data-point:nth-child(odd) {
  animation-delay: 0.5s;
}

.data-point:nth-child(even) {
  animation-delay: 1s;
}

.neural-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawPath 3s ease-in-out infinite alternate;
}

.ai-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }

.particle:nth-child(2) { top: 20%; left: 80%; animation-delay: 1s; }

.particle:nth-child(3) { top: 60%; left: 10%; animation-delay: 2s; }

.particle:nth-child(4) { top: 40%; left: 70%; animation-delay: 3s; }

.particle:nth-child(5) { top: 80%; left: 30%; animation-delay: 4s; }

.particle:nth-child(6) { top: 30%; left: 50%; animation-delay: 5s; }

.particle:nth-child(7) { top: 70%; left: 60%; animation-delay: 6s; }

.particle:nth-child(8) { top: 50%; left: 90%; animation-delay: 7s; }

.welcome-content {
  text-align: center;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.welcome-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
  line-height: 1.2;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-secondary);
  opacity: 0.9;
}

.welcome-description {
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 25px;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.3s both;
  width: 100%;
}

.feature-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 15px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  transition: all var(--transition-base);
  color: white;
  position: relative;
  overflow: visible;
}

imary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }

.particle:nth-child(2) { left: 20%; animation-delay: 1s; }

.particle:nth-child(3) { left: 30%; animation-delay: 2s; }

.particle:nth-child(4) { left: 40%; animation-delay: 3s; }

.particle:nth-child(5) { left: 60%; animation-delay: 4s; }

.particle:nth-child(6) { left: 70%; animation-delay: 5s; }

.particle:nth-child(7) { left: 80%; animation-delay: 6s; }

.particle:nth-child(8) { left: 90%; animation-delay: 7s; }

.welcome-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.welcome-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.1;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.subtitle {
  font-size: 1.75rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.welcome-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-sm);
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
  animation: iconPulse 3s ease-in-out infinite;
}

[data-aos="fade-up"] {
  opacity: 1;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}

[data-aos="fade-up"][data-aos-delay="100"] {
  animation-delay: 0.1s;
}

.upload-area {
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.upload-area:hover {
  border-color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.05);
  box-shadow: var(--shadow-md);
}

.upload-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.upload-info {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

#uploadedFileInfo {
  background: var(--bg-card);
  border: 1px solid var(--accent-success);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-success {
  background: var(--accent-success);
  color: white;
  padding: var(--space-md) var(--space-xl);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-success:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--accent-primary);
}

.btn-small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  background: var(--accent-danger);
  color: white;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-small:hover {
  background: #dc2626;
  transform: scale(1.05);
}

#bulkProgress {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.progress-indicator {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

#progressText {
  color: var(--text-primary);
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
  border-radius: var(--radius-sm);
}

#bulkPreview {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

#bulkPreview h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
}

.preview-controls {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.preview-controls button {
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: 0.875rem;
}

.preview-controls button:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-1px);
}

#previewTable {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: var(--space-lg);
}

.preview-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: flex-end;
}

.qa-input-zone textarea,
#themeTarget,
#qaThemeTarget {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  resize: vertical;
  min-height: 200px;
}

.qa-input-zone textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.s-005,
#imageUploader,
#bulkFileInput {
  display: none !important;
}

#uploadedFileInfo,
#qaFileInput,
#bulkProgress,
#bulkPreview,

/* ===============================================
   ÉCRAN D'ACCUEIL - OPTIMISATION GRANDS ÉCRANS (>1024px)
   Tout doit tenir sans scroll
   =============================================== */
@media (min-width: 1025px) {
  .welcome-screen {
    min-height: calc(100vh - 40px);
    height: calc(100vh - 40px);
    max-height: calc(100vh - 40px);
    justify-content: center;
    overflow: hidden;
    padding: 15px 20px 20px 20px;
  }
  
  .ai-brain-container {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
  }
  
  .welcome-title {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  
  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  
  .welcome-description {
    font-size: 0.95rem;
    margin-bottom: 18px;
    max-width: 600px;
  }
  
  .feature-cards {
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .feature-card {
    padding: 18px 22px;
    max-width: 320px;
  }
  
  .feature-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 10px;
  }
  
  .feature-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .feature-card p {
    font-size: 0.85rem;
  }
  
  .auth-buttons {
    margin-top: 20px;
    gap: 14px;
  }
  
  .btn-auth {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/* Écrans très larges mais pas très hauts */
@media (min-width: 1025px) and (max-height: 800px) {
  .ai-brain-container {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }
  
  .welcome-title {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }
  
  .subtitle {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .welcome-description {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  
  .feature-cards {
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .feature-card {
    padding: 14px 18px;
  }
  
  .feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
  }
  
  .feature-card h3 {
    font-size: 0.9rem;
  }
  
  .feature-card p {
    font-size: 0.8rem;
  }
  
  .auth-buttons {
    margin-top: 15px;
  }
  
  .btn-auth {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Écrans larges avec hauteur très limitée */
@media (min-width: 1025px) and (max-height: 700px) {
  .ai-brain-container {
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
  }
  
  .welcome-title {
    font-size: 1.5rem;
    margin-bottom: 4px;
  }
  
  .subtitle {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .welcome-description {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }
  
  .feature-cards {
    gap: 12px;
    margin-bottom: 12px;
  }
  
  .feature-card {
    padding: 12px 15px;
  }
  
  .feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 6px;
  }
  
  .feature-card h3 {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  
  .feature-card p {
    font-size: 0.75rem;
  }
  
  .auth-buttons {
    margin-top: 12px;
    gap: 10px;
  }
  
  .btn-auth {
    padding: 10px 18px;
    font-size: 13px;
  }
}
