@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap");
:root {
  --activeColor: #ff4f6c;
  --whiteColor: #ffffff;
  --bodyColor: #505050;
  --headingColor: #221d1a;
  --leadColor: #707070;
  --blackColor: #000000;
  --primaryBorderRadius: 12px;
}
body {
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
}
a,
a:hover {
  color: var(--activeColor);
  text-decoration: none;
}
p {
  font-size: 16px;
  color: var(--bodyColor);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--headingColor);
  margin: 0 0 30px;
  line-height: 1.3;
}
h5 {
  font-size: 21px;
}
.lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--leadColor);
  margin: 0 0 24px 0;
}
::-webkit-scrollbar {
  width: 5px;
  height: 2px;
}
::-webkit-scrollbar-thumb {
  background: #525965;
  border-radius: 0;
}
::-webkit-scrollbar-track {
  background: transparent;
}
.btn-custom {
  background-color: #ff6c0c;
  color: var(--whiteColor);
  font-weight: 600;
  font-size: 16px;
  padding: 12px 24px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  border: none;
}
.btn-custom:hover {
  background-color: #eb6106;
  color: var(--whiteColor);
}
.form-control {
  padding: 12px 15px;
  border-radius: 30px;
  font-size: 15px;
  color: #909090;
}
.form-control:focus {
  border-color: #ced4da;
  outline: 0;
  box-shadow: none;
}
.form-control:not(:placeholder-shown) {
  background-color: #ffffff !important;
  border-color: #ced4da !important;
}
.form-floating > label {
  font-size: 16px;
  padding: 12px 20px;
  color: #909090;
}
.form-floating > .form-control {
  height: calc(3.2rem + 2px);
  border-radius: 5px;
  padding: 12px 20px;
}
.login-section {
  background-color: #ffffff;
  min-height: 100vh;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
}
.wrapper {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.middle-section {
  background-color: var(--whiteColor);
  border-radius: 20px;
  padding: 45px 20px 15px 20px;
}
.middle-section .logo {
  height: 80px;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #ffa15c 0%, #ff7f2e 40%, #ff6c0c 100%);
  border-radius: 100%;
  margin: 0 auto 15px auto;
  font-size: 42px;
  font-weight: 600;
  color: var(--whiteColor);
  overflow: hidden;
}
.middle-section .logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.middle-section h5 {
  font-size: 24px;
  margin: 0 0 24px 0;
  color: var(--blackColor);
  text-align: center;
}
.middle-section.shadow-lg {
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.07) !important;
}
.bottom-section p a {
  color: var(--blackColor);
  transition: ease-in-out all 0.2s;
}
.bottom-section p a:hover {
  color: #ff6c0c;
}
.bottom-section p a b {
  font-weight: 500;
}
.bottom-section hr {
  border-color: #ced4da;
  opacity: 0.5;
}
@media all and (max-width: 1024px) {
  .login-section {
    padding: 0;
  }
  .login-section .container {
    max-width: 100%;
  }
  .wrapper {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  .middle-section {
    padding: 0;
    border-radius: 0;
  }
}
body.dashboard-page {
  background: #f7f8fa;
  min-height: 100vh;
}
.dash-header {
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.dash-header h4 {
  color: #fff;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}
.profile-circle:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: scale(1.05);
}
.dash-header .logout-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
}
.dash-header .logout-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.sidebar-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.dash-layout {
  display: flex;
  min-height: calc(100vh - 72px);
}
.dash-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #eee;
  padding: 20px 14px;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  overflow-y: auto;
}
.sidebar-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
  padding: 0 12px 10px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  padding: 11px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.18s ease;
}
.sidebar-link i {
  font-size: 17px;
  width: 20px;
  text-align: center;
  color: #888;
}
.sidebar-link:hover,
.sidebar-link.sidebar-action {
  color: #ff6c0c;
}
.sidebar-link:hover,
.sidebar-link.sidebar-action:hover {
  background: #fff4e6;
}
.sidebar-link:hover i,
.sidebar-link.sidebar-action i {
  color: #ff6c0c;
}
.sidebar-link.active {
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 108, 12, 0.28);
}
.sidebar-link.active i {
  color: #fff;
}
.sidebar-divider {
  height: 1px;
  background: #f0f0f0;
  margin: 14px 8px;
}
.sidebar-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-group-toggle {
  justify-content: flex-start;
}
.sidebar-group-toggle .sidebar-chevron {
  margin-left: auto;
  font-size: 13px;
  color: #aaa;
  transition: transform 0.2s ease;
}
.sidebar-group.is-open .sidebar-chevron {
  transform: rotate(180deg);
}
.sidebar-group-body {
  flex-direction: column;
  gap: 2px;
  padding: 2px 0 6px;
  overflow: hidden;
}
.sidebar-group-body[hidden] {
  display: none !important;
}
.sidebar-group-body:not([hidden]) {
  display: flex;
}
.sidebar-domain-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sidebar-domain-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f0f0f0;
}
.sidebar-domain-item.is-selected {
  background: #fff4e6;
  font-weight: 600;
}
.sidebar-link.sidebar-sub {
  padding-left: 28px;
  font-size: 13px;
}
.dash-main {
  flex: 1;
  min-width: 0;
  padding: 24px 24px 40px;
}
.dash-container {
  max-width: 1100px;
  margin: 0 auto;
}
.dash-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.dash-card h5 {
  margin-bottom: 0;
}
#welcomeCard.welcome-card {
  padding: 22px 28px;
}
.welcome-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
}
.domain-switch-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.domain-switch-select {
  border-radius: 10px;
  border-color: #e5e7eb;
  font-size: 14px;
  font-weight: 500;
}
.domain-switch-select:focus {
  border-color: #ff6c0c;
  box-shadow: 0 0 0 0.2rem rgba(255, 108, 12, 0.15);
}
#overviewSection {
  margin-bottom: 4px;
}
.dash-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 20px;
  overflow-x: auto;
  overflow-y: hidden;
}
.dash-tab {
  border: none;
  background: transparent;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    border-color 0.18s ease;
}
.dash-tab:hover {
  color: #ff6c0c;
}
.dash-tab.active {
  color: #ff6c0c;
  border-bottom-color: #ff6c0c;
}
.dash-tab-panel {
  animation: dashTabFade 0.2s ease;
}
@keyframes dashTabFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.verify-result {
  margin-top: 20px;
}
.verify-status {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.verify-status i {
  font-size: 24px;
  margin-top: 2px;
}
.verify-status h6 {
  margin: 0 0 4px;
  font-weight: 700;
}
.verify-status p {
  margin: 0;
  font-size: 14px;
}
.verify-status.verify-success {
  background: #ecfdf3;
  border: 1px solid #b7ebc6;
  color: #166534;
}
.verify-status.verify-success i {
  color: #16a34a;
}
.verify-status.verify-fail {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  color: #842029;
}
.verify-status.verify-fail i {
  color: #dc3545;
}
.verify-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.verify-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fafafa;
  border: 1px solid #eee;
}
.verify-check i {
  font-size: 16px;
  margin-top: 2px;
}
.verify-check.is-ok i {
  color: #16a34a;
}
.verify-check.is-fail i {
  color: #dc3545;
}
.verify-check-sub {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}
.settings-card h5 {
  font-size: 16px;
  font-weight: 600;
}
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.settings-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.settings-row:first-child {
  padding-top: 0;
}
.settings-label {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}
.settings-value {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
  word-break: break-word;
}
.settings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}
.settings-badge-success {
  background: #ecfdf3;
  color: #15803d;
}
.settings-badge-warning {
  background: #fff7ed;
  color: #c2410c;
}
.settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.settings-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
}
.settings-action-btn:hover {
  background: #f5f5f5;
  color: #1a1a1a;
}
.settings-danger-card {
  border: 1px solid #fecaca;
  background: #fffbfb;
}
.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  height: 100%;
  border: 1px solid #f0f0f0;
}
.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.stat-card .stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.1;
}
.stat-card .stat-label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
  font-weight: 500;
}
.stat-card .stat-sub {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}
.stat-total .stat-icon {
  background: #fff4e6;
  color: #ff6c0c;
}
.stat-live .stat-icon {
  background: #dcfce7;
  color: #16a34a;
}
.stat-visitors .stat-icon {
  background: #dbeafe;
  color: #2563eb;
}
.stat-pageviews .stat-icon {
  background: #f3e8ff;
  color: #7c3aed;
}
.stat-live.is-active .stat-value {
  color: #16a34a;
}
.stat-live.is-active .live-dot {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  animation: dashPulse 1.5s infinite;
}
@keyframes dashPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}
.btn-primary-custom {
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
}
.btn-primary-custom:hover {
  color: #fff;
  opacity: 0.92;
}
.btn-primary-custom:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.chart-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}
.chart-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #221d1a;
  margin: 0;
}
.chart-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
#chartPeriodLabel {
  font-size: 13px;
}
.chart-wrap {
  position: relative;
  height: 280px;
  width: 100%;
}
.chart-empty {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  z-index: 2;
}
.chart-empty.show {
  display: flex;
}
.chart-period-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}
.chart-period-bar label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin: 0;
}
.chart-period-bar select,
#socialPeriodSelect {
  max-width: 220px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}
