.theme1 {
  --bg: #F5F7FB;
  --surface: #FFFFFF;
  --primary: #0052cc;       /* main CTA / buttons */
  --accent: #00b8d9;        /* links / subtle accents */
  --text: #0b1a2b;          /* main body text */
  --muted: #6b778c;         /* subtle text */
  --border: #dfe6f3;
  --success: #36b37e;
  --danger: #de350b;
  --highlight: #ffeb3b;     /* for .highlight elements */
  --muted-weak: rgba(11,26,43,0.06);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* hide/show */
.theme1 nav { display: none; }
.theme1 .container-fluid { margin-left: auto; }
.theme1 .advancedExportBlacklistBtn { display: none; }
.theme1 .default-headers { display: none; }
.theme1 .default-row { display: none; }
.theme1 .theme1-headers { display: table-row !important; }
.theme1 .theme1-row { display: table-row !important; }

/* Generic surfaces */
.theme1 .login-card,
.theme1 .message-card,
.theme1 .list-group-item,
.theme1 .user-list-table,
.theme1 .file-list-table,
.theme1 .table-leaderboard,
.theme1 .charts .chart-container,
.theme1 .totals .stat-container,
.theme1 .table-outer-container .table-container {
  background: var(--surface);
  box-shadow: 0 10px 20px var(--muted-weak);
  border-radius: 8px;
  color: var(--text);
}

/* Dropzone */
.theme1 .dropzone {
  border: 2px dashed var(--primary);
  background: var(--surface);
}

/* Inputs / autofill */
.theme1 input { filter: none; color: var(--text); background: transparent; }
.theme1 input:-webkit-autofill,
.theme1 input:-webkit-autofill:hover,
.theme1 input:-webkit-autofill:focus,
.theme1 input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px var(--surface) inset !important;
}

/* Cancel/search button */
.theme1 input[type="search"i]:enabled:read-write::-webkit-search-cancel-button { opacity: 1; pointer-events: auto; }

