  .registro-modal {
    border-radius: 6px;
    border: 0;
    overflow: hidden;
  }

  .registro-modal .modal-body {
    padding: 28px 32px;
    background: #fff;
  }

  .registro-title {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .registro-title i {
    font-size: 28px;
    color: #4b5563;
    margin-top: 2px;
  }

  .registro-title h4 {
    margin: 0 0 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1f2937;
    font-size: 17px;
  }

  .registro-title p {
    margin: 0;
    color: #555;
    line-height: 1.3;
  }

  .registro-obra {
    font-size: 14px;
    color: #333;
    margin-bottom: 18px;
    padding: 10px 12px;
    background: #f8fafc;
    border-left: 4px solid #1f2937;
  }

  .registro-modal label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
  }

  .input-icon {
    position: relative;
  }

  .input-icon i {
    position: absolute;
    top: 12px;
    left: 13px;
    color: #9ca3af;
  }

  .input-icon input {
    padding-left: 40px;
  }

  .tipo-box {
    margin: 12px 0 18px;
  }

  .tipo-card {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 15px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background: #f9fafb;
    cursor: pointer;
    margin-bottom: 8px;
    transition: all .2s ease;
  }

  .tipo-card:hover,
  .tipo-card.active {
    background: #f3f4f6;
    border-color: #1f2937;
  }

  .tipo-card input {
    margin-top: 4px;
  }

  .tipo-card strong {
    display: block;
    color: #374151;
    font-size: 15px;
    margin-bottom: 3px;
  }

  .tipo-card small {
    display: block;
    color: #6b7280;
    line-height: 1.35;
    font-size: 0.8rem;
  }

  .aceptacion-box {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 5px;
  }

  .registro-actions {
    display: flex;
    gap: 14px;
    margin-top: 25px;
  }

  .registro-actions .btn {
    flex: 1;
   /* display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 54px;
    border-radius: 14px;

    font-size: 15px;
    font-weight: 600;*/

    transition: all .25s ease;
  }

  .btn-dark {
    background: #1f2937;
    color: #fff;
    border-color: #1f2937;
  }

  .btn-dark:hover,
  .btn-dark:focus {
    background: #111827;
    color: #fff;
  }

  #reg_errores {
    margin-top: 12px;
  }

  @media (max-width: 767px) {
    .registro-modal .modal-body {
      padding: 22px 18px;
    }

    .registro-actions {
      flex-direction: column-reverse;
    }

    .registro-actions .btn {
      width: 100%;
    }
  }

  /*scroll*/
  .modal {
    overflow-y: auto;
  }

  .modal-dialog {
    margin: 30px auto;
  }

  .modal-content {
    max-height: calc(100vh - 60px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 140px);
  }
  /*scroll mobile*/
  @media (max-width: 767px) {

    .modal-dialog {
      width: 95%;
      margin: 10px auto;
    }

    .modal-content {
      max-height: calc(100vh - 20px);
    }

    .modal-body {
      max-height: calc(100vh - 100px);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }

  }
  .archivo-categoria {
    margin-bottom: 18px;
  }

  .archivo-categoria-titulo {
      font-size: 16px;
      font-weight: 600;
      /*padding: 7px 10px;*/
      margin-bottom: 3px;
      border-bottom: 2px solid #ddd;
  }

  .archivo-lista {
      width: 100%;
  }

  .archivo-item {
      display: flex;
      align-items: center;
      justify-content: space-between;

      padding: 9px 10px;

      border-bottom: 1px solid #eee;
  }

  .archivo-item:last-child {
      border-bottom: 0;
  }

  .archivo-info {
      display: flex;
      align-items: flex-start;
      min-width: 0;
      padding-right: 10px;
  }

  .archivo-icono {
      font-size: 18px;
      margin-right: 9px;
      margin-top: 2px;
  }

  .archivo-texto {
      min-width: 0;
  }

  .archivo-titulo {
      font-size: 14px;
      font-weight: 600;
      /*line-height: 1.3;*/
  }

  .archivo-descripcion {
      margin-top: 2px;
      font-size: 12px;
      color: #777;
      line-height: 1.3;
  }

  .archivo-download {
      flex-shrink: 0;
  }