#socialPeriodSelect {
  max-width: 200px;
}
.script-box {
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  background: #1e1e1e;
  color: #d4d4d4;
  border-radius: 10px;
  padding: 16px;
  width: 100%;
  min-height: 80px;
  border: none;
  resize: vertical;
}
.location-panel {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}
.location-map-wrap {
  flex: 1 1 320px;
  min-width: 0;
  min-height: 280px;
}
.world-map {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  background: #f8f9fa;
  overflow: hidden;
}
.location-list-col {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 768px) {
  .location-map-wrap,
  .world-map {
    min-height: 240px;
    height: 240px;
  }
}
.location-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f3f3;
}
.location-row:last-child {
  border-bottom: none;
}
.location-meta {
  flex: 1;
  min-width: 0;
}
.location-meta .name {
  font-weight: 700;
  color: #1a1a1a;
  font-size: 14px;
}
.location-meta .counts {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}
.location-share {
  min-width: 90px;
  text-align: right;
}
.location-share .pct {
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
}
.location-bar {
  height: 6px;
  background: #f1f1f1;
  border-radius: 99px;
  margin-top: 6px;
  overflow: hidden;
}
.location-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%);
  border-radius: 99px;
}
.visitor-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.visitor-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}
.visitor-table th,
.visitor-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.visitor-table th {
  font-size: 12px;
  color: #888;
  font-weight: 600;
  white-space: nowrap;
}
#overviewPanelVisitors .visitor-table th:nth-child(1),
#overviewPanelVisitors .visitor-table td:nth-child(1) {
  width: 16%;
}
#overviewPanelVisitors .visitor-table th:nth-child(2),
#overviewPanelVisitors .visitor-table td:nth-child(2) {
  width: 34%;
}
#overviewPanelVisitors .visitor-table th:nth-child(3),
#overviewPanelVisitors .visitor-table td:nth-child(3) {
  width: 20%;
}
#overviewPanelVisitors .visitor-table th:nth-child(4),
#overviewPanelVisitors .visitor-table td:nth-child(4) {
  width: 30%;
}
.visitor-table td code {
  font-size: 12px;
  color: #1a1a1a;
  background: #f6f7f9;
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.visitor-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}
.visitor-page-summary {
  font-size: 12px;
  color: #888;
}
.visitor-page-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.visitor-page-info {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  min-width: 88px;
  text-align: center;
}
.visitor-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.visitor-page-btn:hover:not(:disabled) {
  border-color: #ff6c0c;
  color: #ff6c0c;
  background: #fff8f3;
}
.visitor-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.visitor-table td.visitor-source-cell,
.visitor-table td.visitor-page-url {
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.visitor-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
}
.visitor-source i {
  font-size: 14px;
  color: #ff6c0c;
}
.visitor-ref-url {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}
.traffic-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.traffic-type-direct {
  background: #f3f4f6;
  color: #4b5563;
}
.traffic-type-social {
  background: #fff4e6;
  color: #c2410c;
}
.traffic-type-referral {
  background: #eff6ff;
  color: #1d4ed8;
}
.bot-name-badge {
  display: inline-flex;
  align-items: center;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.bot-action-cell {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle !important;
  text-align: right;
  padding-right: 8px !important;
}
.btn-unblock-bot {
  all: unset;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 14px 4px 4px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 108, 12, 0.18) !important;
  background: #fff !important;
  color: #221d1a !important;
  font-family: Outfit, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(34, 29, 26, 0.06) !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease !important;
}
.btn-unblock-bot__icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 108, 12, 0.35);
  flex-shrink: 0;
}
.btn-unblock-bot__icon i {
  font-size: 12px !important;
  line-height: 1 !important;
  color: #fff !important;
}
.btn-unblock-bot__label {
  padding-right: 2px;
  color: #374151;
}
.btn-unblock-bot:hover {
  border-color: rgba(255, 108, 12, 0.45) !important;
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%) !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(255, 108, 12, 0.28) !important;
  transform: translateY(-1px);
}
.btn-unblock-bot:hover .btn-unblock-bot__icon {
  background: #fff;
  box-shadow: none;
}
.btn-unblock-bot:hover .btn-unblock-bot__icon i {
  color: #ff6c0c !important;
}
.btn-unblock-bot:hover .btn-unblock-bot__label {
  color: #fff;
}
.btn-unblock-bot:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(255, 108, 12, 0.2) !important;
}
.btn-unblock-bot:focus-visible {
  outline: 2px solid rgba(255, 108, 12, 0.45) !important;
  outline-offset: 2px;
}
.btn-unblock-bot:disabled,
.btn-unblock-bot.is-loading {
  opacity: 0.7 !important;
  cursor: wait !important;
  transform: none !important;
  box-shadow: 0 1px 4px rgba(34, 29, 26, 0.05) !important;
}
.btn-unblock-bot .bot-btn-spin {
  display: inline-block;
  animation: botBtnSpin 0.8s linear infinite;
}
@keyframes botBtnSpin {
  to {
    transform: rotate(360deg);
  }
}

