
  /* ----------------------------------- Import section ----------------------------------- */
  hr {
    border-top: 1px solid #000;
    opacity: 0.2;
  }

  .import-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    margin-bottom: 24px;
    border: 1px dashed #eaeef3;
    border-radius: 10px;
    background: #f9fafb;
  }

  .import-info {
    min-width: 0;
  }

  .import-info strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
  }

  .import-info span {
    display: block;
    color: #6b7280;
    font-size: 13px;
  }

  .file-input-wrapper {
    flex-shrink: 0;
  }

  .file-input {
    display: none !important;
  }

  .selected-file {
    padding-right: 10px;
    color: #337ab7;
    font-style: italic;
  }

  .file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.15s ease;
  }

  .file-button:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
  } 
  
/* ----------------------------------- Table ----------------------------------- */
  .table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
  }

  table {
    width: 100%;
    min-width: 1000px;
    border-collapse: collapse;
  }

  thead {
    background: #f9fafb;
  }

  th {
    padding: 13px 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
  }

  td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
  }

  tbody tr:last-child td {
    border-bottom: none;
  }

  tbody tr:hover {
    background: #fafafa;
  }

  .row-number {
    width: 50px;
    color: #6b7280;
    font-size: 13px;
    text-align: center;
  }

  .field {
    width: 100%;
    height: 35px;
    padding: 0 7px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    transition:
      border-color 0.15s,
      box-shadow 0.15s;
  }

  .field:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }

  .field::placeholder {
    color: lightgray;
  }

  .field.invalid {
    border-color: #dc2626;
    background: #fff7f7;
  }

  .field.valid {
    border-color: #16a34a;
  }

  .boolean-field {
    cursor: pointer;
  }

  .remove-row {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fff;
    color: #dc2626;
    cursor: pointer;
    font-size: 16px;
    transition: 0.15s ease;
  }

  .remove-row:hover {
    background: #fef2f2;
    border-color: #fca5a5;
  } 
  
/* ----------------------------------- Empty state ----------------------------------- */
  .empty-state {
    padding: 50px 20px;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
  } 
  
  /* ----------------------------------- Actions ----------------------------------- */
  .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
  }

  .left-actions,
  .right-actions {
    display: flex;
    gap: 10px;
  }

  button {
    font-family: inherit;
  }

/* ----------------------------------- Messages ----------------------------------- */
  .message {
    display: none;
    padding: 13px 15px;
    margin-bottom: 20px;
    border-radius: 7px;
    font-size: 14px;
  }

  .message.show {
    display: block;
  }

  .message.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
  }

  .message.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
  }

  .message.warning {
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
  } 

/* ----------------------------------- File format help ----------------------------------- */
  .format-help {
    margin-top: 18px;
    padding: 14px;
    border-radius: 7px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.6;
  }

  .format-help strong {
    color: #374151;
  }

  .or-separator {
    display:flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    color: #777;
    font-size: 14px;
    font-weight: 500;
  }

  .or-separator::before,
  .or-separator::after {
    content: "";
    flex: 1;
    height:  1px;
    background: #ddd;
    opacity: 0.5;
  }

  .or-separator span {
    flex-shrink: 0;
  }
  
/* ----------------------------------- Responsive ----------------------------------- */
  @media (max-width: 700px) {
    .import-section {
      flex-direction: column;
      align-items: stretch;
    }
    .file-button {
      width: 100%;
    }
    .actions {
      flex-direction: column;
      align-items: stretch;
    }
    .left-actions,
    .right-actions {
      width: 100%;
    }
    .btn {
      flex: 1;
    }
}