*@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"); 
*@import url(https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600&display=swap"); 
/* ========== Base Reset & Typography ========== */
body, button, input, select, textarea {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  color: #1f2937;
}
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3, h4 {
  font-weight: 600;
  margin-bottom: 0.75em;
  color: #111;
}

:root {
  --accent: #5262f1!important; /* or whatever modern color you want */
}
/* ========== Layout & Card ========== */
.section {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.card {
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 20px;
  transition: 0.2s ease all;
    position: relative;
    z-index: 1; /* Keeps card under menus */
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

label {
  font-size: 14px!important;
}

/* ========== Form Inputs ========== */
input[type="text"], input[type="email"], input[type="url"], textarea, select {
  border: 1px solid #d6dce5;
  border-radius: 12px;
  padding: 12px 16px;
  width: 100%;
  font-size: 15px;
  transition: border 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: #6a5acd;
  outline: none;
}

/* ========== Buttons ========== */

.button,
.btn {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  background-color: #f6f8fc;
  color: #444;
  border: 1px solid #ddd;
  margin-right: 6px;
}

.btn-primary {
  background-color: #5262f1;
    color: #fff;
    border: none;
  };

.btn:hover, .button:hover {
  background-color: #eef2ff;
  color: #222!important;
}
.btn-secondary {
  background-color: #f6f8fc;
  color: #444;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 500;
  border: 1px solid #d0d4da;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #eaeef7!important;
  color: #222!important;
  border-color: #cbd1da;
}

.btn-primary:hover {
  background-color: #5f6eaf!important;
  color: #fff!important;
}
.btn-primary:hover,
.btn-secondary:hover,
.btn:hover,
.button:hover{
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ========== Tables ========== */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

th {
  background-color: #f6f7fe;
  color: #333;
  text-align: left;
  padding: 14px;
  font-weight: 600;
  font-size: 14px;
}

td {
  background-color: #fff;
  padding: 14px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

tr:hover td {
  background-color: #f5f9ff;
}*/
  /* Table structure 
  table.dataTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* Headers */
  table.dataTable thead th {
    background-color: #f4f5f7;  /* soft gray */
    color: #1f2937;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
    text-transform: uppercase;
  }

  /* Body row */
  table.dataTable tbody tr {
    background-color: #ffffff;
    transition: background-color 0.2s ease;
  }
/* Zebra stripe for subtle rows */
  table.dataTable tbody tr:nth-child(even) {
    background-color: #f9fafb;  /* subtle zebra */
  }

  /* Row hover (soft blue tint) */
  table.dataTable tbody tr:hover {
    background-color: #eef4ff;
  }


  /* Table cells */
  table.dataTable tbody td {
    font-size: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
    color: #333;
  }

  /* Make link columns look more readable */
  td a.shortlink {
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
  }

  td a.shortlink:hover {
    text-decoration: underline;
  }

/* Optional: color tags based on value (sample only) */
td.category[data-value*="Salesforce"] {
  background-color: #eaf4ff;
  color: #1e3a8a;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 10px;
}
.dataTables_wrapper {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
  background-color: white;
  padding: 12px;
}*/


/* ========== Sidebar ========== */
.sidebar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.sidebar-icon:hover {
  background-color: #e9efff;
}

/* ========== Utility ========== */
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }

/* ========== utm_campaign from tags ========== */
.badge {
  background-color: #f3f6fd;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-block;
}
.badge-primary {
  background-color: #5262f1!important;
  line-height: 1.2;
  color: #eee!important;
}

.link-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
/* KEEP base outline-danger color */
/* Fix for red delete buttons (override .btn styles safely) */
.btn-danger,
.btn.btn-danger {
  background-color: var(--color-red-default) !important;
  color: white !important;
  border: 1px solid var(--color-red-default) !important;
}

.btn-danger:hover,
.btn.btn-danger:hover {
  background-color: #d9342b !important; /* darken a bit for hover */
  border-color: #d9342b !important;
  color: white !important;
}

/* Outline red button version */
.btn-outline-danger,
.btn.btn-outline-danger {
  background-color: transparent !important;
  border: 1px solid var(--color-red-default) !important;
  color: var(--color-red-default) !important;
}

.btn-outline-danger:hover,
.btn.btn-outline-danger:hover {
  background-color: var(--red-light) !important;
  border-color: var(--color-red-default) !important;
  color: var(--color-red-default) !important;
}

/*========== remove border for cards =======*/

div.dataTables_wrapper {
  border: none !important;

}
/*========== consistent icon spacing =======*/
.btn i {
  margin-right: 4px;
}

/*========== consistent icon favorite =======*/
.btn-outline-primary.favorite {
  color: var(--color-blue-default); /* original blue */
  border-color: var(--color-blue-default);
  background-color: transparent;
  transition: all 0.2s ease;
}

.btn-outline-primary.favorite:hover {
  background-color: var(--blue-light);  /* soft blue tint */
  color: var(--color-blue-default);     /* keep icon visible */
  border-color: var(--color-blue-default);
}

.btn-outline-primary.favorite i {
  color: inherit; /* ensure the icon inherits blue */
}
.btn-outline-primary.favorite.active i:before {
  content: "\f004"; /* solid heart icon if you're using FontAwesome */
  color: var(--color-blue-default);
}
/*===========fix icons left-right centering========*/
/* === Reusable Icon-Only Button Style === */
.btn-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-icon-only i {
  pointer-events: none; /* Ensure icon doesn't block clicks */
  line-height: 1;
}

/* === Reusable Icon-Only Button Style === */
.btn-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-icon-only i {
  pointer-events: none; /* Ensure icon doesn't block clicks */
  line-height: 1;
}
body, button, input, select, textarea {
  font-family: 'Inter', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #1f2937; /* soft dark */
}
.btn {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.btn-icon-only:hover i {
  color: inherit;
}

/*====== top menu=====*/

.lw-top-menu {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  list-style: none;
}

.lw-top-menu li a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  background-color: #f6f8fc;
  border: 1px solid #d0d4da;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lw-top-menu li a:hover {
  background-color: #e6e9f0;
  color: #222;
  border-color: #c6cbd4;
}

.lw-top-menu li a.active {
  background-color: #d9e1f3;
  color: #1a1a1a;
  border-color: #a8b6d2;
}
.lw-top-menu a {
  /* remove position: relative; */
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

/*===== tooptip =====*/
.tooltip-inner {
  background-color: #5262f1 !important; /* or your desired color */
  color: #fff; /* optional: for tooltip text color */
  font-size: 13px;
  border-radius: 4px;
}

/*====== sidebar ======*/
/* Tighten sidebar submenu padding and prevent wrapping */
.sidebar .sidebar-nav .menu-item .sidebar-link {
  padding-left: 14px !important; /* reduce left padding */
  white-space: nowrap !important; /* keep on one line */
  font-size: 15px;
}

.sidebar .sidebar-nav .menu-item .sidebar-link i {
  width: 16px !important; /* tighten icon space */
  margin-right: 8px !important; /* reduce spacing between icon and text */
}
.sidebar .menu-item .dropdown-menu {
  padding-left: 8px;
}
