/* ==========================================================================
   Plataforma Provas SkillsEdtech - Design System Oficial
   Alinhado com portal/index.html & pss/index.html
   Paleta: Primary #0576f8 | Secondary #13233e | Accent #fcc010 | Bg #faf9fd
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Official SkillsEdtech Color System */
  --primary: #0576f8;
  --primary-hover: #005ecb;
  --primary-container: #e6f0ff;
  --on-primary-container: #00397b;
  
  --secondary: #13233e;
  --secondary-container: #f0f3f6;
  
  --tertiary: #fcc010; /* Skills Gold */
  --tertiary-container: #fff7d6;
  --on-tertiary-container: #4b3600;
  
  --bg-main: #faf9fd;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-color: #e3e2e6;
  --border-focus: #0576f8;
  
  --accent-emerald: #24883f;
  --accent-emerald-light: #e8f5e9;
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  
  --text-main: #13233e;
  --text-muted: #414754;
  --text-dim: #6c757d;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(19, 35, 62, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(5, 118, 248, 0.08), 0 8px 10px -6px rgba(19, 35, 62, 0.04);
  --shadow-hover: 0 14px 30px -5px rgba(5, 118, 248, 0.15);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navbar (Igual portal/index.html) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background-color: rgba(250, 249, 253, 0.92);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--secondary);
  font-weight: 800;
  font-size: 1.25rem;
  white-space: nowrap;
}

.brand-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-badge {
  background: var(--primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-whatsapp-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.nav-whatsapp-icon-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.45);
}

.nav-link:hover {
  color: var(--primary);
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-md);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-profile-btn:hover {
  background: var(--primary-container);
}

.avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(5, 118, 248, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 118, 248, 0.35);
}

.btn-accent {
  background-color: var(--tertiary);
  color: #1a1b1e;
  box-shadow: 0 4px 14px rgba(252, 192, 16, 0.3);
}

.btn-accent:hover {
  background-color: #e5ad07;
  transform: translateY(-2px);
}

.btn-emerald {
  background-color: var(--accent-emerald);
  color: white;
  box-shadow: 0 4px 14px rgba(36, 136, 63, 0.25);
}

