/*debut Expression ecrite orale nv style ayoub */

#tcf-clone-wrapper { font-family: 'Inter', sans-serif; color: #1f2937; line-height: 1.5; box-sizing: border-box; text-align: left; }
#tcf-clone-wrapper * { box-sizing: border-box; }
.tcf-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; border:none; display:block; stroke-linecap: round; stroke-linejoin: round; }

.tcf-sticky-menu { position: sticky; top: 0; z-index: 100; background: linear-gradient(to right, #eff6ff, #ecfeff); border-bottom: 2px solid #bfdbfe; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); padding: 0.75rem 0; margin-bottom: 2rem; }
.tcf-sticky-inner { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.tcf-sticky-left { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.tcf-cal-icon { background: #2563eb; color: white; padding: 0.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tcf-cal-icon svg { width: 18px; height: 18px; }
.tcf-sticky-title { font-weight: 800; font-size: 0.95rem; background: linear-gradient(to right, #2563eb, #0891b2); -webkit-background-clip: text; color: transparent; white-space: nowrap; }
@media (max-width: 768px) { .tcf-sticky-left { display: none; } }
.tcf-sticky-scroll-wrapper { display: flex; flex: 1; align-items: center; gap: 0.5rem; min-width: 0; }
.tcf-scroll-area { flex: 1; display: flex; gap: 0.5rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.tcf-scroll-area::-webkit-scrollbar { display: none; }

.tcf-nav-btn { background: white !important; border: 1px solid #bfdbfe !important; color: #2563eb !important; border-radius: 50% !important; width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; cursor: pointer !important; box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important; transition: all 0.2s !important; flex-shrink: 0 !important; }
.tcf-nav-btn svg { width: 18px !important; height: 18px !important; stroke: #2563eb !important; display:block !important; }
.tcf-nav-btn:hover { background: #2563eb !important; color: white !important; border-color:#2563eb !important; }
.tcf-nav-btn:hover svg { stroke: white !important; }

.tcf-pill { display: flex; flex-direction: column; align-items: center; background: white; border: 1px solid #bfdbfe; padding: 0.4rem 1.25rem; border-radius: 0.5rem; text-decoration: none !important; flex-shrink: 0; transition: all 0.2s; min-width: max-content; }
.tcf-pill strong { font-size: 0.85rem; color: #1d4ed8; transition: color 0.2s; }
.tcf-pill span { font-size: 0.70rem; color: #3b82f6; font-weight: 500; transition: color 0.2s; }
.tcf-pill:hover, .tcf-pill.active { background: #2563eb; border-color: #2563eb; }
.tcf-pill:hover strong, .tcf-pill:hover span, .tcf-pill.active strong, .tcf-pill.active span { color: white; }

.tcf-hero { position: relative; background: linear-gradient(to right, #2742F5, #2752F5, #27BBF5) !important; color: white !important; padding: 2.5rem 1.5rem; overflow: hidden; border-radius: 12px; margin-bottom: 2rem; }
.tcf-hero-content { position: relative; z-index: 10; max-width: 1152px; margin: 0 auto; }
.tcf-back-link { display: inline-flex; align-items: center; gap: 8px; color: #dbeafe; text-decoration: none; margin-bottom: 1.5rem; font-weight: 500; }
.tcf-hero-title-group { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.tcf-hero-icon-box { width: 44px; height: 44px; background: rgba(255, 255, 255, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.tcf-hero-title { font-size: 2rem; font-weight: 800; margin: 0; line-height: 1.2; color: white !important; }
.tcf-main-container { max-width: 850px; margin: 0 auto; padding: 0 1rem 3rem 1rem; }
.tcf-info-banner { background-color: #eff6ff; padding: 1rem; border-radius: 12px; margin-bottom: 1.5rem; border: 1px solid #bfdbfe; }
.tcf-info-banner-title { font-size: 1.125rem; font-weight: 700; color: #1e3a8a; margin: 0 0 0.5rem 0; }
.tcf-info-banner-text { font-size: 0.875rem; color: #1e40af; margin: 0; }
.tcf-action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .tcf-action-grid { grid-template-columns: repeat(4, 1fr); } }
.tcf-action-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem; border-radius: 12px; color: white !important; font-weight: 600; font-size: 0.875rem; text-decoration: none !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); transition: transform 0.3s; }
.tcf-action-btn:hover { transform: scale(1.05); }
.tcf-btn-yellow { background: linear-gradient(to right, #fbbf24, #f97316); }
.tcf-btn-blue { background: linear-gradient(to right, #3b82f6, #2563eb); }
.tcf-btn-red { background: #ff0000; }
.tcf-btn-green { background: linear-gradient(to right, #10b981, #059669); }
.tcf-comb-header h2 { font-size: 1.5rem; font-weight: 800; margin: 0 0 1.5rem 0; color: #111827 !important; }

.tcf-comb-list { display: flex; flex-direction: column; gap: 1.25rem; }
.tcf-accordion-item { border-radius: 16px; border: 2px solid transparent; transition: all 0.3s; scroll-margin-top: 100px; }
.tcf-accordion-item.active { border-color: #d1d5db; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.tcf-accordion-item.active .tcf-comb-card { border-radius: 14px 14px 0 0; }
.tcf-accordion-item.active .tcf-chevron { transform: rotate(180deg); }
.tcf-accordion-item.active .tcf-accordion-content { display: block; }

.tcf-comb-card { width: 100%; background: linear-gradient(to right, #2742F5, #27BBF5) !important; border-radius: 16px; padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; color: white !important; border: none; cursor: pointer; transition: all 0.3s; font-family: inherit; margin: 0; outline: none; }
.tcf-comb-card:hover { filter: brightness(1.05); }
.tcf-comb-left { display: flex; align-items: center; gap: 12px; }
.tcf-comb-icon { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.tcf-comb-title { font-size: 1.25rem; font-weight: 700; margin: 0; color: white !important;}
.tcf-comb-right { display: flex; align-items: center; gap: 12px; }
.tcf-sim-badge { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.2); padding: 0.5rem 1rem; border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: white; cursor: pointer; transition: all 0.3s; border: 1px solid transparent; z-index: 2; position: relative; }
.tcf-sim-badge:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
.tcf-chevron { transition: transform 0.3s; }
@media (max-width: 600px) {
  .tcf-sim-badge { 
    padding: 0.3rem 0.5rem; 
    font-size: 0.75rem; 
    gap: 4px;
  }
  .tcf-comb-title {
    font-size: 1.1rem;
  }
  .tcf-comb-card {
    padding: 1rem 0.75rem;
  }
}
.tcf-accordion-content { display: none; background: white; padding: 1.5rem; border-radius: 0 0 14px 14px; animation: fadeIn 0.3s ease-in-out; border-top: 1px solid #bfdbfe; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.tcf-task { border: 2px solid; border-radius: 12px; margin-bottom: 1.25rem; padding: 1rem; background: #fff; }
.tcf-task:last-child { margin-bottom: 0; }
.tcf-task-blue { border-color: #bfdbfe; }
.tcf-task-green { border-color: #bbf7d0; }
.tcf-task-purple { border-color: #e9d5ff; }

.tcf-task-header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f3f4f6; padding-bottom: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.tcf-task-header-left { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: #1f2937; font-size: 0.9rem; }
.tcf-task-badge { display: flex; color: white; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 6px; font-size: 0.75rem; font-weight: 800; }
.tcf-task-blue .tcf-task-badge { background: #3b82f6; }
.tcf-task-green .tcf-task-badge { background: #22c55e; }
.tcf-task-purple .tcf-task-badge { background: #8b5cf6; }

.tcf-task-meta { font-size: 0.75rem; color: #6b7280; display: flex; align-items: center; gap: 0.3rem; }
.tcf-task-body { font-size: 1.05rem; color: #4b5563; line-height: 1.6; margin-bottom: 1rem; }
.tcf-task-title-center { text-align: center; color: #4338ca; font-weight: 800; margin-top: 0; margin-bottom: 0.5rem; font-size: 1rem; }

/* CORRECTION DESIGN */
.tcf-btn-correction { display: inline-flex; align-items: center; gap: 6px; background: #10b981; color: white; padding: 0.5rem 1rem; border-radius: 6px; border: none; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: background 0.2s; font-family: inherit;}
.tcf-btn-correction:hover { background: #059669; }
.tcf-btn-correction.active { background: #047857; }

.tcf-correction-content { display: none; margin-top: 1rem; padding: 1.25rem; border-radius: 8px; background: #ffffff; border: 1px solid #86efac; }
.tcf-correction-content.active { display: block; animation: fadeIn 0.2s; }
.tcf-correction-header { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: #16a34a; margin-bottom: 0.75rem; font-size: 0.95rem; }
.tcf-correction-body { font-size: 1.05rem; line-height: 1.6; color: #374151; }
#tcf-clone-wrapper .tcf-hero-title {
  color: white !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* ============================================================
   design doc 1 et 2 tache 3  */

/* ===============================
   DOC BLOCK (Document 1 / 2)
================================ */

.tcf-doc-block {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 5px solid #6366f1;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.tcf-doc-block:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Titre Document */
.tcf-doc-label {
  font-weight: 700;
  color: #4338ca;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* Texte */
.tcf-doc-text {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.6;
}

/* ===============================
   affichage mobile da5la m3a code ayob
================================ */
@media (max-width: 768px) {

  .tcf-main-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .tcf-accordion-content {
    padding: 10px !important;
  }

  .tcf-task {
    padding: 10px !important;
  }

}
/*end Expression ecrite orale nv style ayoub */