/* ============================================
   DATA MANAGER - MODERN ADMIN THEME
   Light Mode with Gradient & Glassmorphism
============================================ */

:root {
    /* Modern Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-info: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

    /* Base Colors */
    --primary: #667eea;
    --secondary: #764ba2;
    --success: #00f2fe;
    --info: #38f9d7;
    --warning: #fee140;
    --danger: #f5576c;

    /* Neutral Colors */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-text: #2d3748;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Spacing */
    --sidebar-width: 280px;
    --header-height: 70px;
    --border-radius: 16px;
    --border-radius-sm: 12px;
    --border-radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-attachment: fixed;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   LAYOUT
============================================ */

.wrapper {
    display: flex;
    min-height: 100vh;
}

/* ============================================
   SIDEBAR - Modern & Glassmorphism
============================================ */

.sidebar {
    width: var(--sidebar-width);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 4px 0 20px var(--shadow);
}

.sidebar-logo {
    padding: 20px 25px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    animation: pulse-logo 3s ease-in-out infinite;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.sidebar-logo-text h2 {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-logo-text p {
    font-size: 11px;
    color: var(--gray);
    margin-top: -2px;
}

/* Navigation Menu */
.sidebar-nav {
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    padding: 0 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.nav-menu {
    list-style: none;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: white;
    transform: translateX(5px);
}

.nav-link.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-link i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.nav-badge {
    margin-left: auto;
    padding: 3px 10px;
    background: var(--gradient-success);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* ============================================
   MAIN CONTENT
============================================ */

.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
    transition: all 0.4s ease;
}

/* ============================================
   HEADER
============================================ */

.header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 30px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 20px var(--shadow);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-title h1 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 13px;
    color: var(--gray);
    margin-top: -5px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-search {
    position: relative;
}

.header-search input {
    width: 300px;
    padding: 10px 40px 10px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    background: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.header-search i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.header-icon-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-lg);
}

.header-icon-btn i {
    font-size: 20px;
    color: var(--dark-text);
}

.header-icon-btn .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    font-size: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: white;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px var(--shadow);
}

.header-user:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-lg);
}

.header-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.header-user-info h4 {
    font-size: 14px;
    font-weight: 600;
}

.header-user-info p {
    font-size: 12px;
    color: var(--gray);
    margin-top: -2px;
}

/* ============================================
   CONTENT AREA
============================================ */

.content {
    padding: 30px;
}

/* ============================================
   STATS CARDS - Premium Design
============================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--light-gray);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px var(--shadow-lg);
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.stat-card-icon {
    width: 55px;
    height: 55px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-card.primary .stat-card-icon {
    background: var(--gradient-primary);
}

.stat-card.success .stat-card-icon {
    background: var(--gradient-success);
}

.stat-card.info .stat-card-icon {
    background: var(--gradient-info);
}

.stat-card.warning .stat-card-icon {
    background: var(--gradient-warning);
}

.stat-card.secondary .stat-card-icon {
    background: var(--gradient-secondary);
}

.stat-card-trend {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-card-trend.up {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
}

.stat-card-trend.down {
    background: rgba(245, 87, 108, 0.15);
    color: #f5576c;
}

.stat-card-body h3 {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-body .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.stat-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
    font-size: 13px;
    color: var(--gray);
}

.stat-card-footer i {
    font-size: 14px;
}

/* ============================================
   CARDS & PANELS
============================================ */

.card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: 25px;
    overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
    opacity: 1 !important; /* Force visibility */
}

.card:hover {
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    font-size: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-body {
    padding: 25px;
}

/* ============================================
   BUTTONS - Modern Design
============================================ */

.btn {
    padding: 12px 28px;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.btn-warning {
    background: var(--gradient-warning);
    color: var(--dark-text);
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 16px;
}

/* ============================================
   FORMS - Modern Input Design
============================================ */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.file-upload-area {
    border: 3px dashed var(--light-gray);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--light-bg);
}

.file-upload-area:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.02);
}