.report-card {
  padding: 22px 24px;
}
.report-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #221d1a;
}
.report-card-hint {
  font-size: 12.5px;
  color: #888;
}
.report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.report-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}
.report-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.report-switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #dfe1e6;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.report-switch-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.report-switch input:checked + .report-switch-slider {
  background: linear-gradient(135deg, #ff6c0c 0%, #ff8533 100%);
}
.report-switch input:checked + .report-switch-slider::after {
  transform: translateX(20px);
}
.report-switch input:focus-visible + .report-switch-slider {
  outline: 2px solid rgba(255, 108, 12, 0.45);
  outline-offset: 2px;
}
.report-switch-text {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  min-width: 24px;
}
.report-emails {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.report-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.report-email-input {
  position: relative;
  flex: 1;
  min-width: 0;
}
.report-email-input i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #bbb;
  font-size: 14px;
  pointer-events: none;
}
.report-email-input .form-control {
  padding-left: 42px;
  border-radius: 30px;
  font-size: 14px;
  color: #333;
}
.report-email-input .form-control:focus {
  border-color: #ff6c0c;
  box-shadow: 0 0 0 0.2rem rgba(255, 108, 12, 0.12);
}
.report-email-remove {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #fff;
  color: #aaa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: 0.18s ease;
}
.report-email-remove:hover {
  border-color: #fecaca;
  background: #fff5f5;
  color: #dc3545;
}
.report-add-more {
  margin-top: 12px;
  border: 1px dashed rgba(255, 108, 12, 0.45);
  background: #fff8f3;
  color: #ff6c0c;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.18s ease;
}
.report-add-more:hover {
  background: #ff6c0c;
  border-style: solid;
  border-color: #ff6c0c;
  color: #fff;
}
.report-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.report-last-sent {
  font-size: 12px;
  color: #999;
}
.report-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.report-card-actions .btn {
  font-size: 13px;
}
.report-card-actions .btn-primary-custom {
  padding: 9px 20px;
}
@media (max-width: 576px) {
  .report-card-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .report-card-actions {
    justify-content: stretch;
  }
  .report-card-actions .btn {
    flex: 1;
    justify-content: center;
  }
}
/*=========================================
    PREMIUM ADD DOMAIN MODAL
=========================================*/

#addWebsiteModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 25px;
  z-index: 999999;
  animation: modalFade 0.25s ease;
}

#addWebsiteModal.show {
  display: flex;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  animation: modalScale 0.28s ease;
  padding: 20px;
}

/* Header */

.modal-header {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f2f2f2;
  background: linear-gradient(135deg, #ff6c0c, #ff9448);
}

.modal-header h5 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-header h5 i {
  font-size: 24px;
}

.modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: 0.25s;
}

.modal-close:hover {
  background: #fff;
  color: #ff6c0c;
  transform: rotate(90deg);
}

/* Body */

.modal-body {
  padding: 30px;
}

.modal-body p {
  color: #777;
  margin-bottom: 18px;
  font-size: 14px;
}

.modal-body label {
  font-size: 14px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  display: block;
}

.modal-body input {
  width: 100%;
  height: 55px;
  border: 2px solid #ececec;
  border-radius: 14px;
  padding: 0 18px;
  font-size: 15px;
  transition: 0.25s;
  background: #fafafa;
}

.modal-body input:focus {
  border-color: #ff6c0c;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 108, 12, 0.12);
}

#domainError {
  margin-top: 8px;
  font-size: 13px;
  color: #dc3545;
}

/* Footer */

.modal-footer {
  padding: 22px 30px;
  border-top: 1px solid #f3f3f3;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Buttons */

.modal-footer button {
  border: none;
  border-radius: 50px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

#cancelAddWebsite {
  background: #FF7B23;
  color: #fff;
  border-radius: 20px;
}

#cancelAddWebsite:hover {
  background: #dfe5ec;
}

