* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #f4f4f4;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #20283a;
}

a {
  text-decoration: none;
  color: inherit;
}

.itemFileViewer
{
    height:60px;
    display:flex;
    padding:3px;
    background:#ffffff91;
}

    .iconContainer_itemFileViewer
    {
        font-size:24px;
        margin-right:8px;
        display:flex;
        align-items:center;
    }
    
    .rightContainer_itemFileViewer
    {
        flex:1;
        display:flex;
        flex-direction: column;
    }
    
        .title_itemFileViewer
        {
            font-size:19px;
        }
        
        .description_itemFileViewer 
        {
            font-size:15px;
        }

.page {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 82px 96px 72px;
  box-shadow: 0 8px 30px rgba(20, 30, 50, 0.04);
  padding-top:0;
  margin-top:20px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff0f2;
  color: #991735;
  border: 1px solid #f4cfd7;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 28px;
  color: #20283a;
}

.hero p {
  max-width: 520px;
  font-size: 19px;
  line-height: 1.7;
  color: #526078;
  margin-bottom: 15px;
}

.stats-box {
    display: inline-flex;
    align-items: center;
    gap: 18px;

    padding: 18px 26px;

    background: #ffffff;

    border: 1px solid #ececec;
    border-radius: 18px;

    box-shadow:
        0 10px 30px rgba(20, 30, 50, 0.04),
        inset 0 1px 0 rgba(255,255,255,0.6);

    transition: 0.2s ease;
}

.stats-box:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 35px rgba(20, 30, 50, 0.08);
}

.stats-icon {
    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #fff1f4;
    color: #a31738;

    font-size: 28px;
}

.stats-content {
    display: flex;
    flex-direction: column;
}

.stats-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;

    color: #1f2940;
}

.stats-label {
    margin-top: 6px;

    font-size: 17px;
    color: #667089;
}

.divider {
  width: 1px;
  height: 50px;
  background: #ddd;
}

.hero-art {
  position: relative;
  height: 390px;
}

.circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #f4d7dd;
  left: 40px;
  top: 30px;
}

.pdf-card {
  position: absolute;
  z-index: 2;
  width: 190px;
  height: 280px;
  left: 105px;
  top: 62px;
  padding: 42px 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(30, 40, 60, 0.13);
  transform: rotate(-5deg);
}

.pdf-card span {
  display: inline-block;
  background: #991735;
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 800;
  margin-bottom: 28px;
}

.pdf-card div {
  height: 8px;
  background: #e5e5e5;
  border-radius: 99px;
  margin-bottom: 16px;
}

.pdf-card div:nth-child(4) {
  width: 70%;
}

.pdf-card small {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-left: auto;
  margin-top: 16px;
  background: #fff0f2;
  color: #991735;
  border-radius: 10px;
  font-size: 42px;
}

.calendar-art {
  position: absolute;
  right: 0;
  top: 105px;
  width: 235px;
  height: 220px;
  padding: 40px 28px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  background: white;
  border: 1px solid #ececec;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(30, 40, 60, 0.08);
  transform: rotate(8deg);
  opacity: 0.82;
}

.calendar-art div {
  border-radius: 6px;
  background: #ececec;
}

.calendar-art .active {
  display: grid;
  place-items: center;
  background: #991735;
  color: white;
  font-weight: 900;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin: 72px 0 58px;
  margin-top:25px;
}

.action-card {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 28px;
  background: #fff8fa;
  border: 1px solid #f1dbe0;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card[ disabled ]
{
    background:#80808036;
}

.action-card[ disabled ] > .arrow 
{
    display:none;
}

.action-card:not([disabled]):hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(60, 20, 35, 0.08);
}

.action-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f8e4e8;
  color: #991735;
  font-size: 38px;
}

.action-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.action-card p {
  color: #526078;
  font-size: 17px;
  line-height: 1.5;
}

.arrow {
  color: #991735;
  font-size: 34px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-title h2,
.quick h2 {
  font-size: 28px;
  letter-spacing: -0.4px;
}

.section-title a {
  color: #991735;
  font-weight: 700;
}

.exam-list {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 24px;
}

.exam-row {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 86px;
  border-bottom: 1px solid #e5e7eb;
}

.info_examRow 
{
    flex:1;
    display:flex;
    gap:10px;
}

.exam-row:last-child {
  border-bottom: none;
}

.file-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 25px;
  font-weight: 700;
}

