@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lato", sans-serif;
}

:root {
  --blue: #287bff;
  --white: #ffffff;
  --grey: #f5f5f5;
  --black1: #222;
  --black2: #999;

  --bg-background: #F9FAFE;
  --header-width: 66px;
  --nav-height: 60px;
  --aside-width: 330px;
  --body-height: 100vh;
  --limit-shadow: 0 0 1px rgba(0, 0, 0, 0.21);
  --first-color: #030D45;
  --first-color-light: #AFA5D9;
  --white-color: #F7F6FB;
  --normal-font-size: 1rem;
  --w-fixed: 0;
  --x-fixed: 1;
  --y-fixed: 2;
  --z-fixed: 3;
}

.custom__bold {
  font-weight: bold;
}

.custom__capitalize {
  text-transform: capitalize;
}

a {
  text-decoration: none;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.wrapper {
  position: relative;
  height: 100vh;
  width: 100%;
}

.navigation {
  position: fixed;
  width: 300px;
  height: 100%;
  background: var(--blue);
  border-left: 10px solid var(--blue);
  transition: 0.5s;
  overflow: hidden;
}

.navigation ul {
  padding-left: 0 !important;
  /* overriding bootstrap css */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.navigation ul li {
  position: relative;
  width: 100%;
  list-style: none;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.navigation ul li:hover,
.navigation ul li.hovered {
  background-color: var(--white);
}

.navigation ul li:nth-child(1) {
  margin-bottom: 40px;
  pointer-events: none;
}

.navigation ul li a {
  position: relative;
  display: block;
  width: 100%;
  display: flex;
  text-decoration: none;
  color: var(--white)
}

.navigation ul li:hover a,
.navigation ul li.hovered a {
  color: var(--blue);
}

.navigation ul li a .icon {
  position: relative;
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
}

.navigation ul li a .icon i {
  font-size: 1.5em;
}

.navigation ul li a .title {
  position: relative;
  display: block;
  padding: 0 10px;
  height: 60px;
  line-height: 60px;
  text-align: left;
  white-space: nowrap;
}

/* curve outside */

.navigation ul li:hover a::before,
.navigation ul li.hovered a::before {
  content: '';
  position: absolute;
  right: 0;
  top: -50px;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 35px 35px 0 10px var(--white);
  pointer-events: none;
}

.navigation ul li:hover a::after,
.navigation ul li.hovered a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -50px;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  box-shadow: 35px -35px 0 10px var(--white);
  pointer-events: none;
}

.main {
  position: absolute;
  width: calc(100% - 300px);
  left: 300px;
  min-height: 100vh;
  background-color: var(--white);
  transition: 0.5s;
}

.main.active {
  width: calc(100% - 80px);
  left: 80px;
}

.topbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.menuToggle {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  cursor: pointer;
}

.top-menu-items ul {
  display: flex;
  list-style: none;
  gap: 25px;
  align-items: center;
}

/* thick underline under menu start */

.top-menu-items ul li {
  position: relative;
  /* Enables positioning for the ::after element */
}

.top-menu-items ul li:hover::after {
  content: "";
  /* Empty content for the pseudo-element */
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  /* Align underline at the bottom of the text */
  height: 4px;
  /* Adjust thickness of the underline */
  background-color: var(--blue);
  /* Set the underline color */
}

/* thick underline under menu end */

.top-menu-items ul li a {
  color: #000;
  /* Change link color to black */
  text-decoration: none;
  /* Remove underline */
}

.top-menu-items ul li a:hover {
  color: #2a2185;
  /* Change color on hover */
}

.top-menu-items form button {
  background: transparent;
  border: 0;
}

.user {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.topbar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardBox {
  position: relative;
  width: 100%;
  padding: 15px;
}

.contextmenu-custom {
  font-weight: 400;
  border-radius: 10px;
}

.avatar {
  height: 40px;
  width: 40px;
}


.campaign-profit-red-bg {

  color: red;
  font-weight: bolder;
  padding: 0.2rem 1rem;
  text-align: center;
  border-radius: 15%;
}

.campaign-profit-green-bg {
  color: green;
  font-weight: bolder;
  padding: 0.2rem 1rem;
  text-align: center;
  padding: 10px;
  border-radius: 15%;
}

/* table */


/* button css */


/* Hexadecimal entities for the icons */

/* navbar */




/* modal css */

.modal-header {
  background-color: #b0bec5;
}

.modal-title {
  color: var(--black1);
}

.custom__form__button {
  background-color: #D3D3D3;
}

/* select grouping field for campaign by ID report start */

.selectGrouping span {
  display: block !important;
  width: 100% !important;
}

.selectGrouping .select2-selection {
  padding: 0.858rem .75rem !important;
}

/* login form css */

.login {
  text-align: center;
  width: 350px;
  border-radius: 20px;
  box-sizing: border-box;
  padding: 40px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.login h2 {
  margin: 0 0 20px;
  padding: 0;
  font-size: 30px;
  text-transform: uppercase;
}

.login .input-group {
  position: relative;
  width: 100%;
  margin-bottom: 25px;
}

.login .input-group input {
  height: 50px;
  width: 100%;
  box-sizing: border-box;
  font-size: 18px;
  outline: none;
  border: 1px solid #000;
  border-radius: 20px;
  padding-left: 20px;
  padding-right: 30px;
}

.login .input-group span {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0;
  transition: 0.5s;
  pointer-events: none;
  background: #fff;
}

.login .input-group input:focus~span,
.login .input-group input:valid~span {
  top: -12px;
  left: 12px;
  font-size: 12px;
  padding: 2px 4px;
  border: 1px solid #000;
  background: #03396c;
  color: #fff;
}

.login .input-group input[type="submit"] {
  background: #03396c;
  border: none;
  box-shadow: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.login .input-group input[type="submit"]:hover {
  background: #ffc107;
}

.login a {
  font-size: 12px;
  color: grey;
  text-decoration: none;
  display: block;
  text-align: center;

}

.login a span {
  color: #262626;
  font-weight: 600;
}

.login a span:hover {
  color: #ffc107;
}

/* tabulator */


.tabulator .tabulator-header .tabulator-col {
  background-color: #b0bec5 !important;
  /* Green color */
  color: black;
  /* Text color */
}

.tabulator .tabulator-footer {
  background-color: #fff;
}

/* code for selectgrouping start */

.selectGroupingDiv .select2 {
  width: 500px !important;
}

.selectGroupingDiv .select2-container--default {
  width: 210px;
}

.selectGroupingDiv .select2-selection {
  padding: 6px 0;
}

.campaign__by__id .input-group {
  width: initial !important;
}

/* code for selectgrouping end */

/* code for add custom conversion event under settings start */

.event-row {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.event-header {
  display: flex;
  font-weight: bold;
  background-color: #f8f9fa;
  padding: 10px;
  border-bottom: 2px solid #ccc;
}

.event-cell {
  flex: 1;
  padding: 0 10px;
}

.event-row>div:nth-child(2) span {
  font-style: italic;
  background: gray;
  border-radius: 10px;
  color: #fff;
  padding: 7px;
}

/* code for add custom conversion event under settings end */

/* code for table column toggle start */


.select2-results__option {
  padding-right: 20px;
  vertical-align: middle;
}

.select2-results__option:before {
  content: "";
  display: inline-block;
  position: relative;
  height: 20px;
  width: 20px;
  border: 2px solid #e9e9e9;
  border-radius: 4px;
  background-color: #fff;
  margin-right: 20px;
  vertical-align: middle;
}

.select2-results__option[aria-selected=true]:before {
  font-family: fontAwesome;
  content: "\f00c";
  color: #fff;
  background-color: #f77750;
  border: 0;
  display: inline-block;
  padding-left: 3px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #eaeaeb;
  color: #272727;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
  border-radius: 4px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #f77750;
  border-width: 2px;
}

.select2-container--default .select2-selection--multiple {
  border-width: 2px;
}

.select2-container--open .select2-dropdown--below {

  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

.select2-selection .select2-selection--multiple:after {
  content: 'hhghgh';
}

#selectTimeZone+.select2-container {
  width: 100% !important;
}



/* disable tabulator FIRST LAST pagination button */

.tabulator-page[data-page='first'],
.tabulator-page[data-page='last'] {
  display: none !important;
}

.tabulator-paginator {
  display: flex;
  justify-content: end;
  /* or space-between */
  gap: 5px;
  /* adds space between child elements */
}

/* top menu css start */


.top-menu-items ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  align-items: center;
}

.top-menu-items li {
  margin: 0;
}

.top-menu-items a,
.top-menu-items button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #4a5568;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.top-menu-items a:hover,
.top-menu-items button:hover {
  background-color: #f7fafc;
  color: #2d3748;
}

.top-menu-items a:active,
.top-menu-items button:active {
  background-color: #edf2f7;
}

.top-menu-items svg {
  flex-shrink: 0;
}

.top-menu-items form {
  margin: 0;
}

/* Notifications */
.notifications-wrapper {
  position: relative;
}

.notification-bell {
  position: relative;
  padding: 0.6rem;
}

.notification-bell svg {
  width: 20px;
  height: 20px;
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  width: 380px;
  max-height: 500px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  border: 1px solid #e2e8f0;
}

.notification-dropdown.active {
  display: flex;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.notification-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1a202c;
}

.mark-all-read {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background-color 0.2s;
}

.mark-all-read:hover {
  background-color: #eff6ff;
}

.notification-list {
  overflow-y: auto;
  max-height: 360px;
}

.notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background-color 0.2s;
}

.notification-item:hover {
  background-color: #f8fafc;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background-color: #f0f9ff;
}

.notification-item.unread:hover {
  background-color: #e0f2fe;
}

.notification-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background-color: #e0e7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f46e5;
}

.notification-item.unread .notification-icon {
  background-color: #dbeafe;
  color: #2563eb;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  margin: 0 0 0.25rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a202c;
}

.notification-text {
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.notification-time {
  font-size: 0.75rem;
  color: #94a3b8;
}

.notification-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.notification-footer a {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem;
  display: inline-block;
}

.notification-footer a:hover {
  color: #2563eb;
  background-color: transparent;
}

/* top menu css end */