#confirmAddWebsite {
  background: linear-gradient(135deg, #ff6c0c, #ff9448);
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 108, 12, 0.28);
}

#confirmAddWebsite:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(255, 108, 12, 0.38);
}

#confirmAddWebsite:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Animation */

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalScale {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile */

@media (max-width: 576px) {
  .modal-box {
    border-radius: 18px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 20px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer button {
    width: 100%;
  }
}
/* Dashboard Loader */

#dashboardLoader {
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;
  padding: 40px;
}

.dash-loader {
  width: 320px;
  text-align: center;
}

.dash-loader-graph {
  width: 100%;
  height: 80px;
}

.dash-loader-graph-svg {
  width: 100%;
  height: 100%;
}

.dash-loader-graph-line {
  fill: none;
  stroke: #ff6c0c;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 350;
  stroke-dashoffset: 350;
  animation: dashGraph 2s linear infinite;
}

.dash-loader-graph-area {
  fill: url(#dashLoaderFill);
  opacity: 0.5;
  animation: dashArea 2s ease-in-out infinite;
}

@keyframes dashGraph {
  from {
    stroke-dashoffset: 350;
  }

  to {
    stroke-dashoffset: -350;
  }
}

@keyframes dashArea {
  0%,
  100% {
    opacity: 0.25;
  }

  50% {
    opacity: 0.7;
  }
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}
/* ==========================================
   RESPONSIVE CSS
========================================== */

/* Laptop */
@media (max-width:1200px){

    .dash-main{
        padding:20px;
    }

    .dash-card,
    .chart-card{
        padding:20px;
    }

}


/* Tablet */
@media (max-width:991px){

    .sidebar-toggle{
        display:flex;
    }

    .dash-sidebar{
        position:fixed;
        left:-280px;
        top:72px;
        width:260px;
        height:calc(100vh - 72px);
        z-index:999;
        transition:.3s;
        box-shadow:0 10px 35px rgba(0,0,0,.15);
    }

   .dash-sidebar.open{
    left:0;
}

    .dash-main{
        width:100%;
        padding:18px;
    }

    .dash-layout{
        display:block;
    }

    .chart-card-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .chart-period-bar{
        width:100%;
    }

    .chart-period-bar select{
        width:100%;
        max-width:100%;
    }

}


/* Mobile */
@media (max-width:768px){

    .dash-header{
        padding:14px 16px;
    }

    .dash-header h4{
        font-size:18px;
    }

    .header-right{
        gap:8px;
    }

    .logout-btn{
        padding:6px 12px;
        font-size:13px;
    }

    .dash-main{
        padding:15px;
    }

    .dash-card,
    .chart-card{
        padding:16px;
        border-radius:14px;
    }

    .welcome-card h3{
        font-size:22px;
    }

    .stat-card{
        margin-bottom:15px;
    }

    .stat-card .stat-value{
        font-size:24px;
    }

    .settings-row{
        flex-direction:column;
        align-items:flex-start;
        gap:6px;
    }

    .settings-value{
        text-align:left;
    }

    .location-panel{
        flex-direction:column;
    }

    .location-map-wrap,
    .location-list-col{
        width:100%;
    }

}


/* Small Mobile */
@media (max-width:576px){

    .dash-header{
        flex-wrap:wrap;
        gap:12px;
    }

    .header-right{
       
        justify-content:flex-end;
    }

    .dash-tabs{
        overflow-x:auto;
        white-space:nowrap;
    }

    .dash-tab{
        flex:none;
        font-size:13px;
        padding:10px 14px;
    }

    .visitor-pagination{
        flex-direction:column;
        align-items:flex-start;
    }

    .visitor-page-controls{
        width:100%;
        justify-content:space-between;
    }

    .visitor-table{
        min-width:650px;
    }

    .script-box{
        font-size:12px;
    }

    .chart-wrap{
        height:220px;
    }

    .profile-circle{
        width:36px;
        height:36px;
        font-size:14px;
    }

}


/* Very Small Devices */
@media (max-width:400px){

    .dash-main{
        padding:12px;
    }

    .dash-card,
    .chart-card{
        padding:14px;
    }

    .welcome-card h3{
        font-size:18px;
    }

    .stat-card .stat-value{
        font-size:20px;
    }

    .modal-box{
        width:95%;
    }

}

#locationViewAllBtn{
    background: #FF7B23;
    color: #fff;
    border-radius: 30px;
    padding: 9px;
    border: none;
}
/* ============ Email Reports panel ============ */
.reports-intro-card p {
  margin-bottom: 0;
}
.report-card {
  padding: 22px 26px;
}
.report-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.report-card-title h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #221d1a;
  margin-bottom: 4px;
}
.report-card-desc {
  font-size: 0.82rem;
  color: #8a8a8a;
  margin: 0;
}
.report-card .report-switch {
  padding-left: 2.6em;
  min-height: auto;
  margin: 4px 0 0;
}
.report-card .report-switch .form-check-input {
  width: 2.4em;
  height: 1.25em;
  cursor: pointer;
  margin-left: -2.6em;
  background-color: #e2e2e6;
  border-color: #d5d5da;
  box-shadow: none;
}
.report-card .report-switch .form-check-input:checked {
  background-color: #ff6c0c;
  border-color: #ff6c0c;
}
.report-card .report-switch .form-check-input:focus {
  border-color: #ffb17a;
  box-shadow: 0 0 0 0.2rem rgba(255, 108, 12, 0.18);
}
.report-status {
  margin-top: 12px;
  font-size: 0.78rem;
  color: #707070;
  background: #f8f9fb;
  border: 1px solid #ececf0;
  border-radius: 10px;
  padding: 8px 12px;
}
.report-status i {
  color: #ff6c0c;
}
.report-status-note {
  color: #9a9a9a;
}
.report-field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #999;
  margin: 18px 0 8px;
}
.report-emails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.report-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.report-email-row .form-control {
  flex: 1 1 auto;
}
.report-email-remove {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #ececf0;
  background: #f8f9fb;
  color: #b04a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.report-email-remove:hover {
  background: #ffe9e4;
  color: #d9482f;
}
.report-add-more {
  margin-top: 10px;
  background: transparent;
  border: 1px dashed #ffc79c;
  color: #ff6c0c;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 8px 14px;
  transition: background 0.15s, border-color 0.15s;
}
.report-add-more:hover {
  background: #fff3ea;
  border-color: #ff9a52;
}
.report-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}
.report-card-actions .btn {
  border-radius: 10px;
  font-size: 0.88rem;
}
.report-card-actions .report-preview,
.report-card-actions .report-send {
  border: 1px solid #ececf0;
}
.reports-mail-alert code {
  color: #b04a00;
}
@media (max-width: 575.98px) {
  .report-card-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Toast / alert notifications */
.toast-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  pointer-events: none;
}
.dash-toast {
  pointer-events: auto;
  min-width: 240px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #1f2937;
  font-size: 0.9rem;
  line-height: 1.35;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid #ff7f2e;
  animation: dashToastIn 0.2s ease-out;
}
.dash-toast.success {
  border-left-color: #22a06b;
}
.dash-toast.error {
  border-left-color: #e5484d;
}
@keyframes dashToastIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (max-width: 575.98px) {
  .toast-wrap {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}
