.docs-upload {
  font-family: "Rubik", sans-serif;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.92) 0%, rgba(238, 242, 255, 0.92) 100%),
    url("https://registroapps.uniandes.edu.co/SisAdmisiones/img/formulario/campus_2025.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 2.5rem 5vw 4rem;
  color: #0f172a;
}

.docs-upload__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.docs-upload__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.docs-upload__logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.docs-upload__hero .docs-upload__logo {
  background: #fff;
  color: #0f172a;
}

.docs-upload__title {
  font-size: 1.1rem;
  font-weight: 700;
}

.docs-upload__subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.docs-upload__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.docs-upload__btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.docs-upload__btn-action i {
  transition: transform 0.15s ease;
}

.docs-upload__btn-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.18);
}

.docs-upload__btn-action:hover i {
  transform: translateX(2px);
}

.docs-upload__btn-action:active {
  transform: translateY(0);
  box-shadow: none;
}

.docs-upload__btn-login {
  font-size: 1.05rem;
  padding: 0.9rem 1rem;
  letter-spacing: 0.02em;
  justify-content: center;
}

.docs-upload__main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.docs-upload__hero {
  background: #0f172a;
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
}

.docs-upload__hero-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.docs-upload__hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.docs-upload__lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.docs-upload__hero-body {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}

.docs-upload__login-layout {
  align-items: stretch;
}

.docs-upload.is-login .docs-upload__hero-col {
  flex: 0 0 50%;
  max-width: 50%;
}

.docs-upload:not(.is-login) .docs-upload__hero-col {
  flex: 0 0 100%;
  max-width: 100%;
}

.docs-upload:not(.is-login) .docs-upload__login-col {
  display: none;
}

.docs-upload__hero h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.docs-upload__hero p {
  margin: 0;
  color: #cbd5f5;
}

.docs-upload__hero-card {
  background: #1e293b;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  max-width: 260px;
}

.docs-upload__hero-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  margin-bottom: 0.5rem;
}

.docs-upload__hero-text {
  font-size: 0.9rem;
  color: #e2e8f0;
}

.docs-upload__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.docs-upload__card,
.docs-upload__upload {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.docs-upload__card-header h3,
.docs-upload__upload-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.docs-upload__login-sticker {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.docs-upload__login-sticker-img {
  width: min(220px, 100%);
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.25));
}

.docs-upload__card-header p,
.docs-upload__upload-header p {
  color: #64748b;
  margin-bottom: 0;
}

.docs-upload__user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: #f8fafc;
  margin-bottom: 1rem;
}

.docs-upload__user-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.docs-upload__user-name {
  font-weight: 600;
}

.docs-upload__program-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.docs-upload__program-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 0.9rem;
  background: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.docs-upload__program-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.docs-upload__program-card.is-selected {
  border-color: #0f172a;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
  background: #f8fafc;
}

.docs-upload__program-card.is-disabled,
.docs-upload__program-card:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.docs-upload__program-code {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0f172a;
}

.docs-upload__program-name {
  font-size: 0.9rem;
  color: #475569;
}

.docs-upload__program-period {
  font-size: 0.75rem;
  color: #64748b;
}

.docs-upload__program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.docs-upload__badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}

.docs-upload__badge--postgrad {
  background: var(--pos-100);
  color: var(--pos-700);
}

.docs-upload__badge--undergrad {
  background: var(--pre-100);
  color: var(--pre-700);
}

.docs-upload__badge--transfer {
  background: #fef9c3;
  color: #854d0e;
}

.docs-upload__badge--closed {
  background: #fee2e2;
  color: #b91c1c;
}

.docs-upload__badge--rejected {
  background: #f1f5f9;
  color: #475569;
}

