/* --- Everything is Teacher Page Styles --- */

/* Theme: Learning Teal */
.page-title-area.theme-teal {
  text-align: left;
  margin-bottom: 3rem;
}
.page-title-area.theme-teal .page-title-text {
  color: #0d9488; /* Teal-600 */
}
.page-title-area.theme-teal .title-underline {
  background: #5eead4; /* Teal-300 */
}

.header-teal {
  border-left-color: #0d9488;
  color: #115e59;
}

.num-teal {
  color: white;
  background: #0d9488;
}

.highlight-box-teal {
  background: #f0fdfa; /* Teal-50 */
  border-left: 5px solid #14b8a6;
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0 12px 12px 0;
  color: #134e4a;
  font-weight: bold;
}

/* Sidebar Advice */
.advice-teal {
  background: #f0fdfa; /* Teal-50 */
  border: 2px solid #5eead4;
}
.advice-highlight-teal {
  background: linear-gradient(
    120deg,
    rgba(94, 234, 212, 0) 0%,
    rgba(94, 234, 212, 0.4) 100%
  );
  box-shadow: inset 0 -0.5em 0 rgba(94, 234, 212, 0.5);
}

/* Conclusion Box Theme Override */
.theme-teal-box {
  border-color: #5eead4;
  background: #f0fdfa;
  color: #115e59;
}

/* Notebook Style Quote */
.quote-style-notebook {
  background-color: #fff;
  background-image:
    linear-gradient(#e5e7eb 1px, transparent 1px),
    linear-gradient(90deg, #e5e7eb 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0;
  border: 1px solid #cbd5e1;
  border-left: 6px solid #0d9488;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  padding: 3rem;
  margin-bottom: 4rem;
  border-radius: 4px;
}
.quote-style-notebook::before {
  /* Spiral binding visual illusion */
  content: "";
  position: absolute;
  left: -12px;
  top: 10px;
  bottom: 10px;
  width: 25px;
  background-image: radial-gradient(
    circle at center,
    #334155 3px,
    transparent 4px
  );
  background-size: 10px 30px;
  background-repeat: repeat-y;
}

/* Teal Card for Story */
.teal-card {
  background: #ccfbf1;
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2rem 0;
  box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.1);
}
.teal-card .card-icon {
  font-size: 2rem;
  color: #0d9488;
  padding-top: 5px;
}

/* Mirror Visual */
.mirror-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 3rem 0;
  perspective: 1000px; /* For 3D feel */
  cursor: pointer;
}

.mirror-frame {
  width: 200px;
  height: 280px;
  background: #cbd5e1;
  border-radius: 50% 50% 5px 5px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  border: 4px solid #94a3b8;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.mirror-visual:hover .mirror-frame {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(13, 148, 136, 0.2);
  border-color: #5eead4;
}

.mirror-glass {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #f1f5f9 0%,
    #e2e8f0 40%,
    #fff 50%,
    #e2e8f0 60%,
    #cbd5e1 100%
  );
  border-radius: 45% 45% 2px 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.mirror-glass::after {
  /* Reflection sheen */
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  transform: rotate(30deg);
  pointer-events: none;
  opacity: 0.3;
}

.mirror-glass i {
  font-size: 5rem;
  color: #94a3b8;
  opacity: 0.2;
  transition: all 0.5s ease;
}

.mirror-visual:hover .mirror-glass i {
  opacity: 1;
  color: #5eead4;
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(94, 234, 212, 0.6);
}

.reflection-text {
  font-weight: bold;
  color: #64748b;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.mirror-caption {
  margin-top: 1.5rem;
  font-weight: bold;
  color: #0d9488;
  background: #f0fdfa;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  border: 1px solid #5eead4;
}

/* Mirror Words Animation */
.floating-word {
  position: absolute;
  color: #0d9488;
  font-weight: bold;
  pointer-events: none;
  animation: wordFloatUp 2s ease-out forwards;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  z-index: 10;
}

@keyframes wordFloatUp {
  0% {
    transform: translate(-50%, 0) scale(0.5);
    opacity: 0;
  }
  20% {
    transform: translate(-50%, -20px) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -100px) scale(1);
    opacity: 0;
  }
}

/* Highlighter Animation */
.text-marker-teal {
  background-image: linear-gradient(rgba(0, 0, 0, 0) 65%, #5eead4 65%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
  transition: background-size 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  /* Ensure it works inline */
  display: inline;
}
/* Trigger animation when parent .reveal gets .active */
.reveal.active .text-marker-teal,
.reveal.active.text-marker-teal {
  background-size: 100% 100%;
}

/* Tile Teal (Logical place) */
.tile-teal:hover {
  background: #f0fdfa;
  border-color: #5eead4;
}
.tile-teal .tile-icon {
  color: #0d9488;
}
