.theme2 {
  --bg: #F4F6F3;
  --surface: #FFFFFF;
  --primary: #6a994e;      /* green CTA */
  --accent: #a7c957;
  --text: #253225;
  --muted: #6e7769;
  --border: #cdd3c8;
  --success: #386641;
  --danger: #bc4749;
  --highlight: #fff3b0;
  --muted-weak: rgba(37,50,37,0.06);
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* hide/show */
.theme2 nav { display: none; }
.theme2 .container-fluid { margin-left: auto; }
.theme2 .file-search-bar { display: none; }
.theme2 .default-headers { display: none; }
.theme2 .default-row { display: none; }
.theme2 .theme2-headers { display: table-row !important; }
.theme2 .theme2-row { display: table-row !important; }

/* Surfaces */
.theme2 .login-card,
.theme2 .message-card,
.theme2 .list-group-item,
.theme2 .user-list-table,
.theme2 .file-list-table,
.theme2 .table-leaderboard,
.theme2 .charts .chart-container,
.theme2 .totals .stat-container {
  background: var(--surface);
  box-shadow: 0 10px 20px var(--muted-weak);
  color: var(--text);
}

/* Dropzone */
.theme2 .dropzone { border: 2px dashed var(--accent); background: var(--surface); }

/* Inputs and autofill */
.theme2 input { color: var(--text); }
.theme2 input:-webkit-autofill,
.theme2 input:-webkit-autofill:hover,
.theme2 input:-webkit-autofill:focus,
.theme2 input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--surface) inset !important;
}