.file-upload-icon {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.file-upload-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.file-upload-text p {
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   TABLE - Modern Design
============================================ */

.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius);
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #5568d3;
}

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead {
    background: var(--gradient-primary);
}

.table thead th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table thead th:first-child {
    border-top-left-radius: var(--border-radius-sm);
}

.table thead th:last-child {
    border-top-right-radius: var(--border-radius-sm);
}

.table tbody tr {
    transition: all 0.2s ease;
    cursor: default;
}

.table tbody tr:hover {
    background: rgba(102, 126, 234, 0.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 14px;
    vertical-align: middle;
}

.table tbody td a {
    transition: color 0.2s ease;
}

.table tbody td a:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Responsive table improvements */
@media (max-width: 1400px) {
    .table {
        font-size: 12px;
    }

    .table thead th,
    .table tbody td {
        padding: 10px 12px;
    }
}

@media (max-width: 1200px) {
    .content > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}

/* ============================================
   BADGES & TAGS
============================================ */

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-primary {
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary);
}

.badge-success {
    background: rgba(67, 233, 123, 0.15);
    color: #43e97b;
}

.badge-danger {
    background: rgba(245, 87, 108, 0.15);
    color: #f5576c;
}

.badge-warning {
    background: rgba(254, 225, 64, 0.25);
    color: #d4a017;
}

/* ============================================
   PROGRESS BAR
============================================ */

.progress-bar-container {
    width: 100%;
    height: 40px;
    background: #f7fafc;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    position: relative;
    z-index: 1;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ============================================
   ANIMATIONS
============================================ */

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

/* ============================================
   PROGRESS BAR
============================================ */

.progress {
    height: 10px;
    background: var(--light-gray);
    border-radius: 20px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.6s ease;
    border-radius: 20px;
}

/* ============================================
   RESPONSIVE DESIGN
============================================ */

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-search input {
        width: 200px;
    }

    .header-title h1 {
        font-size: 20px;
    }

    .stat-card-body .stat-number {
        font-size: 28px;
    }

    .content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0 15px;
    }

    .header-search {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .header-user-info {
        display: none;
    }
}

/* ============================================
   LOADING SPINNER
============================================ */

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   COLUMN MAPPING MODAL
============================================ */

.column-mapping-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.column-mapping-modal.show {
    opacity: 1;
}

.column-mapping-content {
    background: white;
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.column-mapping-modal.show .column-mapping-content {
    transform: scale(1);
}

.column-mapping-header {
    padding: 25px 30px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.column-mapping-header h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.column-mapping-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.column-mapping-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.column-mapping-item {
    display: grid;
    grid-template-columns: 2fr auto 2fr;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: var(--light-bg);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
}

.column-mapping-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.1);
}

.column-source {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.column-source strong {
    font-size: 15px;
    color: var(--dark-text);
}

.column-source small {
    font-size: 12px;
    color: var(--gray);
}

.column-arrow {
    font-size: 20px;
    color: var(--primary);
}

.column-target {
    width: 100%;
}

.column-select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 500;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.column-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.column-select:hover {
    border-color: var(--primary);
}

.sample-data-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.sample-data-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-text);
}

.sample-data-table {
    overflow-x: auto;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--light-gray);
}

.sample-data-table table {
    width: 100%;
    border-collapse: collapse;
}

.sample-data-table th {
    background: var(--light-bg);
    padding: 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
    border-bottom: 2px solid var(--light-gray);
}

.sample-data-table td {
    padding: 12px;
    font-size: 13px;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
}

.sample-data-table tr:last-child td {
    border-bottom: none;
}

.column-mapping-footer {
    padding: 20px 30px;
    border-top: 2px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    background: var(--light-bg);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.upload-success {
    text-align: center;
    padding: 40px 20px;
}

.upload-success h3 {
    font-size: 24px;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.upload-success p {
    font-size: 16px;
    color: var(--gray);
}

/* ============================================
   UTILITIES
============================================ */

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.p-20 { padding: 20px; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
