/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.header h1 i {
    color: #667eea;
    margin-right: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 300;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

/* 検索セクション */
.search-section {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.search-box {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 3rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.clear-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6c757d;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #f8f9fa;
    color: #dc3545;
}

.filter-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 統計セクション */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    border-radius: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 300;
}

/* 組織階層表示 */
.org-hierarchy {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    min-height: 400px;
    border: 2px solid #e9ecef;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 200px;
    color: #6c757d;
    gap: 1rem;
}

.loading i {
    font-size: 2rem;
    color: #667eea;
}

/* 組織ノード */
.org-node {
    margin-bottom: 0.5rem;
}

.org-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.org-item:hover {
    border-color: #667eea;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
    transform: translateX(5px);
}

.org-item.has-children::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #667eea;
    border-radius: 2px;
}

.toggle-icon {
    font-size: 1rem;
    color: #667eea;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.toggle-icon.expanded {
    transform: rotate(90deg);
}

.org-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.group-id {
    font-weight: 600;
    color: #667eea;
    font-size: 0.9rem;
}

.group-name {
    font-weight: 500;
    color: #2c3e50;
    font-size: 1rem;
}

.level-indicator {
    background: #667eea;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 子要素 */
.org-children {
    margin-left: 2rem;
    margin-top: 0.5rem;
    border-left: 2px solid #e9ecef;
    padding-left: 1rem;
    display: none;
}

.org-children.expanded {
    display: block;
}

/* 検索結果のハイライト */
.highlight {
    background-color: #fff3cd;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-weight: 600;
}

.no-results {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 2rem;
}

/* フッター */
.footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-info {
    color: #6c757d;
    font-size: 0.9rem;
}

.footer-info i {
    color: #667eea;
    margin-right: 0.5rem;
}

/* メンテナンス・管理セクション */
.management-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #e9ecef;
}

.management-group h3 {
    color: #495057;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.management-group h3 i {
    color: #667eea;
}

.management-controls {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 137, 54, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.btn-info:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 101, 101, 0.3);
}

.btn-purple {
    background: linear-gradient(135deg, #9f7aea 0%, #805ad5 100%);
    color: white;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #805ad5 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(159, 122, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* 組織アイテムの操作ボタン */
.org-actions {
    display: flex;
    gap: 0.3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.org-item:hover .org-actions {
    opacity: 1;
}

.action-btn {
    background: none;
    border: none;
    padding: 0.3rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.action-btn:hover {
    transform: scale(1.1);
}

.action-btn.edit {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.action-btn.edit:hover {
    background: rgba(102, 126, 234, 0.2);
}

.action-btn.delete {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.1);
}

.action-btn.delete:hover {
    background: rgba(229, 62, 62, 0.2);
}

.action-btn.add-child {
    color: #48bb78;
    background: rgba(72, 187, 120, 0.1);
}

.action-btn.add-child:hover {
    background: rgba(72, 187, 120, 0.2);
}

/* モーダルダイアログ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-confirm {
    max-width: 400px;
}

.modal-large {
    max-width: 800px;
    width: 95%;
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* フォームスタイル */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.confirm-details {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.confirm-details strong {
    color: #495057;
}

/* 通知システム */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-icon {
    font-size: 1.2rem;
}

.notification.success .notification-icon {
    color: #48bb78;
}

.notification.error .notification-icon {
    color: #e53e3e;
}

.notification.warning .notification-icon {
    color: #ed8936;
}

.notification.info .notification-icon {
    color: #4299e1;
}

.notification-message {
    flex: 1;
    font-weight: 500;
    color: #2c3e50;
}

/* ドラッグ&ドロップ */
.org-item {
    cursor: grab;
}

.org-item:active {
    cursor: grabbing;
}

.org-item.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.org-item.drag-over {
    border-color: #48bb78;
    background: rgba(72, 187, 120, 0.1);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(72, 187, 120, 0.3);
}

.org-item.drag-over::after {
    content: '↳ ここにドロップ';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: #48bb78;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* インポート機能 */
.import-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step.completed:not(:last-child)::after {
    background: #48bb78;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step.completed .step-number {
    background: #48bb78;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #6c757d;
    text-align: center;
}

.step.active .step-label {
    color: #2c3e50;
}

.import-step {
    display: none;
    min-height: 400px;
}

.import-step.active {
    display: block;
}

/* ファイルドロップゾーン */
.file-drop-zone {
    border: 3px dashed #ccc;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.file-drop-zone i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.file-drop-zone:hover i,
.file-drop-zone.drag-over i {
    color: #667eea;
}

.file-drop-zone h3 {
    margin-bottom: 0.5rem;
    color: #495057;
}

.file-drop-zone p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.file-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f5e8;
    border-radius: 10px;
    border: 1px solid #48bb78;
}

.selected-file {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.selected-file i {
    color: #48bb78;
    font-size: 1.2rem;
}

/* データマッピング */
.mapping-container {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mapping-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 1rem;
    align-items: center;
}

.mapping-item label {
    font-weight: 500;
    color: #495057;
}

.mapping-select {
    padding: 0.5rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
}

.mapping-select:focus {
    outline: none;
    border-color: #667eea;
}

.mapping-required {
    background: #dc3545;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.mapping-optional {
    background: #6c757d;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* サンプルデータテーブル */
.sample-data {
    margin-top: 2rem;
}

.sample-table-container,
.preview-table-container {
    max-height: 300px;
    overflow: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.sample-table,
.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.sample-table th,
.sample-table td,
.preview-table th,
.preview-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
    text-align: left;
}

.sample-table th,
.preview-table th {
    background: #f8f9fa;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
}

.sample-table tbody tr:hover,
.preview-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.preview-table tbody tr.error-row {
    background: rgba(229, 62, 62, 0.1);
}

.preview-table tbody tr.error-row:hover {
    background: rgba(229, 62, 62, 0.15);
}

/* プレビュー統計 */
.preview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.preview-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

.error-section {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 10px;
    padding: 1rem;
}

.error-list {
    max-height: 250px;
    overflow-y: auto;
}

.error-item {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 5px;
    border-left: 4px solid #e53e3e;
    font-size: 0.85rem;
}

.error-item.warning {
    border-left-color: #ed8936;
    background: #fffbf0;
}

/* インポート設定 */
.import-options {
    margin-bottom: 2rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.option-group small {
    display: block;
    margin-top: 0.25rem;
    margin-left: 2.75rem;
    color: #6c757d;
    font-size: 0.8rem;
}

.import-summary {
    background: #e8f5e8;
    border: 1px solid #48bb78;
    border-radius: 10px;
    padding: 1.5rem;
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .search-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: unset;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        justify-content: center;
    }
    
    .org-children {
        margin-left: 1rem;
        padding-left: 0.5rem;
    }
    
    .management-section {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .management-controls {
        justify-content: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
    
    .org-actions {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 1.7rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .org-item {
        padding: 0.8rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .org-info {
        width: 100%;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: unset;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .modal-large {
        width: 98%;
        margin: 0.5rem;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
    }
    
    .mapping-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .import-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step {
        min-width: 120px;
    }
}