/* Daterangepicker */
.theme2 .daterangepicker td.active,
.theme2 .daterangepicker td.active:hover { background-color: var(--primary); color:#fff; }
.theme2 .daterangepicker .applyBtn { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.theme2 .daterangepicker .cancelBtn { color: var(--primary); }

/* Floating label */
.theme2 .floating-label,
.theme2 .floating-label-field--s3+.floating-label { color: var(--text); }
.theme2 .floating-label-field--s3 { border: 1px solid var(--border); color: var(--text); }
.theme2 .floating-label-field--s3:focus,
.theme2 .floating-label-field--s3:not(:placeholder-shown) { border-color: var(--primary); }
.theme2 .floating-label-field--s3:focus + .floating-label,
.theme2 .floating-label-field--s3:not(:placeholder-shown) + .floating-label { background: var(--surface); color: var(--text); }

/* Pagination */
.theme2 .pagination .page-item.active .page-link { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.theme2 .pagination .page-item .page-link { color: var(--primary); }

/* Current file */
.theme2 .current-file { background: var(--surface); border: 1px solid var(--success); }
.theme2 .current-file .file-name { color: var(--accent); }
.theme2 .current-file a { color: var(--success); }

/* Dashboard indicators */
.theme2 .dashboard .gooddata-num { color: var(--success); }
.theme2 .dashboard .baddata-num { color: var(--danger); }

/* List group items */
.theme2 .list-group-item { background: var(--surface); }
.theme2 .list-group-item:hover { box-shadow: 2px 4px 16px rgba(0,0,0,0.12); transform: scale3d(1.05,1.05,1.05); }

/* Table-leaderboard header row */
.theme2 .table-leaderboard tbody tr:first-child { background-color: var(--accent); color: #fff; opacity: 0.9; }
.theme2 .table-leaderboard tbody tr:first-child td:first-child div { background: #557a2b; border: 1px solid #557a2b; }

/* Login card button */
.theme2 .login-card .signin-btn { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Side nav */
.theme2 .side-nav { background: var(--surface); box-shadow: 10px 0 20px rgba(37,50,37,0.06); }
.theme2 .side-nav .nav-item.active { background-color: var(--bg); }

/* Buttons */
.theme2 .acceptBtn,
.theme2 .saveBtn,
.theme2 .rejectBtn,
.theme2 .riskyBtn,
.theme2 .confirmDelBtn { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Export/outline */
.theme2 .exportRecordsBtn { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }

/* Select arrows */
.theme2 #exportRecordsModal select,
.theme2 #addUserModal select,
.theme2 #editUserModal select { 
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 60%),
    linear-gradient(135deg, var(--primary) 40%, transparent 50%); 
}

/* Error text */
.theme2 .error-div { color: #b00020; }

/* Exclamation */
.theme2 .exclamation-circle-active { color: var(--primary); }

/* Loader */
.theme2 .lds-ring div { border-color: var(--primary) transparent transparent transparent; }

/* Audit campaign button */
.theme2 .audit-campaign-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  width: 160px;
  height: 56px;
  font-size: 15px;
  border-radius: 8px;
  transition: all .18s ease;
}
.theme2 .audit-campaign-btn:hover { background: #558a3f; transform: translateY(-1px); }
.theme2 .audit-campaign-btn:focus { outline: 3px solid rgba(106,153,78,0.14); outline-offset: 2px; }


/* Theme 2 — Sage Green button overrides */
.theme2 .user-list-table .deleteBtn,
.theme2 .user-list-table .editBtn,
.theme2 .user-list-table .reviewBtn,
.theme1 .generateSignalsBtn,
.theme2 .confirmDelBtn,
.theme2 .addUserBtn,
.theme2 .confirmAddUserBtn,
.theme2 .uploadLeadsBtn,
.theme2 .confirmUploadLeadsBtn,
.theme2 .uploadAddressesBtn,
.theme2 .confirmUploadAddressesBtn,
.theme2 .uploadPhoneNumbersBtn,
.theme2 .confirmUploadPhoneNumbersBtn,
.theme2 .confirmAppendBlacklistBtn,
.theme2 .confirmClearListBtn,
.theme2 .advancedExportBlacklistBtn,
.theme2 .exportFileBtn,
.theme2 .confirmUpdateUserBtn,
.theme2 .emailValidationBtn,
.theme2 .appendBlacklistBtn,
.theme2 .clearBlacklistBtn,
.theme2 .removeBlacklistBtn,
.theme2 .openConfirmRemoveBlacklistBtn,
.theme2 .confirmRemoveBlacklistBtn,
.theme2 .appendWhitelistBtn,
.theme2 .clearWhitelistBtn,
.theme2 .removeWhitelistBtn,
.theme2 .openConfirmRemoveWhitelistBtn,
.theme2 .confirmRemoveWhitelistBtn,
.theme2 .confirmAppendWhitelistBtn,
.theme2 .exportWhitelistBtn,
.theme2 .swapBtn,
.theme2 .linkedinUrlBtn,
.theme2 .confirmSwapBtn,
.theme2 .advancedExportWhitelistBtn,
.theme2 .appendPhonelistBtn,
.theme2 .removePhonelistBtn,
.theme2 .exportPhonelistBtn,
.theme2 .advancedExportPhonelistBtn,
.theme2 .confirmAppendPhonelistBtn,
.theme2 .openConfirmRemovePhonelistBtn,
.theme2 .confirmRemovePhonelistBtn,
.theme2 .exportLeadsBtn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  height: 56px;
  width: 160px;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .12s ease, filter .12s ease;
}
.theme2 .user-list-table .showFullEmailBtn { width: 95px; }
.theme2 .user-list-table .editBtn,
.theme2 .user-list-table .reviewBtn,
.theme2 .user-list-table .deleteBtn { width: 65px; padding: 8px 10px; font-size: 13px; }

/* exportRecordsBtn outlined */
.theme2 .exportRecordsBtn {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

/* Hover / focus / disabled */
.theme2 .user-list-table .editBtn:hover,
.theme2 .confirmDelBtn:hover,
.theme2 .uploadLeadsBtn:hover,
.theme2 .appendBlacklistBtn:hover { filter: brightness(.94); transform: translateY(-1px); }

.theme2 .user-list-table .deleteBtn:hover { filter: brightness(.92); transform: translateY(-1px); }

.theme2 .user-list-table .editBtn:focus,
.theme2 .confirmDelBtn:focus,
.theme2 .exportRecordsBtn:focus {
  outline: 3px solid rgba(106,153,78,0.14);
  outline-offset: 2px;
}

.theme2 .user-list-table .editBtn:disabled,
.theme2 .confirmDelBtn:disabled,
.theme2 .exportRecordsBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
