/* /surftrust/admin/css/surftrust-admin.css */

/* Main App Wrapper - Flexbox Layout */
:root {
  --primary-color: #6c5ce7; /* Your main accent color */
  --primary-gradient: linear-gradient(45deg, #6c5ce7, #8e44ad);
}
.surftrust-app-wrapper {
  display: flex;
  gap: 20px; /* Space between sidebar and content */
}

/* Sidebar Navigation */
.surftrust-sidebar-nav {
  flex: 0 0 200px; /* Do not grow, do not shrink, base width 200px */
  background: var(--primary-gradient);
  padding: 10px;
  border-radius: 4px;
}

.surftrust-sidebar-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.surftrust-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  text-decoration: none;
  color: #1d2327;
  border-radius: 4px;
  margin-bottom: 5px;
  transition: background-color 0.2s ease-in-out;
}

.surftrust-sidebar-nav a:hover {
  /* background-color: #e0e0e1; */
  color: #fff;
}

/* Style for the active navigation link */
.surftrust-sidebar-nav a.is-active {
  /* background-color: #2271b1; */
  color: #fff;
  border: 2px solid #fff;
}

/* Main Content Area */
.surftrust-main-content {
  flex-grow: 1; /* Take up the remaining space */
}

/* The white box for settings panels */
.surftrust-panel {
  background-color: #fff;
  border: 1px solid #ccd0d4;
  padding: 20px;
}

/* WordPress Notices for Feedback */
.surftrust-notice {
  margin-bottom: 20px;
}
/* /surftrust/admin/css/surftrust-admin.css */

/* --- Dashboard Styles --- */

/* Main Header Welcome Box */
.surftrust-dashboard-header {
  background: var(--primary-gradient);
  padding: 25px 30px;
  margin-bottom: 25px;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.surftrust-dashboard-header h1 {
  margin: 0;
  font-size: 33px;
  color: #fff;
  font-weight: 600;
}

.surftrust-dashboard-header p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #fff;
}

/* Stat Grid Layout */
.surftrust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Individual Stat Card */
.surftrust-stat-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
}

.surftrust-stat-card .dashicons {
  font-size: 36px;
  color: #6c5ce7; /* A modern purple */
}

.surftrust-stat-card-value {
  font-size: 2.2em;
  font-weight: bold;
  line-height: 1.2;
}

.surftrust-stat-card-label {
  color: #666;
  margin-top: 3px;
}
/* /surftrust/admin/css/surftrust-admin.css */

/* --- All Notifications Dashboard Styles --- */

.surftrust-all-notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background-color: white;
  padding: 23px 15px;
}

.surftrust-all-notifications-header h1 {
  margin: 0;
  font:
    1em poppins,
    sans-serif;
}

