/* PODLEE - Plataforma Educativa de Podcast Lector */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root {
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --header-bg: #0f172a;
  --sidebar-bg: #f8fafc;
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --primary-gradient: linear-gradient(135deg, #2563eb, #7c3aed);
  --header-height: 64px;
  --sidebar-width: 240px;
  --radius: 14px;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body, html {
  background: #050505;
  color: var(--text-dark);
  min-height: 100vh;
  max-width: 100vw;
  width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
body.app-active {
  height: 100vh;
  overflow: hidden;
}
@keyframes gradientBG { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
/* --- ANIMATIONS --- */
@keyframes float { 0%{transform:translateY(0)} 50%{transform:translateY(-12px)} 100%{transform:translateY(0)} }
@keyframes pulse-glow { 0%{transform:scale(1);box-shadow:0 0 0 0 rgba(37,99,235,0.4)} 70%{transform:scale(1.05);box-shadow:0 0 0 20px rgba(37,99,235,0)} 100%{transform:scale(1);box-shadow:0 0 0 0 rgba(37,99,235,0)} }
@keyframes slideUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
.anim-float { animation: float 5s ease-in-out infinite; }
.anim-pulse { animation: pulse-glow 2s infinite; }
.entrance { animation: slideUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards; opacity: 0; }
/* --- WELCOME SCREEN --- */
#welcome-screen {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 40px 20px;
  position: relative; z-index: 1;
}
.landing-container { max-width: 1100px; width: 100%; position: relative; z-index: 2; }

/* Hero Split moderno */
.landing-hero-split {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
  margin-bottom: 40px; min-height: 500px;
}
.landing-hero-info {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.landing-hero-visual {
  display: flex; justify-content: center; align-items: center; position: relative;
}

/* Banner de la IE en la portada */
.landing-ie-banner {
  background: rgba(16, 185, 129, 0.12); color: #047857;
  padding: 6px 16px; border-radius: 50px; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1px; display: inline-flex;
  align-items: center; gap: 6px; border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 20px; box-shadow: var(--shadow);
}
.landing-title {
  font-size: 4.8rem; font-weight: 900; letter-spacing: -3px; line-height: 1.05;
  background: linear-gradient(135deg, #1e3a5f, #0f172a, #7c3aed);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 5px;
}
.landing-subtitle {
  font-size: 1.2rem; font-weight: 800; color: var(--primary);
  letter-spacing: 5px; text-transform: uppercase; margin-bottom: 20px;
}
.landing-description {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 30px; max-width: 600px;
}

/* Grupo selector de rol en el Landing */
.landing-role-select-box {
  background: rgba(255,255,255,0.6); backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.4); border-radius: 20px;
  padding: 20px; margin-bottom: 30px; width: 100%; max-width: 520px;
  box-shadow: var(--shadow);
}
.landing-role-label {
  font-size: 11px; font-weight: 800; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px;
}
.landing-role-buttons {
  display: flex; gap: 8px; width: 100%;
}
.landing-role-btn {
  flex: 1; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--border);
  background: white; color: var(--text-dark); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.landing-role-btn:hover { 
  background: #f1f5f9; 
  border-color: var(--primary-light); 
  transform: translateY(-1px);
}
.landing-role-btn.active {
  background: var(--primary-gradient); color: white; border-color: transparent;
  box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.landing-btn {
  padding: 14px 24px; border-radius: 14px; border: none;
  background: var(--header-bg); color: white; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}
.landing-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}
.landing-btn:active { transform: translateY(0); }

.landing-admin-alert {
  background: #fffbeb; 
  padding: 16px; 
  border-radius: 14px; 
  border: 1px solid #fde68a; 
  font-size: 13px; 
  color: #92400e; 
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.landing-btn-container {
  display: flex; align-items: center; gap: 15px;
}

/* Reproductor simulado premium */
.mock-player-card {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.6); border-radius: 30px;
  padding: 25px; width: 100%; max-width: 360px;
  box-shadow: 0 25px 50px -12px rgba(15,23,42,0.15);
  position: relative; overflow: hidden;
  transition: transform 0.3s;
}
.mock-player-card:hover { transform: translateY(-5px); }
.mock-player-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.mock-player-badge {
  background: #dbeafe; color: #1e40af; font-size: 10.5px; font-weight: 800;
  padding: 4px 10px; border-radius: 10px; text-transform: uppercase;
}
.mock-player-art {
  width: 100%; height: 180px; border-radius: 20px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  margin-bottom: 20px; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white; overflow: hidden;
}
.mock-player-art-icon {
  background: rgba(255,255,255,0.15); width: 64px; height: 64px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; backdrop-filter: blur(5px);
}
.mock-waveform {
  display: flex; align-items: flex-end; gap: 3px; height: 45px; width: 80%;
  justify-content: center; margin-bottom: 10px;
}
.mock-wave-bar {
  width: 4px; background: rgba(255, 255, 255, 0.45); border-radius: 4px;
  animation: wave-jump 1.2s ease infinite;
}
.mock-wave-bar:nth-child(even) { animation-duration: 0.8s; }
.mock-wave-bar:nth-child(3n) { animation-duration: 1.4s; }
.mock-wave-bar:nth-child(4n) { animation-duration: 1.0s; }
@keyframes wave-jump {
  0%, 100% { height: 8px; }
  50% { height: 35px; }
}
.mock-player-info {
  text-align: center; margin-bottom: 15px;
}
.mock-player-title { font-weight: 800; font-size: 16px; color: var(--text-dark); }
.mock-player-author { font-size: 12px; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.mock-player-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.mock-control-btn {
  background: none; border: none; color: var(--text-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mock-play-btn {
  background: var(--header-bg); color: white; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 16px rgba(15,23,42,0.2);
}

/* Grilla de Pasos en lugar de cards informativas */
.landing-steps-title {
  text-align: center; font-size: 1.5rem; font-weight: 800; color: #1e3a5f;
  margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px;
}
.landing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px;
}
.landing-info-card {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(15px);
  padding: 25px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.5);
  transition: all 0.3s; position: relative;
}
.landing-info-card:hover { transform: translateY(-4px); background: white; border-color: var(--primary); box-shadow: var(--shadow); }
.landing-step-num {
  position: absolute; top: -15px; left: 20px;
  background: var(--primary-gradient); color: white; width: 32px; height: 32px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; box-shadow: 0 4px 10px rgba(37,99,235,0.25);
}

/* Marca de Agua Translucida de Fondo para el Logo de la IE */
.ie-watermark-bg {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60vh; height: 60vh; max-width: 500px; max-height: 500px;
  opacity: 0.045; z-index: 0; pointer-events: none; object-fit: contain;
  display: flex; align-items: center; justify-content: center;
}
.ie-watermark-icon {
  font-size: 15rem; color: var(--primary);
}

/* --- LOGO Y BADGES DE LA IE --- */
.ie-logo-header {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.ie-text-badge {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}
.ie-logo-upload-container {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}
.ie-logo-upload-container:hover {
  border-color: var(--primary);
}
.ie-logo-preview {
  height: 50px;
  object-fit: contain;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: white;
  padding: 4px;
}
/* --- GLASSMORPHISM & DEPTH --- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

/* --- DECORATIVE BLOBS --- */
.bg-blob {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  animation: blob-float 20s infinite alternate;
}
.blob-1 { top: -100px; right: -100px; background: #dbeafe; }
.blob-2 { bottom: -100px; left: -100px; background: #f3e8ff; animation-delay: -5s; }
.blob-3 { top: 40%; left: -150px; background: #fef9c3; animation-delay: -10s; }

@keyframes blob-float {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* --- RUTA METODOLÓGICA VISUAL --- */
.metodo-path {
  display: flex;
  gap: 25px;
  position: relative;
  margin-top: 20px;
}
.metodo-step {
  flex: 1;
  background: white;
  padding: 30px 25px;
  border-radius: 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.metodo-step:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.metodo-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 25px;
  height: 3px;
  background: var(--border);
  z-index: -1;
  border-radius: 2px;
}
.metodo-step:last-child::after { display: none; }

.metodo-icon {
  width: 55px;
  height: 55px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.metodo-step:hover .metodo-icon {
  transform: scale(1.1) rotate(5deg);
}

/* --- HERO TEXT REFINEMENT --- */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- BIBLIOTECA VISUAL (GRID DE LIBROS) --- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.book-card-visual {
  perspective: 1000px;
  cursor: pointer;
}

.book-cover-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 8px;
  background: #e2e8f0;
  box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.book-card-visual:hover .book-cover-container {
  transform: rotateY(-10deg) translateY(-10px);
  box-shadow: 20px 20px 30px rgba(0,0,0,0.15);
}

.book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  color: #94a3b8;
  padding: 20px;
  text-align: center;
}

.book-badge-leido {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--success);
  color: white;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(16,185,129,0.3);
  z-index: 2;
}

.book-info-visual {
  margin-top: 15px;
  text-align: center;
}

.book-title-visual {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-author-visual {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- BOOK VIEWER MODAL --- */
.reader-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85); backdrop-filter: blur(10px);
  z-index: 2000; display: none; flex-direction: column;
  animation: fadeIn 0.3s ease;
}
.reader-header {
  height: 60px; background: var(--header-bg); color: white;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.reader-content {
  flex: 1; width: 100%; max-width: 1000px; margin: 0 auto;
  background: white; overflow: hidden; position: relative;
}
.reader-iframe {
  width: 100%; height: 100%; border: none;
}
.reader-close-btn {
  background: var(--danger); color: white; border: none;
  padding: 8px 16px; border-radius: 8px; font-weight: 800;
  cursor: pointer; display: flex; align-items: center; gap: 8px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- PUBLIC PODCAST GALLERY --- */
.podcast-public-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.podcast-public-card {
  background: white;
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.podcast-public-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.06);
  border-color: var(--primary-light);
}

.podcast-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.podcast-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.podcast-card-info h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.3;
}

.podcast-card-info p {
  font-size: 11px;
  color: var(--text-muted);
  margin: 2px 0 0 0;
  font-weight: 600;
}

.podcast-card-player {
  background: #f8fafc;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.podcast-card-player audio {
  width: 100%;
  height: 30px;
}

/* --- PODCAST PLAYLIST DESIGN --- */
.podcast-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.main-player-box {
  background: var(--header-bg);
  border-radius: 30px;
  padding: 40px;
  color: white;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  position: relative;
  overflow: hidden;
}

.main-player-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(37,99,235,0.2), transparent);
  pointer-events: none;
}

.playlist-container {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.playlist-header {
  padding: 15px 20px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 1px solid #f1f5f9;
}

.playlist-item:last-child { border-bottom: none; }

.playlist-item:hover {
  background: #f1f5f9;
}

.playlist-item.active {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
}

.playlist-thumb {
  width: 100px;
  height: 60px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-thumb i { color: #94a3b8; }

.playlist-item-info {
  flex: 1;
}

.playlist-item-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.playlist-item-info p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.playlist-playing-icon {
  color: var(--primary);
  display: none;
}

.playlist-item.active .playlist-playing-icon {
  display: block;
}

/* --- DINAMISMO Y EFECTOS SECUNDARIA --- */
.floating-particles {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05), transparent 70%);
}

@keyframes glow-line {
  0% { left: -100%; }
  100% { left: 100%; }
}

.glow-card::after {
  content: ""; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-25deg); animation: glow-line 4s infinite;
}

.ie-logo-brand {
  height: 45px; width: 45px;
  background: white; border-radius: 12px;
  padding: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary-light);
}

.lamas-badge {
  background: linear-gradient(135deg, #059669, #10b981);
  color: white; padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
}

.landing-logo-top {
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
}

.landing-logo-img {
  height: 60px;
  width: 60px;
  background: white;
  padding: 6px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 2px solid white;
  object-fit: contain;
}

.landing-logo-text {
  display: flex;
  flex-direction: column;
}

.landing-logo-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.landing-logo-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- BRANDING & BACKGROUND (ESTILO PREMIUM SOLICITADO) --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@900&family=Righteous&display=swap');

.podlee-brand-text {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #a21caf 0%, #db2777 50%, #f43f5e 100%); /* Púrpura a Rosa vibrante */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
  filter: drop-shadow(0 15px 30px rgba(162,28,175,0.3));
}

.podlee-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #be185d;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0.9;
}

.podlee-logo-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.brand-icon-box {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 15px 35px rgba(162,28,175,0.4));
  animation: pulse-premium 4s infinite ease-in-out;
}

.brand-icon-box svg {
  width: 100%;
  height: 100%;
}

.brand-icon-right {
  transform: scaleX(-1);
  animation-delay: 2s;
}

@keyframes pulse-premium {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.05) translateY(-5px); }
}

.welcome-bg-image {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0.3;
  filter: blur(4px) saturate(1.2);
}

.welcome-bg-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(248,250,252,0.7) 0%, rgba(248,250,252,0.98) 100%);
  z-index: -1;
}

.logo-text { 
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem; 
  font-weight: 900; 
  letter-spacing: 2px; 
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.header-logo-thematic {
  height: 38px;
  width: 38px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.welcome-bg-image {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0.25;
  filter: blur(3px);
}

.welcome-bg-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(248,250,252,0.7) 0%, rgba(248,250,252,0.98) 100%);
  z-index: -1;
}

/* --- APP LAYOUT --- */
#welcome-screen { width: 100%; max-width: 100%; overflow-x: hidden; }
#app-layout { display: none; height: 100vh; height: 100dvh; flex-direction: column; width: 100%; overflow-x: hidden; }
.top-header {
  height: var(--header-height); background: var(--header-bg); color: white;
  display: flex; align-items: center; padding: 0 24px; gap: 16px; z-index: 1000;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-icon { background: var(--primary-gradient); width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; }
.logo-text { 
  font-family: 'Righteous', cursive;
  font-size: 1.4rem; 
  font-weight: 800; 
  letter-spacing: 1px; 
  background: linear-gradient(135deg, #fff 0%, #bfdbfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header-logo-thematic {
  height: 32px;
  width: 32px;
  filter: drop-shadow(0 0 5px rgba(59,130,246,0.5));
}

.header-title { font-size: 0.95rem; font-weight: 600; opacity: 0.85; flex: 1; }
.header-actions select {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: white; padding: 6px 12px; border-radius: 8px; font-size: 13px;
  cursor: pointer; outline: none;
}
.header-actions select option { color: #0f172a; }
.layout-body { flex: 1; display: flex; overflow: hidden; }
.sidebar {
  width: var(--sidebar-width); background: var(--sidebar-bg);
  border-right: 1px solid var(--border); padding: 20px 10px;
  display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  border: none; background: transparent; color: var(--text-dark);
  text-align: left; font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.nav-item:hover { background: #e0edff; transform: translateX(3px); }
.nav-item.active { background: #dbeafe; color: var(--primary); font-weight: 700; }
.nav-item i { width: 18px; height: 18px; flex-shrink: 0; }
.nav-sub { padding-left: 28px; font-size: 13px; }
.nav-section-label { padding: 8px 14px 4px; font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.nav-exit { margin-top: auto; color: #dc2626; }
.nav-exit:hover { background: #fef2f2; }
.sidebar hr { margin: 8px 0; border: none; border-top: 1px solid var(--border); }
.main-content {
  flex: 1; overflow-y: auto; padding: 75px 30px 30px 30px;
  background: rgba(255,255,255,0.94);
}
.content-inner { max-width: 1100px; margin: 0 auto; }
/* --- CARDS --- */
.model-card {
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
  border: 1px solid var(--border); background: white; box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  border-color: rgba(37, 99, 235, 0.3);
}
.card-blue { background: #eff6ff; border-color: #bfdbfe; }
.card-green { background: #f0fdf4; border-color: #bbf7d0; }
.card-orange { background: #fffbeb; border-color: #fde68a; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--primary-gradient); display: flex; align-items: center; justify-content: center; color: white; margin-bottom: 12px; }
.card-link { color: var(--primary); font-weight: 600; font-size: 13px; display: inline-block; margin-top: 8px; cursor: pointer; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
/* --- GRIDS --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.grid-main-sidebar { display: grid; grid-template-columns: 1fr 280px; gap: 20px; }
.grid-sidebar-main { display: grid; grid-template-columns: 350px 1fr; gap: 20px; }
.grid-main-sidebar-420 { display: grid; grid-template-columns: 1fr 420px; gap: 20px; }
/* --- FORM --- */
.form-control {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 2px solid var(--border); margin-bottom: 14px;
  font-size: 14px; background: white; transition: border 0.2s;
}
.form-control:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
label { font-size: 13px; font-weight: 600; color: var(--text-dark); display: block; margin-bottom: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox-label input { width: 18px; height: 18px; }
/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(37,99,235,0.3); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37,99,235,0.4); }
.btn-secondary { background: #f1f5f9; color: var(--text-dark); }
.btn-secondary:hover { background: #e2e8f0; transform: translateY(-1px); }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 8px; border: none; cursor: pointer; }
.btn-outline { background: transparent; border: 1px solid var(--border); }
.btn-danger { background: #fef2f2; color: var(--danger); }
.btn-danger:hover { background: #fee2e2; }
/* --- UPLOAD --- */
.upload-area {
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 30px; text-align: center; cursor: pointer;
  transition: all 0.2s; margin-bottom: 14px;
}
.upload-area:hover { border-color: var(--primary); background: #eff6ff; }
.upload-area p { color: var(--text-muted); font-size: 14px; margin-top: 8px; }
/* --- BADGES & TAGS --- */
.badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: inline-block; }
.badge.leido { background: #d1fae5; color: #065f46; }
.badge.por-leer { background: #fef3c7; color: #92400e; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.tag { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; background: #f1f5f9; color: var(--text-muted); }
.tag-Amistad { background: #dbeafe; color: #1e40af; }
.tag-Valores { background: #d1fae5; color: #065f46; }
.tag-Aventura { background: #fef3c7; color: #92400e; }
/* --- PROGRESS BAR --- */
.progress-bar { width: 100%; height: 12px; background: #e2e8f0; border-radius: 20px; overflow: hidden; margin: 8px 0; }
.progress-fill { height: 100%; background: var(--primary-gradient); border-radius: 20px; transition: width 0.5s ease; }
/* --- INFO GRID --- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: 14px; }
/* --- RUBRICA TABLE --- */
.rubrica-table { width: 100%; border-collapse: collapse; margin-top: 15px; font-size: 14px; }
.rubrica-table th, .rubrica-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
.rubrica-table th { background: #f8fafc; font-weight: 700; color: var(--text-muted); font-size: 12px; text-transform: uppercase; }
.rubrica-table tr:hover { background: #fafafa; }
.total-row { background: #eff6ff; font-weight: 700; }
/* --- EVIDENCIAS --- */
.evidencia-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 15px; }
.evidencia-item { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: white; box-shadow: var(--shadow); transition: transform 0.2s; }
.evidencia-item:hover { transform: scale(1.03); }
.evi-icon { height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f1f5f9; color: var(--text-muted); font-size: 12px; gap: 6px; }
.evi-icon img { width: 100%; height: 100%; object-fit: cover; }
.evi-title { padding: 8px 10px; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* --- COMMENTS --- */
.comentario-docente { background: #fffbeb; padding: 10px 14px; border-radius: 8px; margin-top: 8px; font-size: 13px; border-left: 3px solid var(--accent); }
.bit-actions { display: flex; gap: 6px; margin-top: 8px; }
/* --- PRUEBAS --- */
.prueba-item { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; display: flex; align-items: center; justify-content: space-between; }
.prueba-status { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.prueba-status.ok { color: var(--success); }
.prueba-status.pending { color: var(--accent); }
.prueba-status.error { color: var(--danger); }
/* --- VIEW TITLE --- */
.view-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 22px; letter-spacing: -0.3px; display: flex; align-items: center; gap: 10px; }
/* --- ANIMATE IN --- */
.animate-in { animation: slideUp 0.5s cubic-bezier(0.16,1,0.3,1) forwards; }
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
/* --- FOOTER --- */
.footer { padding: 20px; text-align: center; font-size: 12px; color: #94a3b8; background: white; border-top: 1px solid var(--border); margin-top: auto; }
/* --- QR --- */
#qrcode-jurado { display: flex; justify-content: center; margin: 15px 0; }
#qrcode-jurado img, #qrcode-jurado canvas { border-radius: 12px; border: 4px solid white; box-shadow: var(--shadow); }
/* --- PLAYER --- */
.audio-player-card { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 15px; display: flex; align-items: center; gap: 15px; margin-top: 10px; }
.audio-player-card audio { flex: 1; }
/* ============================================================
RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .landing-title { font-size: 3.5rem; }
  .info-grid { grid-template-columns: 1fr; }
}
  @media (max-width: 768px) {
    .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr !important; }
    .grid-main-sidebar, .grid-sidebar-main, .grid-main-sidebar-420 { grid-template-columns: 1fr !important; }
    .main-content { padding: 15px; overflow-x: hidden; width: 100%; box-sizing: border-box; }
  .top-header { padding: 0 16px; gap: 10px; }
  .header-title { font-size: 0.8rem; }
  .landing-title { font-size: 2.8rem; }
  .landing-subtitle { font-size: 0.85rem; letter-spacing: 3px; }
  .landing-btn { padding: 16px 40px; font-size: 1.1rem; }
  
  table, .table-container { 
    display: block !important; 
    overflow-x: auto !important; 
    white-space: nowrap !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
  }
  img { max-width: 100%; height: auto; }
  .box { padding: 15px; overflow-x: hidden; }
}

.tab-btn {
  padding: 8px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: white;
  color: #475569;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-bottom: 5px;
}
.tab-btn:hover {
  background: #eff6ff;
  border-color: var(--primary-light);
  color: var(--primary);
}
.tab-btn.active {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* GLOBAL INTERACTIVE ICONS */
svg.lucide {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
svg.lucide:hover {
  transform: scale(1.2);
  filter: brightness(1.1);
}

/* DASH 7 SIDEBAR STYLES */
.d7-nav-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 5px;
  border: none;
  background: transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.d7-nav-btn:hover {
  background: #f8fafc;
}
.d7-nav-btn.active {
  background: #eef2ff !important;
  color: #4f46e5 !important;
}
.d7-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.d7-icon-wrap svg {
  width: 16px;
  height: 16px;
}
.d7-nav-btn.active .d7-icon-wrap {
  transform: scale(1.1);
}

/* Estilos Sidebar Docente (Oscuro) */
.dt-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.dt-nav-btn:hover {
  background: #1e293b;
  color: white;
}
.dt-nav-btn.active {
  background: #1d4ed8 !important;
  color: white !important;
  font-weight: 800;
}
.dt-icon {
  width: 20px;
  display: flex;
  justify-content: center;
  opacity: 0.8;
}
.dt-nav-btn.active .dt-icon {
  opacity: 1;
}
.dt-icon svg { width: 16px; height: 16px; }
.dt-section-title {
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 20px 0 10px 15px;
}

/* --- NUEVOS ESTILOS REFACTORIZADOS (INDEX.HTML) --- */
.top-header {
  background-color: #0f172a;
  border-bottom: 1px solid #1e293b;
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-left-group {
  display: flex;
  align-items: center;
}
.logo-area {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-thematic {
  border-radius: 8px;
  width: 36px;
  height: 36px;
  object-fit: cover;
}
.logo-text {
  color: white;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
}
.header-title {
  margin-left: 40px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 20px;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}
.role-select-label {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.role-select {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  outline: none;
}
.role-select option {
  color: black;
}
.notification-bell {
  position: relative;
  margin-left: 15px;
  cursor: pointer;
  color: #64748b;
}
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 900;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.user-avatar-container {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #3b82f6;
  cursor: pointer;
  margin-left: 10px;
}
.user-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-dropdown-menu {
  position: absolute;
  right: 0;
  top: 55px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  padding: 10px;
  min-width: 200px;
  z-index: 100;
}
.user-dropdown-btn {
  width: 100%;
  text-align: left;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}
.user-dropdown-btn.change-img { color: #1e293b; }
.user-dropdown-btn.change-img:hover { background: #f8fafc; }
.user-dropdown-btn.logout { color: #ef4444; }
.user-dropdown-btn.logout:hover { background: #fef2f2; }

.sidebar-container {
  background-color: white;
  border-right: 1px solid #f1f5f9;
  padding: 75px 15px 20px 15px;
  width: 260px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sidebar-help-widget {
  background: #f8fafc;
  border-radius: 16px;
  padding: 30px 20px 20px;
  text-align: center;
}
.sidebar-help-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: #1e293b;
}
.sidebar-help-text {
  margin: 0 0 15px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}
.sidebar-help-btn {
  width: 100%;
  border: 1px solid #c7d2fe;
  background: transparent;
  color: #4f46e5;
  font-weight: 800;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-help-btn:hover {
  background: #e0e7ff;
}
.sidebar-qr-btn {
  width: 100%;
  border-radius: 12px;
  font-weight: 800;
  background: #f1f5f9;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.qr-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.qr-modal-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.qr-modal-title {
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 900;
}
.qr-modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 250px;
}
.qr-modal-canvas-wrap {
  display: inline-block;
  padding: 15px;
  background: white;
  border-radius: 10px;
  border: 2px solid #f1f5f9;
}

/* Responsividad mejorada para index.html */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 15px;
  padding: 5px;
}
@media (max-width: 768px) {
  .top-header { padding: 0 15px; }
  .header-title, .role-select-label, .role-select { display: none !important; }
  .mobile-menu-btn { display: block; }
  .sidebar-container {
    position: fixed;
    top: var(--header-height);
    left: -280px;
    height: calc(100vh - var(--header-height));
    z-index: 1000;
    transition: left 0.3s ease;
    display: flex !important;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
      padding: 20px 15px;
    background: white;
  }
  .sidebar-container.active { left: 0; }
  .content-inner { padding: 15px; }
}

/* --- FORMULARIO DE REGISTRO MODERNO --- */
.registration-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-top: 5px solid var(--success);
  position: sticky;
  top: 20px;
  transition: transform 0.3s ease;
}
.registration-card:hover {
  transform: translateY(-5px);
}
.registration-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 15px;
}
.modern-form-group {
  margin-bottom: 20px;
  position: relative;
}
.modern-form-group label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.modern-input, .modern-select {
  width: 100%;
  height: 45px;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.modern-input:focus, .modern-select:focus {
  background: white;
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  outline: none;
}
.modern-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}
.input-with-icon {
  position: relative;
}
.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  width: 18px;
}
.input-with-icon .modern-input, .input-with-icon .modern-select {
  padding-left: 45px;
}
.btn-modern-submit {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--success), #16a34a);
  color: white;
  font-weight: 800;
  font-size: 15px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
  transition: all 0.3s ease;
}
.btn-modern-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 25px rgba(34, 197, 94, 0.4);
}
.code-generator-wrapper {
  display: flex;
  gap: 10px;
}
.btn-gen-code {
  background: #eff6ff;
  color: #3b82f6;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  height: 45px;
  padding: 0 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.btn-gen-code:hover {
  background: #dbeafe;
  transform: scale(1.05);
}
.podlee-brand-text {
    font-weight: 900 !important;
    background: linear-gradient(135deg, #4ade80, #3b82f6) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 1px !important;
}
.podlee-brand-icon {
    width: 1em !important;
    height: 1em !important;
    border-radius: 4px !important;
    box-shadow: 0 0 5px rgba(74, 222, 128, 0.5) !important;
}
/* Fixes for Sidebar */
#app-sidebar::-webkit-scrollbar, .sidebar-scroll::-webkit-scrollbar { width: 6px; } #app-sidebar::-webkit-scrollbar-track, .sidebar-scroll::-webkit-scrollbar-track { background: transparent; } #app-sidebar::-webkit-scrollbar-thumb, .sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; } #app-sidebar::-webkit-scrollbar-thumb:hover, .sidebar-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.4); }
#app-sidebar, .sidebar-scroll { -ms-overflow-style: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }

.dz-nav-item { 
  display: flex; align-items: center; gap: 15px; padding: 14px 20px; 
  color: #f1f5f9; text-decoration: none; font-weight: 600; font-size: 14px; 
  border: none; background: transparent; width: 100%; text-align: left; 
  cursor: pointer; transition: all 0.2s; border-radius: 14px; margin-bottom: 2px; 
}
.dz-nav-item:hover { color: white; background: rgba(81, 89, 251, 0.3); }
.dz-nav-item.active { background: linear-gradient(90deg, #5159fb, #3b82f6); color: white; margin-bottom: 8px; font-weight: 700; box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);}
.dz-nav-item.active .dz-icon { color: white; }
.dz-icon { color: #818cf8; display: flex; align-items: center; justify-content: center; width: 24px; }
.dz-nav-item:hover .dz-icon { color: #a5b4fc; }



#app-sidebar { background-color: #001a38 !important; border-right: 1px solid #1e3a8a !important; }
