.h4{
    font-family: 'Playfair Display', serif !important;
}


.bg-login {
    background: #0a0f1e;
    min-height: 100vh;
  }

  .login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
  }

  .login-page::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(52,211,153,0.10) 0%, transparent 70%);
    top: -160px; left: -160px;
    pointer-events: none;
  }

  .login-page::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    bottom: -80px; right: -80px;
    pointer-events: none;
  }

  .grid-lines {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  .login-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  @keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .logo-wrap { text-align: center; margin-bottom: 2rem; }

  .login-heading {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #f1f5f9;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
  }

  .login-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
  }

  .field-wrap { margin-bottom: 1rem; }

  .field-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
  }

  .field-inner { position: relative; display: flex; align-items: center; }

  .field-icon {
    position: absolute;
    left: 14px;
    color: rgba(255,255,255,0.3);
    font-size: 16px;
    pointer-events: none;
  }

  .field-input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    outline: none;
    box-sizing: border-box;
  }

  .field-input::placeholder { color: rgba(255,255,255,0.2); }

  .field-input:focus {
    border-color: rgba(52,211,153,0.5);
    background: rgba(52,211,153,0.04);
    box-shadow: 0 0 0 3px rgba(52,211,153,0.08);
  }

  .field-input.is-invalid { border-color: rgba(239,68,68,0.5); }

  .invalid-feedback {
    font-size: 12px;
    color: #f87171;
    margin: 5px 0 0 2px;
  }

  .checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1rem 0 1.5rem;
    cursor: pointer;
  }

  .custom-check {
    width: 16px; height: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    flex-shrink: 0;
  }

  .check-label {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    user-select: none;
  }

  .btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #34d399, #10b981);
    border: none;
    border-radius: 10px;
    color: #0a0f1e;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(52,211,153,0.25);
  }

  .btn-submit:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(52,211,153,0.35);
  }

  .btn-submit:active { transform: scale(0.98); }

  .divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 1.5rem 0 1rem;
  }

  .divider-line { flex: 1; height: 1px; background: rgba(255,255,255,0.07); }

  .divider-text {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.05em;
  }

  .forgot-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: rgba(52,211,153,0.7);
    text-decoration: none;
    transition: color 0.2s;
  }

  .forgot-link:hover { color: #34d399; }

  .show-pass {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.25);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
  }

  .show-pass:hover { color: rgba(255,255,255,0.6); }



  /*otros estilos*/

    .rm-page {
    background: #0a0f1e;
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: #f1f5f9;
    position: relative;
    overflow: hidden;
  }

  .rm-page::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(52,211,153,0.08) 0%, transparent 70%);
    top: -150px; right: -100px;
    pointer-events: none;
  }

  .grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  /* ── HEADER ── */
  .rm-header {
    position: relative;
    z-index: 2;
    padding: 2rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .rm-header {
    position: relative;
  }

  .rm-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-bottom: 0;
  }

  .rm-header-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-right: 0;
    margin-top: 1rem;
  }

  .rm-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .rm-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #34d399;
    margin: 0 0 4px;
  }

  .rm-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #f1f5f9;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
  }

  .rm-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin: 0;
  }

  .rm-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }

  /* ── BOTONES ── */
  .btn-add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #34d399, #10b981);
    border: none;
    border-radius: 9px;
    color: #0a0f1e;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 3px 14px rgba(52,211,153,0.22);
    text-decoration: none;
  }

  .btn-add:hover { opacity: 0.88; transform: translateY(-1px); color: #0a0f1e; }

  .btn-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    color: rgba(255,255,255,0.75);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    text-decoration: none;
  }

  .btn-export:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.2);
    color: #f1f5f9;
  }

  .btn-icon-only {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    font-size: 15px;
  }

  .btn-icon-only:hover { background: rgba(255,255,255,0.1); color: #f1f5f9; }

  /* ── BÚSQUEDA ── */
  .rm-search { display: flex; gap: 8px; align-items: center; }

  .search-wrap { position: relative; display: flex; align-items: center; }

  .search-icon {
    position: absolute;
    left: 12px;
    color: rgba(255,255,255,0.3);
    font-size: 15px;
    pointer-events: none;
  }

  .search-input {
    padding: 8px 12px 8px 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9px;
    color: #f1f5f9;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    outline: none;
    width: 260px;
    transition: border-color 0.2s, background 0.2s;
  }

  .search-input::placeholder { color: rgba(255,255,255,0.2); }

  .search-input:focus {
    border-color: rgba(52,211,153,0.4);
    background: rgba(52,211,153,0.04);
  }

  .btn-search {
    padding: 8px 14px;
    background: rgba(52,211,153,0.12);
    border: 1px solid rgba(52,211,153,0.25);
    border-radius: 9px;
    color: #34d399;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .btn-search:hover { background: rgba(52,211,153,0.2); }

  /* ── ALERTAS ── */
  .alert-bar {
    margin: 0.75rem 2rem 0;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .alert-success { background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); color: #6ee7b7; }
  .alert-danger  { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.2);  color: #f87171; }

  /* ── TABLA ── */
  .rm-table-wrap {
    position: relative;
    z-index: 2;
    overflow-x: auto;
  }

  .rm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }

  .rm-table thead tr { border-bottom: 1px solid rgba(255,255,255,0.07); }

  .rm-table thead th {
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    text-align: left;
    white-space: nowrap;
  }

  .rm-table thead th.th-right { text-align: right; }

  .rm-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
  }

  .rm-table tbody tr:hover { background: rgba(255,255,255,0.03); }

  .rm-table tbody td {
    padding: 13px 20px;
    color: rgba(255,255,255,0.75);
    vertical-align: middle;
  }

  .doc-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    font-size: 11px;
    color: #a5b4fc;
    font-weight: 500;
  }

  .phone-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
  }

  .actions-cell { text-align: right; }

  .action-menu { display: inline-flex; gap: 4px; }

  .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    text-decoration: none;
    color: rgba(255,255,255,0.4);
  }

  .action-btn.edit:hover {
    background: rgba(52,211,153,0.1);
    border-color: rgba(52,211,153,0.2);
    color: #34d399;
  }

  .action-btn.del:hover {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.2);
    color: #f87171;
  }

  /* Make action icons always show colored, in both dark and light themes */
  .action-btn i,
  .action-btn .fa,
  .action-btn .fas {
    color: inherit !important;
  }

  /* Default colors for action types (visible even when not hovered) */
  .action-btn.edit {
    color: #34d399 !important;
  }
  .action-btn.edit i { color: #34d399 !important; }

  .action-btn.view {
    color: #2563eb !important;
  }
  .action-btn.view i { color: #2563eb !important; }

  .action-btn.del {
    color: #ef4444 !important;
  }
  .action-btn.del i { color: #ef4444 !important; }

  /* ── FOOTER PAGINACIÓN ── */
  .rm-footer {
    position: relative;
    z-index: 2;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .rm-count { font-size: 12px; color: rgba(255,255,255,0.25); }

  .pagination { display: flex; gap: 4px; align-items: center; }

  .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px; height: 28px;
    padding: 0 6px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 7px;
    color: rgba(255,255,255,0.45);
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
  }

  .page-btn.active {
    background: rgba(52,211,153,0.15);
    border-color: rgba(52,211,153,0.3);
    color: #34d399;
    font-weight: 500;
  }

  .page-btn:hover:not(.active) { background: rgba(255,255,255,0.08); color: #f1f5f9; }

  /* ── COPYRIGHT ── */
  .rm-copyright {
    font-size: 11px;
    color: rgba(255,255,255,0.2);
    text-align: center;
    padding: 0.75rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rm-copyright a { color: rgba(52,211,153,0.6); text-decoration: none; }
  .rm-copyright a:hover { color: #34d399; }

  /* ── HELPERS AVATAR (colores alternos) ── */
  .av-purple { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.25); color: #a5b4fc; }
  .av-amber  { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.22); color: #fcd34d; }
  .av-pink   { background: rgba(244,114,182,0.12); border-color: rgba(244,114,182,0.22); color: #f9a8d4; }
 


  /* otros estilos mas */

    /* ── BASE ── */
  .mi-page {
    background: #0a0f1e;
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: #f1f5f9;
    position: relative;
    overflow: hidden;
  }

  .mi-page::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(52,211,153,.07) 0%, transparent 70%);
    top: -180px; right: -120px;
    pointer-events: none;
  }

  .grid-bg {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
  }

  /* ── HEADER ── */
  .mi-header {
    position: relative;
    z-index: 2;
    padding: 1.75rem 2rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .rm-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #34d399;
    margin: 0 0 4px;
  }

  .rm-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: #f1f5f9;
    margin: 0 0 3px;
    letter-spacing: -.3px;
  }

  .rm-sub {
    font-size: 13px;
    color: rgba(255,255,255,.35);
    margin: 0;
  }

  .hdr-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

  .btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(52,211,153,.1);
    border: 1px solid rgba(52,211,153,.25);
    border-radius: 9px;
    color: #34d399;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: background .2s;
  }

  .btn-nav:hover { background: rgba(52,211,153,.18); color: #34d399; }

  .btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    color: rgba(255,255,255,.55);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s;
  }

  .btn-upload:hover { background: rgba(255,255,255,.1); color: #f1f5f9; }

  /* ── BODY ── */
  .mi-body {
    position: relative;
    z-index: 2;
    padding: 1.75rem 2rem;
  }

  .section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.3);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.07);
  }

  .field-wrap { margin-bottom: 1.5rem; }

  .field-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.45);
    margin-bottom: 6px;
  }

  .field-input,
  .field-select,
  .field-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    color: #f1f5f9;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color .2s, background .2s;
    appearance: none;
  }

  .field-input::placeholder,
  .field-textarea::placeholder { color: rgba(255,255,255,.2); }

  .field-input:focus,
  .field-select:focus,
  .field-textarea:focus {
    border-color: rgba(52,211,153,.45);
    background: rgba(52,211,153,.04);
  }

  .field-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
  }

  .field-select option { background: #0f1729; color: #f1f5f9; }

  .field-textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

  /* ── CHIPS DE MATERIALES ── */
  .mat-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
  }

  .mat-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    user-select: none;
  }

  .mat-chip.selected {
    background: rgba(52,211,153,.1);
    border-color: rgba(52,211,153,.3);
  }

  .mat-chip-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    flex-shrink: 0;
    transition: background .15s;
  }

  .mat-chip.selected .mat-chip-dot { background: #34d399; }

  .mat-chip-name { font-size: 12px; color: rgba(255,255,255,.6); flex: 1; }
  .mat-chip.selected .mat-chip-name { color: #f1f5f9; }

  .mat-chip-stock { font-size: 11px; color: rgba(255,255,255,.25); }
  .mat-chip.selected .mat-chip-stock { color: rgba(52,211,153,.7); }

  /* ── INPUTS KG ── */
  .kg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 12px;
  }

  .kg-item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    padding: 10px 12px;
  }

  .kg-item-label {
    font-size: 11px;
    color: rgba(255,255,255,.35);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .kg-input {
    width: 100%;
    padding: 7px 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 7px;
    color: #f1f5f9;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    outline: none;
    transition: border-color .2s;
  }

  .kg-input:focus { border-color: rgba(52,211,153,.4); }
  .kg-suffix { font-size: 11px; color: rgba(255,255,255,.3); margin-top: 4px; }

  /* ── TARJETA RECICLADOR ── */
  .recycler-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-top: 12px;
    display: none;
    animation: fadeIn .3s ease;
  }

  .recycler-card.visible { display: block; }

  @keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

  .rc-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }

  .rc-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(52,211,153,.15);
    border: 1px solid rgba(52,211,153,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #34d399;
    flex-shrink: 0;
  }

  .rc-fullname { font-size: 14px; font-weight: 500; color: #f1f5f9; }

  .recycler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .rc-field { display: flex; flex-direction: column; gap: 3px; }

  .rc-field-lbl {
    font-size: 11px;
    color: rgba(255,255,255,.3);
    text-transform: uppercase;
    letter-spacing: .06em;
  }

  .rc-field-val { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 500; }

  /* ── ALERTAS ── */
  .alert-bar {
    margin-bottom: 1.25rem;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .alert-success { background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.2); color: #6ee7b7; }
  .alert-danger  { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.2);  color: #f87171; }

  /* ── SUBMIT ── */
  .form-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: linear-gradient(135deg, #34d399, #10b981);
    border: none;
    border-radius: 10px;
    color: #0a0f1e;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 3px 14px rgba(52,211,153,.22);
  }

  .btn-submit:hover { opacity: .88; transform: translateY(-1px); }

  /* ── MODAL ── */
  .modal-content-custom {
    background: #0f1729;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
  }

  .modal-header-custom {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .modal-title-custom {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    color: #f1f5f9;
    margin: 0;
  }

  .modal-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.4);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
  }

  .modal-close:hover { color: #f1f5f9; }

  .modal-body-custom { padding: 1.25rem 1.5rem; }

  .modal-text {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    margin: 0 0 12px;
    line-height: 1.6;
  }

  .btn-dl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(52,211,153,.1);
    border: 1px solid rgba(52,211,153,.25);
    border-radius: 9px;
    color: #34d399;
    font-size: 13px;
    margin-bottom: 1rem;
    text-decoration: none;
  }

  .file-zone {
    border: 1px dashed rgba(255,255,255,.15);
    border-radius: 9px;
    padding: 1.25rem;
    text-align: center;
    color: rgba(255,255,255,.3);
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s;
  }

  .file-zone:hover { border-color: rgba(52,211,153,.35); color: rgba(255,255,255,.5); }

  .modal-footer-custom {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.07);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }

  .btn-cancel-modal {
    padding: 8px 16px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 9px;
    color: rgba(255,255,255,.55);
    font-size: 13px;
    cursor: pointer;
  }

  .btn-load-modal {
    padding: 8px 16px;
    background: linear-gradient(135deg, #34d399, #10b981);
    border: none;
    border-radius: 9px;
    color: #0a0f1e;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
  }

  /* ── COPYRIGHT ── */
  .rm-copyright {
    position: relative;
    z-index: 2;
    font-size: 11px;
    color: rgba(255,255,255,.2);
    padding: .75rem 2rem;
    border-top: 1px solid rgba(255,255,255,.04);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
  }

  .rm-copyright a { color: rgba(52,211,153,.6); text-decoration: none; }
  .rm-copyright a:hover { color: #34d399; }