
    /* Perfil */
    .perfil {
      background-color: white;
      padding: 30px 20px;
      max-width: 1000px;
      margin: 30px auto;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .acciones {
    display: flex
;
    flex-direction: column;
    margin-bottom: 0;
    font-size: 13px;
    width: max-content;
    position: relative;
    left: 6vw;
    top: 6vh;
    font-family: Arial;
    font-weight: 700;
}

    .acciones a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

    .datos {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 20px;
    }

    .datos img {
      width: 90px;
      height: 90px;
      border-radius: 50%;
      background-color: #ccc;
      object-fit: cover;
    }

    .datos h2 {
      font-size: 18px;
      margin-top: 10px;
    }

    .codigo {
      text-align: right;
      font-size: 14px;
      margin-top: -40px;
      margin-bottom: 20px;
    }

    .cursos h3 {
      margin-bottom: 10px;
    }

    .curso {
      background-color: white;
      padding: 20px;
      margin-bottom: 15px;
      box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
      border-radius: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .curso h4 {
      margin-bottom: 5px;
    }

    .vencimiento {
      color: red;
      font-weight: bold;
      font-size: 14px;
    }

    .btn-ver {
      background-color: #1c75bc;
      color: white;
      padding: 10px 20px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    /* cambiar contraseña */
    /* Estilo del modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

/* Contenido del modal */
.modal-contenido {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Botón de cerrar */
.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}


    /* ///////////////////// */
@media (max-width: 780px) {
        .acciones, .datos {
        flex: 1.5 2 100px !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
    }
    .acciones {
    display: grid !important
;
    grid-template-columns: repeat(4, 1fr) !important;
    top: 0 !important;
    left: 0 !important;
    text-align: center !important;
    align-content: center !important;
}
.materias-container {
    display: grid !important
;
    flex-wrap: wrap !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    justify-content: center !important;
    margin-top: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}
.cursos {
    background-color: #fff !important;
    text-align: center !important;
    max-width: 100% !important;
    margin: 0px !important;
    padding: 0 !important;
}
.materia-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    padding: 20px !important;
    width: 90% !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
    display: flex !important
;
    justify-content: space-around !important;
    flex-wrap: wrap !important;
    gap: 27px !important;
}

}