.docs-upload__program-note {
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.docs-upload__program-note-item {
  font-size: 0.75rem;
  color: #b91c1c;
}

.docs-upload__upload {
  grid-column: 1 / -1;
  position: relative;
}

.docs-upload__upload-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.docs-upload__summary-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.docs-upload__program-summary {
  background: #f1f5f9;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.docs-upload__program-summary strong {
  color: #0f172a;
  font-size: 0.95rem;
}

.docs-upload__upload-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}

.docs-upload__upload-loader-text {
  font-size: 0.85rem;
  color: #475569;
}

.docs-upload__upload-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.docs-upload__upload-grid.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.docs-upload__notice {
  margin-bottom: 1rem;
}

.docs-upload__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.docs-upload__tab {
  border: 1px solid #cbd5f5;
  background: #fff;
  color: #475569;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.docs-upload__tab.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.docs-upload__tab-panel.is-hidden {
  display: none;
}

.docs-upload__external-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.docs-upload__external-field .form-label {
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 0.35rem;
}

.docs-upload__external-card {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  background: #f8fafc;
}

.docs-upload__external-header h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.docs-upload__external-description {
  background: #fff;
  border: 1px dashed #cbd5f5;
  border-radius: 12px;
  padding: 0.75rem;
  font-size: 0.8rem;
  color: #475569;
  min-height: 62px;
}

.docs-upload__terms {
  margin-top: 1.5rem;
}

.docs-upload__terms h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.docs-upload__terms-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.docs-upload__terms-section {
  background: #fff;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid #e2e8f0;
}

.docs-upload__terms-heading {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.docs-upload__terms-section p {
  color: #475569;
  font-size: 0.9rem;
}

.docs-upload__consents {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.docs-upload__consent-group {
  border: 1px dashed #cbd5f5;
  border-radius: 12px;
  padding: 0.75rem;
  background: #f8fafc;
}

.docs-upload__consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.docs-upload__consent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.docs-upload__consent-label {
  font-weight: 600;
}

.docs-upload__terms-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: #0f172a;
  text-decoration: underline;
  margin-top: 0.35rem;
}

.docs-upload__minor-fields {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.docs-upload__tile {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: #f8fafc;
}

.docs-upload__tile.is-filled {
  border-color: #38bdf8;
  background: #f0f9ff;
}

.docs-upload__tile-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: flex-start;
}

.docs-upload__tile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-end;
}

.docs-upload__tile-title {
  font-weight: 600;
}

.docs-upload__tile-desc {
  color: #64748b;
  font-size: 0.85rem;
}

.docs-upload__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.docs-upload__chip {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
}

.docs-upload__chip--required {
  background: #fee2e2;
  color: #b91c1c;
}

.docs-upload__chip--optional {
  background: #e0f2fe;
  color: #0369a1;
}

.docs-upload__drop {
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  background: #fff;
  cursor: pointer;
}

.docs-upload__drop input {
  display: none;
}

.docs-upload__drop-label {
  font-size: 0.8rem;
  color: #64748b;
}

.docs-upload__file-info {
  font-size: 0.78rem;
  color: #334155;
}

.docs-upload__preview {
  width: 100%;
  border-radius: 12px;
  display: none;
}

.docs-upload__tile.is-filled .docs-upload__preview {
  display: block;
}

.docs-upload__remove {
  background: transparent;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  text-align: left;
  padding: 0;
}

.docs-upload__upload-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.docs-upload__help-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  border: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.3);
  display: grid;
  place-items: center;
  z-index: 1030;
}

.docs-upload__help-list {
  padding-left: 1.2rem;
  color: #475569;
}

.docs-upload__help-section {
  margin-bottom: 1.25rem;
}

.docs-upload__help-section h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.docs-upload__help-note {
  font-size: 0.85rem;
  color: #475569;
  margin-top: 0.5rem;
}

.docs-upload__help-card {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #f8fafc;
}

.docs-upload__help-title {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .docs-upload {
    padding: 2rem 1.25rem 4rem;
  }

  .docs-upload__hero {
    padding: 1.5rem;
  }

  .docs-upload__upload-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
