
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body { 
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
      background: #e8eaf6;
      min-height: 100vh;
      color: #212121;
      font-size: 16px;
      line-height: 1.6;
    }
    
    .wrapper {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }
    
    /* Header - Simplified */
    .header {
      background: linear-gradient(135deg, #5e35b1 0%, #512da8 100%);
      color: white;
      padding: 24px 30px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    
    .header-content {
      max-width: 95%;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
    }
    
    .header h1 {
      font-size: 1.75em;
      font-weight: 600;
    }
    .header-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }
    
    .link-button {
      display: inline-block;
      background: rgba(255,255,255,0.15);
      color: white;
      padding: 11px 20px;
      text-decoration: none;
      border-radius: 6px;
      font-weight: 500;
      font-size: 14px;
      transition: background 0.2s;
      border: 1px solid rgba(255,255,255,0.25);
    }
    
    /* Import Configuration Section */
    .import-config-section {
      background: white;
      margin: 3px;
      margin-bottom: 20px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      overflow: hidden;
    }
    
    .import-config-content {
      padding: 24px 66px 24px 66px;
    }
    
    .import-config-content h3 {
      margin-bottom: 24px;
      color: #212121;
      font-size: 1.3em;
      font-weight: 600;
    }
    
    .import-form {
      display: grid;
      grid-template-columns: 150px 1fr 150px;
      gap: 20px;
      align-items: end;
    }
    
    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .form-group label {
      font-weight: 600;
      color: #424242;
      font-size: 14px;
    }
    
    .form-group input[type="number"],
    .form-group input[type="text"],
    .form-group select {
      padding: 12px 16px;
      border: 2px solid #e0e0e0;
      border-radius: 8px;
      font-size: 15px;
      font-family: inherit;
      transition: border-color 0.2s;
      background: #fff;
      color: #212121;
      height: 46px;
    }
    
    .form-group input:focus,
    .form-group select:focus {
      outline: none;
      border-color: #5e35b1;
      background: #fafafa;
    }
    
    .form-actions {
      display: flex;
      gap: 12px;
      grid-column: 1 / -1;
    }
    
    .save-btn,
    .import-btn {
      padding: 12px 24px;
      border: none;
      border-radius: 8px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      white-space: nowrap;
    }
    
    .save-btn {
      background: #43a047;
      color: white;
      flex: 1;
    }
    
    .save-btn:hover {
      background: #388e3c;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(67,160,71,0.3);
    }
    
    .import-btn {
      background: #1976d2;
      color: white;
      flex: 1;
    }
    
    .import-btn:hover {
      background: #1565c0;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(25,118,210,0.3);
    }
    
    .save-message {
      margin-top: 16px;
      padding: 12px 16px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      display: none;
    }
    
    .save-message.success {
      background: #e8f5e9;
      color: #2e7d32;
      border: 1px solid #a5d6a7;
      display: block;
    }
    
    .save-message.error {
      background: #ffebee;
      color: #c62828;
      border: 1px solid #ef9a9a;
      display: block;
    }
    
    /* Main Content */
    .main-content {
      flex: 1;
      padding: 24px;
      background: #e8eaf6;
    }
    
    .content-wrapper {
      max-width: 90%;
      margin: 0 auto;
    }
    
    /* Filter Section */
    .filter-section {
      background: white;
      padding: 24px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      margin-bottom: 24px;
    }
    
    .filter-section h3 {
      margin-bottom: 18px;
      color: #212121;
      font-size: 1.3em;
      font-weight: 600;
    }
    
    .filter-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }
    
    .user-btn {
      display: inline-flex;
      align-items: center;
      padding: 12px 20px;
      background: #1976d2;
      color: white;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 500;
      font-size: 15px;
      transition: background 0.2s;
      box-shadow: 0 2px 6px rgba(25,118,210,0.25);
    }
    
    .user-btn:hover {
      background: #1565c0;
    }
    
    .user-btn.active {
      background: #f57c00;
      box-shadow: 0 4px 10px rgba(245,124,0,0.35);
    }
    
    .user-btn .badge {
      display: inline-block;
      background: rgba(255,255,255,0.25);
      padding: 3px 11px;
      border-radius: 14px;
      font-size: 13px;
      margin-left: 10px;
      font-weight: 600;
    }
    
    /* Stats Grid */
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
      margin-bottom: 24px;
    }
    
    .stat-card {
      padding: 14px;
      border-radius: 12px;
      color: white;
    }
    
    .stat-card-leads {
      background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
      box-shadow: 0 4px 12px rgba(30,136,229,0.35);
    }
    
    .stat-card-email {
      background: linear-gradient(135deg, #00897b 0%, #00695c 100%);
      box-shadow: 0 4px 12px rgba(0,137,123,0.35);
    }
    
    .stat-card h3 {
      font-size: 1.2em;
      margin-bottom: 5px;
      font-weight: 600;
    }
    
    .stat-items {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    
    .stat-item {
      text-align: center;
      padding: 7px;
      border-radius: 8px;
    }
    
    /* Leads Manager stat items - 4 different colors */
    .stat-card-leads .stat-item-1 {
      background: rgba(255,255,255,0.25);
    }
    
    .stat-card-leads .stat-item-2 {
      background: linear-gradient(135deg, rgba(76,175,80,0.5) 0%, rgba(56,142,60,0.5) 100%);
    }
    
    .stat-card-leads .stat-item-3 {
      background: linear-gradient(135deg, rgba(255,152,0,0.5) 0%, rgba(245,124,0,0.5) 100%);
    }
    
    .stat-card-leads .stat-item-4 {
      background: linear-gradient(135deg, rgba(244,67,54,0.5) 0%, rgba(211,47,47,0.5) 100%);
    }
    
    /* Email Manager stat items - 3 different colors */
    .stat-card-email .stat-item-5 {
      background: rgba(255,255,255,0.25);
    }
    
    .stat-card-email .stat-item-6 {
      background: linear-gradient(135deg, rgba(255,193,7,0.5) 0%, rgba(255,160,0,0.5) 100%);
    }
    
    .stat-card-email .stat-item-7 {
      background: linear-gradient(135deg, rgba(102,187,106,0.5) 0%, rgba(76,175,80,0.5) 100%);
    }
    
    .tonm {
    background: linear-gradient(135deg, #5e35b1 0%, #512da8 100%);
      padding: 10px 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      position: sticky;
      top: 0;
      z-index: 200;
    }
    .stat-value {
      font-size: 1.0em;
      font-weight: 600;
      display: block;
      color: white;
      line-height: 0.2;
    }
    
    .stat-label {
      font-size: 13px;
      color: rgba(255,255,255,0.85);
      display: block;
      margin-top: 6px;
      font-weight: 500;
    }
    
    /* Table Section */
    .table-section {
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      overflow: hidden;
      margin-bottom: 24px;
    }
    
    .table-header {
      padding: 24px;
      border-bottom: 2px solid #f5f5f5;
    }
    
    .table-header h3 {
      font-size: 1.4em;
      color: #212121;
      font-weight: 600;
    }
    
    .table-container {
      overflow-x: auto;
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      background: #fff;
    }
    
    th, td {
      padding: 8px 10px;
      text-align: center;
      border-bottom: 1px solid #e0e0e0;
      font-size: 15px;
      vertical-align: middle;
    }
    
    th {
      background: linear-gradient(135deg, #ff6f00 0%, #f57c00 100%);
      color: white;
      font-weight: 600;
      white-space: nowrap;
      font-size: 15px;
      text-transform: uppercase;
      position: sticky;
      top: 0;
    }
    
    tbody tr {
      transition: background 0.15s;
    }
    
    tbody tr:nth-child(even) {
      background: #f5f5f5;
    }
    
    tbody tr:nth-child(odd) {
      background: #ffffff;
    }
    
    tbody tr:hover {
      background: #f0f7ff;
    }
    
    td {
      color: #212121;
    }
    
    /* Cell Content */
    .cell-content {
      display: flex;
      flex-direction: column;
      gap: 6px;
      align-items: center;
    }
    
    /* Input Styles */
    input[type="text"],
    textarea {
      padding: 6px 10px;
      border: 2px solid #e0e0e0;
      border-radius: 6px;
      font-size: 12px;
      font-family: inherit;
      transition: border-color 0.2s;
      width: 100%;
      background: #fff;
      text-align: center;
      color: #212121;
      height: 38px;
      line-height: 1.4;
    }
    
    input[type="text"]:focus,
    textarea:focus {
      outline: none;
      border-color: #5e35b1;
      background: #fafafa;
    }
    
    textarea {
      resize: vertical;
      min-height: 38px;
      line-height: 1.4;
    }
    
    /* Button Styles */
    .update-btn {
      padding: 8px 14px;
      background: #43a047;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 13px;
      font-weight: 600;
      transition: background 0.2s;
      white-space: nowrap;
      width: 100%;
      text-transform: uppercase;
    }
    
    .update-btn:hover {
      background: #388e3c;
    }
    
    .update-btn:active {
      transform: scale(0.98);
    }
    
    .update-btn:disabled {
      background: #bdbdbd;
      cursor: not-allowed;
    }
    
    /* Column Widths - Optimized */
    .col-id { width: 20px; font-weight: 600; color: #5e35b1; }
    .col-user { width: 70px; font-weight: 600; }
    .col-name { width: 70px; }
    .col-email { width: 170px; }
    .col-created { width: 120px; }
    .col-process { width: 70px; }
    .col-import { width: 70px; }
    .col-note { width: 220px; }
    .col-admin-note { width: 480px; }
    .col-status { width: 70px; }
    
    /* Empty State */
    .empty-state {
      text-align: center;
      padding: 70px 20px;
      color: #9e9e9e;
    }
    
    .empty-state-icon {
      font-size: 3.5em;
      margin-bottom: 16px;
    }
    
    /* Footer */
    .footer {
      background: white;
      padding: 18px 24px;
      text-align: center;
      color: #757575;
      border-top: 1px solid #e0e0e0;
      font-size: 14px;
    }
    
    /* Responsive */
    @media (max-width: 1200px) {
      .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      }
    }
    
    @media (max-width: 768px) {
      .header-content, .content-wrapper {
        max-width: 95%;
      }
      
      .main-content {
        padding: 16px;
      }
      
      .filter-buttons {
        flex-direction: column;
      }
      
      .user-btn {
        width: 100%;
        justify-content: space-between;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
      }
      
      table {
        font-size: 14px;
      }
      
      th, td {
        padding: 10px 8px;
        font-size: 14px;
      }
      
      .import-form {
        grid-template-columns: 1fr;
      }
      
      .form-actions {
        flex-direction: column;
      }
    }
    
    /* Scrollbar */
    .table-container::-webkit-scrollbar {
      width: 10px;
      height: 10px;
    }
    
    .table-container::-webkit-scrollbar-track {
      background: #f5f5f5;
    }
    
    .table-container::-webkit-scrollbar-thumb {
      background: #ff6f00;
      border-radius: 5px;
    }
    /* Bulk Update Section */
.bulk-update-section {
  background: white;
  margin: 3px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}

.bulk-update-content {
  padding: 24px 66px;
}

.bulk-update-content h3 {
  margin-bottom: 24px;
  color: #212121;
  font-size: 1.3em;
  font-weight: 600;
}

.bulk-form {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.bulk-form textarea {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  resize: vertical;
  min-height: 150px;
  background: #fff;
  color: #212121;
  line-height: 1.5;
}

.bulk-form textarea:focus {
  outline: none;
  border-color: #5e35b1;
  background: #fafafa;
}

.bulk-form textarea::placeholder {
  color: #9e9e9e;
  font-style: italic;
}

.bulk-update-btn {
  padding: 12px 24px;
  background: #ff6f00;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  grid-column: 1 / -1;
  margin-top: 10px;
}

.bulk-update-btn:hover {
  background: #f57c00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,111,0,0.3);
}

.bulk-update-btn:disabled {
  background: #bdbdbd;
  cursor: not-allowed;
  transform: none;
}

.bulk-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  grid-column: 1 / -1;
}

.bulk-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  display: block;
}

.bulk-message.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
  display: block;
}

.bulk-message.info {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
  display: block;
}

.bulk-message ul {
  margin-top: 8px;
  margin-left: 20px;
}

.bulk-message li {
  margin: 4px 0;
  font-family: 'Courier New', monospace;
  font-size: 13px;
}


/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */
/* login page css */

.master_ji{
    
      display: flex;
      align-items: center;
      justify-content: center;
}
.auth-wrapper {
            padding-top:50px;
            width: 100%;
            max-width: 420px;
            animation: slideIn 0.5s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .secure-panel {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        }

        .panel-header {
            text-align: center;
            margin-bottom: 2rem;
        }

        .panel-header h1 {
            font-size: 1.75rem;
            color: #2d3748;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .lock-icon {
            font-size: 2rem;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }

        .alert-msg {
            background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
            color: white;
            padding: 1rem;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            font-size: 0.9rem;
            text-align: center;
            animation: shake 0.5s;
            box-shadow: 0 4px 15px rgba(238, 90, 111, 0.4);
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .login-interface {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .credential-field {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .field-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: #4a5568;
            margin-left: 0.25rem;
        }

        .input-ctrl {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f7fafc;
        }

        .input-ctrl:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
            transform: translateY(-2px);
        }

        .input-ctrl:hover {
            border-color: #cbd5e0;
        }

        .submit-ctrl {
            width: 100%;
            padding: 1rem;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 0.5rem;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        }

        .submit-ctrl:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }

        .submit-ctrl:active {
            transform: translateY(0);
        }

        /* Mobile Responsive */
        @media (max-width: 480px) {
            .secure-panel {
                padding: 2rem 1.5rem;
                border-radius: 16px;
            }

            .panel-header h1 {
                font-size: 1.5rem;
            }

            .lock-icon {
                font-size: 1.75rem;
            }

            .input-ctrl {
                padding: 0.75rem 0.875rem;
                font-size: 0.95rem;
            }

            .submit-ctrl {
                padding: 0.875rem;
                font-size: 0.95rem;
            }

            .credential-field {
                gap: 0.4rem;
            }

            .login-interface {
                gap: 1.25rem;
            }
        }

        @media (max-width: 360px) {
            .secure-panel {
                padding: 1.5rem 1.25rem;
            }

            .panel-header h1 {
                font-size: 1.35rem;
            }
        }

        /* Focus visible for accessibility */
        .submit-ctrl:focus-visible,
        .input-ctrl:focus-visible {
            outline: 3px solid #667eea;
            outline-offset: 2px;
        }



 /* Delete Button */
.delete-btn {
    background: #e53935;
    color: white;
    border: none;
    padding: 6px 7px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    width: 65%;
}

.delete-btn:hover {
    background: #c62828;
    transform: scale(1.05);
}

.delete-btn:disabled {
    opacity: 0.9;
    cursor: not-allowed;
}

.col-action {
    width: 20px;
    text-align: center;
}