.surftrust-filters {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* Styles for the filter tabs */
.surftrust-filter-tabs {
  display: inline-flex;
  background: #e0e0e1;
  border-radius: 6px;
  padding: 5px;
}

.surftrust-filter-tabs button {
  background: transparent;
  border: none;
  padding: 8px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  border-radius: 4px;
}

.surftrust-filter-tabs button.is-active {
  background: #fff;
  color: #2271b1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Styles for the main table */
.wp-list-table.surftrust-notifications-table {
  margin-top: 20px;
}

.wp-list-table.surftrust-notifications-table .column-status .dashicons {
  font-size: 30px;
  cursor: pointer;
  color: #ccd0d4; /* Gray for 'off' */
  transition: color 0.2s ease-in-out;
}

.wp-list-table.surftrust-notifications-table
  .column-status
  .dashicons.is-enabled {
  color: #2271b1; /* Blue for on */
}
.wp-list-table.surftrust-notifications-table
  .column-status
  .dashicons.is-enabled {
  color: #2271b1; /* Blue for 'on' */
}

.wp-list-table.surftrust-notifications-table .column-status .dashicons:hover {
  color: #135e96; /* Darker blue on hover */
}
/* --- Builder Wizard Styles --- */
.surftrust-wizard-header {
  text-align: center;
  font-size: 24px;
  margin: 20px 0 40px;
  color: #1d2327;
}
.surftrust-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.surftrust-type-card {
  border: 1px solid #ccd0d4;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}
.surftrust-type-card:hover {
  border-color: #2271b1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
  transform: translateY(-5px);
}
.surftrust-type-card .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  color: #2271b1;
}
.surftrust-type-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
.surftrust-type-card p {
  margin: 0;
  color: #555;
}
/* /surftrust/admin/css/surftrust-admin.css */

/* --- Custom Save Button Styles --- */

.surftrust-save-button-wrapper {
  margin-top: 30px; /* Add more space above the button */
  padding-top: 20px; /* Add a line separator */
  border-top: 1px solid #e0e0e0;
  text-align: right; /* Keep it aligned to the right */
}

.surftrust-save-button.is-primary {
  /* Override the default WordPress blue */
  background: #6c5ce7 !important; /* A modern purple - !important is needed to override core styles */
  border-color: #5d4eca !important;

  /* Make it bigger and bolder */
  padding: 8px 20px !important;
  height: auto !important;
  font-size: 14px !important;
  font-weight: 600;

  /* Add a subtle transition for a modern feel */
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.surftrust-save-button.is-primary:hover {
  background: #5d4eca !important;
  border-color: #4a3b9d !important;
  transform: translateY(-2px); /* Add a slight "lift" on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Style the spinner when the button is busy */
.surftrust-save-button.is-primary.is-busy .components-spinner {
  margin: 0;
}
/* In surftrust-admin.css */

.surftrust-page-header {
  margin-bottom: 20px;
}

.surftrust-page-header h1 {
  margin: 0;
  padding: 0;
}
/* /surftrust/admin/css/surftrust-admin.css */

/* --- Wizard Navigation Styles --- */
.surftrust-wizard-navigation {
  margin-bottom: 20px;
}

.surftrust-wizard-back-button {
  background: none !important;
  border: none !important;
  color: #2271b1 !important;
  text-decoration: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 !important;
  box-shadow: none !important;
}

.surftrust-wizard-back-button .dashicons {
  font-size: 18px;
  height: 18px;
  width: 18px;
}

.surftrust-wizard-back-button:hover {
  color: #135e96 !important;
}

/* --- Panel Header in Builder --- */
.surftrust-panel-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.surftrust-panel-header h2 {
  margin: 0;
  font-size: 20px;
  padding: 0;
}

.surftrust-change-type-link {
  background: none !important;
  border: none !important;
  font-size: 13px;
  font-weight: normal;
  color: #2271b1 !important;
  cursor: pointer;
  padding: 0 !important;
  text-decoration: underline;
  box-shadow: none !important;
}

.surftrust-change-type-link:hover {
  color: #135e96 !important;
}
/* /admin/css/surftrust-admin.css */

/* --- Builder Header & Back Link --- */
.surftrust-builder-header {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.surftrust-builder-back-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #2271b1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.surftrust-builder-back-link .dashicons {
  font-size: 20px;
  height: 20px;
  width: 20px;
}

.surftrust-builder-back-link:hover {
  color: #135e96;
}
/* /admin/css/surftrust-admin.css */

/* --- Page Header & Back Link (for CPT screen) --- */
.surftrust-page-header {
  margin-bottom: 20px;
}

.surftrust-page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background-color: #f0f0f1;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #2271b1;
  border: 1px solid #dcdcde;
  transition: all 0.2s ease-in-out;
}

.surftrust-page-back-link:hover {
  background-color: #e0e0e1;
  border-color: #c7c7c7;
  color: #135e96;
}

.surftrust-page-back-link .dashicons {
  font-size: 20px;
  height: 20px;
  width: 20px;
}
/* /admin/css/surftrust-admin.css */

/* --- Analytics & Dashboard Styles --- */

/* Wrapper for the full analytics view */
.surftrust-analytics-wrapper {
  background: #f0f0f1; /* A light grey background to match WP */
  padding: 1px 20px 20px 20px; /* 1px top padding to contain margins */
  margin: 0 -20px; /* Negative margin to break out of the standard .wrap padding */
}

/* New layout grid for the main dashboard */
.surftrust-dashboard-layout {
  display: grid;
  gap: 25px;
}

/* Panel styles used on dashboard and analytics */
.surftrust-panel {
  background: #fff;
  border: 1px solid #ccd0d4;
  padding: 20px;
}

/* Header for dashboard panels */
.surftrust-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.surftrust-panel-header h2 {
  margin: 0;
  padding: 0;
  font-size: 1.1em;
}

/* Grid for stat cards */
.surftrust-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px; /* Spacing between stats and chart */
}
/* This will be the main grid for the content below the stat cards */
.surftrust-dashboard-main-grid {
  display: grid;
  /* Creates two columns: the first takes up 1.5fr, the second 1fr of the space */
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  align-items: start; /* Aligns items to the top of the grid cell */
}
/* /admin/css/surftrust-admin.css */

/* --- Additions for Dashboard --- */

/* Style for section headers on the dashboard */
.surftrust-section-header {
  font-size: 1.3em;
  margin: 0 0 15px 0;
  padding: 0;
  font-weight: 600;
}
/* --- Styles for Top Performing Chart --- */
.surftrust-leaderboard-toggles {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 15px;
}

.surftrust-leaderboard-toggles .components-button {
  height: 28px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}
/* /admin/css/surftrust-admin.css */

/* --- Style for Chart Empty State --- */
.surftrust-chart-empty-state {
  text-align: center;
  padding: 40px 20px;
  border: 2px dashed #e0e0e0;
  border-radius: 4px;
  margin-top: 20px;
}

.surftrust-chart-empty-state .dashicons {
  font-size: 48px;
  width: 48px;
  height: 48px;
  color: #a0a5aa;
  margin-bottom: 15px;
}

.surftrust-chart-empty-state p {
  margin: 0;
  font-size: 14px;
  color: #555;
}
/* /admin/css/surftrust-admin.css */

/* --- Additions for Top Performing Chart --- */
.surftrust-chart-notice {
  font-size: 12px;
  color: #555;
  text-align: center;
  margin-top: 15px;
  font-style: italic;
}

/* /admin/css/surftrust-admin.css */

/* --- Main App Header / Horizontal Navbar --- */
.surftrust-app-header,
.st-builder-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #ccd0d4;
  /* Negative margin to span the full width of the content area */
  margin: 0 -20px 25px -20px;
}

/* Logo styling */
.surftrust-header-logo a {
  font-family: "Poppins", sans-serif; /* A nice, modern font */
  font-size: 24px;
  font-weight: 700;
  color: #1d2327;
  text-decoration: none;
  /* A subtle gradient for the text */
  background: linear-gradient(45deg, #6c5ce7, #00a3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Action bar on the right side */
.surftrust-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.surftrust-header-actions .components-button {
  text-decoration: none;
  font-weight: 600;
  color: #555;
  font-size: 13px;
}

.surftrust-header-actions .components-button:hover {
  color: #1d2327;
}

/* Specific styling for the "Go Pro" button */
.surftrust-header-actions .is-primary {
  background: #6c5ce7 !important;
  border-color: #5d4eca !important;
  color: #fff !important;
  border-radius: 5px;
  text-decoration: none !important;
  font-weight: 600;
}
/* /admin/css/surftrust-admin.css */

/* --- Styles for Builder Preview Notification --- */
.st-preview-notification {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  min-height: 70px;
  padding: 15px;
  transition: all 0.2s ease-in-out;
}

/* Image Styles */
.st-preview-image--product {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  object-fit: cover;
}

.st-preview-image--avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Message Styles */
.st-preview-message p {
  margin: 0;
}

.st-preview-message p.title {
  font-weight: bold;
}

.st-preview-message p.subtitle {
  opacity: 0.8;
}

/* Layout Modifiers */
.st-preview-notification--bar {
  width: 100%;
  border-radius: 0;
  justify-content: center;
}

.st-preview-notification--bubble {
  border-radius: 50px;
}
/* /admin/css/surftrust-admin.css */

/* --- Styles for Template Variations --- */

/* Replaces the old .surftrust-type-grid for this screen */
.st-template-variations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.st-template-card {
  border: 2px solid #ccd0d4;
  background: #fff;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.st-template-card.is-active {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.st-template-card h3 {
  font-size: 16px;
  margin: 0 0 20px 0;
}

/* Specific Preview Styles */
.st-preview-wrapper {
  transform: scale(0.85);
  transform-origin: center top;
  pointer-events: none; /* Prevents clicking inside the preview */
}

/* Modifier for Minimalist Bubble layout */
.st-preview--minimalist-bubble {
  flex-direction: column;
  text-align: center;
  gap: 8px !important;
}

/* Modifier for Classic Card layout */
.st-preview--classic-card {
  justify-content: space-between;
}
/* /admin/css/surftrust-admin.css */

/* --- Styles for Template Variations --- */

/* Replaces the old .surftrust-type-grid for this screen */
.st-template-variations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.st-template-card {
  border: 2px solid #ccd0d4;
  background: #fff;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.st-template-card.is-active {
  border-color: #2271b1;
  box-shadow: 0 0 0 1px #2271b1;
}

.st-template-card h3 {
  font-size: 16px;
  margin: 0 0 20px 0;
}

/* Specific Preview Styles */
.st-preview-wrapper {
  transform: scale(0.85);
  transform-origin: center top;
  pointer-events: none; /* Prevents clicking inside the preview */
}

/* Modifier for Minimalist Bubble layout */
.st-preview--minimalist-bubble {
  flex-direction: column;
  text-align: center;
  gap: 8px !important;
}

/* Modifier for Classic Card layout */
.st-preview--classic-card {
  justify-content: space-between;
}
/* /admin/css/surftrust-admin.css */

/* --- Review Template Specific Styles --- */

/* Star Rating Standardizer */
.st-preview-stars {
  color: #ffb900; /* WooCommerce Gold color for stars */
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}

/* Variation 1: Classic Quote Box */
.st-preview--review-quote-box {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.st-preview--review-quote-box .st-preview-quote-icon {
  width: 24px;
  height: 24px;
  opacity: 0.2;
}

/* Variation 2: Speech Bubble */
.st-preview--review-speech-bubble {
  position: relative;
  margin-bottom: 15px; /* Make room for the tail */
  overflow: visible; /* Allow tail to stick out */
}
/* Creating the 'tail' of the bubble using CSS borders */
.st-preview--review-speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20px;
  border-width: 10px 10px 0;
  border-style: solid;
  /* We use currentColor to inherit the background color dynamically */
  border-color: inherit transparent transparent transparent;
  display: block;
  width: 0;
}

/* Variation 3: Inline Card */
.st-preview--review-inline-card {
  justify-content: space-between;
}
.st-preview--review-inline-card .st-preview-message {
  flex: 1; /* Take up remaining space */
  margin-right: 15px;
}

/* /admin/css/surftrust-admin.css */

/* --- Cookie Notice Template Specific Styles --- */

.st-preview--cookie-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.st-preview-button {
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
/* /admin/css/surftrust-admin.css */

/* --- Growth Alert Template Specific Styles --- */

.st-preview-social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.st-preview-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Variation 1: Minimalist Icons */
.st-preview--growth-minimalist .st-preview-social-icon {
  color: inherit;
  opacity: 0.7;
}
.st-preview--growth-minimalist .st-preview-social-icon:hover {
  opacity: 1;
}

/* Variation 2: Solid Color Buttons */
.st-preview--growth-solid .st-preview-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff !important; /* Icon color is always white */
}
.st-preview--growth-solid .st-preview-social-icon.facebook {
  background-color: #1877f2;
}
.st-preview--growth-solid .st-preview-social-icon.twitter {
  background-color: #1da1f2;
}
.st-preview--growth-solid .st-preview-social-icon.pinterest {
  background-color: #e60023;
}

/* Variation 3: Modern Outline Buttons */
.st-preview--growth-outline .st-preview-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid;
}
.st-preview--growth-outline .st-preview-social-icon.facebook {
  border-color: #1877f2;
  color: #1877f2;
}
.st-preview--growth-outline .st-preview-social-icon.twitter {
  border-color: #1da1f2;
  color: #1da1f2;
}
.st-preview--growth-outline .st-preview-social-icon.pinterest {
  border-color: #e60023;
  color: #e60023;
}
/* /admin/css/surftrust-admin.css */

/* --- Live Visitor Template Specific Styles --- */

/* Variation 1: Minimalist Pill */
.st-preview--live-pill {
  border-radius: 50px; /* Force pill shape */
  padding: 10px 20px !important;
  gap: 10px;
}
.st-preview-live-dot {
  width: 8px;
  height: 8px;
  background-color: #e53935; /* A vibrant red */
  border-radius: 50%;
  animation: st-pulse 1.5s infinite;
}
@keyframes st-pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(229, 57, 53, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(229, 57, 53, 0);
  }
}

/* Variation 2: Icon Focus Card */
.st-preview--live-icon-card .st-preview-icon {
  font-size: 40px;
  width: 40px;
  height: 40px;
  color: #6c5ce7; /* Modern purple */
}
.st-preview--live-icon-card .st-preview-message {
  text-align: left;
}

/* Variation 3: Animated Counter */
.st-preview--live-counter {
  gap: 5px;
  justify-content: center;
  flex-direction: column;
}
.st-preview-counter-number {
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
}

/* /admin/css/surftrust-admin.css */

/* --- Sale Announcement Template Specific Styles --- */

/* Variation 1: The Deal Card */
.st-preview--sale-deal-card {
  align-items: center;
  gap: 15px;
}
.st-preview-deal-details {
  text-align: left;
  flex: 1;
}
.st-preview-deal-title {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0;
}
.st-preview-deal-product {
  font-weight: bold;
  margin: 2px 0 5px 0;
}
.st-preview-deal-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}
.st-preview-deal-pricing .new-price {
  font-weight: bold;
  font-size: 1.1em;
}
.st-preview-deal-pricing .old-price {
  text-decoration: line-through;
  opacity: 0.6;
}
.st-preview-deal-discount {
  background-color: #e53935; /* A vibrant red */
  color: #fff;
  padding: 2px 6px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 4px;
}

