/* src/styles.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
:root {
  --brand-burgundy: #8b254f;
  --brand-orange: #f19f53;
  --brand-slate: #435363;
  --brand-gray: #d8dadd;
  --ui-font-family:
    "Exo",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  --ui-color-primary: var(--brand-burgundy);
  --ui-color-secondary: var(--brand-orange);
  --ui-color-text: #243141;
  --ui-color-heading: #132033;
  --ui-color-muted: var(--brand-slate);
  --ui-color-surface: #ffffff;
  --ui-color-page: #eff1f4;
  --ui-color-border: var(--brand-gray);
  --ui-color-border-soft: #e8eaed;
  --ui-color-primary-hover: #6f1d3f;
  --ui-color-primary-soft: #f4e8ee;
  --ui-color-secondary-soft: #fff1e4;
  --ui-color-surface-muted: #f7f8fa;
  --ui-color-info: var(--brand-slate);
  --ui-color-info-soft: #e9edf1;
  --ui-color-success: #2f7d5b;
  --ui-color-success-soft: #e5f2ec;
  --ui-color-warning: var(--brand-orange);
  --ui-color-warning-soft: #fff1e4;
  --ui-color-danger: var(--brand-burgundy);
  --ui-color-danger-soft: #f4e8ee;
  --ui-radius-sm: 0.45rem;
  --ui-radius-md: 0.625rem;
  --ui-radius-lg: 0.85rem;
  --ui-radius-xl: 1.25rem;
  --ui-space-1: 0.25rem;
  --ui-space-2: 0.5rem;
  --ui-space-3: 0.75rem;
  --ui-space-4: 1rem;
  --ui-space-5: 1.25rem;
  --ui-space-6: 1.5rem;
  --ui-shadow-card: 0 8px 24px rgba(67, 83, 99, 0.1);
  --ui-shadow-modal: 0 24px 64px rgba(67, 83, 99, 0.32);
  --ui-shadow-action: 0 10px 20px rgba(139, 37, 79, 0.16);
  --ui-focus-ring: rgba(139, 37, 79, 0.22);
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--ui-font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--ui-color-text);
  background: var(--ui-color-page);
}
.btn-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #94a3b8 !important;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.btn-close:hover {
  background: #f1f5f9 !important;
  color: var(--ui-color-primary) !important;
}
.btn-close .material-symbols-rounded {
  font-size: 1.55rem !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.12);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.2);
}
:where(button, input, select, textarea) {
  font-family: inherit;
}
:where(input, select, textarea):focus-visible {
  border-color: var(--ui-color-primary) !important;
  box-shadow: 0 0 0 3px var(--ui-focus-ring);
  outline: none;
}
:where(.subjects-table-container, .applicants-table-wrapper, .admissions-page__table-card, .call-center__table-card, .accounts-receivable__table-card, .payment-history__table-card, .payment-concepts__table-card, .payment-references__panel, .bank-references__table-card, .income-reports__table-card, .acreditacion-grupo__table-card, .gestion-modalidades__table-card, .exportacion-grupos__table-card, .catalog-offer__table-card, .pre-inscription__table-card, .tracking-list-container, .groups-list-container, .students-list-container, .enrollments-list-container, .reenrollments-list-container, .community-list-container, .consulting-list-container, .periods-grid, .table-container) {
  border: 1px solid var(--ui-color-border-soft);
  border-radius: var(--ui-radius-xl);
  background: var(--ui-color-surface);
  box-shadow: var(--ui-shadow-card);
}
:where(.subjects-table-container, .applicants-table-wrapper, .admissions-page__table-wrapper, .call-center__table-card, .accounts-receivable__table-wrapper, .payment-history__table-wrapper, .payment-concepts__table-wrapper, .payment-references__table-wrapper, .bank-references__table-wrapper, .income-reports__table-wrapper, .pre-inscription__table-wrapper, .table-container) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
:where(.subjects-table, .applicants-table, .admissions-table, .call-center__table, .accounts-receivable__table, .payment-history__table, .payment-concepts__table, .payment-references__table, .bank-references__table, .income-reports__table, .pre-inscription__table, .attendance-table, .tracking-table, .community-table, .consulting-table, .students-table, .enrollments-table, .reenrollments-table, .groups-table) {
  width: 100%;
  border-collapse: collapse;
}
:where(.subjects-table, .applicants-table, .admissions-table, .call-center__table, .accounts-receivable__table, .payment-history__table, .payment-concepts__table, .payment-references__table, .bank-references__table, .income-reports__table, .pre-inscription__table, .attendance-table, .tracking-table, .community-table, .consulting-table, .students-table, .enrollments-table, .reenrollments-table, .groups-table) :where(th) {
  background: #f8fafc;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
:where(.subjects-table, .applicants-table, .admissions-table, .call-center__table, .accounts-receivable__table, .payment-history__table, .payment-concepts__table, .payment-references__table, .bank-references__table, .income-reports__table, .pre-inscription__table, .attendance-table, .tracking-table, .community-table, .consulting-table, .students-table, .enrollments-table, .reenrollments-table, .groups-table) :where(th, td) {
  border-bottom: 1px solid var(--ui-color-border-soft);
  padding: 0.95rem 1rem;
  vertical-align: middle;
}
:where(.subjects-table, .applicants-table, .admissions-table, .call-center__table, .accounts-receivable__table, .payment-history__table, .payment-concepts__table, .payment-references__table, .bank-references__table, .income-reports__table, .pre-inscription__table, .attendance-table, .tracking-table, .community-table, .consulting-table, .students-table, .enrollments-table, .reenrollments-table, .groups-table) :where(tbody tr:hover) {
  background: #fbfdff;
}
:where(.status-badge, .role-badge, .payment-badge, .badge, .admissions-badge, .call-center__badge, .accounts-receivable__badge) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}
:where(.action-btn, .icon-button, .btn-icon, .btn-icon-sm, .btn-secondary-sm, .btn-outline, .btn-save, .payment-concepts__icon-button, .payment-references__icon-button, .pre-inscription__icon-button, .admissions-table__icon-button, .subjects-actions button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ui-color-border);
  border-radius: var(--ui-radius-md);
  background: #fff;
  color: #64748b;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}
:where(.action-btn, .icon-button, .btn-icon, .btn-icon-sm, .btn-secondary-sm, .btn-outline, .btn-save, .payment-concepts__icon-button, .payment-references__icon-button, .pre-inscription__icon-button, .admissions-table__icon-button, .subjects-actions button):hover {
  border-color: var(--ui-color-primary);
  background: var(--ui-color-primary-soft);
  color: var(--ui-color-primary);
}
:where(.btn-secondary-sm, .btn-outline, .btn-save) {
  width: auto;
  min-width: max-content;
  padding: 0 0.85rem;
  font-weight: 800;
}
:where(.modal-overlay, .drawer-overlay, .payment-history-modal__backdrop, .call-center__modal-backdrop) {
  background: rgba(15, 23, 42, 0.6) !important;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
:where(.modal-content, .modal-panel, .payment-history-modal, .call-center__modal) {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--ui-radius-xl) !important;
  box-shadow: var(--ui-shadow-modal) !important;
}
.pre-inscription-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.pre-inscription-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.pre-inscription-modal__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(980px, 100%);
  max-height: 90vh;
  overflow: hidden;
  border-radius: var(--ui-radius-xl);
  background: var(--ui-color-surface-muted);
  box-shadow: var(--ui-shadow-modal);
}
.pre-inscription-modal__header,
.pre-inscription-modal__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--ui-color-surface);
}
.pre-inscription-modal__header {
  justify-content: space-between;
  padding: 1.45rem 1.75rem;
  border-bottom: 1px solid var(--ui-color-border-soft);
}
.pre-inscription-modal__footer {
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--ui-color-border-soft);
}
.pre-inscription-modal__title {
  margin: 0;
  color: var(--ui-color-heading);
  font-size: 1.35rem;
  font-weight: 800;
}
.pre-inscription-modal__subtitle {
  margin: 0.25rem 0 0;
  color: var(--ui-color-muted);
  font-size: 0.875rem;
}
.pre-inscription-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ui-color-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.pre-inscription-modal__close:hover {
  background: var(--ui-color-primary-soft);
  color: var(--ui-color-primary);
}
.pre-inscription-modal__close span {
  font-size: 1.6rem;
  font-weight: 300;
}
.pre-inscription-modal__body {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 480px;
  overflow: auto;
}
.pre-inscription-modal__sidebar {
  padding: 1rem;
  border-right: 1px solid var(--ui-color-border-soft);
  background: var(--ui-color-surface);
}
.pre-inscription-modal__section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: var(--ui-color-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pre-inscription-modal__section-heading strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--ui-color-primary-soft);
  color: var(--ui-color-primary);
  font-size: 0.75rem;
}
.pre-inscription-modal__section-heading--pending {
  margin-top: 1.5rem;
}
.pre-inscription-modal__upload-form {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--ui-color-border-soft);
}
.pre-inscription-modal__upload-form input,
.pre-inscription-modal__upload-form textarea {
  width: 100%;
  border: 1px solid var(--ui-color-border-soft);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-color-surface-muted);
  color: var(--ui-color-text);
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
}
.pre-inscription-modal__upload-button {
  min-height: 36px;
  border: 1px solid var(--ui-color-primary);
  border-radius: var(--ui-radius-md);
  background: var(--ui-color-primary);
  color: var(--ui-color-surface);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.pre-inscription-modal__form-message {
  margin: 0;
  color: var(--ui-color-primary);
  font-size: 0.76rem;
  font-weight: 600;
}
.pre-inscription-modal__document-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pre-inscription-modal__document {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 22px;
  align-items: center;
  width: 100%;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--ui-color-border-soft);
  border-radius: var(--ui-radius-md);
  background: var(--ui-color-surface);
  color: var(--ui-color-text);
  text-align: left;
  cursor: pointer;
}
.pre-inscription-modal__document--active {
  border-color: var(--ui-color-secondary);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.14);
}
.pre-inscription-modal__document--disabled {
  border-style: dashed;
  background: var(--ui-color-surface-muted);
  color: var(--ui-color-muted);
  cursor: default;
}
.pre-inscription-modal__document--validated {
  border-color: var(--ui-color-success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}
.pre-inscription-modal__document--rejected {
  border-color: var(--ui-color-danger);
  box-shadow: 0 0 0 3px rgba(139, 37, 79, 0.1);
}
.pre-inscription-modal__document-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ui-color-info-soft);
  color: var(--ui-color-muted);
  font-size: 1.15rem;
}
.pre-inscription-modal__document-info {
  min-width: 0;
}
.pre-inscription-modal__document-info strong,
.pre-inscription-modal__document-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pre-inscription-modal__document-info strong {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
}
.pre-inscription-modal__document-info small {
  margin-top: 0.15rem;
  color: var(--ui-color-muted);
  font-size: 0.7rem;
}
.pre-inscription-modal__document-state {
  color: var(--brand-gray);
  font-size: 1rem;
}
.pre-inscription-modal__document--validated .pre-inscription-modal__document-state {
  color: var(--ui-color-success);
}
.pre-inscription-modal__document--rejected .pre-inscription-modal__document-state {
  color: var(--ui-color-danger);
}
.pre-inscription-modal__preview {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
}
.pre-inscription-modal__preview-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 2rem;
  border: 1px solid var(--ui-color-border-soft);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-color-surface);
  color: var(--ui-color-muted);
  text-align: center;
}
.pre-inscription-modal__preview-icon {
  margin-bottom: 1rem;
  color: var(--brand-gray);
  font-size: 3rem;
}
.pre-inscription-modal__preview-card h3 {
  margin: 0;
  color: var(--ui-color-heading);
  font-size: 1rem;
  font-weight: 600;
}
.pre-inscription-modal__preview-card p {
  max-width: 360px;
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
}
.pre-inscription-modal__review-actions,
.pre-inscription-modal__footer-actions,
.pre-inscription-modal__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pre-inscription-modal__review-actions {
  justify-content: center;
  padding-top: 0.25rem;
}
.pre-inscription-modal__review-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.6rem 1rem;
  border-radius: var(--ui-radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.pre-inscription-modal__review-button span {
  font-size: 1.05rem;
}
.pre-inscription-modal__review-button--valid {
  border: 1px solid var(--ui-color-success-soft);
  background: var(--ui-color-surface);
  color: var(--ui-color-success);
}
.pre-inscription-modal__review-button--valid:hover {
  border-color: var(--ui-color-success);
  background: var(--ui-color-success-soft);
  box-shadow: 0 8px 18px rgba(21, 128, 61, 0.1);
}
.pre-inscription-modal__review-button--reject {
  border: 1px solid var(--ui-color-danger-soft);
  background: var(--ui-color-surface);
  color: var(--ui-color-danger);
}
.pre-inscription-modal__review-button--reject:hover {
  border-color: var(--ui-color-danger);
  background: var(--ui-color-danger-soft);
  box-shadow: 0 8px 18px rgba(139, 37, 79, 0.1);
}
.pre-inscription-modal__summary {
  gap: 1rem;
}
.pre-inscription-modal__summary-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ui-color-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.pre-inscription-modal__summary-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
}
.pre-inscription-modal__summary-item--loaded::before {
  background: var(--ui-color-success);
}
.pre-inscription-modal__summary-item--pending::before {
  background: var(--ui-color-danger);
}
.pre-inscription-modal__footer-actions {
  justify-content: flex-end;
  margin-left: auto;
}
.pre-inscription-modal__button {
  min-height: 40px;
  padding: 0.65rem 1rem;
  border-radius: var(--ui-radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.pre-inscription-modal__button--ghost {
  border: 1px solid var(--ui-color-border-soft);
  background: var(--ui-color-surface);
  color: var(--ui-color-muted);
}
@media (max-width: 920px) {
  :where(.subjects-table, .applicants-table, .admissions-table, .call-center__table, .accounts-receivable__table, .payment-history__table, .payment-concepts__table, .payment-references__table, .bank-references__table, .income-reports__table, .pre-inscription__table, .attendance-table, .tracking-table, .community-table, .consulting-table, .students-table, .enrollments-table, .reenrollments-table, .groups-table) {
    min-width: 760px;
  }
}
@media (max-width: 760px) {
  :where(.ui-responsive-table) {
    min-width: 0;
  }
  :where(.ui-responsive-table thead) {
    display: none;
  }
  :where(.ui-responsive-table tbody, .ui-responsive-table tr, .ui-responsive-table td) {
    display: block;
    width: 100%;
  }
  :where(.ui-responsive-table tr) {
    margin: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--ui-color-border-soft);
    border-radius: var(--ui-radius-lg);
    background: var(--ui-color-surface);
    box-shadow: 0 6px 18px rgba(67, 83, 99, 0.08);
  }
  :where(.ui-responsive-table td) {
    display: grid;
    grid-template-columns: minmax(118px, 0.42fr) minmax(0, 1fr);
    gap: 0.75rem;
    border-bottom: 1px solid var(--ui-color-border-soft);
    padding: 0.75rem 0.9rem;
    text-align: left !important;
  }
  :where(.ui-responsive-table td:last-child) {
    border-bottom: 0;
  }
  :where(.ui-responsive-table td::before) {
    content: attr(data-label);
    color: var(--ui-color-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }
  :where(.ui-responsive-table td[colspan]) {
    display: block;
  }
  :where(.ui-responsive-table td[colspan]::before) {
    display: none;
  }
}
@media (max-width: 640px) {
  :where(.page-header, .subjects-header, .admissions-page__header) {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }
  :where(.modal-content, .modal-panel, .payment-history-modal, .call-center__modal) {
    width: min(100%, calc(100vw - 1rem)) !important;
    max-height: calc(100vh - 1rem);
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
