@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:wght@100..900&display=swap");
.ep-date-range-picker {
  position: relative;
  display: inline-block;
  font-family: "Inter", sans-serif;
}

.ep-date-range-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: #111827;
  height: 44px;
  min-width: 232px;
  justify-content: space-between;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.ep-date-range-trigger:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}
.ep-date-range-trigger svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}
.ep-date-range-trigger svg.ep-dropdown-arrow {
  transition: transform 0.2s ease;
}
.ep-date-range-trigger svg.ep-dropdown-arrow.open {
  transform: rotate(180deg);
}
.ep-date-range-trigger span {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ep-date-range-dropdown {
  position: fixed;
  z-index: 9999;
  width: 580px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ep-date-range-content {
  display: flex;
}

.ep-date-range-presets {
  width: 145px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid #f3f4f6;
  justify-content: space-between;
}
.ep-date-range-presets .range-preset-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ep-date-range-presets .ep-preset-button {
  padding: 0;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  background: transparent;
  color: #092161;
  cursor: pointer;
  transition: all 0.15s ease;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 10px;
}
.ep-date-range-presets .ep-preset-button:hover {
  background: #f3f4f6;
}
.ep-date-range-presets .ep-preset-button.active {
  background: #efeffc;
  color: #092161;
  font-weight: 400;
}
.ep-date-range-presets .ep-preset-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 12px 0;
}
.ep-date-range-presets .ep-reset-button {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: white;
  color: #5b4e96;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ep-date-range-presets .ep-reset-button:hover {
  background: #eff6ff;
  border-color: #5b4e96;
}

.ep-date-range-calendar {
  flex: 1;
  padding: 20px 24px;
}

.ep-calendar {
  width: 100%;
}

.ep-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.ep-calendar-header .ep-calendar-title {
  font-size: 13px;
  font-weight: 500;
  color: #111827;
}
.ep-calendar-header .ep-calendar-nav {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.15s ease;
  display: flex;
}
.ep-calendar-header .ep-calendar-nav:hover {
  background: #f3f4f6;
}
.ep-calendar-header .ep-calendar-nav svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.ep-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.ep-calendar-weekdays .ep-calendar-weekday {
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  text-align: center;
}

.ep-calendar-days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  padding: 0 2px;
}

