#profile {
	background-color:white;
}

h2 {
	color: #fff !important;
	font: normal normal normal 30px/34px 'din-bold';
	margin-top:0px;
	margin-bottom:20px;
}

a {
	color:#00cfb4;
}

.row.row-equal-height {
  display: flex;
  flex-wrap: wrap;
}
.row.row-equal-height > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.register-wrapper,
.login-wrapper,
.code-wrapper {
	background: rgba(51, 25, 82, 0.6);
	box-shadow: 0px 3px 6px #00000029;
	border: none;
	border-radius: 20px;
}

.register-container,
.login-container,
.code-container {
     padding: 20px 30px;
     text-align: center;
     width: 100%;
     opacity:1;
}

.position-relative {
  position: relative;
}

.bottom-border-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 3px;
  background-color: white;
}

label {
	display: block;
	font: normal normal bold 14px/18px 'din-regular';
	margin: 12px 0px;
	text-align:left;
	color:#fff;
}

#profileForm label {
	color:#3B3B3B;
}

#profileForm label.error {
	color:red;
}

#profileForm select {
      width: 100%;
	  font-family: 'din-regular';
      font-size: 14px;
      color: #3B3B3B;
      text-align: left;
      background-color: #fff;
	  border: 1px solid #D0BEE5;
	  border-radius: 10px;
      outline: none;
      margin-bottom: 10px;
      box-sizing: border-box;
    }


#profileForm a {
	color:#3B3B3B;
	text-decoration:underline;
}


.code-inputs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
}

.code-inputs input {
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  box-sizing: border-box;
  border: 1px solid #D0BEE5;
  border-radius: 10px;  
}

.register-container button {
	margin-top:20px;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  width:80%;
}

.widget li {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 0px 20px 20px 0px;
  margin-bottom: 10px;
  transition: background 0.3s;
}

.widget li.active {
  background: rgba(51, 25, 82, 0.9);
}

.widget li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff !important;
  font: normal normal bold 12px/16px 'din-regular';
  text-decoration: none;
  padding: 16px 10px;
}

.widget li a span {
  flex: 1;
}

.widget li a i {
  margin-left: 10px;
  margin-right: 10px;
}

.curso-container {
	margin-bottom:60px;
}



.card-inscripcion {
  position: relative;
  background: #f4f4f4;
  border-radius: 16px;
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 160px; 
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: visible; 
  min-height: 160px; 
}

.card-img-wrapper {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translate(-30%, -50%);
  width: 150px;
  height: 180px; 
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  background: #fff;
  z-index: 3;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-contenido {
  padding-left:40px;
  color: #222;
}

.card-contenido h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.card-contenido .acciones a {
  color: #770077;
  margin-right: 10px;
  font-weight: 500;
  text-decoration: none;
  border-bottom:1px solid #770077; 
}



@media (max-width: 767px) {

	.fundacion-bg-header{
		background: #753BB7;
	}	 
	
	.row.row-equal-height{
		display:block;
	}
	
	h2 {
		color: #fff !important;
		font: normal normal normal 30px/32px 'din-bold';
		margin-top:0px;
		margin-bottom:20px;
	}
	
	.bottom-border-line {
		display: block;
		position:relative;
		width:100%;
		margin-bottom:20px;
		height:3px;
	}
	
	.code-inputs {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  gap: 10px;
	  position: relative;
	}
	
	  .code-inputs input {
	    width: 40px;
	    height: 40px;
	  }
  
	  #messagebox-info,
	  #messagebox-alert{
	  	margin-bottom:20px;	
	  }
	  
	.widget ul {
  		width:100%;
	}
	
  
  /* mis inscripciones */
  
  .card-inscripcion {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
  }

  .card-img-wrapper {
    position: static;
    transform: none;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 1rem;
  }

  .card-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .card-contenido {
    width:100%;
    text-align: left;
    padding:0px 20px;
  }
  
  
  

}
