/* ==========================
   FUENTES Y RESET
========================== */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}

h1, h2, h3, h4 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

p, ul, li {
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ==========================
   TOPBAR
========================== */
.topbar {
  background-color: #2c3e50;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.topbar h1 {
  font-size: 22px;
}

.topbar span {
  background-color: #e74c3c;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
}

/* ==========================
   CONTENEDOR PRINCIPAL
========================== */
.container {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

/* ==========================
   INTRO
========================== */
.intro {
  background: linear-gradient(90deg, #dceefc, #ffffff);
  border-left: 6px solid #3498db;
  padding: 25px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.intro h2 {
  color: #3498db;
  font-size: 28px;
}

.intro p {
  font-size: 16px;
  color: #555;
}

.badge {
  display: inline-block;
  background-color: #f1c40f;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 15px;
  font-size: 14px;
}

/* ==========================
   MÓDULOS
========================== */
.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.module {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
}

.module h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.module p {
  font-size: 14px;
  color: #555;
}

.module .lock {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 18px;
  color: #e74c3c;
}

.module:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* ==========================
   SWAL2 MODAL
========================== */
.swal2-popup {
  font-family: 'Inter', sans-serif;
  border-radius: 12px;
}

.swal2-title {
  font-size: 24px !important;
  color: #2c3e50;
}

.swal2-html-container {
  font-size: 15px;
  color: #333;
}

.swal2-confirm {
  background-color: #3498db !important;
  color: #fff !important;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 8px;
}

.swal2-close {
  color: #e74c3c !important;
  font-size: 22px !important;
}

/* ==========================
   LISTAS
========================== */
ul {
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

/* ==========================
   RESPONSIVO
========================== */
@media (max-width: 768px) {
  .modules {
    grid-template-columns: 1fr;
  }
  .topbar h1 {
    font-size: 18px;
  }
}
