.commission-import { display: grid; gap: 18px; }
.import-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.import-panel { min-height: 250px; }
.step-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; }
.step-heading h3 { margin: 0 0 5px; }
.step-heading p, .preview-header p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.step-number { flex: 0 0 auto; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: #78aeff; font-weight: 850; }
.file-drop { min-height: 150px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 24px; border: 2px dashed rgba(143,163,191,.34); border-radius: 14px; text-align: center; cursor: pointer; transition: .18s ease; background: rgba(255,255,255,.018); }
.file-drop:hover, .file-drop.dragging { border-color: var(--blue); background: var(--blue-soft); }
.file-drop-icon { font-size: 33px; color: #73abff; line-height: 1; }
.file-drop span:last-child { color: var(--muted); font-size: 12px; }
.selected-file { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(57,217,138,.055); }
.selected-file strong, .selected-file span { display: block; }
.selected-file span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; gap: 14px; }
.form-grid.two-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
.field-label { display: grid; gap: 7px; color: #c8d5e7; font-size: 13px; font-weight: 700; }
.field-label input, .field-label select { width: 100%; min-height: 44px; padding: 0 12px; color: var(--text); background: #081423; border: 1px solid var(--line); border-radius: 10px; outline: none; }
.field-label input:focus, .field-label select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(50,135,255,.12); }
.import-options { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.check-option { display: flex; align-items: center; gap: 10px; color: #c8d5e7; font-size: 13px; }
.check-option input { width: 17px; height: 17px; accent-color: var(--blue); }
.preview-panel { overflow: hidden; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.preview-header h3 { margin-bottom: 5px; }
.preview-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 15px; border-radius: 10px; color: #d9e7f8; background: rgba(255,255,255,.045); border: 1px solid var(--line); cursor: pointer; font-weight: 750; }
.secondary-button:hover { background: rgba(255,255,255,.08); }
.primary-button { cursor: pointer; }
.primary-button:disabled, .secondary-button:disabled { opacity: .55; cursor: not-allowed; }
.import-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 16px; }
.summary-chip { padding: 12px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.summary-chip span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.summary-chip strong { display: block; margin-top: 5px; font-size: 19px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.preview-table { width: 100%; min-width: 1050px; border-collapse: collapse; }
.preview-table th, .preview-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.preview-table th:first-child, .preview-table td:first-child { text-align: left; }
.preview-table th { position: sticky; top: 0; background: #101d30; color: #9fb2cb; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.preview-table td { color: #dce8f7; font-size: 13px; }
.preview-table tbody tr:last-child td { border-bottom: 0; }
.preview-table tbody tr:hover { background: rgba(50,135,255,.055); }
.import-message { line-height: 1.55; }
.import-message.success { border-color: rgba(57,217,138,.45); background: rgba(57,217,138,.08); }
.import-message.error { border-color: rgba(255,94,94,.45); background: rgba(255,94,94,.08); }
.import-message h3 { margin-bottom: 7px; }
@media (max-width: 980px) { .import-layout { grid-template-columns: 1fr; } .import-summary { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) { .form-grid.two-column, .import-summary { grid-template-columns: 1fr; } .preview-header { align-items: flex-start; flex-direction: column; } .preview-actions { width: 100%; } .preview-actions button { flex: 1; } }