.ep-calendar-day {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 400;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ep-calendar-day:hover {
  background: #f3f4f6;
}
.ep-calendar-day.ep-calendar-day-other-month {
  color: #d1d5db;
}
.ep-calendar-day.ep-calendar-day-selected {
  background: #5b4e96;
  color: white;
  font-weight: 400;
}
.ep-calendar-day.ep-calendar-day-in-range {
  background: #dbeafe;
  position: relative;
  color: #5b4e96;
}
.ep-calendar-day.ep-calendar-day-in-range::after {
  width: 22px;
  height: 32px;
  background-color: #dbeafe;
  right: -22px;
  content: "";
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ep-calendar-day.ep-calendar-day-in-range:hover {
  background: #bfdbfe;
}
.ep-calendar-day.ep-calendar-day-today {
  font-weight: 400;
}
.ep-calendar-day.ep-calendar-day-selected.ep-calendar-day-in-range, .ep-calendar-day.ep-calendar-day-selected.ep-calendar-day-today {
  background: #5b4e96;
  color: white;
  border-radius: 0;
}

.ep-calendar-day-in-range.ep-calendar-day-range-end::after,
.ep-calendar-day-in-range.ep-calendar-day-row-end::after {
  display: none !important;
}

.ep-calendar-day.ep-calendar-day-in-range {
  border-radius: 0;
}

.ep-calendar-day.ep-calendar-day-in-range.ep-calendar-day-row-end,
.ep-calendar-day.ep-calendar-day-selected.ep-calendar-day-in-range.ep-calendar-day-range-end {
  border-top-right-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.ep-calendar-day.ep-calendar-day-in-range.ep-calendar-day-row-start,
.ep-calendar-day.ep-calendar-day-selected.ep-calendar-day-in-range.ep-calendar-day-range-start {
  border-top-left-radius: 5px !important;
  border-bottom-left-radius: 5px !important;
}

/* EmbedPress Analytics - Embed Details Modal */
.ep-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ep-modal-content {
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ep-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  border-bottom: 1px solid #f1f5f9;
  background: white;
}
.ep-modal-header h3 {
  font-weight: 600;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #25396f;
  margin: 0;
}
.ep-modal-header h3 .ep-modal-icon {
  font-size: 18px;
}
.ep-modal-header h3 .ep-pro-badge {
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ep-modal-close {
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  margin-right: -10px;
  margin-top: 5px;
}
.ep-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
  transform: scale(1.05);
}
.ep-modal-close:active {
  transform: scale(0.95);
}
.ep-modal-close svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.ep-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  position: relative;
}
.ep-modal-body.ep-modal-body-blurred {
  filter: blur(3px);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.ep-loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #6b7280;
}
.ep-loading-state .ep-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top: 3px solid #667eea;
  border-radius: 50%;
  animation: ep-spin 1s linear infinite;
  margin-bottom: 16px;
}
.ep-loading-state p {
  margin: 0;
  font-size: 16px;
}

.ep-error-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 400px;
}
.ep-error-state .ep-pro-required {
  text-align: center;
  max-width: 480px;
  padding: 32px 24px;
}
.ep-error-state .ep-pro-required .ep-pro-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.ep-error-state .ep-pro-required .ep-pro-icon svg {
  width: 48px;
  height: 48px;
}
.ep-error-state .ep-pro-required h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}
.ep-error-state .ep-pro-required p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.5;
}
.ep-error-state .ep-pro-required .ep-pro-features {
  margin-bottom: 24px;
}
.ep-error-state .ep-pro-required .ep-pro-features .ep-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.ep-error-state .ep-pro-required .ep-pro-features .ep-feature-grid .ep-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}
.ep-error-state .ep-pro-required .ep-pro-features .ep-feature-grid .ep-feature-item .ep-feature-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}
.ep-error-state .ep-pro-required .ep-pro-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ep-error-state .ep-pro-required .ep-upgrade-btn {
  background: #5945b0;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.ep-error-state .ep-pro-required .ep-upgrade-btn:hover {
  background: #4a3a9a;
  transform: translateY(-1px);
}
.ep-error-state .ep-pro-required .ep-learn-more-btn {
  background: transparent;
  color: #5945b0;
  border: 1px solid #5945b0;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.ep-error-state .ep-pro-required .ep-learn-more-btn:hover {
  background: #5945b0;
  color: white;
  transform: translateY(-1px);
}
.ep-error-state .ep-pro-required .ep-debug-info {
  margin-top: 20px;
  text-align: left;
}
.ep-error-state .ep-pro-required .ep-debug-info details {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 12px;
}
.ep-error-state .ep-pro-required .ep-debug-info details summary {
  cursor: pointer;
  font-weight: 500;
  color: #6c757d;
  font-size: 14px;
}
.ep-error-state .ep-pro-required .ep-debug-info details pre {
  margin: 12px 0 0 0;
  font-size: 12px;
  color: #495057;
  background: white;
  padding: 8px;
  border-radius: 4px;
  overflow-x: auto;
}
.ep-error-state .ep-api-error {
  text-align: center;
  max-width: 400px;
}
.ep-error-state .ep-api-error .ep-error-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.ep-error-state .ep-api-error h3 {
  font-size: 20px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 12px;
}
.ep-error-state .ep-api-error p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
  line-height: 1.6;
}
.ep-error-state .ep-api-error .ep-retry-btn {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.ep-error-state .ep-api-error .ep-retry-btn:hover {
  background: #e5e7eb;
}

.ep-embed-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.ep-summary-card {
  background: white;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ep-summary-card .ep-summary-number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.ep-summary-card .ep-summary-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ep-embed-list .ep-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ep-embed-list .ep-list-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}
.ep-embed-list .ep-list-header .ep-list-filters {
  display: flex;
  gap: 12px;
  align-items: center;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container {
  position: relative;
  display: flex;
  align-items: center;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-input {
  padding: 8px 12px;
  padding-right: 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #374151;
  background: white;
  width: 240px;
  height: 32px;
  box-sizing: border-box;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-input::-moz-placeholder {
  color: #9ca3af;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-input::placeholder {
  color: #9ca3af;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 2px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-clear:hover {
  color: #374151;
  background: #f3f4f6;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-clear svg {
  width: 14px;
  height: 14px;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper {
  position: relative;
  display: inline-block;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper .ep-filter-select {
  padding: 0 30px 0 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  height: 32px;
  min-width: 100px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper .ep-filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper .ep-filter-select option {
  padding: 8px 12px;
  font-size: 14px;
  color: #374151;
  background: white;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper .ep-filter-select option:hover {
  background: #f8fafc;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper .ep-filter-select-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  transition: transform 0.2s ease;
}
.ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper:hover .ep-filter-select-arrow {
  color: #374151;
}

.ep-embed-table {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  max-height: 550px;
  overflow: auto;
}
.ep-embed-table .ep-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  background: #f8fafc;
  font-weight: 500;
  font-size: 12px;
  color: #64748b;
  position: sticky;
  top: 0;
}
.ep-embed-table .ep-table-header .ep-table-col {
  padding: 12px 16px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.ep-embed-table .ep-table-header .ep-table-col.ep-content-col {
  text-align: left;
}
.ep-embed-table .ep-table-header .ep-table-col.ep-source-col, .ep-embed-table .ep-table-header .ep-table-col.ep-count-col, .ep-embed-table .ep-table-header .ep-table-col.ep-date-col, .ep-embed-table .ep-table-header .ep-table-col.ep-actions-col {
  text-align: left;
}
.ep-embed-table .ep-table-body .ep-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  transition: background-color 0.2s;
}
.ep-embed-table .ep-table-body .ep-table-row:hover {
  background: #f8fafc;
}
.ep-embed-table .ep-table-body .ep-table-row:last-child {
  border-bottom: none;
}
.ep-embed-table .ep-table-body .ep-table-row .ep-table-col {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  font-size: 13px;
  min-width: 0;
}
.ep-embed-table .ep-table-body .ep-table-row .ep-table-col:first-child {
  padding-right: 8px;
}
.ep-embed-table .ep-table-body .ep-table-row .ep-table-col.ep-source-col, .ep-embed-table .ep-table-body .ep-table-row .ep-table-col.ep-count-col, .ep-embed-table .ep-table-body .ep-table-row .ep-table-col.ep-date-col, .ep-embed-table .ep-table-body .ep-table-row .ep-table-col.ep-actions-col {
  justify-content: start;
}
.ep-embed-table .ep-table-body .ep-table-row:nth-child(even) {
  background: #fafafc;
}

.ep-content-info {
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0;
  width: 100%;
}
.ep-content-info .ep-content-title {
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  line-height: 1.4;
  word-break: keep-all;
  -webkit-hyphens: none;
          hyphens: none;
  max-width: 100%;
}
.ep-content-info .ep-content-meta {
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  word-break: keep-all;
  max-width: 100%;
}

.ep-embed-type {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #374151;
}

.ep-source-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: capitalize;
  display: inline-block;
}
.ep-source-badge.ep-source-gutenberg {
  background: #f3f1fc;
  color: #5945b0;
}
.ep-source-badge.ep-source-elementor {
  background: #fef3f2;
  color: #dc2626;
}
.ep-source-badge.ep-source-shortcode {
  background: #f0fdf4;
  color: #16a34a;
}

.ep-count-col {
  justify-content: center;
}
.ep-count-col .ep-embed-count {
  background: #f3f1fc;
  color: #5945b0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ep-date-col {
  font-size: 13px;
  color: #6b7280;
}

.ep-actions-col {
  justify-content: center;
  gap: 8px;
}
.ep-actions-col .ep-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}
.ep-actions-col .ep-action-btn.ep-view-btn {
  background: #f3f1fc;
  color: #5945b0;
  cursor: pointer;
}
.ep-actions-col .ep-action-btn.ep-view-btn:hover {
  background: rgb(225, 220, 247.5);
}
.ep-actions-col .ep-action-btn.ep-edit-btn {
  background: #f0fdf4;
  color: #16a34a;
  cursor: pointer;
}
.ep-actions-col .ep-action-btn.ep-edit-btn:hover {
  background: #dcfce7;
}
.ep-actions-col .ep-action-btn svg {
  width: 14px;
  height: 14px;
}

.ep-empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #6b7280;
}
.ep-empty-state .ep-empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.ep-empty-state p {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 500;
}
.ep-empty-state small {
  font-size: 12px;
  color: #9ca3af;
}

.ep-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 24px;
  border-top: 1px solid #f1f5f9;
  background: #fafbfc;
}
.ep-modal-footer .ep-footer-info .ep-footer-text {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.ep-modal-footer .ep-footer-info .ep-footer-text .ep-more-available {
  color: #5945b0;
  font-weight: 600;
}
.ep-modal-footer .ep-footer-info .ep-footer-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.ep-modal-footer .ep-footer-info .ep-footer-loading .ep-spinner-small {
  width: 14px;
  height: 14px;
  border: 2px solid #e2e8f0;
  border-top: 2px solid #5945b0;
  border-radius: 50%;
  animation: ep-spin 1s linear infinite;
}
.ep-modal-footer .ep-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.ep-modal-footer .ep-btn.ep-btn-secondary {
  background: #f1f5f9;
  color: #64748b;
}
.ep-modal-footer .ep-btn.ep-btn-secondary:hover {
  background: #e2e8f0;
}
.ep-modal-footer .ep-btn.ep-btn-primary {
  background: #5945b0;
  color: white;
}
.ep-modal-footer .ep-btn.ep-btn-primary:hover {
  background: #4a3a9a;
}

@keyframes ep-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .ep-modal-content {
    margin: 10px;
    max-height: 95vh;
  }
  .ep-modal-header,
  .ep-modal-body,
  .ep-modal-footer {
    padding: 20px;
  }
  .ep-embed-summary {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ep-embed-list .ep-list-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .ep-embed-list .ep-list-header h4 {
    text-align: center;
  }
  .ep-embed-list .ep-list-header .ep-list-filters {
    flex-direction: column;
    gap: 12px;
  }
  .ep-embed-list .ep-list-header .ep-list-filters .ep-search-container .ep-search-input {
    width: 100%;
  }
  .ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper {
    width: 100%;
  }
  .ep-embed-list .ep-list-header .ep-list-filters .ep-filter-select-wrapper .ep-filter-select {
    width: 100%;
  }
  .ep-error-state .ep-pro-required {
    padding: 24px 16px;
    max-width: 100%;
  }
  .ep-error-state .ep-pro-required .ep-pro-features .ep-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ep-error-state .ep-pro-required .ep-pro-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .ep-error-state .ep-pro-required .ep-pro-actions .ep-upgrade-btn,
  .ep-error-state .ep-pro-required .ep-pro-actions .ep-learn-more-btn {
    width: 100%;
    text-align: center;
  }
  .ep-table-header,
  .ep-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ep-table-header .ep-table-col,
  .ep-table-row .ep-table-col {
    padding: 8px 16px;
    min-width: auto;
  }
  .ep-table-header {
    display: none;
  }
  .ep-table-row .ep-table-col:before {
    content: attr(data-label);
    font-weight: 600;
    color: #6b7280;
    margin-right: 8px;
    font-size: 12px;
  }
}
.ep-pro-section-wrapper {
  position: relative;
  display: block;
  width: 35%;
}

.ep-table-wrapper .ep-pro-section-wrapper {
  width: 100%;
}
.ep-table-wrapper .ep-pro-content-container {
  height: 100%;
}

.graph-placeholder .ep-pro-section-wrapper {
  width: 100%;
}

.ep-card-wrapper.analytics-wrapper-table {
  height: 100%;
}

.ep-pro-content-container {
  position: relative;
  display: block;
}

.ep-pro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(236, 72, 153, 0.1) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}
.ep-pro-overlay:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(168, 85, 247, 0.2) 50%, rgba(236, 72, 153, 0.15) 100%);
}

.ep-pro-overlay-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ep-pro-eye-icon {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #8b5cf6;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}
.ep-pro-eye-icon:hover {
  transform: scale(1.1);
  background: rgb(255, 255, 255);
  border-color: #8b5cf6;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}
.ep-pro-eye-icon svg {
  width: 28px;
  height: 28px;
}

.ep-pro-modal {
  max-width: 600px;
}
.ep-pro-modal .ep-modal-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  border-radius: 12px 12px 0 0;
}
.ep-pro-modal .ep-modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}
.ep-pro-modal .ep-modal-header .ep-modal-close {
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  margin: 0;
}
.ep-pro-modal .ep-modal-header .ep-modal-close:hover {
  background: rgba(239, 68, 68, 0.9);
  border-color: rgba(239, 68, 68, 0.9);
}
.ep-pro-modal .ep-modal-header .ep-modal-close:active {
  transform: scale(0.95);
}
.ep-pro-modal .ep-modal-header .ep-modal-close svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}
.ep-pro-modal .ep-modal-body {
  padding: 32px 24px;
}

