.module-tabs {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.module-tab {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  border: 3px solid transparent;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(16, 35, 68, 0.1);
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(16, 35, 68, 0.18);
}

.module-tab.active {
  background: #10233f;
  color: #fff;
}

.module-tab.active .module-description {
  color: rgba(255, 255, 255, 0.9);
}

.module-emoji {
  font-size: 2rem;
}

.module-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.module-description {
  font-size: 0.9rem;
  margin: 0.15rem 0 0;
  color: #3d506f;
}

@media (min-width: 768px) {
  .module-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
}
