body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f7fb;
  }
  
  .nc-modal-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.103);
  }
  
  .nc-card {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.45);
    width: 600px;
    max-width: 96vw;
    position: relative;
    color:#666;
    padding: 64px 64px 32px 64px;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.7s;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
  }
  
  .nc-close-btn {
    position: absolute;
    top: 20px;
    right: 36px;
    font-size: 1.3em;
    color: #ff3b3b;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s, background 0.2s;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nc-close-btn:hover {
    color: #fff;
    background: #ff3b3b;
  }
  
  .nc-accordion {
    background: rgba(255, 255, 255, 0.18);
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  }
  
  .nc-accordion-section {
    background: rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s;
  }
  .nc-accordion-section:last-child {
    border-bottom: none;
  }
  
  .nc-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15em;
    font-weight: 600;
    padding: 22px 32px 12px 32px;
    color: #666;
    background: none;
    user-select: none;
    gap: 10px;
    cursor: pointer;
  }
  .nc-accordion-header:hover {
    background: rgba(255,0,0,0.08);
  }
  
  .nc-chevron {
    transition: transform 0.3s;
  }
  .nc-accordion-section:not(.nc-open) .nc-chevron {
    transform: rotate(-90deg);
  }
  
  .nc-accordion-content {
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s, max-height 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
    padding: 0 32px 0 32px;
  }
  .nc-accordion-section.nc-open .nc-accordion-content {
    opacity: 1;
    max-height: 800px;
    padding-bottom: 24px;
    transition: opacity 0.4s, max-height 0.4s cubic-bezier(0.4, 0.2, 0.2, 1), padding-bottom 0.4s;
  }
  
  .nc-excel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d32f2f;
    color: #fff;
    font-weight: 600;
    font-size: 1.08em;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    margin-top: 24px;
    margin-bottom: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(211,47,47,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    gap: 10px;
    width: 100%;
  }
  .nc-excel-btn:hover {
    background: #ff3b3b;
    box-shadow: 0 4px 16px 0 rgba(255,59,59,0.15);
  }
  
  .nc-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin: 24px 0 22px 0;
  }
  
  .nc-field {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 7px;
    padding: 7px 12px;
    color: #ffffffb7;
    font-size: 1.08em;
  }
  .nc-field i {
    margin-right: 10px;
    font-size: 1.1em;
    min-width: 18px;
  }
  .nc-field input {
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1em;
    width: 100%;
    outline: none;
    padding: 7px 0;
  }
  .nc-field input::placeholder {
    color: #ffffffc7;
    opacity: 1;
  }
  
  .nc-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    margin-top: 10px;
  }
  .nc-action-btn {
    background: #ff3b3b;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 0;
    font-weight: 600;
    font-size: 1.08em;
    cursor: pointer;
    box-shadow: 0 2px 8px 0 rgba(211,47,47,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }
  .nc-action-btn:hover {
    background: #ff3b3b;
    box-shadow: 0 4px 16px 0 rgba(255,59,59,0.15);
  }
  
  @media (max-width: 700px) {
    .nc-card {
      width: 99vw;
      border-radius: 0;
    }
    .nc-accordion-header, .nc-accordion-content {
      padding-left: 10px;
      padding-right: 10px;
    }
    .nc-fields-grid {
      grid-template-columns: 1fr;
    }
  }
  
  .nc-card-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 32px;
    margin-bottom: 16px;
  }
  .nc-card-title {
    font-size: 1.45em;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.5px;
    text-align: center;
    flex: 1;
  }
  
  .nc-dropzone {
    margin-top: 36px;
    width: 100%;
    background: rgba(120, 20, 20, 0.18);
    border: 2px dashed #ff3b3b;
    border-radius: 10px;
    color: #fff;
    font-size: 1.18em;
    text-align: center;
    padding: 28px 0 24px 0;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    box-sizing: border-box;
  }
  .nc-dropzone.dragover {
    border-color: #fff;
    background: rgba(255,59,59,0.10);
  }
  
  .nc-dropzone i {
    font-size: 2em;
    color: #ff3b3b;
    display: block;
    margin-bottom: 8px;
  }
  .nc-dropzone span {
    display: block;
  }
  
  .nc-dropzone:hover {
    background: rgba(255,59,59,0.13);
    border-color: #fff;
  }
  
  .import-toast {
    position: fixed;
    left: 50%;
    bottom: -100px;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 220px;
    max-width: 90vw;
    padding: 15px 28px 15px 18px;
    background: rgba(40, 167, 69, 0.97);
    color: #fff;
    font-size: 1.08em;
    font-weight: 600;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 24px 0 rgba(40,167,69,0.18);
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transition: bottom 0.6s cubic-bezier(.7,.2,.2,1), opacity 0.3s, background 0.2s;
  }
  .import-toast.show {
    bottom: 32px;
    opacity: 1;
    pointer-events: auto;
  }
  .import-toast.error {
    background: rgba(211, 47, 47, 0.97);
    box-shadow: 0 4px 24px 0 rgba(211,47,47,0.18);
  }
  .import-toast i {
    font-size: 1.4em;
    color: #fff;
    margin-right: 8px;
  }
  
  .excel-preview {
    margin-top: 18px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 8px;
    overflow-x: auto;
    max-width: 100%;
  }
  .excel-table-preview {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.98em;
  }
  .excel-table-preview td, .excel-table-preview th {
    border: 1px solid #fff2;
    padding: 4px 10px;
    color: #fff;
    background: rgba(0,0,0,0.10);
  } 