html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    color: #f5f5f5;
}

/* -------- Fondo y Overlay -------- */
body {
    background-image: url(/apartados/img/Background_tech_support.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.7);
    min-height: 100vh;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* -------- Contenedor de sección -------- */
.section-box {
    background-color: #1e1e1e;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    max-width: 600px;
    width: 100%;
}

/* -------- Título principal -------- */
.summary {
    color: #d4af37;
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
    text-decoration: none;
}

.back-button {
    display: block;
    margin: 20px auto 0;
    padding: 6px 9px;
    background-color: #d4af37;
    color: #1e1e1e;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
    width: fit-content;
    margin-left: 38%;
  }

/* -------- Lista General -------- */
.list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist li {
    font-size: 18px;
    margin-bottom: 20px;
}

/* -------- Enlaces -------- */
.link-text {
    color: #f5f5f5;
    text-decoration: none;
    display: block;
    padding: 12px 18px;
    border-radius: 8px;
    background-color: #2a2a2a;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.link-text:hover {
    background-color: #3a3a3a;
    color: #d4af37;
    text-decoration: none;
}

/* -------- Detalles desplegables -------- */
details {
    margin-bottom: 1rem;
    border: 1px solid #444;
    border-radius: 8px;
    background-color: #2a2a2a;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

details[open] {
    background-color: #333;
    border-color: #d4af37;
}

details summary {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 1rem 1.5rem;
    color: #c2c2c2;
    user-select: none;
}


details summary::before {
    content: '▶';
    position: absolute;
    left: 1rem;
    transition: transform 0.3s ease;
    color: #d4af37;
}

details[open] summary::before {
    transform: rotate(90deg);
}

details .content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1rem;
}

details[open] .content {
    max-height: 1000px; /* suficiente para todo el contenido */
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

details li {
    margin: 0.5rem 0;
}

.scroll-box {
    max-height: 600px; /* ajusta este valor como necesites */
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    scrollbar-color: #d4af37 #2a2a2a;
  }

/* -------- Responsive -------- */
@media (max-width: 768px) {
    .section-box {
      width: auto;
      height: auto;
    }
    .overlay {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .back-button {
    display: block;
    margin-left: 107px;
  }
  }
