* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    body {
      background-color: #f4f6f8;
      height: 100vh;
      width: 100%;
    }

    .header{
        background: linear-gradient(135deg, #1A8C14 0%, #136b10 100%);
        padding: 0.7rem 3rem;
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 12px var(--shadow-md);
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .logo-group {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-left: 20px;
    }

    .school-logo {
      height: clamp(3rem, 4rem, 5rem);
      width: clamp(5rem, 10rem, 11rem);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .school-logo img {
      height: clamp(3rem, 4rem, 5rem);
      width: clamp(5rem, 10rem, 11rem);
    }

    .title-box h1{
        font-size: 1.25rem;
        font-weight: 800;
        margin: 0;
        color: #ffffff;
    }
    
    .title-box p {
        font-size: 0.7rem;
        opacity: 0.9;
        margin: 0;
        color: #ffffff;
    }


    .drchAut-container {
      display: flex;
      justify-content: center;
      margin-top: 40px;
    }

    .accordion-container {
      width: 80%;
      display: flex;
      flex-direction: column;
      gap: 16px;
      margin: 3rem auto;
      padding-bottom: 5rem;
    }

    /* Card base styles */
    details.accordion-item {
      background-color: #ffffff;
      border-radius: 10px;
      border: 1px solid #e1e6eb;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
      overflow: hidden;
    }

    /* Summary Header styling */
    details.accordion-item > summary {
      list-style: none; /* Hide default arrow */
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 20px;
      cursor: pointer;
      user-select: none;
      background-color: #ffffff;
      transition: background-color 0.2s ease;
    }

    details.accordion-item > summary::-webkit-details-marker {
      display: none;
    }

    /* Header styling when open */
    details.accordion-item[open] > summary {
      background-color: #edf5f0;
      border-bottom: 1px solid #e1e6eb;
    }

    .header-left {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .icon-badge {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #d8eadf;
      color: #0b4a2d;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .header-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #0b4a2d;
    }

    .arrow-icon {
      color: #0b4a2d;
      transition: transform 0.2s ease;
    }

    /* Rotate arrow when open */
    details.accordion-item[open] > summary .arrow-icon {
      transform: rotate(180deg);
    }

    /* Content Area styling */
    .accordion-content {
      padding: 24px;
      display: flex;
      gap: 24px;
      align-items: flex-start;
    }

    .profile-avatar {
      border-radius: 50%;
      background-color: #d8eadf;
      color: #0b4a2d;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .profile-avatar .material-symbols-outlined {
      font-size: 48px;
    }

    .profile-info {
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .info-group {
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .info-group:not(:last-child) {
      padding-bottom: 16px;
      border-bottom: 1px solid #eeeeee;
    }

    .info-icon {
      color: #0b4a2d;
      font-size: 20px;
      margin-top: 2px;
    }

    .info-text {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .info-label {
      font-size: 0.85rem;
      color: #666666;
    }

    .info-value {
      font-size: 0.95rem;
      font-weight: 700;
      color: #111111;
    }

    .back-button {
      background: white;
      margin-bottom: 1rem;
      padding: 0.75rem 3rem;
      border-bottom: 1px solid #d1d5db;
      display: flex;
      align-items: center;
      position: sticky;
      top: 86px;
      z-index: 998;
      box-shadow: 0 2px 4px  rgba(0,0,0,0.5);
    }

    .back-link {
      text-decoration: none;
      color: #1A8C14;
      font-weight: 700;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      transition: transform 0.2s;
    }

footer {
    background-color: #136b10; /* El guinda/verde oscuro que usas */
    color: white  ;
    padding: 1.5rem 0;
    margin-top: auto; /* Esto es clave para que siempre esté al fondo */
    width: 100%;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 100%;
    bottom: 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-info p {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 0.75rem;
    font-style: italic;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .header { padding: 0.7rem 1.25rem; }
    .back-button { padding: 0.75rem 1.25rem; top: 70px; }
    .accordion-content { flex-direction: column; gap: 16px; }
}