/* Variation 2: Urgency Banner */
.st-preview--sale-urgency-banner {
  flex-direction: column;
  text-align: center;
  gap: 8px;
}
.st-preview-urgency-title {
  font-size: 16px;
  font-weight: bold;
}
.st-preview-urgency-timer {
  font-family: monospace;
  font-size: 1.3em;
  background: rgba(0, 0, 0, 0.05);
  padding: 5px 10px;
  border-radius: 4px;
}
/* /admin/css/surftrust-admin.css */

/* --- New Builder Header Styles --- */
.st-builder-header {
  padding: 20px;
  background-color: #f6f7f7;
  border: 1px solid #dcdcde;
  border-radius: 4px;
  margin-bottom: 30px;
}

.st-builder-header .components-text-control__input {
  font-size: 12px;
  font-weight: 600;
  padding: 10px;
  border: 2px solid transparent;
  box-shadow: none;
}

.st-builder-header .components-text-control__input:focus {
  border-color: #2271b1;
  box-shadow: none;
}

.st-builder-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.st-builder-header-meta .campaign-type-label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.st-builder-header-meta .campaign-type-pill {
  display: inline-block;
  background: var(--primary-gradient);
  color: #fff;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}
/* /admin/css/surftrust-admin.css */

/* --- New Branded Builder Page Header --- */
/* /admin/css/surftrust-admin.css */

/* --- New Branded Builder Page Header --- */

/* This hides the original WordPress H1 title "Add New Notification" */
body.post-type-st_notification .wrap .wp-heading-inline {
  display: none;
}

/* .st-builder-page-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #dcdcde;
  margin: 10px 0 25px 0;
} */

.st-builder-logo-link {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  /* Gradient text effect */
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.st-builder-logo-link:hover {
  opacity: 0.8;
}
/* By adding the parent class, this selector becomes more specific than the default WordPress one */
.st-builder-page-title-wrapper .st-builder-page-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  padding: 0;
  /* animation: glowPulse 3s ease-in-out infinite; */
}

/* You will also need to add the @keyframes for your animation */
@keyframes glowPulse {
  0%,
  100% {
    text-shadow: 0 2px 8px rgba(93, 63, 211, 0.3);
  }
  50% {
    text-shadow: 0 4px 15px rgba(93, 63, 211, 0.6);
  }
}

/* --- ADD THIS TO THE END of admin/css/surftrust-admin.css --- */

/* Update the main header to support the new layout */
.st-builder-page-header {
  position: relative;
  z-index: 100;
  right: -3px;
  bottom: 30px;
  /* margin-left: 70rem; */
  width: 100%;
}

.st-builder-page-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.st-builder-page-title-wrapper {
  text-align: start;
  padding: 20px; /* optional, gives breathing space */
  border-radius: 10px; /* optional, modern look */
  display: block; /* keeps it neat */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
/* --- Styles for our new "Engaging" Button --- */
.st-builder-add-new-button {
  background: linear-gradient(
    45deg,
    #6c5ce7,
    #8e44ad
  ) !important; /* Engaging purple gradient */
  border-color: #6c5ce7 !important;
  color: #fff !important;
  padding: 8px 16px !important;
  height: auto !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease-in-out;
  display: inline-flex !important;
  align-items: center;
  gap: 8px; /* Space between the '+' icon and the text */
}

.st-builder-add-new-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, #5d4eca, #8e44ad) !important;
}

.st-builder-add-new-button .dashicons {
  font-size: 18px;
  height: 18px;
  width: 18px;
}
