body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f5f6fa;
  }
  
  .main-header {
    background: linear-gradient(to right, #0e3ba7, #1a5ad9);
    color: white;
    text-align: center;
    padding: 40px 20px;
  }
  
  .header-icon {
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .header-icon i {
    font-size: 28px;
    color: white;
  }
  
  .main-header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
  }
  
  .main-header h2 {
    margin: 5px 0 15px;
    font-weight: normal;
    font-size: 1rem;
    color: #d0d8ff;
  }
  
  .main-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #d0d8ff;
  }
  
  /* FORMULARIO */
  .form-container {
    background-color: #fdfdfd;
    padding: 25px 35px;
    border-radius: 12px;
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    max-width: 90%;
    margin: 40px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
  }
  
.form-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;   
    pointer-events: none; /* 🔹 evita bloquear clics */
  }
  
  
  .form-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .form-header i {
    color: #2b7cff;
    margin-right: 10px;
    font-size: 20px;
  }
  
  label {
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
  }
  
  label i {
    margin-right: 6px;
    color: #666;
  }
  
  input{
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;  
  }

 select{
    width: 30%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;  
 }

  
  input:focus, select:focus {
    border-color: #2b7cff;
    box-shadow: 0 0 6px rgba(43, 124, 255, 0.3);
  }
  
  .form-container div{
    margin-bottom: 20px;
  }

  .form-actions {
    grid-column: span 2;
    text-align: right;
    margin-top: 10px;
  }
  
  .btn {
    background-color: #9aa4b4;
    color: white;
    border: none;
    padding: 12px 22px;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s;
  }
  
  .btn i {
    margin-right: 6px;
  }

  .materias-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
}
.materias-list label {
    font-weight: normal;
    font-size: 0.9rem;
}
.checkbox{
    width: 5%;
}

/* =============================
   PLANIFICACIÓN (Currícula)
   ============================= */
.plan-container {
  background: #fff;
  border: 1px solid #e3e6ef;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.plan-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
  margin-bottom: 16px;
  background: #f8f9fd;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #edf0f7;
}

.year-section {
  margin-top: 22px;
}

.year-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0e3ba7;
  font-weight: 700;
  margin: 6px 0 12px;
}

.year-header i {
  color: #1a5ad9;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 14px;
}

.plan-bimestre {
  background: #ffffff;
  border: 1px solid #e6e9f2;
  border-radius: 10px;
  padding: 14px;
  transition: box-shadow .15s ease;
}

.plan-bimestre:hover {
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.plan-bimestre-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.plan-bimestre h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1d2b4f;
}

.plan-bimestre .dates {
  font-size: .85rem;
  color: #5b6b88;
}

.equivalencias {
  background: #f4f7ff;
  border: 1px dashed #a9c2ff;
  border-radius: 8px;
  padding: 8px;
  margin: 8px 0;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: .8rem;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fafafa;
}

.tag-eq {
  background: #eaf1ff;
  border-color: #cfe0ff;
  color: #2b7cff;
}

.materias-a-cursar ul {
  margin: 6px 0 0 18px;
}

.materias-a-cursar .empty {
  color: #7a869a;
  font-size: .9rem;
}

@media (max-width: 1024px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
}

@media (max-width: 640px) {
  .plan-summary { grid-template-columns: 1fr; }
  .materias-list { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
}