.ep-pro-features {
  margin-bottom: 32px;
}

.ep-pro-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.ep-pro-feature-item:last-child {
  margin-bottom: 0;
}

.ep-feature-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ep-feature-content {
  flex: 1;
}
.ep-feature-content h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}
.ep-feature-content p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.ep-pro-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.ep-upgrade-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ep-upgrade-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.ep-learn-more-btn {
  background: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ep-learn-more-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #374151;
}

/* Skeleton Loading Styles */
@keyframes ep-skeleton-pulse {
  0% {
    background-color: #f1f5f9;
  }
  50% {
    background-color: #e2e8f0;
  }
  100% {
    background-color: #f1f5f9;
  }
}
.ep-skeleton-container .ep-skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: ep-skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 4px;
  display: block;
}
.ep-skeleton-container .ep-skeleton-card .ep-skeleton-number {
  height: 24px;
  width: 60%;
  margin-bottom: 8px;
}
.ep-skeleton-container .ep-skeleton-card .ep-skeleton-label {
  height: 14px;
  width: 80%;
}
.ep-skeleton-container .ep-skeleton-title {
  height: 20px;
  width: 200px;
  margin-bottom: 0;
}
.ep-skeleton-container .ep-skeleton-search {
  height: 32px;
  width: 240px;
  border-radius: 8px;
}
.ep-skeleton-container .ep-skeleton-select {
  height: 32px;
  width: 120px;
  border-radius: 8px;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-content-title {
  height: 16px;
  width: 70%;
  margin-bottom: 6px;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-content-meta {
  height: 12px;
  width: 50%;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-badge {
  height: 20px;
  width: 80px;
  border-radius: 4px;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-count {
  height: 20px;
  width: 40px;
  border-radius: 4px;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-date {
  height: 14px;
  width: 90px;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-action {
  height: 32px;
  width: 32px;
  border-radius: 6px;
  margin-right: 8px;
}
.ep-skeleton-container .ep-skeleton-row .ep-skeleton-action:last-child {
  margin-right: 0;
}

/* Pro Unlock Overlay Styles */
.ep-pro-unlock-overlay {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 0 0 12px 12px;
  left: 50%;
  transform: translateX(-50%);
  height: calc(100% - 65px);
  top: 65px;
}

.ep-pro-unlock-content {
  text-align: center;
  max-width: 400px;
}
.ep-pro-unlock-content .ep-pro-unlock-icon {
  margin-bottom: 24px;
  color: #5945b0;
}
.ep-pro-unlock-content .ep-pro-unlock-icon svg {
  width: 48px;
  height: 48px;
}
.ep-pro-unlock-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.3;
}
.ep-pro-unlock-content p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.ep-pro-unlock-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.ep-unlock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  min-width: 200px;
  text-decoration: none;
}
.ep-unlock-btn.ep-unlock-btn-primary {
  background: linear-gradient(135deg, #5945b0 0%, #6d28d9 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(89, 69, 176, 0.3);
}
.ep-unlock-btn.ep-unlock-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(89, 69, 176, 0.4);
}
.ep-unlock-btn.ep-unlock-btn-primary:active {
  transform: translateY(0);
}
.ep-unlock-btn.ep-unlock-btn-primary svg {
  width: 16px;
  height: 16px;
}
.ep-unlock-btn.ep-unlock-btn-secondary {
  background: transparent;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
.ep-unlock-btn.ep-unlock-btn-secondary:hover {
  background: #f8fafc;
  color: #475569;
  border-color: #cbd5e1;
}

/* Responsive adjustments for unlock overlay */
@media (max-width: 768px) {
  .ep-pro-unlock-content {
    padding: 30px 16px;
    max-width: 100%;
  }
  .ep-pro-unlock-content h3 {
    font-size: 20px;
  }
  .ep-pro-unlock-content p {
    font-size: 14px;
  }
  .ep-unlock-btn {
    padding: 12px 24px;
    font-size: 14px;
    min-width: 180px;
  }
}
/* ProOverlay Styles */
.ep-pro-section-wrapper {
  position: relative;
  width: 100%;
}
.ep-pro-section-wrapper .ep-pro-content-container {
  position: relative;
  filter: grayscale(100%);
  opacity: 0.7;
}
.ep-pro-section-wrapper .ep-pro-content-container * {
  color: #9ca3af !important;
}
.ep-pro-section-wrapper .ep-pro-content-container .ep-card-wrapper,
.ep-pro-section-wrapper .ep-pro-content-container .ep-overview-card,
.ep-pro-section-wrapper .ep-pro-content-container .ep-analytics-card {
  background-color: #f9fafb !important;
}
.ep-pro-section-wrapper .ep-pro-content-container table th,
.ep-pro-section-wrapper .ep-pro-content-container table td {
  color: #9ca3af !important;
  border-color: #e5e7eb !important;
}
.ep-pro-section-wrapper .ep-pro-content-container table tbody tr:nth-child(even) {
  background-color: #f9fafb !important;
}
.ep-pro-section-wrapper .ep-pro-content-container .chart-legend-custom * {
  color: #9ca3af !important;
}
.ep-pro-section-wrapper .ep-pro-content-container .ep-pro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 16px;
  opacity: 0;
  transition: all 0.3s ease;
}
.ep-pro-section-wrapper .ep-pro-content-container .ep-pro-overlay .ep-pro-overlay-content .ep-pro-eye-icon {
  background: rgba(108, 92, 231, 0.1);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
  transform: scale(0.8);
  opacity: 0;
}
.ep-pro-section-wrapper .ep-pro-content-container .ep-pro-overlay .ep-pro-overlay-content .ep-pro-eye-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
  background: #6c5ce7;
}
.ep-pro-section-wrapper .ep-pro-content-container .ep-pro-overlay .ep-pro-overlay-content .ep-pro-eye-icon:active {
  transform: scale(0.95);
}
.ep-pro-section-wrapper .ep-pro-content-container .ep-pro-overlay .ep-pro-overlay-content .ep-pro-eye-icon svg {
  width: 24px;
  height: 24px;
}
.ep-pro-section-wrapper .ep-pro-content-container:hover .ep-pro-overlay {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.ep-pro-section-wrapper .ep-pro-content-container:hover .ep-pro-overlay .ep-pro-overlay-content .ep-pro-eye-icon {
  transform: scale(1);
  opacity: 1;
  background: white;
}

.ep-card-wrapper.views-chart .ep-pro-overlay {
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: rgba(255, 255, 255, 0.1);
}

/* Modal Overlay */
.ep-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Analytics Pro Modal */
.ep-analytics-pro-modal {
  background: white;
  border-radius: 24px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal {
    margin: 10px;
    border-radius: 16px;
    max-height: 95vh;
  }
}
.ep-analytics-pro-modal .ep-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  transition: all 0.2s ease;
  z-index: 10;
  display: flex;
  margin: 0;
}
.ep-analytics-pro-modal .ep-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
  transform: scale(1.05);
}
.ep-analytics-pro-modal .ep-modal-close:active {
  transform: scale(0.95);
}
.ep-analytics-pro-modal .ep-modal-close svg {
  width: 20px;
  height: 20px;
}
.ep-analytics-pro-modal .ep-modal-header {
  text-align: center;
  padding: 40px 40px 20px;
  border: none;
  flex-direction: column;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-header {
    padding: 30px 20px 15px;
  }
}
.ep-analytics-pro-modal .ep-modal-header .ep-embedpress-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ep-analytics-pro-modal .ep-modal-header .ep-embedpress-logo svg {
  height: 36px;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-header .ep-embedpress-logo svg {
    height: 28px;
  }
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-header .ep-embedpress-logo {
    margin-bottom: 20px;
    gap: 8px;
  }
}
.ep-analytics-pro-modal .ep-modal-header .ep-embedpress-logo .ep-logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #374151;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-header .ep-embedpress-logo .ep-logo-text {
    font-size: 18px;
  }
}
.ep-analytics-pro-modal .ep-modal-header .ep-modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #25396f;
  margin: 0 0 5px;
  line-height: 1.2;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-header .ep-modal-title {
    margin-bottom: 8px;
  }
}
.ep-analytics-pro-modal .ep-modal-header .ep-modal-subtitle {
  font-size: 1rem;
  color: #7f8bb2;
  margin: 0;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-header .ep-modal-subtitle {
    font-size: 14px;
  }
}
.ep-analytics-pro-modal .ep-modal-body {
  padding: 0 24px;
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px 24px;
  background: #f5f7fd;
  margin: 40px 0;
  margin-top: 0;
  padding: 35px 20px 20px;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item {
    gap: 12px;
  }
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ece8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-icon svg {
  width: 24px;
  height: 24px;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-icon svg {
    width: 20px;
    height: 20px;
  }
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-content {
  flex: 1;
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #092161;
  margin: 0 0 5px;
  line-height: 1.3;
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-content h4 {
    margin-bottom: 6px;
  }
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-features-grid .ep-pro-feature-item .ep-feature-content p {
  font-size: 0.875rem;
  color: #7c8db5;
  margin: 0;
  line-height: 1.5;
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-actions {
  text-align: center;
  margin-bottom: 40px;
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-actions .ep-unlock-pro-btn {
  background: linear-gradient(135deg, #6c5ce7 0%, #a855f7 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}
@media screen and (max-width: 768px) {
  .ep-analytics-pro-modal .ep-modal-body .ep-pro-actions .ep-unlock-pro-btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
  }
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-actions .ep-unlock-pro-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}
.ep-analytics-pro-modal .ep-modal-body .ep-pro-actions .ep-unlock-pro-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.ep-export-dropdown {
  position: relative;
  display: inline-block;
}
.ep-export-dropdown .ep-export-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: var(--ep-primary-color, #5b4e96);
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 160px;
  justify-content: center;
}
.ep-export-dropdown .ep-export-trigger:hover {
  background: var(--ep-primary-hover, #4a3d7a);
  transform: translateY(-1px);
}
.ep-export-dropdown .ep-export-trigger:active {
  transform: translateY(0);
}
.ep-export-dropdown .ep-export-trigger .ep-dropdown-arrow {
  transition: transform 0.2s ease;
  margin-left: auto;
}
.ep-export-dropdown .ep-export-trigger .ep-dropdown-arrow.open {
  transform: rotate(180deg);
}
.ep-export-dropdown .ep-export-trigger svg:first-child {
  flex-shrink: 0;
}
.ep-export-dropdown .ep-export-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  margin-top: 4px;
  overflow: hidden;
}
@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.ep-export-dropdown .ep-export-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: white;
  color: #374151;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}
.ep-export-dropdown .ep-export-option:hover {
  background: #f8fafc;
  color: var(--ep-primary-color, #5b4e96);
}
.ep-export-dropdown .ep-export-option:not(:last-child) {
  border-bottom: 1px solid #f1f5f9;
}
.ep-export-dropdown .ep-export-option .ep-export-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #6b7280;
  transition: color 0.2s ease;
}
.ep-export-dropdown .ep-export-option:hover .ep-export-icon {
  color: var(--ep-primary-color, #5b4e96);
}
.ep-export-dropdown .ep-export-option .ep-export-label {
  flex: 1;
  white-space: nowrap;
}

.ep-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .ep-export-dropdown .ep-export-trigger {
    min-width: 140px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .ep-export-dropdown .ep-export-dropdown-menu {
    left: auto;
    right: 0;
    min-width: 180px;
  }
  .ep-export-dropdown .ep-export-option {
    padding: 10px 14px;
    font-size: 13px;
  }
}
.ep-export-dropdown .ep-export-trigger,
.ep-export-dropdown .ep-export-option {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ep-export-dropdown .ep-export-trigger:focus,
.ep-export-dropdown .ep-export-option:focus {
  outline: 2px solid var(--ep-primary-color, #5b4e96);
  outline-offset: 2px;
}

* .embedpress-analytics-wrapper {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "DMSans";
}

.embedpress-analytics-wrapper {
  background: #fff;
}

.ep-analytics-dashboard {
  padding: 30px;
  font-family: sans-serif;
  background: #f0f3f7;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard {
    padding: 20px;
  }
}
.ep-analytics-dashboard .ep-header-wrapper {
  padding: 16px 24px;
  border-radius: 16px;
  background: #fff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-header-wrapper {
    padding: 12px 20px;
    margin-bottom: 16px;
    gap: 32px;
  }
}
@media screen and (max-width: 767px) {
  .ep-analytics-dashboard .ep-header-wrapper {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
  }
}
.ep-analytics-dashboard .ep-header-wrapper .dashboard-title {
  font-size: 1.6rem;
  line-height: 1.2em;
  font-weight: 600;
  color: #25396f;
  padding-bottom: 8px;
  margin: 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-header-wrapper .dashboard-title {
    font-size: 1.15625rem;
  }
}
.ep-analytics-dashboard .ep-header-wrapper p {
  font-size: 14px;
  line-height: 1.4em;
  color: #7f8bb2;
  margin: 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-header-wrapper p {
    font-size: 13px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper {
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 24px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper {
    padding: 16px;
    margin-bottom: 16px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header {
  margin-bottom: 16px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-card-header {
    margin-bottom: 12px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2em;
  color: #092161;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-card-header h4 {
    font-size: 15px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header select {
  font-size: 14px;
  line-height: 1.2em;
  font-weight: 600;
  color: #5b4e96;
  border-color: #d7d7ea;
  box-shadow: none;
  border-radius: 8px;
  padding: 0 28px 0 12px;
  min-height: 30px;
  min-width: 80px;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: #fff url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5%206l5%205%205-5%202%201-7%207-7-7%202-1z%22%20fill%3D%22%23555%22%2F%3E%3C%2Fsvg%3E) no-repeat right 5px top 55%;
  background-size: 16px 16px;
  cursor: pointer;
  vertical-align: middle;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-card-header select {
    font-size: 12px;
    padding: 0 24px 0 10px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header select:focus {
  outline: none;
  box-shadow: none;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tab-header-wrapper {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tab-header-wrapper {
    gap: 20px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tabs {
  display: flex;
  gap: 16px;
  margin-bottom: -1px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tabs {
    gap: 12px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tabs .tab {
  padding: 20px 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2em;
  color: #778095;
  padding-top: 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tabs .tab {
    font-size: 13px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-card-header .tabs .tab.active {
  color: #5b4e96;
  border-color: #5b4e96;
  border-width: 3px;
}
.ep-analytics-dashboard .ep-card-wrapper.overview-wrapper .ep-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper.overview-wrapper .ep-card-header {
    gap: 20px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards {
    gap: 16px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card {
  padding: 16px;
  border: 1px solid #e2e6f1;
  border-radius: 8px;
  flex: 1;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .loading-text {
  opacity: 0.6;
  animation: pulse 1.5s ease-in-out infinite;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card {
    padding: 16px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top {
    margin-bottom: 14px;
    gap: 8px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top {
    margin-bottom: 12px;
  }
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top svg {
    width: 30px;
    height: 30px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top .ep-eye-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  color: #667eea;
  margin-left: auto;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top .ep-eye-icon-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  opacity: 1;
  transform: scale(1.1);
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top .ep-eye-icon-btn:active {
  transform: scale(0.95);
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-top .ep-eye-icon-btn svg {
  width: 16px;
  height: 16px;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2em;
  color: #092161;
  margin: 0;
  padding-bottom: 8px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card h2 {
    font-size: 24px;
    padding-bottom: 6px;
  }
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card h2 {
    font-size: 18px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card h5 {
  font-size: 18px;
  line-height: 1.2em;
  font-weight: 500;
  color: #222b3d;
  margin: 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card h5 {
    font-size: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card h5 {
    font-size: 13px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub {
  font-size: 14px;
  line-height: 1.2em;
  color: #778095;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub {
    font-size: 12px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub {
    font-size: 10px;
  }
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub .up-icon path {
  stroke: #0e9f6e;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub .down-icon path {
  stroke: #f05252;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub span {
  font-weight: 600;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub span.up {
  color: #0e9f6e;
}
.ep-analytics-dashboard .ep-card-wrapper .ep-overview-cards .ep-card .card-sub span.down {
  color: #f05252;
}
.ep-analytics-dashboard .ep-card-wrapper.views-chart {
  flex-basis: 65%;
  display: flex;
  justify-content: space-around;
}
@media screen and (max-width: 1024px) {
  .ep-analytics-dashboard .ep-card-wrapper.views-chart {
    margin-bottom: 0;
  }
}
.ep-analytics-dashboard .ep-card-wrapper.views-chart .ep-card-header {
  border-bottom: 1px solid #e2e6f1;
  width: 100%;
}
.ep-analytics-dashboard .ep-card-wrapper.views-chart .graph-placeholder {
  width: 100%;
  overflow: hidden;
}
.ep-analytics-dashboard .ep-card-wrapper.views-chart .graph-placeholder .world-map-container svg.worldmap-svg {
  max-height: 360px;
  overflow: hidden;
  margin-top: 30px;
}
.ep-analytics-dashboard .ep-card-wrapper.views-chart .graph-placeholder .world-map-container svg.worldmap-svg path {
  stroke: unset;
  stroke-width: unset;
  cursor: default;
  transition: unset;
}
.ep-analytics-dashboard .ep-card-wrapper.views-chart .graph-placeholder .world-map-container .zoom-in,
.ep-analytics-dashboard .ep-card-wrapper.views-chart .graph-placeholder .world-map-container .zoom-out,
.ep-analytics-dashboard .ep-card-wrapper.views-chart .graph-placeholder .world-map-container .home {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ep-analytics-dashboard .ep-card-wrapper.device-analytics {
  flex-basis: 35%;
}
.ep-analytics-dashboard .ep-card-wrapper.device-analytics .ep-card-header {
  border-bottom: 1px solid #e2e6f1;
}
.ep-analytics-dashboard .button-wrapper {
  display: flex;
  gap: 16px;
  align-items: center;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .button-wrapper {
    gap: 8px;
  }
}
@media screen and (max-width: 767px) {
  .ep-analytics-dashboard .button-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper {
  display: flex;
  align-items: center;
  margin-right: 8px;
}
@media screen and (max-width: 767px) {
  .ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper {
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
  }
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #25396f;
  margin: 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label {
    font-size: 13px;
    gap: 10px;
  }
}
@media screen and (max-width: 767px) {
  .ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label {
    font-size: 12px;
    gap: 8px;
  }
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle-text {
  white-space: nowrap;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle {
  position: relative;
  width: 48px;
  height: 24px;
  background: #e2e6f1;
  border-radius: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle {
    width: 44px;
    height: 22px;
  }
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-input:checked + .ep-tracking-toggle-slider {
  background: #5b4e96;
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-input:checked + .ep-tracking-toggle-slider:before {
  transform: translateX(24px);
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-input:checked + .ep-tracking-toggle-slider:before {
    transform: translateX(22px);
  }
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-input:disabled + .ep-tracking-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #e2e6f1;
  border-radius: 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-slider:before {
    height: 18px;
    width: 18px;
  }
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label .ep-tracking-toggle .ep-tracking-toggle-slider:hover {
  box-shadow: 0 0 0 4px rgba(91, 78, 150, 0.1);
}
.ep-analytics-dashboard .button-wrapper .ep-tracking-toggle-wrapper .ep-tracking-toggle-label:hover .ep-tracking-toggle-slider {
  box-shadow: 0 0 0 4px rgba(91, 78, 150, 0.1);
}
.ep-analytics-dashboard .button-wrapper .ep-btn {
  font-size: 14px;
  line-height: 1.2em;
  font-weight: 500;
  color: #5b4e96;
  background: transparent;
  border: 1px solid #d7d7ea;
  padding: 8px 12px;
  border-radius: 6px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: ease-in-out 0.25s;
  cursor: pointer;
  white-space: nowrap;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .button-wrapper .ep-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}
.ep-analytics-dashboard .button-wrapper .ep-btn:hover, .ep-analytics-dashboard .button-wrapper .ep-btn.primary, .ep-analytics-dashboard .button-wrapper .ep-btn.active {
  background: #5b4d96;
  border-color: #5b4d96;
  color: #fff;
}
.ep-analytics-dashboard .button-wrapper .ep-btn:hover svg path, .ep-analytics-dashboard .button-wrapper .ep-btn.primary svg path, .ep-analytics-dashboard .button-wrapper .ep-btn.active svg path {
  stroke: #fff !important;
}
.ep-analytics-dashboard .ep-main-graphs {
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-main-graphs {
    gap: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-dashboard .ep-main-graphs {
    flex-direction: column;
  }
}
.ep-analytics-dashboard .ep-main-graphs .graph-placeholder .button-wrapper,
.ep-analytics-dashboard .ep-main-graphs .pie-placeholder .button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-main-graphs .graph-placeholder .button-wrapper,
  .ep-analytics-dashboard .ep-main-graphs .pie-placeholder .button-wrapper {
    margin-bottom: 16px;
  }
}
.ep-analytics-dashboard .ep-main-graphs .graph-placeholder img,
.ep-analytics-dashboard .ep-main-graphs .pie-placeholder img {
  max-width: 100%;
  width: 100%;
}
.ep-analytics-dashboard .ep-table-wrapper {
  display: flex;
  gap: 24px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-table-wrapper {
    gap: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-dashboard .ep-table-wrapper {
    flex-direction: column;
  }
}
.ep-analytics-dashboard .ep-table-wrapper .refallal-wrapper-table {
  flex-basis: 35%;
  margin-bottom: 0;
}
.ep-analytics-dashboard .ep-table-wrapper .analytics-wrapper-table {
  flex-basis: 65%;
  margin-bottom: 0;
}
.ep-analytics-dashboard .ep-table-wrapper .analytics-wrapper-table .ep-card-header {
  border-bottom: 1px solid #e2e6f1;
}
.ep-analytics-dashboard .ep-table-wrapper .analytics-wrapper-table .tab-table-content {
  max-height: 400px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid #e2e6f1;
}
.ep-analytics-dashboard .ep-table-wrapper .analytics-wrapper-table .tab-table-content thead {
  position: sticky;
  top: -1px;
}
.ep-analytics-dashboard .ep-table-wrapper .tab-table-content {
  border: 1px solid #e2e6f1;
  overflow: auto;
  border-radius: 8px;
}
.ep-analytics-dashboard .ep-table-wrapper table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
}
.ep-analytics-dashboard .ep-table-wrapper table tbody tr:nth-child(even) {
  background: #fafafc;
}
.ep-analytics-dashboard .ep-table-wrapper table th {
  border: none;
  padding: 8px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2em;
  color: #092161;
  background: #fbfaff;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-table-wrapper table th {
    font-size: 12px;
  }
}
.ep-analytics-dashboard .ep-table-wrapper table td {
  border: none;
  padding: 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2em;
  color: #092161;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-dashboard .ep-table-wrapper table td {
    font-size: 12px;
  }
}
.ep-analytics-dashboard .ep-table-wrapper table tbody tr:last-child td {
  border-bottom: none;
}

.ep-analytics-dashboard .ep-card-wrapper.views-chart .ep-pro-section-wrapper {
  width: 100%;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
}
.embedpress-analytics {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.viewer-location {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.embedpress-analytics,
.viewer-location,
.world-map-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  border: none !important;
  border-radius: 0 !important;
}

.world-map-container svg {
  max-height: 400px;
  width: 100%;
  max-width: 100%;
}

/* Chart Legend Styles */
.chart-legend-custom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 12px 0;
}
.chart-legend-custom .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666666;
}
.chart-legend-custom .legend-item .legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  display: inline-block;
}
.chart-legend-custom .legend-item .legend-text {
  font-weight: 500;
  color: #333333;
}

.ep-analytics-skeleton .views-chart {
  align-items: center;
  flex-direction: column;
}
.ep-analytics-skeleton .tab-table-content {
  border: none !important;
}

/* Pie Chart Container */
.pie-chart-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Skeleton Loading Styles */
.ep-analytics-skeleton .skeleton-base, .ep-analytics-skeleton .skeleton-table .skeleton-table-body .skeleton-tr .skeleton-td, .ep-analytics-skeleton .skeleton-table .skeleton-table-header .skeleton-th, .ep-analytics-skeleton .skeleton-table-title, .ep-analytics-skeleton .skeleton-btn, .ep-analytics-skeleton .skeleton-pie-chart, .ep-analytics-skeleton .skeleton-chart, .ep-analytics-skeleton .skeleton-select, .ep-analytics-skeleton .skeleton-tab, .ep-analytics-skeleton .skeleton-filter, .ep-analytics-skeleton .skeleton-title, .ep-analytics-skeleton .skeleton-card .skeleton-sub, .ep-analytics-skeleton .skeleton-card .skeleton-label, .ep-analytics-skeleton .skeleton-card .skeleton-number, .ep-analytics-skeleton .skeleton-card .skeleton-icon {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.ep-analytics-skeleton .skeleton-card .skeleton-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}
@media screen and (max-width: 1024px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-icon {
    width: 30px;
    height: 30px;
  }
}
.ep-analytics-skeleton .skeleton-card .skeleton-text-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ep-analytics-skeleton .skeleton-card .skeleton-number {
  height: 24px;
  width: 80px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-number {
    height: 20px;
    width: 70px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-number {
    height: 18px;
    width: 60px;
  }
}
.ep-analytics-skeleton .skeleton-card .skeleton-label {
  height: 16px;
  width: 120px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-label {
    height: 14px;
    width: 100px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-label {
    height: 12px;
    width: 80px;
  }
}
.ep-analytics-skeleton .skeleton-card .skeleton-sub {
  height: 14px;
  width: 100px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-sub {
    height: 12px;
    width: 80px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-skeleton .skeleton-card .skeleton-sub {
    height: 10px;
    width: 60px;
  }
}
.ep-analytics-skeleton .skeleton-title {
  height: 20px;
  width: 200px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-title {
    height: 18px;
    width: 180px;
  }
}
.ep-analytics-skeleton .skeleton-filter {
  height: 36px;
  width: 150px;
  border-radius: 6px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-filter {
    height: 32px;
    width: 130px;
  }
}
.ep-analytics-skeleton .skeleton-tab {
  height: 20px;
  width: 120px;
  margin: 10px 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-tab {
    height: 18px;
    width: 100px;
    margin-right: 16px;
  }
}
.ep-analytics-skeleton .skeleton-select {
  height: 36px;
  width: 120px;
  border-radius: 6px;
  margin: 10px 0;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-select {
    height: 32px;
    width: 100px;
  }
}
.ep-analytics-skeleton .skeleton-chart {
  height: 300px;
  width: 100%;
  border-radius: 8px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-chart {
    height: 250px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-skeleton .skeleton-chart {
    height: 200px;
  }
}
.ep-analytics-skeleton .skeleton-pie-chart {
  height: 250px;
  width: 100%;
  border-radius: 8px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-pie-chart {
    height: 200px;
  }
}
@media screen and (max-width: 1024px) {
  .ep-analytics-skeleton .skeleton-pie-chart {
    height: 180px;
  }
}
.ep-analytics-skeleton .skeleton-btn {
  height: 34px;
  width: 80px;
  border-radius: 6px;
  margin-left: 8px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-btn {
    height: 30px;
    width: 70px;
  }
}
.ep-analytics-skeleton .skeleton-table-title {
  height: 20px;
  width: 150px;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-table-title {
    height: 18px;
    width: 130px;
  }
}
.ep-analytics-skeleton .skeleton-table {
  width: 100%;
}
.ep-analytics-skeleton .skeleton-table .skeleton-table-header {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e6f1;
}
.ep-analytics-skeleton .skeleton-table .skeleton-table-header .skeleton-th {
  height: 16px;
  flex: 1;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-table .skeleton-table-header .skeleton-th {
    height: 14px;
  }
}
.ep-analytics-skeleton .skeleton-table .skeleton-table-body .skeleton-tr {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}
.ep-analytics-skeleton .skeleton-table .skeleton-table-body .skeleton-tr .skeleton-td {
  height: 14px;
  flex: 1;
}
@media screen and (max-width: 1400px) {
  .ep-analytics-skeleton .skeleton-table .skeleton-table-body .skeleton-tr .skeleton-td {
    height: 12px;
  }
}

.ep-chart-disabled {
  filter: grayscale(100%);
  opacity: 0.7;
}
.ep-chart-disabled .chart-legend-custom * {
  color: #9ca3af !important;
}

.ep-chart-eye-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}
.ep-chart-eye-overlay .ep-pro-eye-icon-chart {
  background: #6c5ce7;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}
.ep-chart-eye-overlay .ep-pro-eye-icon-chart:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}
.ep-chart-eye-overlay .ep-pro-eye-icon-chart:active {
  transform: scale(0.95);
}
.ep-chart-eye-overlay .ep-pro-eye-icon-chart svg {
  width: 24px;
  height: 24px;
}

.ep-table-disabled {
  filter: grayscale(100%);
  opacity: 0.7;
  position: relative;
}
.ep-table-disabled table th,
.ep-table-disabled table td {
  color: #9ca3af !important;
  border-color: #e5e7eb !important;
}
.ep-table-disabled table tbody tr:nth-child(even) {
  background-color: #f9fafb !important;
}
.ep-table-disabled h4 {
  color: #9ca3af !important;
}
.ep-table-disabled .tabs .tab {
  color: #9ca3af !important;
}
.ep-table-disabled .tabs .tab.active {
  color: #9ca3af !important;
  border-bottom-color: #9ca3af !important;
}
.ep-table-disabled:hover::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.ep-table-disabled:hover::before {
  content: "👁";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  z-index: 10;
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 1200px) {
  .ep-header-wrapper {
    flex-direction: column;
    align-items: self-start !important;
    gap: 16px !important;
  }
}
.pie-placeholder canvas {
  z-index: 1;
}/*# sourceMappingURL=style.css.map */