/* Highlight / datepicker */
.theme1 .highlight { background-color: var(--highlight); color: #111; display: inline-block; }
.theme1 .daterangepicker td.active,
.theme1 .daterangepicker td.active:hover { background-color: var(--primary); color: #fff; }
.theme1 .daterangepicker .cancelBtn { color: var(--primary); }
.theme1 .daterangepicker .applyBtn,
.theme1 .daterangepicker .applyBtn:hover { background-color: var(--primary); border-color: var(--primary); color:#fff; }

/* Floating label */
.theme1 .floating-label { color: var(--muted); }
.theme1 .floating-label-field { color: rgba(11,26,43,0.85); }
.theme1 .floating-label-field--s3 { color: var(--text); border: 1px solid var(--border); background-color: transparent; }
.theme1 .floating-label-field--s3+.floating-label,
.theme1 .floating-label-field--s3:focus+.floating-label,
.theme1 .floating-label-field--s3:not(:placeholder-shown)+.floating-label {
  color: var(--text);
  background-color: var(--surface);
}
.theme1 .floating-label-field--s3:focus,
.theme1 .floating-label-field--s3:not(:placeholder-shown) { border-color: var(--primary); }

/* Modal borders */
.theme1 .modal-header { border-bottom: 0; }
.theme1 .modal-footer { border-top: 0; }

/* Pagination */
.theme1 .pagination .page-item.disabled .page-link { color: #CECECE; cursor: default; }
.theme1 .pagination .page-item.active .page-link { color: #FFFFFF; background-color: var(--primary); border-color: var(--primary); }
.theme1 .pagination .page-item .page-link { color: var(--primary); cursor: pointer; }

/* Current file */
.theme1 .current-file { background: var(--surface); border: 1px solid var(--success); color: var(--text); }
.theme1 .current-file .file-name { color: var(--accent); }
.theme1 .current-file a { color: var(--success); }

/* Dashboard numbers and icons */
.theme1 .dashboard .gooddata-num { color: var(--success); }
.theme1 .dashboard .baddata-num { color: var(--danger); }
.theme1 .dashboard .unsure-num { color: #CECECE; }
.theme1 .dashboard .section h6,
.theme1 .dashboard .total-num { color: var(--muted); }

/* List group items */
.theme1 .list-group-item { background: var(--surface); transition: transform .4s, box-shadow .4s; }
.theme1 .list-group-item:hover { box-shadow: 2px 4px 16px rgba(0,0,0,0.16); transform: scale3d(1.05,1.05,1.05); }

/* Table leaderboard first row */
.theme1 .table-leaderboard tbody tr:first-child { background-color: var(--primary); opacity: 0.85; color: white; }
.theme1 .table-leaderboard tbody tr:first-child td:first-child div { background: #003d99; border: 1px solid #003d99; color: #fff; }

/* Lists & table text */
.theme1 .list-group-item table .ext-col,
.theme1 .file-list-table tbody td,
.theme1 .user-list-table tbody { color: var(--muted); }

/* Login card */
.theme1 .login-card { background: var(--surface); box-shadow: 0 10px 20px var(--muted-weak); }
.theme1 .login-card .signin-btn { background: var(--primary); border-color: var(--primary); color: #fff; border-radius: 8px; }

/* Side nav */
.theme1 .side-nav { background: var(--surface); box-shadow: 10px 0 20px rgba(0,11,43,0.06); }
.theme1 .side-nav .nav-item { color: var(--muted); opacity: 0.7; }
.theme1 .side-nav .nav-item.active { background-color: var(--bg); border-radius: 8px; opacity: 1; }
.theme1 .side-nav .nav-item .nav-item-label { color: var(--text); }

/* Table header /th */
.theme1 .dashboard .list-group-item.has-table th { background: var(--text); color: #fff; border-radius: 2px; }

/* Buttons with default primary */
.theme1 .acceptBtn,
.theme1 .saveBtn,
.theme1 .rejectBtn,
.theme1 .riskyBtn,
.theme1 .confirmDelBtn,
.theme1 .addUserBtn,
.theme1 .confirmAddUserBtn,
.theme1 .uploadLeadsBtn,
.theme1 .exportRecordsBtn,
.theme1 .exportFileBtn,
.theme1 .emailValidationBtn { background: var(--primary); border-color: var(--primary); color: #fff; }

/* transparent/outlined exportRecordsBtn */
.theme1 .exportRecordsBtn { background-color: transparent; border: 2px solid var(--primary); color: var(--primary); }

/* Select arrows */
.theme1 #exportRecordsModal select,
.theme1 #addUserModal select,
.theme1 #editUserModal select,
.theme1 #appendBlacklistModal select,
.theme1 #appendWhitelistModal select,
.theme1 #appendPhonelistModal select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--primary) 60%),
    linear-gradient(135deg, var(--primary) 40%, transparent 50%);
}

/* Error div */
.theme1 #addUserModal .error-div,
.theme1 #editUserModal .error-div,
.theme1 #appendBlacklistModal .error-div { color: #d9534f; }

/* Small UI bits */
.theme1 .exclamation-circle-inactive { color: #CECECE; }
.theme1 .exclamation-circle-active { color: var(--primary); }
.theme1 .cancel-btn,
.theme1 .close-modal-btn { color: var(--primary); }

/* File statuses */
.theme1 .file-list-table tbody .file-status-complete { color: var(--success); font-weight: bold; }
.theme1 .file-list-table tbody .file-status-new { color: var(--text); font-weight: bold; }
.theme1 .file-list-table tbody .fa-ellipsis-v { color: var(--primary); cursor: pointer; }

/* Lds ring loader */
.theme1 .lds-ring div { border-color: var(--primary) transparent transparent transparent; }

/* Buttons that deviate: prio / notaval */
.theme1 .btn.btn-warning.prio { background-color: cornflowerblue !important; border-color: cornflowerblue !important; color:white !important; }
.theme1 .btn.btn-warning.notaval { background-color: crimson !important; border-color: crimson !important; color:white !important; }

/* Audit campaign button override */
.theme1 .audit-campaign-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  width: 160px;
  height: 56px;
  font-size: 15px;
  border-radius: 8px;
  transition: background .18s ease, transform .12s ease;
}
.theme1 .audit-campaign-btn:hover { background: #003d99; transform: translateY(-1px); }
.theme1 .audit-campaign-btn:focus { outline: 3px solid rgba(0,82,204,0.14); outline-offset: 2px; }
.theme1 .audit-campaign-btn:disabled { opacity: 0.6; cursor: not-allowed; }


/* Theme 1 — Modern Blue button overrides */
.theme1 .user-list-table .deleteBtn,
.theme1 .user-list-table .editBtn,
.theme1 .user-list-table .reviewBtn,
.theme1 .generateSignalsBtn,
.theme1 .confirmDelBtn,
.theme1 .addUserBtn,
.theme1 .confirmAddUserBtn,
.theme1 .uploadLeadsBtn,
.theme1 .confirmUploadLeadsBtn,
.theme1 .uploadAddressesBtn,
.theme1 .confirmUploadAddressesBtn,
.theme1 .uploadPhoneNumbersBtn,
.theme1 .confirmUploadPhoneNumbersBtn,
.theme1 .confirmAppendBlacklistBtn,
.theme1 .confirmClearListBtn,
.theme1 .advancedExportBlacklistBtn,
.theme1 .exportFileBtn,
.theme1 .confirmUpdateUserBtn,
.theme1 .emailValidationBtn,
.theme1 .appendBlacklistBtn,
.theme1 .clearBlacklistBtn,
.theme1 .removeBlacklistBtn,
.theme1 .openConfirmRemoveBlacklistBtn,
.theme1 .confirmRemoveBlacklistBtn,
.theme1 .appendWhitelistBtn,
.theme1 .clearWhitelistBtn,
.theme1 .removeWhitelistBtn,
.theme1 .openConfirmRemoveWhitelistBtn,
.theme1 .confirmRemoveWhitelistBtn,
.theme1 .confirmAppendWhitelistBtn,
.theme1 .exportWhitelistBtn,
.theme1 .swapBtn,
.theme1 .linkedinUrlBtn,
.theme1 .confirmSwapBtn,
.theme1 .advancedExportWhitelistBtn,
.theme1 .appendPhonelistBtn,
.theme1 .removePhonelistBtn,
.theme1 .exportPhonelistBtn,
.theme1 .advancedExportPhonelistBtn,
.theme1 .confirmAppendPhonelistBtn,
.theme1 .openConfirmRemovePhonelistBtn,
.theme1 .confirmRemovePhonelistBtn,
.theme1 .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, box-shadow .12s ease;
}
.theme1 .user-list-table .showFullEmailBtn { width: 95px; }
.theme1 .user-list-table .editBtn,
.theme1 .user-list-table .reviewBtn,
.theme1 .user-list-table .deleteBtn { width: 65px; padding: 8px 10px; font-size: 13px; }

/* exportRecordsBtn is outlined/transparent per original behaviour */
.theme1 .exportRecordsBtn {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 160px;
  height: 56px;
}

/* Hover / focus / disabled */
.theme1 .user-list-table .editBtn:hover,
.theme1 .user-list-table .reviewBtn:hover,
.theme1 .confirmDelBtn:hover,
.theme1 .addUserBtn:hover,
.theme1 .uploadLeadsBtn:hover,
.theme1 .appendBlacklistBtn:hover,
.theme1 .swapBtn:hover,
.theme1 .exportLeadsBtn:hover { filter: brightness(.94); transform: translateY(-1px); }

.theme1 .user-list-table .deleteBtn:hover { filter: brightness(.92); transform: translateY(-1px); }

.theme1 .user-list-table .editBtn:focus,
.theme1 .confirmDelBtn:focus,
.theme1 .exportRecordsBtn:focus,
.theme1 .user-list-table .deleteBtn:focus {
  outline: 3px solid rgba(0,82,204,0.14);
  outline-offset: 2px;
}

.theme1 .user-list-table .editBtn:disabled,
.theme1 .confirmDelBtn:disabled,
.theme1 .exportRecordsBtn:disabled,
.theme1 .user-list-table .deleteBtn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
