
  .alta-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  .alta-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(4px);
  }

  .alta-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 96vw);
    min-height: 520px;
    display: grid;
    grid-template-columns: 38% 62%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.25);
  }

  .alta-modal__media {
    position: relative;
    background: linear-gradient(160deg, #eef4ff 0%, #dfeeff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    overflow: hidden;
}

.alta-modal__media::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.15) 55%, rgba(255,255,255,0) 75%);
    z-index: 0;
}

.alta-modal__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(223,238,255,0.05), rgba(223,238,255,0.35));
    z-index: 0;
}

.alta-modal__image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    opacity: 0.96;
    filter: drop-shadow(0 14px 24px rgba(35, 74, 168, 0.14));
}

  .alta-modal__content {
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .alta-modal__step {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf3ff;
    color: #2f5fb6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
  }

  .alta-modal__title {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.15;
    color: #14213d;
  }

  .alta-modal__subtitle {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: #52607a;
  }

  .alta-modal__field {
    margin-bottom: 18px;
  }

  .alta-modal__label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2a44;
  }

  .alta-modal__select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #d8e1f0;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    color: #24324a;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
  }

  .alta-modal__select:focus {
    border-color: #4f7edc;
    box-shadow: 0 0 0 4px rgba(79, 126, 220, 0.14);
  }

  .alta-modal__note {
    margin-top: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f7faff;
    color: #5a6985;
    font-size: 13px;
    line-height: 1.5;
  }

  .alta-modal__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

#btnCancelarAlta {
    margin-right: auto;
}


  .alta-btn {
    min-width: 140px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;
    transition: transform .15s ease, box-shadow .2s ease, opacity .2s ease;
}
  .alta-btn:hover {
    transform: translateY(-1px);
  }

  .alta-btn--secondary {
    background: #eef2f7;
    color: #334155;
  }

  .alta-btn--primary {
    background: linear-gradient(135deg, #3f7ae0 0%, #2e5eb8 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(46, 94, 184, 0.26);
  }

  .alta-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.86);
    color: #46546f;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }


  .alta-step-panel {
    width: 100%;
}

.alta-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
    margin-top: 8px;
}

.alta-col-2 {
    grid-column: span 2;
}

.alta-modal__input,
.alta-modal__textarea {
    width: 100%;
    border: 1px solid #d8e1f0;
    border-radius: 14px;
    background: #fff;
    font-size: 15px;
    color: #24324a;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.alta-modal__input {
    height: 50px;
    padding: 0 14px;
}

.alta-modal__textarea {
    min-height: 110px;
    padding: 12px 14px;
    resize: vertical;
}

.alta-modal__input:focus,
.alta-modal__textarea:focus {
    border-color: #4f7edc;
    box-shadow: 0 0 0 4px rgba(79, 126, 220, 0.14);
}

@media (max-width: 820px) {
  .alta-modal__dialog {
    grid-template-columns: 1fr;
    width: min(620px, 96vw);
  }

  .alta-modal__media {
    padding: 22px 22px 0;
  }

  .alta-modal__image {
    max-width: 220px;
  }

  .alta-modal__content {
    padding: 28px 22px 24px;
  }

  .alta-form-grid {
    grid-template-columns: 1fr;
  }

  .alta-col-2 {
    grid-column: span 1;
  }
}

    .alta-col-2 {
        grid-column: span 1;
    }
.alta-question-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}

.alta-question-card {
    border: 1px solid #e3ebf7;
    border-radius: 18px;
    background: #fbfdff;
    padding: 16px 18px;
}

.alta-question-card__header {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start;
    margin-bottom: 12px;
}

.alta-question-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #1b2a45;
    margin-bottom: 5px;
}

.alta-question-card__desc {
    font-size: 13px;
    line-height: 1.5;
    color: #63718b;
}

.alta-help-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #3f7ae0 0%, #2e5eb8 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(46, 94, 184, 0.22);
}

.alta-toggle-group {
    display: flex;
    gap: 22px;
    padding-left: 54px;
    flex-wrap: wrap;
}

.alta-toggle-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #24324a;
    cursor: pointer;
}

.alta-toggle-group input[type="radio"] {
    transform: scale(1.05);
}

@media (max-width: 820px) {
    .alta-question-card__header {
        grid-template-columns: 32px 1fr;
        gap: 10px;
    }

    .alta-toggle-group {
        padding-left: 0;
    }
}

.alta-trabajadores-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 430px;
    overflow-y: auto;
    padding-right: 6px;
}

.alta-trabajador-card {
    border: 1px solid #e3ebf7;
    border-radius: 18px;
    background: #fbfdff;
    padding: 18px;
}

.alta-trabajador-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.alta-trabajador-card__title {
    font-size: 15px;
    font-weight: 700;
    color: #1b2a45;
}

.alta-trabajadores-actions {
    margin-top: 18px;
}

.alta-btn--danger {
    background: #fff1f2;
    color: #b42318;
    border: 1px solid #fecdd3;
}

.alta-add-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 18px;
}

.alta-tabla-wrapper {
    border: 1px solid #e3ebf7;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    max-height: 420px;
    overflow-y: auto;
}

.alta-tabla {
    width: 100%;
    border-collapse: collapse;
}

.alta-tabla thead th {
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    background: #f8fbff;
    padding: 14px 16px;
    border-bottom: 1px solid #e3ebf7;
}

.alta-tabla tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eef2f7;
    font-size: 14px;
    color: #24324a;
    vertical-align: middle;
}

.alta-badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #edf3ff;
    color: #2f5fb6;
}

.alta-badge--manual {
    background: #eefbf3;
    color: #1f7a45;
}