.arrow-slide {
  display: none !important;
}
.popover {
  left: 40% !important;
}
.btn {
  margin: 1%;
  width: 48%;
}
.btn-ant {
  background: white !important;
  color: #3490dc !important;
}
.modal-body {
  color: #212529 !important;
}
span.circle {
  background: #ffd701;
  border-radius: 50% !important;
  -moz-border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  color: #000000;
  display: inline-block;
  font-weight: bold;
  line-height: 5em;
  margin-right: 15px;
  text-align: center;
  width: 5em;
  font-size: 20px;
  margin-bottom: 30px;
}
span#p1-valor {
  float: right;
  font-size: 22px;
  color: #3490dc;
  font-weight: bold;
}
.circulo {
  display: table;
  height: 200px;
  background: #ffd701;
  width: 135px;
  height: 135px;
  border-radius: 50% !important;
  -webkit-border-radius: 50% !important;
  -moz-border-radius: 50% !important;
}
.text-circulo {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.est2,
.est3 {
  background: lightgray !important;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0rem !important;
  font-weight: 500;
  line-height: 1.1;
}
.precio-curso {
  font-size: 26px;
  font-weight: bold;
  color: #005ed5;
  text-align: right;
}
.precio {
  font-size: 28px;
  font-weight: bold;
  color: #2370f4;
  text-align: right;
  position: absolute;
  right: 50px;
}
.mibarra {
  height: 10px !important;
  width: 200px !important;
  text-align: center;
  vertical-align: middle;
  display: flex;
  margin: 100% -100% !important;
}
.zind2 {
  z-index: 2;
}
.mibarra_pr {
  border: none;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 1, 1) 0%,
    rgba(211, 211, 211, 1) 50%
  );
}
.mibarra_ac {
  border: none;
  background: #ffd701;
}
.mibarra_in {
  border: none;
  background: #d3d3d3;
}
#resumen {
  background: #f2f2f2;
  border-radius: 15px !important;
  padding: 20px;
}
.btn-pagar {
  width: 100%;
}
#cb_chkbox {
  width: 18px !important;
  height: 18px;
  margin-top: 1px;
  position: absolute;
  margin-left: -30px;
  border: 1px solid #c3c3c3;
}
.tercond {
  margin-left: 36px;
}
#cb_valorcursof {
  font-size: 26px;
  font-weight: bold;
  color: #1378b5;
  text-align: right;
  float: right;
}
div#area_pagar {
  position: relative;
}
div#p1-4 {
  height: 60px;
}
.field_form_red {
  margin-top: 10px;
  color: #bd3d3d !important;
  border: 1px solid #bd3d3d !important;
}
input#cb_celular {
  flex: 70% !important;
  margin: 0;
}

label#cb_porcentaje_oferta {
  color: white;
  background-color: #e94949;
  border-radius: 7px;
  margin-left: 10px;
  height: 25px;
  margin-top: 8px;
  padding-left: 5px;
  padding-right: 5px;
}
label#cb_valor_original {
  text-decoration: line-through;
}
div.ofertas{
    margin-left: -60px;
    margin-top: -12px;
}

@font-face{
  font-family: 'Roboto Bold';
  src: url('../fonts/Roboto/Roboto-Bold.ttf');
}

label.cb{
  font-family: 'Roboto Bold', sans-serif;;
}



.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #FDD702; /* Yellow */
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: spin 2s linear infinite;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: 5px;
  bottom: 0;
  left: 0;
  right: 0;
}
.clearfix{
    float: none;
    clear: both;
    overflow: auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Estilos para el popup de validación de cursos anteriores */
.popup-cursos-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-cursos-container {
  background: white;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-cursos-header {
  background: #ffd701;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

.popup-cursos-header h3 {
  margin: 0;
  color: #000;
  font-size: 24px;
  font-weight: bold;
}

.popup-cursos-body {
  padding: 30px;
  color: #333;
}

.popup-cursos-body p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.cursos-anteriores-list {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.curso-item {
  margin-bottom: 15px;
  padding: 10px;
  background: white;
  border-radius: 5px;
  border-left: 4px solid #000000;
}

.curso-item p {
  margin: 5px 0;
  font-size: 14px;
}

.curso-item hr {
  margin: 10px 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

.popup-cursos-footer {
  padding: 20px 30px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: center;
}

.popup-cursos-footer button {
  padding: 12px 40px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

#btn-popup-entendido {
  background-color: #000000;
  color: white;
}

#btn-popup-entendido:hover {
  background-color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Estilos para scroll personalizado en la lista de cursos */
.cursos-anteriores-list::-webkit-scrollbar {
  width: 8px;
}

.cursos-anteriores-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.cursos-anteriores-list::-webkit-scrollbar-thumb {
  background: #ffd701;
  border-radius: 10px;
}

.cursos-anteriores-list::-webkit-scrollbar-thumb:hover {
  background: #e6c200;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .popup-cursos-container {
    width: 95%;
    max-height: 90vh;
  }
  
  .popup-cursos-header h3 {
    font-size: 20px;
  }
  
  .popup-cursos-body {
    padding: 20px;
  }
  
  .popup-cursos-footer button {
    width: 100%;
    max-width: 250px;
  }
}