.file-icon.red { background: #ffe9ed; color: #c92c4b; }
.file-icon.gray { background: #eef0f4; color: #5a6475; }
.file-icon.yellow { background: #fff4d8; color: #d49a00; }
.file-icon.purple { background: #f0eaff; color: #7459da; }
.file-icon.green { background: #e5f8ed; color: #1b9b5e; }

.exam-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.exam-info p,
.exam-row span {
  color: #67738a;
}



.quick {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  margin-top: 70px;
  align-items: end;
}

.quick-left h2 {
  margin-bottom: 36px;
}

.quick-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.quick-items article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 18px;
}

.quick-icon {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff0f2;
  color: #991735;
  font-size: 28px;
}

.quick-icon.purple {
  background: #f0eaff;
  color: #7459da;
}

.quick-icon.green {
  background: #e5f8ed;
  color: #1b9b5e;
}

.quick-items h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.quick-items p {
  font-size: 14px;
  line-height: 1.55;
  color: #617086;
}

.schedule-card {
  min-height: 280px;
  padding: 28px;
  border-radius: 10px;
  background: linear-gradient(145deg, #a31738, #8b1430);
  color: white;
  text-align: center;
  box-shadow: 0 16px 36px rgba(153, 23, 53, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(153, 23, 53, 0.35);
}

.academy-title {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  margin-bottom: 14px;
  font-weight: 800;
}

.schedule-logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  background: white;
  color: #991735;
  border-radius: 8px;
  font-size: 42px;
  box-shadow: inset 0 0 0 4px rgba(153, 23, 53, 0.12);
}

.schedule-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.schedule-card p {
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 22px;
}

.schedule-card span {
  font-size: 32px;
}

@media (max-width: 900px) {
  .page {
    padding: 48px 28px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    display: none;
  }

  .actions,
  .quick {
    grid-template-columns: 1fr;
  }

  .quick-items {
    grid-template-columns: 1fr;
  }

  .exam-row {
    display:flex;
    padding: 18px 0;
  }

  .exam-row a,
  .exam-row span {
    grid-column: 2;
  }
}


#countTestsLabel 
{
    text-align: center;
}


/* =========================
   BOTONES
========================= */

.exam-actions {
    display: flex;
    gap: 12px;
}

/* DESCARGAR */

.btn-download {
    height: 48px;

    padding: 0 22px;

    border: none;
    border-radius: 12px;

    background: linear-gradient(
        180deg,
        #b1193d 0%,
        #971434 100%
    );

    color: white;

    font-size: 16px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;

    box-shadow:
        0 10px 22px rgba(163, 23, 56, 0.18);

    transition: 0.18s ease;
}

.btn-download:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 30px rgba(163, 23, 56, 0.28);
}

.btn-download:active {
    transform: scale(0.98);
}

/* VER */

.btn-view {
    height: 48px;

    padding: 0 18px;

    border: 1px solid #ececec;
    border-radius: 12px;

    background: #8080801f;

    color: #20283a;

    font-size: 16px;
    font-weight: 700;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;

    transition: 0.18s ease;
}

.btn-view:hover {
    background: #f7f7f7;
    transform: translateY(-2px);
}

.btn-view:active {
    transform: scale(0.98);
}



@media( max-width:970px)
{
    .file-icon
    {
        font-size:60px;
        width: 69px;
        height: 93px;
    }
    
    .info_examRow 
    {
        flex-direction:column;
        align-items:center;
        text-align: center;
    }
    
    .exam-row
    {
        flex-direction: column;
        padding:20px;
      
    }
}

@media( max-width:500px)
{
    .hero-content 
    {
        text-align: center;
    }
    
    .hero
    {
        padding-top:0px;
    }
    
    .page 
    {
        margin:0;
        width:100%;
        padding-top:18px;
    }
    
    .section-title 
    {
        justify-content:center;
    }
    
    .action-card 
    {
        padding:0;
        padding-left:5px;
        text-align: center;
        gap:0;
    }
    
        .action-card > .arrow 
        {
            margin-right:10px;
            
        }
    
}
