/* ========================================
   LEVELS SECTION
======================================== */
.levels-section {
    padding: 55px 0 45px;
    background: #ffffff;
}
/* ========================================
   HEADER
======================================== */
.levels-header {
    margin-bottom: 28px;
}
.levels-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}
.levels-title-wrapper h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.levels-title-line {
    width: 84px;
    height: 2px;
    background: #5c9cf5;
}
.levels-header p {
    margin: 5px 0 0;
    color: #4d4d4d;
    font-size: 15px;
}


/* ========================================
   CARD
======================================== */
.level-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}


/* ========================================
   CARD COLORS
======================================== */
.level-blue {
    border-color: #dbe8fa!important;
}
.level-pink {
    border-color: #f5dbe6!important;
}
.level-orange {
    border-color: #f8e3ca!important;
}

/* ========================================
   CARD HEADER
======================================== */
.level-card-header {
    min-height: 102px;
    display: flex;
    align-items: flex-start;
    padding: 10px 18px 12px;
    background: #f8fbff;
}
.level-pink .level-card-header {
    background: #fff8fb;
}
.level-orange .level-card-header {
    background: #fffaf5;
}

/* ========================================
   NUMBER
======================================== */
.level-number {
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.level-blue .level-number {
    background: var(--app-blue);
}

.level-pink .level-number {
    background: var(--app-pink);
}

.level-orange .level-number {
    background: var(--app-orange);
}

/* ========================================
   LEVEL HEADING
======================================== */
.level-heading {
    min-width: 0;
}

.level-label {
    display: block;
    margin-bottom: 1px;
    font-size: 16px;
}

.level-heading h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.05;
    font-weight: 700;
}

.level-heading p {
    margin: 6px 0 0;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
}

/* ========================================
   CARD BODY
======================================== */
.level-card-body {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 15px 16px 10px;
}


/* ========================================
   BADGE
======================================== */
.level-badge {
    flex: 0 0 105px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.level-badge img {
    width: 150px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   BULLETS
======================================== */

.level-bullets {
    flex: 1;
    margin: 0;
    padding: 0 0 0 12px;
    list-style: none;
}

.level-bullets li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    color: #303030;
    font-size: 14px;
    line-height: 1.3;
}

.level-bullets li:last-child {
    margin-bottom: 0;
}

.level-bullets li img {
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    margin-right: 7px;
    object-fit: contain;
}


/* ========================================
   FOOTER / BUTTON
======================================== */
.level-card-footer {
    padding: 10px 55px 13px;
}

.level-button {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 5px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.level-blue .level-button {
    background: var(--app-blue);
}

.level-pink .level-button {
    background: var(--app-pink);
}

.level-orange .level-button {
    background: var(--app-orange);
}

.level-button:hover {
    color: #ffffff;
    opacity: 0.9;
    transform: translateY(-1px);
}

.level-button-arrow {
    position: absolute;
    right: 14px;
    font-size: 23px;
    font-weight: 300;
    line-height: 1;
}

/* ========================================
   CONTENTS LEVEL
======================================== */
.content-list-header{
display: flex;
gap: 10px;
justify-content: space-between;
align-items: center;
}
.content-title{
font-family: 'Montserrat-Bold';
font-size: 0.9rem;
margin-bottom: 0px;
}
.badge-content-duration{
padding: 0px 10px;
border-radius: 7px;
font-family: 'Montserrat-Bold';
color: inherit;
font-size: 13px;
display: flex;
align-items: center;
height: 25px;
color: #ffffff;
}
.content-row{
    border-bottom: solid 1px #e7e7e7;
    padding: 20px 0px;
}

:root {
  --blue-primary: #0052cc;
  --blue-bg-light: #f4f7fe;
  --blue-hover: #eaf0fc;
}

/* Contenedor general */
.result-card {
  background-color: var(--blue-bg-light);
  outline: 1px solid rgba(0, 82, 204, 0.08);
}

/* Icono azul grande del resultado */
.badge-icon {
  width: 64px;
  height: 64px;
  background-color: var(--blue-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

/* Ítems del menú (tarjetas blancas internas) */
.info-item {
  background-color: #ffffff;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}

.info-item:hover {
  background-color: var(--blue-hover);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Ancho fijo para alineación perfecta de iconos */
.info-icon {
  width: 28px;
  text-align: center;
}

/* Override del botón Bootstrap */
.result-card .btn-primary {
  background-color: var(--blue-primary);
  border-color: var(--blue-primary);
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.result-card .btn-primary:hover {
  background-color: #003db3;
  border-color: #003db3;
  transform: translateY(-2px);
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 575.98px) {

    .levels-section {
        padding: 40px 0;
    }

    .levels-title-wrapper {
        gap: 12px;
    }

    .levels-title-line {
        width: 35px;
    }

    .levels-title-wrapper h2 {
        font-size: 21px;
    }

    .levels-header p {
        font-size: 13px;
    }

    .level-card-body {
        align-items: center;
        padding: 18px;
    }

    .level-badge {
        flex-basis: 90px;
    }

    .level-badge img {
        width: 85px;
    }

    .level-bullets {
        padding-left: 8px;
    }

    .level-bullets li {
        font-size: 12px;
    }

    .level-card-footer {
        padding: 10px 25px 15px;
    }
}