.btn-emerald:hover {
  background-color: #1e7335;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-container);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 4rem 0 3.5rem 0;
  text-align: center;
  background: linear-gradient(180deg, #f2f0f7 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--primary-container);
  color: var(--on-primary-container);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

/* Feature Grid Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-container);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.feature-badge-corner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--tertiary-container);
  color: var(--on-tertiary-container);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

/* Wizard / Form Container */
.wizard-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 4rem;
}

.wizard-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wizard-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.wizard-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Wizard Stepper */
.stepper-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.stepper-nav::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.step-item.active .step-number {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(5, 118, 248, 0.35);
}

.step-item.completed .step-number {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald);
  color: white;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.step-item.active .step-label {
  color: var(--secondary);
}

/* Form Controls */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.form-label small {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 118, 248, 0.15);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

/* Checkbox Grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.checkbox-card:hover {
  border-color: var(--primary);
  color: var(--secondary);
}

.checkbox-card input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Summary Card */
.summary-box {
  background: var(--primary-container);
  border: 1px solid rgba(5, 118, 248, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(5, 118, 248, 0.2);
  font-size: 0.95rem;
  color: var(--secondary);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* Modals System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(19, 35, 62, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 92%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px -10px rgba(19, 35, 62, 0.25);
  overflow: hidden;
  animation: modalSlide 0.3s ease forwards;
}

@keyframes modalSlide {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.2rem;
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: var(--bg-main);
}

/* ==========================================================================
   CUSTOM ALERT MODAL COM MASCOTE CORUJINHA
   ========================================================================== */
.alert-mascot-wrapper {
  position: relative;
  text-align: center;
  padding: 1rem 0;
}

.alert-mascot-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: -50px auto 1rem auto;
  filter: drop-shadow(0 8px 16px rgba(5, 118, 248, 0.3));
  animation: floatMascot 3s ease-in-out infinite;
}

@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.alert-speech-bubble {
  background: var(--primary-container);
  border: 1px solid rgba(5, 118, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  color: var(--secondary);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(5, 118, 248, 0.08);
}

/* ==========================================================================
   CHAT DE ATENDIMENTO EDUCAIONAL ASSÍNCRONO
   ========================================================================== */
.chat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  height: 520px;
  overflow: hidden;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: var(--secondary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-mascot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
}

.chat-feed {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble-row {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  max-width: 85%;
}

.chat-bubble-row.user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.chat-avatar-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #e2e8f0;
  flex-shrink: 0;
}

.chat-bubble-text {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  border-top-left-radius: 2px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--secondary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.chat-bubble-row.user .chat-bubble-text {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  border-top-left-radius: 14px;
  border-top-right-radius: 2px;
}

.chat-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

.chat-bubble-row.user .chat-meta {
  color: rgba(255,255,255,0.8);
  text-align: right;
}

.chat-input-box {
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 0.5rem;
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO (E-MAIL DOTTIS)
   ========================================================================== */
.admin-badge {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-card-header {
  background: #f3e8ff;
  border-bottom: 1px solid #e9d5ff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  font-weight: 700;
  color: #6b21a8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Legal Contract Scroll Box */
.contract-scrollbox {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-height: 380px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contract-scrollbox h4 {
  color: var(--primary);
  margin: 1.2rem 0 0.4rem 0;
  font-size: 0.98rem;
  font-weight: 800;
}

.contract-scrollbox h4:first-child {
  margin-top: 0;
}

/* Dashboard / Orders */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-yellow { background: var(--accent-amber-light); color: var(--accent-amber); border: 1px solid rgba(217, 119, 6, 0.3); }
.badge-blue { background: var(--primary-container); color: var(--on-primary-container); border: 1px solid rgba(5, 118, 248, 0.3); }
.badge-purple { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.badge-orange { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
.badge-green { background: var(--accent-emerald-light); color: var(--accent-emerald); border: 1px solid rgba(36, 136, 63, 0.3); }

/* Proofing Tool & Question View */
.question-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.question-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--secondary);
}

.question-options {
  list-style: none;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.question-options li {
  padding: 0.65rem 0.9rem;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.question-options li.correct {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  font-weight: 700;
}

.comment-box {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
  border-left: 4px solid var(--primary);
}

.comment-item {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-author {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

/* Footer (Igual portal/index.html) */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--secondary);
  color: #ffffff;
}

.footer strong {
  color: #ffffff;
}

.footer p {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: span 1; }
  .stepper-nav { flex-wrap: wrap; gap: 1rem; }
  .stepper-nav::before { display: none; }
  .skillo-banner-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* ==========================================================================
   SKILLO FLOATING WIDGET (CANTO INFERIOR DIREITO - ESTILO CLIPPY)
   ========================================================================== */
.skillo-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.skillo-widget-container * {
  pointer-events: auto;
}

.skillo-mascot-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--primary);
  box-shadow: 0 8px 25px rgba(5, 118, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: floatMascot 3s ease-in-out infinite;
}

.skillo-mascot-btn:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 30px rgba(5, 118, 248, 0.55);
}

.skillo-mascot-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.skillo-pulse-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid white;
  border-radius: 50%;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.skillo-speech-bubble {
  background: #ffffff;
  border: 2px solid var(--primary);
  border-radius: 16px;
  border-bottom-right-radius: 4px;
  padding: 0.9rem 1.1rem;
  width: 270px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  position: relative;
  animation: popInBubble 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}

@keyframes popInBubble {
  0% { opacity: 0; transform: scale(0.4); }
  100% { opacity: 1; transform: scale(1); }
}

.skillo-bubble-close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1;
}

.skillo-bubble-close:hover {
  color: var(--secondary);
}

