@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Montserrat:wght@700&display=swap");._iconrowbox_zfbih_1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13.2px;
    width: 282px;
}

/* MAIN CARD */
._cardWrapper_zfbih_10 {
    flex: 1;
    padding: 0 16px;
    margin-top: 0px;
    margin-bottom: 0;
    overflow: hidden;
    min-width: 0;
}

._card_zfbih_10 {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 0px 14px #0000000f;
    padding: 25px;
    font-size: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    overflow-x: auto;
}

/* DECOR BG */
._cardBg_zfbih_34 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    pointer-events: none;
}

/* FOOTER */
._footer_zfbih_44 {
    text-align: center;
    margin-top: auto;
    padding-bottom: 8px;
}

@media (max-width: 1535px) {
    ._cardWrapper_zfbih_10 {
        padding: 0 12px;
    }

    ._card_zfbih_10 {
        padding: 20px;
        border-radius: 18px;
    }
}

@media (max-width: 600px) {
    ._iconrowbox_zfbih_1 {
        width: 100%;
        gap: 10px;
    }

    ._cardWrapper_zfbih_10 {
        padding: 0 10px;
    }

    ._card_zfbih_10 {
        padding: 16px;
        border-radius: 16px;
    }

    ._cardBg_zfbih_34 {
        width: 160px;
    }
}
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: var(--toastify-toast-top);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: var(--toastify-toast-top);
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: var(--toastify-toast-bottom);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: var(--toastify-toast-bottom);
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0px;
  position: relative;
  touch-action: none;
  width: var(--toastify-toast-width);
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: var(--toastify-toast-padding);
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: var(--toastify-toast-shadow);
  max-height: var(--toastify-toast-max-height);
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: var(--toastify-toast-width);
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container[data-stacked='true'] {
    width: 100vw;
  }
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: var(--toastify-color-dark);
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: var(--toastify-text-color-info);
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: var(--toastify-text-color-success);
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: var(--toastify-text-color-warning);
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: var(--toastify-text-color-error);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: unset;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@layer theme, base, components, utilities;

@layer theme {
  @theme default {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;

    --color-red-50: oklch(97.1% 0.013 17.38);
    --color-red-100: oklch(93.6% 0.032 17.717);
    --color-red-200: oklch(88.5% 0.062 18.334);
    --color-red-300: oklch(80.8% 0.114 19.571);
    --color-red-400: oklch(70.4% 0.191 22.216);
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-red-600: oklch(57.7% 0.245 27.325);
    --color-red-700: oklch(50.5% 0.213 27.518);
    --color-red-800: oklch(44.4% 0.177 26.899);
    --color-red-900: oklch(39.6% 0.141 25.723);
    --color-red-950: oklch(25.8% 0.092 26.042);

    --color-orange-50: oklch(98% 0.016 73.684);
    --color-orange-100: oklch(95.4% 0.038 75.164);
    --color-orange-200: oklch(90.1% 0.076 70.697);
    --color-orange-300: oklch(83.7% 0.128 66.29);
    --color-orange-400: oklch(75% 0.183 55.934);
    --color-orange-500: oklch(70.5% 0.213 47.604);
    --color-orange-600: oklch(64.6% 0.222 41.116);
    --color-orange-700: oklch(55.3% 0.195 38.402);
    --color-orange-800: oklch(47% 0.157 37.304);
    --color-orange-900: oklch(40.8% 0.123 38.172);
    --color-orange-950: oklch(26.6% 0.079 36.259);

    --color-amber-50: oklch(98.7% 0.022 95.277);
    --color-amber-100: oklch(96.2% 0.059 95.617);
    --color-amber-200: oklch(92.4% 0.12 95.746);
    --color-amber-300: oklch(87.9% 0.169 91.605);
    --color-amber-400: oklch(82.8% 0.189 84.429);
    --color-amber-500: oklch(76.9% 0.188 70.08);
    --color-amber-600: oklch(66.6% 0.179 58.318);
    --color-amber-700: oklch(55.5% 0.163 48.998);
    --color-amber-800: oklch(47.3% 0.137 46.201);
    --color-amber-900: oklch(41.4% 0.112 45.904);
    --color-amber-950: oklch(27.9% 0.077 45.635);

    --color-yellow-50: oklch(98.7% 0.026 102.212);
    --color-yellow-100: oklch(97.3% 0.071 103.193);
    --color-yellow-200: oklch(94.5% 0.129 101.54);
    --color-yellow-300: oklch(90.5% 0.182 98.111);
    --color-yellow-400: oklch(85.2% 0.199 91.936);
    --color-yellow-500: oklch(79.5% 0.184 86.047);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-yellow-700: oklch(55.4% 0.135 66.442);
    --color-yellow-800: oklch(47.6% 0.114 61.907);
    --color-yellow-900: oklch(42.1% 0.095 57.708);
    --color-yellow-950: oklch(28.6% 0.066 53.813);

    --color-lime-50: oklch(98.6% 0.031 120.757);
    --color-lime-100: oklch(96.7% 0.067 122.328);
    --color-lime-200: oklch(93.8% 0.127 124.321);
    --color-lime-300: oklch(89.7% 0.196 126.665);
    --color-lime-400: oklch(84.1% 0.238 128.85);
    --color-lime-500: oklch(76.8% 0.233 130.85);
    --color-lime-600: oklch(64.8% 0.2 131.684);
    --color-lime-700: oklch(53.2% 0.157 131.589);
    --color-lime-800: oklch(45.3% 0.124 130.933);
    --color-lime-900: oklch(40.5% 0.101 131.063);
    --color-lime-950: oklch(27.4% 0.072 132.109);

    --color-green-50: oklch(98.2% 0.018 155.826);
    --color-green-100: oklch(96.2% 0.044 156.743);
    --color-green-200: oklch(92.5% 0.084 155.995);
    --color-green-300: oklch(87.1% 0.15 154.449);
    --color-green-400: oklch(79.2% 0.209 151.711);
    --color-green-500: oklch(72.3% 0.219 149.579);
    --color-green-600: oklch(62.7% 0.194 149.214);
    --color-green-700: oklch(52.7% 0.154 150.069);
    --color-green-800: oklch(44.8% 0.119 151.328);
    --color-green-900: oklch(39.3% 0.095 152.535);
    --color-green-950: oklch(26.6% 0.065 152.934);

    --color-emerald-50: oklch(97.9% 0.021 166.113);
    --color-emerald-100: oklch(95% 0.052 163.051);
    --color-emerald-200: oklch(90.5% 0.093 164.15);
    --color-emerald-300: oklch(84.5% 0.143 164.978);
    --color-emerald-400: oklch(76.5% 0.177 163.223);
    --color-emerald-500: oklch(69.6% 0.17 162.48);
    --color-emerald-600: oklch(59.6% 0.145 163.225);
    --color-emerald-700: oklch(50.8% 0.118 165.612);
    --color-emerald-800: oklch(43.2% 0.095 166.913);
    --color-emerald-900: oklch(37.8% 0.077 168.94);
    --color-emerald-950: oklch(26.2% 0.051 172.552);

    --color-teal-50: oklch(98.4% 0.014 180.72);
    --color-teal-100: oklch(95.3% 0.051 180.801);
    --color-teal-200: oklch(91% 0.096 180.426);
    --color-teal-300: oklch(85.5% 0.138 181.071);
    --color-teal-400: oklch(77.7% 0.152 181.912);
    --color-teal-500: oklch(70.4% 0.14 182.503);
    --color-teal-600: oklch(60% 0.118 184.704);
    --color-teal-700: oklch(51.1% 0.096 186.391);
    --color-teal-800: oklch(43.7% 0.078 188.216);
    --color-teal-900: oklch(38.6% 0.063 188.416);
    --color-teal-950: oklch(27.7% 0.046 192.524);

    --color-cyan-50: oklch(98.4% 0.019 200.873);
    --color-cyan-100: oklch(95.6% 0.045 203.388);
    --color-cyan-200: oklch(91.7% 0.08 205.041);
    --color-cyan-300: oklch(86.5% 0.127 207.078);
    --color-cyan-400: oklch(78.9% 0.154 211.53);
    --color-cyan-500: oklch(71.5% 0.143 215.221);
    --color-cyan-600: oklch(60.9% 0.126 221.723);
    --color-cyan-700: oklch(52% 0.105 223.128);
    --color-cyan-800: oklch(45% 0.085 224.283);
    --color-cyan-900: oklch(39.8% 0.07 227.392);
    --color-cyan-950: oklch(30.2% 0.056 229.695);

    --color-sky-50: oklch(97.7% 0.013 236.62);
    --color-sky-100: oklch(95.1% 0.026 236.824);
    --color-sky-200: oklch(90.1% 0.058 230.902);
    --color-sky-300: oklch(82.8% 0.111 230.318);
    --color-sky-400: oklch(74.6% 0.16 232.661);
    --color-sky-500: oklch(68.5% 0.169 237.323);
    --color-sky-600: oklch(58.8% 0.158 241.966);
    --color-sky-700: oklch(50% 0.134 242.749);
    --color-sky-800: oklch(44.3% 0.11 240.79);
    --color-sky-900: oklch(39.1% 0.09 240.876);
    --color-sky-950: oklch(29.3% 0.066 243.157);

    --color-blue-50: oklch(97% 0.014 254.604);
    --color-blue-100: oklch(93.2% 0.032 255.585);
    --color-blue-200: oklch(88.2% 0.059 254.128);
    --color-blue-300: oklch(80.9% 0.105 251.813);
    --color-blue-400: oklch(70.7% 0.165 254.624);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-blue-800: oklch(42.4% 0.199 265.638);
    --color-blue-900: oklch(37.9% 0.146 265.522);
    --color-blue-950: oklch(28.2% 0.091 267.935);

    --color-indigo-50: oklch(96.2% 0.018 272.314);
    --color-indigo-100: oklch(93% 0.034 272.788);
    --color-indigo-200: oklch(87% 0.065 274.039);
    --color-indigo-300: oklch(78.5% 0.115 274.713);
    --color-indigo-400: oklch(67.3% 0.182 276.935);
    --color-indigo-500: oklch(58.5% 0.233 277.117);
    --color-indigo-600: oklch(51.1% 0.262 276.966);
    --color-indigo-700: oklch(45.7% 0.24 277.023);
    --color-indigo-800: oklch(39.8% 0.195 277.366);
    --color-indigo-900: oklch(35.9% 0.144 278.697);
    --color-indigo-950: oklch(25.7% 0.09 281.288);

    --color-violet-50: oklch(96.9% 0.016 293.756);
    --color-violet-100: oklch(94.3% 0.029 294.588);
    --color-violet-200: oklch(89.4% 0.057 293.283);
    --color-violet-300: oklch(81.1% 0.111 293.571);
    --color-violet-400: oklch(70.2% 0.183 293.541);
    --color-violet-500: oklch(60.6% 0.25 292.717);
    --color-violet-600: oklch(54.1% 0.281 293.009);
    --color-violet-700: oklch(49.1% 0.27 292.581);
    --color-violet-800: oklch(43.2% 0.232 292.759);
    --color-violet-900: oklch(38% 0.189 293.745);
    --color-violet-950: oklch(28.3% 0.141 291.089);

    --color-purple-50: oklch(97.7% 0.014 308.299);
    --color-purple-100: oklch(94.6% 0.033 307.174);
    --color-purple-200: oklch(90.2% 0.063 306.703);
    --color-purple-300: oklch(82.7% 0.119 306.383);
    --color-purple-400: oklch(71.4% 0.203 305.504);
    --color-purple-500: oklch(62.7% 0.265 303.9);
    --color-purple-600: oklch(55.8% 0.288 302.321);
    --color-purple-700: oklch(49.6% 0.265 301.924);
    --color-purple-800: oklch(43.8% 0.218 303.724);
    --color-purple-900: oklch(38.1% 0.176 304.987);
    --color-purple-950: oklch(29.1% 0.149 302.717);

    --color-fuchsia-50: oklch(97.7% 0.017 320.058);
    --color-fuchsia-100: oklch(95.2% 0.037 318.852);
    --color-fuchsia-200: oklch(90.3% 0.076 319.62);
    --color-fuchsia-300: oklch(83.3% 0.145 321.434);
    --color-fuchsia-400: oklch(74% 0.238 322.16);
    --color-fuchsia-500: oklch(66.7% 0.295 322.15);
    --color-fuchsia-600: oklch(59.1% 0.293 322.896);
    --color-fuchsia-700: oklch(51.8% 0.253 323.949);
    --color-fuchsia-800: oklch(45.2% 0.211 324.591);
    --color-fuchsia-900: oklch(40.1% 0.17 325.612);
    --color-fuchsia-950: oklch(29.3% 0.136 325.661);

    --color-pink-50: oklch(97.1% 0.014 343.198);
    --color-pink-100: oklch(94.8% 0.028 342.258);
    --color-pink-200: oklch(89.9% 0.061 343.231);
    --color-pink-300: oklch(82.3% 0.12 346.018);
    --color-pink-400: oklch(71.8% 0.202 349.761);
    --color-pink-500: oklch(65.6% 0.241 354.308);
    --color-pink-600: oklch(59.2% 0.249 0.584);
    --color-pink-700: oklch(52.5% 0.223 3.958);
    --color-pink-800: oklch(45.9% 0.187 3.815);
    --color-pink-900: oklch(40.8% 0.153 2.432);
    --color-pink-950: oklch(28.4% 0.109 3.907);

    --color-rose-50: oklch(96.9% 0.015 12.422);
    --color-rose-100: oklch(94.1% 0.03 12.58);
    --color-rose-200: oklch(89.2% 0.058 10.001);
    --color-rose-300: oklch(81% 0.117 11.638);
    --color-rose-400: oklch(71.2% 0.194 13.428);
    --color-rose-500: oklch(64.5% 0.246 16.439);
    --color-rose-600: oklch(58.6% 0.253 17.585);
    --color-rose-700: oklch(51.4% 0.222 16.935);
    --color-rose-800: oklch(45.5% 0.188 13.697);
    --color-rose-900: oklch(41% 0.159 10.272);
    --color-rose-950: oklch(27.1% 0.105 12.094);

    --color-slate-50: oklch(98.4% 0.003 247.858);
    --color-slate-100: oklch(96.8% 0.007 247.896);
    --color-slate-200: oklch(92.9% 0.013 255.508);
    --color-slate-300: oklch(86.9% 0.022 252.894);
    --color-slate-400: oklch(70.4% 0.04 256.788);
    --color-slate-500: oklch(55.4% 0.046 257.417);
    --color-slate-600: oklch(44.6% 0.043 257.281);
    --color-slate-700: oklch(37.2% 0.044 257.287);
    --color-slate-800: oklch(27.9% 0.041 260.031);
    --color-slate-900: oklch(20.8% 0.042 265.755);
    --color-slate-950: oklch(12.9% 0.042 264.695);

    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-100: oklch(96.7% 0.003 264.542);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-400: oklch(70.7% 0.022 261.325);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-gray-900: oklch(21% 0.034 264.665);
    --color-gray-950: oklch(13% 0.028 261.692);

    --color-zinc-50: oklch(98.5% 0 0);
    --color-zinc-100: oklch(96.7% 0.001 286.375);
    --color-zinc-200: oklch(92% 0.004 286.32);
    --color-zinc-300: oklch(87.1% 0.006 286.286);
    --color-zinc-400: oklch(70.5% 0.015 286.067);
    --color-zinc-500: oklch(55.2% 0.016 285.938);
    --color-zinc-600: oklch(44.2% 0.017 285.786);
    --color-zinc-700: oklch(37% 0.013 285.805);
    --color-zinc-800: oklch(27.4% 0.006 286.033);
    --color-zinc-900: oklch(21% 0.006 285.885);
    --color-zinc-950: oklch(14.1% 0.005 285.823);

    --color-neutral-50: oklch(98.5% 0 0);
    --color-neutral-100: oklch(97% 0 0);
    --color-neutral-200: oklch(92.2% 0 0);
    --color-neutral-300: oklch(87% 0 0);
    --color-neutral-400: oklch(70.8% 0 0);
    --color-neutral-500: oklch(55.6% 0 0);
    --color-neutral-600: oklch(43.9% 0 0);
    --color-neutral-700: oklch(37.1% 0 0);
    --color-neutral-800: oklch(26.9% 0 0);
    --color-neutral-900: oklch(20.5% 0 0);
    --color-neutral-950: oklch(14.5% 0 0);

    --color-stone-50: oklch(98.5% 0.001 106.423);
    --color-stone-100: oklch(97% 0.001 106.424);
    --color-stone-200: oklch(92.3% 0.003 48.717);
    --color-stone-300: oklch(86.9% 0.005 56.366);
    --color-stone-400: oklch(70.9% 0.01 56.259);
    --color-stone-500: oklch(55.3% 0.013 58.071);
    --color-stone-600: oklch(44.4% 0.011 73.639);
    --color-stone-700: oklch(37.4% 0.01 67.558);
    --color-stone-800: oklch(26.8% 0.007 34.298);
    --color-stone-900: oklch(21.6% 0.006 56.043);
    --color-stone-950: oklch(14.7% 0.004 49.25);

    --color-mauve-50: oklch(98.5% 0 0);
    --color-mauve-100: oklch(96% 0.003 325.6);
    --color-mauve-200: oklch(92.2% 0.005 325.62);
    --color-mauve-300: oklch(86.5% 0.012 325.68);
    --color-mauve-400: oklch(71.1% 0.019 323.02);
    --color-mauve-500: oklch(54.2% 0.034 322.5);
    --color-mauve-600: oklch(43.5% 0.029 321.78);
    --color-mauve-700: oklch(36.4% 0.029 323.89);
    --color-mauve-800: oklch(26.3% 0.024 320.12);
    --color-mauve-900: oklch(21.2% 0.019 322.12);
    --color-mauve-950: oklch(14.5% 0.008 326);

    --color-olive-50: oklch(98.8% 0.003 106.5);
    --color-olive-100: oklch(96.6% 0.005 106.5);
    --color-olive-200: oklch(93% 0.007 106.5);
    --color-olive-300: oklch(88% 0.011 106.6);
    --color-olive-400: oklch(73.7% 0.021 106.9);
    --color-olive-500: oklch(58% 0.031 107.3);
    --color-olive-600: oklch(46.6% 0.025 107.3);
    --color-olive-700: oklch(39.4% 0.023 107.4);
    --color-olive-800: oklch(28.6% 0.016 107.4);
    --color-olive-900: oklch(22.8% 0.013 107.4);
    --color-olive-950: oklch(15.3% 0.006 107.1);

    --color-mist-50: oklch(98.7% 0.002 197.1);
    --color-mist-100: oklch(96.3% 0.002 197.1);
    --color-mist-200: oklch(92.5% 0.005 214.3);
    --color-mist-300: oklch(87.2% 0.007 219.6);
    --color-mist-400: oklch(72.3% 0.014 214.4);
    --color-mist-500: oklch(56% 0.021 213.5);
    --color-mist-600: oklch(45% 0.017 213.2);
    --color-mist-700: oklch(37.8% 0.015 216);
    --color-mist-800: oklch(27.5% 0.011 216.9);
    --color-mist-900: oklch(21.8% 0.008 223.9);
    --color-mist-950: oklch(14.8% 0.004 228.8);

    --color-taupe-50: oklch(98.6% 0.002 67.8);
    --color-taupe-100: oklch(96% 0.002 17.2);
    --color-taupe-200: oklch(92.2% 0.005 34.3);
    --color-taupe-300: oklch(86.8% 0.007 39.5);
    --color-taupe-400: oklch(71.4% 0.014 41.2);
    --color-taupe-500: oklch(54.7% 0.021 43.1);
    --color-taupe-600: oklch(43.8% 0.017 39.3);
    --color-taupe-700: oklch(36.7% 0.016 35.7);
    --color-taupe-800: oklch(26.8% 0.011 36.5);
    --color-taupe-900: oklch(21.4% 0.009 43.1);
    --color-taupe-950: oklch(14.7% 0.004 49.3);

    --color-black: #000;
    --color-white: #fff;

    --spacing: 0.25rem;

    --breakpoint-sm: 40rem;
    --breakpoint-md: 48rem;
    --breakpoint-lg: 64rem;
    --breakpoint-xl: 80rem;
    --breakpoint-2xl: 96rem;

    --container-3xs: 16rem;
    --container-2xs: 18rem;
    --container-xs: 20rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-xl: 36rem;
    --container-2xl: 42rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-5xl: 64rem;
    --container-6xl: 72rem;
    --container-7xl: 80rem;

    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-base: 1rem;
    --text-base--line-height: calc(1.5 / 1);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --text-6xl: 3.75rem;
    --text-6xl--line-height: 1;
    --text-7xl: 4.5rem;
    --text-7xl--line-height: 1;
    --text-8xl: 6rem;
    --text-8xl--line-height: 1;
    --text-9xl: 8rem;
    --text-9xl--line-height: 1;

    --font-weight-thin: 100;
    --font-weight-extralight: 200;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;

    --tracking-tighter: -0.05em;
    --tracking-tight: -0.025em;
    --tracking-normal: 0em;
    --tracking-wide: 0.025em;
    --tracking-wider: 0.05em;
    --tracking-widest: 0.1em;

    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;

    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-4xl: 2rem;

    --shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md:
      0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg:
      0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl:
      0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    --inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
    --inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
    --inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);

    --drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
    --drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
    --drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
    --drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
    --drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
    --drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);

    --text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
    --text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
    --text-shadow-sm:
      0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
      0px 2px 2px rgb(0 0 0 / 0.075);
    --text-shadow-md:
      0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
      0px 2px 4px rgb(0 0 0 / 0.1);
    --text-shadow-lg:
      0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
      0px 4px 8px rgb(0 0 0 / 0.1);

    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    --animate-spin: spin 1s linear infinite;
    --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    --animate-bounce: bounce 1s infinite;

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    @keyframes ping {
      75%,
      100% {
        transform: scale(2);
        opacity: 0;
      }
    }

    @keyframes pulse {
      50% {
        opacity: 0.5;
      }
    }

    @keyframes bounce {
      0%,
      100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
      }

      50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
      }
    }

    --blur-xs: 4px;
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 24px;
    --blur-2xl: 40px;
    --blur-3xl: 64px;

    --perspective-dramatic: 100px;
    --perspective-near: 300px;
    --perspective-normal: 500px;
    --perspective-midrange: 800px;
    --perspective-distant: 1200px;

    --aspect-video: 16 / 9;

    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: --theme(--font-sans, initial);
    --default-font-feature-settings: --theme(
      --font-sans--font-feature-settings,
      initial
    );
    --default-font-variation-settings: --theme(
      --font-sans--font-variation-settings,
      initial
    );
    --default-mono-font-family: --theme(--font-mono, initial);
    --default-mono-font-feature-settings: --theme(
      --font-mono--font-feature-settings,
      initial
    );
    --default-mono-font-variation-settings: --theme(
      --font-mono--font-variation-settings,
      initial
    );
  }

  /* Deprecated */
  @theme default inline reference {
    --blur: 8px;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
    --drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
    --radius: 0.25rem;
    --max-width-prose: 65ch;
  }
}

@layer base {
  /*
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
  2. Remove default margins and padding
  3. Reset all borders.
*/

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    box-sizing: border-box; /* 1 */
    margin: 0; /* 2 */
    padding: 0; /* 2 */
    border: 0 solid; /* 3 */
  }

  /*
  1. Use a consistent sensible line-height in all browsers.
  2. Prevent adjustments of font size after orientation changes in iOS.
  3. Use a more readable tab size.
  4. Use the user's configured `sans` font-family by default.
  5. Use the user's configured `sans` font-feature-settings by default.
  6. Use the user's configured `sans` font-variation-settings by default.
  7. Disable tap highlights on iOS.
*/

  html,
  :host {
    line-height: 1.5; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    tab-size: 4; /* 3 */
    font-family: --theme(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    ); /* 4 */
    font-feature-settings: --theme(
      --default-font-feature-settings,
      normal
    ); /* 5 */
    font-variation-settings: --theme(
      --default-font-variation-settings,
      normal
    ); /* 6 */
    -webkit-tap-highlight-color: transparent; /* 7 */
  }

  /*
  1. Add the correct height in Firefox.
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
  3. Reset the default border style to a 1px solid border.
*/

  hr {
    height: 0; /* 1 */
    color: inherit; /* 2 */
    border-top-width: 1px; /* 3 */
  }

  /*
  Add the correct text decoration in Chrome, Edge, and Safari.
*/

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  /*
  Remove the default font size and weight for headings.
*/

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  /*
  Reset links to optimize for opt-in styling instead of opt-out.
*/

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  /*
  Add the correct font weight in Edge and Safari.
*/

  b,
  strong {
    font-weight: bolder;
  }

  /*
  1. Use the user's configured `mono` font-family by default.
  2. Use the user's configured `mono` font-feature-settings by default.
  3. Use the user's configured `mono` font-variation-settings by default.
  4. Correct the odd `em` font sizing in all browsers.
*/

  code,
  kbd,
  samp,
  pre {
    font-family: --theme(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    ); /* 1 */
    font-feature-settings: --theme(
      --default-mono-font-feature-settings,
      normal
    ); /* 2 */
    font-variation-settings: --theme(
      --default-mono-font-variation-settings,
      normal
    ); /* 3 */
    font-size: 1em; /* 4 */
  }

  /*
  Add the correct font size in all browsers.
*/

  small {
    font-size: 80%;
  }

  /*
  Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }

  sub {
    bottom: -0.25em;
  }

  sup {
    top: -0.5em;
  }

  /*
  1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
  2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
  3. Remove gaps between table borders by default.
*/

  table {
    text-indent: 0; /* 1 */
    border-color: inherit; /* 2 */
    border-collapse: collapse; /* 3 */
  }

  /*
  Use the modern Firefox focus style for all focusable elements.
*/

  :-moz-focusring {
    outline: auto;
  }

  /*
  Add the correct vertical alignment in Chrome and Firefox.
*/

  progress {
    vertical-align: baseline;
  }

  /*
  Add the correct display in Chrome and Safari.
*/

  summary {
    display: list-item;
  }

  /*
  Make lists unstyled by default.
*/

  ol,
  ul,
  menu {
    list-style: none;
  }

  /*
  1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
  2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
      This can trigger a poorly considered lint error in some tools but is included by design.
*/

  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    display: block; /* 1 */
    vertical-align: middle; /* 2 */
  }

  /*
  Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  /*
  1. Inherit font styles in all browsers.
  2. Remove border radius in all browsers.
  3. Remove background color in all browsers.
  4. Ensure consistent opacity for disabled states in all browsers.
*/

  button,
  input,
  select,
  optgroup,
  textarea,
  ::file-selector-button {
    font: inherit; /* 1 */
    font-feature-settings: inherit; /* 1 */
    font-variation-settings: inherit; /* 1 */
    letter-spacing: inherit; /* 1 */
    color: inherit; /* 1 */
    border-radius: 0; /* 2 */
    background-color: transparent; /* 3 */
    opacity: 1; /* 4 */
  }

  /*
  Restore default font weight.
*/

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  /*
  Restore indentation.
*/

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  /*
  Restore space after button.
*/

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  /*
  Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
*/

  ::placeholder {
    opacity: 1;
  }

  /*
  Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
  crash when using `color-mix(…)` with `currentcolor`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
*/

  @supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
    (contain-intrinsic-size: 1px) /* Safari 17+ */ {
    ::placeholder {
      color: color-mix(in oklab, currentcolor 50%, transparent);
    }
  }

  /*
  Prevent resizing textareas horizontally by default.
*/

  textarea {
    resize: vertical;
  }

  /*
  Remove the inner padding in Chrome and Safari on macOS.
*/

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  /*
  1. Ensure date/time inputs have the same height when empty in iOS Safari.
  2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
*/

  ::-webkit-date-and-time-value {
    min-height: 1lh; /* 1 */
    text-align: inherit; /* 2 */
  }

  /*
  Prevent height from changing on date/time inputs in macOS Safari when the input is set to `display: block`.
*/

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  /*
  Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
*/

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field,
  ::-webkit-datetime-edit-month-field,
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field,
  ::-webkit-datetime-edit-second-field,
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  /*
  Center dropdown marker shown on inputs with paired `<datalist>`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
*/

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  /*
  Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

  :-moz-ui-invalid {
    box-shadow: none;
  }

  /*
  Correct the inability to style the border radius in iOS Safari.
*/

  button,
  input:where([type="button"], [type="reset"], [type="submit"]),
  ::file-selector-button {
    appearance: button;
  }

  /*
  Correct the cursor style of increment and decrement buttons in Safari.
*/

  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }

  /*
  Make elements with the HTML hidden attribute stay hidden by default.
*/

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer utilities {
  @tailwind utilities;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Montserrat";
  src: url("https://lms-usw.vidaisolutions.com/assets/Montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("https://lms-usw.vidaisolutions.com/assets/Montserrat-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("https://lms-usw.vidaisolutions.com/assets/Montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("https://lms-usw.vidaisolutions.com/assets/Montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

html,
body,
#root {
  height: 100%;
  width: 100%;
}

body {
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f0f0f0;
  color: #232323;
  overflow: hidden;
}

code {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

*:focus-visible {
  outline: 2px solid #d86650;
  outline-offset: 2px;
}

::selection {
  background: #d86650;
  color: #ffffff;
}

/* Keep disabled actions visible but clearly inactive across the app. */

button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled {
  background: #e5e7eb !important;
  color: #9ca3af !important;
  border-color: #e5e7eb !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

button:disabled:hover,
input[type="button"]:disabled:hover,
input[type="submit"]:disabled:hover,
input[type="reset"]:disabled:hover {
  background: #e5e7eb !important;
}

.MuiButton-root.Mui-disabled {
  background-color: #e5e7eb !important;
  color: #9ca3af !important;
  border-color: #e5e7eb !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.MuiIconButton-root.Mui-disabled {
  background-color: #e5e7eb !important;
  color: #9ca3af !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.MuiButton-root.Mui-disabled .MuiButton-startIcon,
.MuiButton-root.Mui-disabled .MuiButton-endIcon,
.MuiIconButton-root.Mui-disabled svg {
  color: #9ca3af !important;
}

.mobile-add-button {
  white-space: nowrap;
}

.mobile-add-button-label {
  display: inline;
}

@media (max-width: 600px) {
  .mobile-add-button {
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 10px !important;
  }

  .mobile-add-button .MuiButton-startIcon {
    margin: 0 !important;
  }

  .mobile-add-button-label {
    display: none !important;
  }
}



/* ===============================
   GLOBAL TYPOGRAPHY
================================ */
.leads-page {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 140%;
  letter-spacing: 0%;
}
.leads-page *:not(fieldset):not(legend):not(fieldset span):not(fieldset div) {
  font-family: "Nunito", sans-serif;
}
/* ===============================
   PAGE
================================ */
.leads-page {
  /* padding: 24px; */
  background: #ffffff;
  /* min-height: 100vh; */
  min-height: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
/* ===============================
   HEADER
================================ */
.leads-header {
  margin-bottom: 20px !important;
  flex-wrap: wrap !important;
  min-width: 0;
  width: 100%;
}
.leads-title {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
  color: #1F2937 !important;
  margin: 0 !important;
  flex-shrink: 0;
  white-space: nowrap;
}
.leads-header > .MuiStack-root:last-child {
  min-width: 0;
}
.leads-header-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}
/* ── Search input ── */
.search-input {
  width: 300px;
  min-width: 140px;
  flex-shrink: 1;
}
.header-icon-container {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 4px;
  gap: 2px;
  height: 40px;
  flex-shrink: 0;
}
.header-icon-btn {
  width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.header-icon-btn:hover {
  background-color: #F3F4F6;
}
.filter-icon-btn {
  width: 40px !important;
  height: 40px !important;
  padding: 4px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  transition: all 0.2s;
  flex-shrink: 0;
}
.filter-icon-btn:hover {
  background-color: #F9FAFB !important;
}
.filter-icon-btn img {
  width: 36px !important;
  height: 36px !important;
}
.filter-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background-color: #EF4444;
  color: white;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  z-index: 10;
  line-height: 1;
  pointer-events: none;
}
.add-lead-btn {
  background: #1F2937 !important;
  color: #FFFFFF !important;
  text-transform: none !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  height: 40px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  min-width: fit-content !important;
}
.add-lead-btn:hover {
  background: #111827 !important;
}
@media (max-width: 1535px) {
  .leads-title {
    font-size: 18px !important;
  }
}
@media (max-width: 1199px) {
  .leads-header {
    align-items: stretch !important;
  }
}
@media (max-width: 767px) {
  .leads-page {
    font-size: 13px;
  }

  .leads-title {
    font-size: 17px !important;
    white-space: normal;
    line-height: 1.35 !important;
  }

  .filter-icon-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .filter-icon-btn img {
    width: 32px !important;
    height: 32px !important;
  }

  .add-lead-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 9px 14px !important;
    font-size: 13px !important;
  }
}
/* ===============================
   DATE & TIME
================================ */
.lead-date {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #111827 !important;
  line-height: 1.2 !important;
}
.lead-time {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #6B7280 !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
}
/* ===============================
   PILL TABS
================================ */
.pill-tabs,
.pill-tabs-scroll {
  display: flex;
  gap: 0;
  margin-bottom: 0 !important;
  min-width: 0;
}
.pill-tab {
  height: 34px;              
  padding: 0 10px;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  font-size: 13px;
  color: #6B7280;
  background: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
  margin-right: 6px;
}
.pill-tab:hover {
  background: #F9FAFB;
  border-color: #D1D5DB;
}
.pill-tab.active {
  background: #FFF7ED !important;
  border-color: #FB923C !important;
  color: #EA580C !important;
}
.tab-count {
  font-weight: 600;
  font-size: 13px;
  color: inherit;
}
/* Leading glyph inside each pill tab. Muted when the tab is idle so the text
   stays the primary signal; picks up the active orange when selected. */
.pill-tab-icon {
  color: #9CA3AF;
  transition: color 0.2s;
}
.pill-tab:hover .pill-tab-icon {
  color: #6B7280;
}
.pill-tab.active .pill-tab-icon {
  color: #EA580C;
}
/* The pills are focusable now, so give keyboard users a visible target. */
.pill-tab:focus-visible {
  outline: 2px solid #FB923C;
  outline-offset: 2px;
}
@media (max-width: 900px) {
  .pill-tab {
    font-size: 11px;
    padding: 0 8px;
    height: 30px;
    border-radius: 8px;
    margin-right: 4px;
  }

  .tab-count {
    font-size: 11px;
  }
}
@media (min-width: 1200px) {
  .pill-tab {
    padding: 0 14px;
    height: 36px;
  }
}
/* ===============================
   TABLE
================================ */
.leads-table {
  flex: 1;
  overflow-x: auto;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  max-height: calc(100vh - 200px);
}
.leads-table table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1600px;
}
.leads-table thead th {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6B7280 !important;
  border-bottom: 1px solid #E5E7EB !important;
  border-right: none !important;
  border-left: none !important;
  background: #F9FAFB !important;
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 12px 16px !important;
  white-space: nowrap;
}
.leads-table thead th,
.leads-table tbody td {
  border-right: none !important;
  border-left: none !important;
}
.leads-table tbody tr {
  background: #FFFFFF;
  transition: none;
}
.leads-table tbody tr:hover {
  background: #FFFFFF !important;
}
.leads-table tbody tr.row-selected td {
  background: #FFFFFF !important;
}
.leads-table tbody tr.row-selected td:first-child {
  background: #ECFDF5 !important;
}
.leads-table tbody td {
  border-bottom: 1px solid #F3F4F6 !important;
  padding: 14px 16px !important;
  font-size: 13px !important;
  color: #374151;
  font-weight: 500 !important;
  background: #FFFFFF;
}
/* ===============================
   AVATAR & NAME
================================ */
.lead-avatar {
  background: #EEF2FF !important;
  color: #4F46E5 !important;
  font-weight: 700 !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 12px !important;
  border-radius: 50% !important;
}
.lead-name-text {
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #0F172A !important;
  line-height: 1.3 !important;
}
.lead-id-text {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
}
/* ===============================
   CHIPS
================================ */
.lead-chip {
  height: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  letter-spacing: 0px !important;
  padding: 0 8px !important;
  text-transform: capitalize !important;
}
.status-new { background: #E0E7FF !important; color: #4338CA !important; border: 1px solid #A5B4FC !important; }
.status-appointment { background: #DBEAFE !important; color: #1E40AF !important; border: 1px solid #93C5FD !important; }
.status-follow-ups { background: #FEF3C7 !important; color: #92400E !important; border: 1px solid #FCD34D !important; }
.status-converted { background: #D1FAE5 !important; color: #065F46 !important; border: 1px solid #6EE7B7 !important; }
.status-lost { background: #FEE2E2 !important; color: #991B1B !important; border: 1px solid #FCA5A5 !important; }
.status-cycle-conversion { background: #D1FAE5 !important; color: #065F46 !important; border: 1px solid #6EE7B7 !important; }
.quality-hot { background: #FEE2E2 !important; color: #991B1B !important; border: 1px solid #FCA5A5 !important; }
.quality-warm { background: #FEF3C7 !important; color: #92400E !important; border: 1px solid #FCD34D !important; }
.quality-cold { background: #DBEAFE !important; color: #1E40AF !important; border: 1px solid #93C5FD !important; }
/* ===============================
   SCORE
================================ */
.score {
  color: #EC4899 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}
/* ===============================
   ACTION BUTTONS
================================ */
.action-btn {
  width: 28px !important;
  height: 28px !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  color: #6B7280 !important;
  padding: 4px !important;
  transition: all 0.15s;
  min-width: unset !important;
}
.action-btn:hover {
  background: #F3F4F6 !important;
  border-color: #D1D5DB !important;
  color: #374151 !important;
}
.action-btn .MuiSvgIcon-root {
  font-size: 16px !important;
}
/* --- Contact-option variants -------------------------------------------
   Colour-codes the Call / Message / Email actions so the three buttons are
   distinguishable at a glance. Purely visual: same size, spacing and hit
   area as the base .action-btn. */
.action-btn.action-btn--call {
  background: #ECFDF5 !important;
  border-color: #A7F3D0 !important;
  color: #047857 !important;
}
.action-btn.action-btn--call:hover {
  background: #D1FAE5 !important;
  border-color: #6EE7B7 !important;
  color: #065F46 !important;
}
.action-btn.action-btn--sms {
  background: #EFF6FF !important;
  border-color: #BFDBFE !important;
  color: #1D4ED8 !important;
}
.action-btn.action-btn--sms:hover {
  background: #DBEAFE !important;
  border-color: #93C5FD !important;
  color: #1E40AF !important;
}
.action-btn.action-btn--email {
  background: #FFFBEB !important;
  border-color: #FDE68A !important;
  color: #B45309 !important;
}
.action-btn.action-btn--email:hover {
  background: #FEF3C7 !important;
  border-color: #FCD34D !important;
  color: #92400E !important;
}
/* Disabled contact actions stay neutral grey so "no phone / no email" reads
   clearly instead of looking like an active coloured button. */
.action-btn.Mui-disabled {
  background: #F9FAFB !important;
  border-color: #E5E7EB !important;
  color: #B6BCC6 !important;
}
/* Keyboard focus ring — the coloured fills alone are not a focus indicator. */
.action-btn--call:focus-visible,
.action-btn--sms:focus-visible,
.action-btn--email:focus-visible {
  outline: 2px solid #6366F1 !important;
  outline-offset: 2px !important;
}
/* ===============================
   THREE DOT MENU
================================ */
.three-dot-btn {
  cursor: pointer;
  padding: 6px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6B7280 !important;
  border-radius: 4px;
  transition: background-color 0.15s;
}
.three-dot-btn:hover {
  background: #F3F4F6 !important;
}
/* ===============================
   PAGINATION
================================ */
.page-number {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  transition: all 0.15s;
}
.page-number:hover {
  background: #F3F4F6;
  color: #374151;
}
.page-number.active {
  background: #1F2937 !important;
  color: #FFFFFF !important;
}
/* ===============================
   CHECKBOX
================================ */
.MuiCheckbox-root { border-radius: 4px !important; }
.MuiCheckbox-root .MuiSvgIcon-root { border-radius: 4px !important; }
.MuiCheckbox-root svg { border-radius: 4px !important; }
.MuiCheckbox-root svg path { rx: 4 !important; ry: 4 !important; }
.MuiCheckbox-root svg rect { rx: 4 !important; ry: 4 !important; border-radius: 4px !important; }
.leads-table .MuiCheckbox-root { padding: 6px !important; color: #D1D5DB !important; }
.leads-table .MuiCheckbox-root .MuiSvgIcon-root { font-size: 18px !important; border-radius: 4px !important; }
.leads-table .MuiCheckbox-root.Mui-checked { color: #10B981 !important; }
.leads-table .MuiCheckbox-root.Mui-checked .MuiSvgIcon-root { background-color: transparent !important; border-radius: 4px !important; }
.leads-table .MuiCheckbox-root.MuiCheckbox-indeterminate { color: #10B981 !important; border-radius: 4px !important; }
.leads-table .MuiCheckbox-root svg { border-radius: 4px !important; }
.leads-table .MuiSvgIcon-root { border-radius: 4px !important; }
.leads-table .MuiCheckbox-root svg path { rx: 4 !important; ry: 4 !important; }
.leads-table .MuiCheckbox-root .MuiSvgIcon-root rect { rx: 4 !important; ry: 4 !important; border-radius: 4px !important; }
.checkbox-cell .MuiCheckbox-root { border-radius: 4px !important; }
.checkbox-cell .MuiCheckbox-root svg { border-radius: 4px !important; }
.leads-table .MuiCheckbox-root.Mui-checked svg { border-radius: 4px !important; }
.leads-table .MuiCheckbox-root .MuiSvgIcon-fontSizeSmall { border-radius: 4px !important; }
/* ===============================
   SCROLLBAR
================================ */
.leads-table::-webkit-scrollbar { height: 8px; width: 6px; }
.leads-table::-webkit-scrollbar-track { background: #F3F4F6; border-radius: 4px; }
.leads-table::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 4px; }
.leads-table::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }
/* ===============================
   STICKY COLUMNS
================================ */
.leads-table table th:first-child,
.leads-table table td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  background: #FFFFFF;
}
.leads-table table thead th:first-child {
  background: #F9FAFB !important;
  z-index: 7;
}
.leads-table table th:last-child,
.leads-table table td:last-child {
  position: sticky;
  right: 0;
  z-index: 5;
  background: #FFFFFF;
  width: 52px;
  min-width: 52px;
  max-width: 52px;
}
.leads-table table thead th:last-child {
  background: #F9FAFB !important;
  z-index: 7;
}
.leads-table table th:nth-last-child(2),
.leads-table table td:nth-last-child(2) {
  position: sticky;
  right: 52px;
  z-index: 4;
  background: #FFFFFF;
}
.leads-table table thead th:nth-last-child(2) {
  background: #F9FAFB !important;
  z-index: 6;
}
/* ===============================
   BULK ACTION BAR
================================ */
.bulk-action-btn {
  color: #1F2937 !important;
  border-color: #D1D5DB !important;
  text-transform: none !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
}
.bulk-action-btn:hover {
  background-color: #F3F4F6 !important;
  border-color: #9CA3AF !important;
}
.MuiPaper-root .MuiCheckbox-root,
.MuiToolbar-root .MuiCheckbox-root,
div[class*="bulk"] .MuiCheckbox-root,
div[class*="Bulk"] .MuiCheckbox-root,
.bulk-action-bar .MuiCheckbox-root { border-radius: 4px !important; }
.MuiPaper-root .MuiCheckbox-root .MuiSvgIcon-root,
.MuiToolbar-root .MuiCheckbox-root .MuiSvgIcon-root,
div[class*="bulk"] .MuiCheckbox-root .MuiSvgIcon-root,
div[class*="Bulk"] .MuiCheckbox-root .MuiSvgIcon-root,
.bulk-action-bar .MuiCheckbox-root .MuiSvgIcon-root { border-radius: 4px !important; }
.MuiPaper-root .MuiCheckbox-root svg,
.MuiToolbar-root .MuiCheckbox-root svg,
div[class*="bulk"] .MuiCheckbox-root svg,
div[class*="Bulk"] .MuiCheckbox-root svg,
.bulk-action-bar .MuiCheckbox-root svg { border-radius: 4px !important; }
.MuiPaper-root .MuiCheckbox-root svg path,
.MuiToolbar-root .MuiCheckbox-root svg path,
div[class*="bulk"] .MuiCheckbox-root svg path,
div[class*="Bulk"] .MuiCheckbox-root svg path,
.bulk-action-bar .MuiCheckbox-root svg path { rx: 4 !important; ry: 4 !important; }
.MuiPaper-root .MuiCheckbox-root svg rect,
.MuiToolbar-root .MuiCheckbox-root svg rect,
div[class*="bulk"] .MuiCheckbox-root svg rect,
div[class*="Bulk"] .MuiCheckbox-root svg rect,
.bulk-action-bar .MuiCheckbox-root svg rect { rx: 4 !important; ry: 4 !important; border-radius: 4px !important; }
[role="toolbar"] .MuiCheckbox-root svg,
.MuiFade-root .MuiCheckbox-root svg,
.MuiBox-root .MuiCheckbox-root svg { border-radius: 4px !important; }
[role="toolbar"] .MuiCheckbox-root svg rect,
.MuiFade-root .MuiCheckbox-root svg rect,
.MuiBox-root .MuiCheckbox-root svg rect { rx: 4 !important; ry: 4 !important; }
/* ===============================
   FIX: ISOLATE LEADS PAGE INPUTS
   Prevents campaigns (and any other
   page) CSS from leaking into leads
   MUI input fields and enlarging them.
================================ */
.leads-page .MuiInputBase-root,
.leads-page .MuiOutlinedInput-root,
.leads-page .MuiInputBase-input,
.leads-page .MuiOutlinedInput-input {
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  font-size: 14px !important;
  padding-top: unset !important;
  padding-bottom: unset !important;
  box-sizing: border-box !important;
}
.leads-page .MuiInputBase-root.MuiInputBase-sizeSmall,
.leads-page .MuiOutlinedInput-root.MuiInputBase-sizeSmall {
  height: auto !important;
  min-height: unset !important;
}
.leads-page .MuiInputBase-root.MuiInputBase-sizeSmall .MuiInputBase-input,
.leads-page .MuiOutlinedInput-root.MuiInputBase-sizeSmall .MuiOutlinedInput-input {
  padding: 8.5px 14px !important;
  font-size: 14px !important;
  height: auto !important;
  min-height: unset !important;
}
.leads-page .MuiTextField-root .MuiInputBase-root {
  height: auto !important;
  min-height: unset !important;
}
.leads-page .MuiSelect-select {
  height: auto !important;
  min-height: unset !important;
  padding: 8.5px 14px !important;
  font-size: 14px !important;
}
.leads-page .MuiAutocomplete-root .MuiInputBase-root {
  height: auto !important;
  min-height: unset !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.leads-page .MuiAutocomplete-root .MuiInputBase-root.MuiInputBase-sizeSmall {
  padding: 3px 14px 3px 6px !important;
}
/* ===============================
   FIX: ISOLATE ADD NEW LEAD FORM INPUTS
   The AddNewLead component renders inside
   a <Paper> with class "add-lead-page".
   Same isolation rules applied here to
   prevent campaign modal CSS leaking in
   and enlarging input fields after the
   modal is closed.
================================ */
.add-lead-page .MuiInputBase-root,
.add-lead-page .MuiOutlinedInput-root,
.add-lead-page .MuiInputBase-input,
.add-lead-page .MuiOutlinedInput-input {
  height: auto !important;
  min-height: unset !important;
  max-height: unset !important;
  font-size: 14px !important;
  padding-top: unset !important;
  padding-bottom: unset !important;
  box-sizing: border-box !important;
}
.add-lead-page .MuiInputBase-root.MuiInputBase-sizeSmall,
.add-lead-page .MuiOutlinedInput-root.MuiInputBase-sizeSmall {
  height: auto !important;
  min-height: unset !important;
}
.add-lead-page .MuiInputBase-root.MuiInputBase-sizeSmall .MuiInputBase-input,
.add-lead-page .MuiOutlinedInput-root.MuiInputBase-sizeSmall .MuiOutlinedInput-input {
  padding: 8.5px 14px !important;
  font-size: 14px !important;
  height: auto !important;
  min-height: unset !important;
}
.add-lead-page .MuiTextField-root .MuiInputBase-root {
  height: auto !important;
  min-height: unset !important;
}
.add-lead-page .MuiSelect-select {
  height: auto !important;
  min-height: unset !important;
  padding: 8.5px 14px !important;
  font-size: 14px !important;
}
.add-lead-page .MuiAutocomplete-root .MuiInputBase-root {
  height: auto !important;
  min-height: unset !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.add-lead-page .MuiAutocomplete-root .MuiInputBase-root.MuiInputBase-sizeSmall {
  padding: 3px 14px 3px 6px !important;
}/* ================= PAGE ================= */

.campaigns-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.filters-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  flex: 1 1 auto;
}

.tab-btn {
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;

  background: #ffffff;
  border: 1px solid #e2e3e5;

  font-family: "Montserrat", sans-serif;
  font-size: 13px;

  font-weight: 500;
  color: #9e9e9e;

  cursor: pointer;
  white-space: nowrap;

  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.tab-btn:hover {
  background: rgba(255, 107, 53, 0.06);
  border-color: #ff6b35;
  color: #ff6b35;
}

.tab-btn.active {
  background: rgba(255, 107, 53, 0.1);
  border-color: #ff6b35;

  color: #ff6b35;
  font-weight: 700;

  box-shadow: none;
}

.tab-btn.active:hover {
  background: rgba(255, 107, 53, 0.12);
}

.right-filters {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
}


.search-input {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  height: 38px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #ffffff;
}

.search-input input {
  border: none;
  outline: none;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  width: 220px;
  background: transparent;
}

.search-icon {
  width: 20px;
  height: 20px;
}


.status-dropdown {
  position: relative;
  width: 132px;
}

.status-btn {
  position: relative;
  height: 38px;
  padding: 0 18px 0 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;

  font-size: 14px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;
  color: #514f4f;

  cursor: pointer;
  box-sizing: border-box;
}

.status-btn:hover {
  border-color: #cfcfcf;
}
.status-btn.active {
  border-color:grey;
}

.status-btn::after {
  content: "";
  position: absolute;
  right: 12px; 
  top: 50%;
  transform: translateY(-50%);

  width: 12px;
  height: 8px;

  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat center;
}

.status-menu {
  position: absolute;
  top: 46px;
  left: 0;

  width: 100%;
  padding: 6px 0;

  background: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 12px;
  z-index: 100;
}

.status-item {
  padding: 10px 14px;

  display: flex;
  align-items: center;

  font-size: 14px;
  font-weight: 500;
  font-family: "Montserrat", sans-serif;

  cursor: pointer;
  transition: background 0.15s ease;
}

.status-item:hover {
  background: #f9fafb;
}

.status-item.selected {
  background:white;
  font-weight: 600;
}

.status-live {
  color: #22c55e;
}

.status-completed {
  color: #16a34a;
}

.status-schedule {
  color: #2563eb;
}

.status-paused {
  color: #f59e0b;
}

.status-stopped {
  color: #fb7185;
}

.status-draft {
  color: #6b7280;
}

.status-failed {
  color: #ef4444;
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  grid-template-rows: repeat(5, 1fr);
  align-items: start;
  gap: 16px;
  flex: 1;
  overflow-y: auto;
  padding: 5px;
  margin-top: 20px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
  color: #6b7280;
  font-size: 14px;
}

.success-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .filters-row {
    flex-direction: column;
    align-items: stretch;
  }

  .tabs,
  .right-filters {
    width: 100%;
  }

  .right-filters {
    justify-content: stretch;
  }

  .search-input,
  .status-dropdown,
  .status-btn {
    width: 100%;
  }

  .search-input input {
    width: 100%;
    min-width: 0;
  }

  .campaign-grid {
    grid-template-columns: 1fr;
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .tab-btn {
    width: 100%;
    justify-content: center;
  }
}/* ================= HEADER ================= */

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= RIGHT ACTIONS GROUP ================= */

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ================= FILTER WRAPPER ================= */

.header-filter-wrapper {
  position: relative;
}

/* ================= FILTER BUTTON ================= */

.header-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: #ffffff;
  border: 2px solid #A0AABB;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2D3748;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.header-filter-btn:hover {
  border-color: #ff6b35;
  color: #ff6b35;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.12);
}

.header-filter-btn.open {
  border-color: #ff6b35;
  color: #ff6b35;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.14);
}

.header-filter-btn.filtered {
  border-color: #ff6b35;
  background: rgba(255, 107, 53, 0.05);
  color: #ff6b35;
}

/* ================= FILTER DOT ================= */

.filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

/* ================= FILTER LABEL ================= */

.filter-label {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ================= FILTER CHEVRON ================= */

.filter-chevron {
  color: #6B7280;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.filter-chevron.rotated {
  transform: rotate(180deg);
}

/* ================= FILTER DROPDOWN MENU ================= */

.header-filter-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #ffffff;
  border: 1.5px solid #E4E8EF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.05);
  z-index: 200;
  padding: 6px 0;
  overflow: hidden;
}

/* ================= FILTER MENU ITEM ================= */

.header-filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
}

.header-filter-item:hover {
  background: #f9fafb;
}

.header-filter-item.selected {
  background: rgba(255, 107, 53, 0.05);
  color: #ff6b35;
  font-weight: 600;
}

/* ================= FILTER CHECKMARK ================= */

.filter-check {
  margin-left: auto;
  flex-shrink: 0;
}

/* ================= CLEAR FILTER BUTTON ================= */

.clear-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #ef4444;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.clear-filter-btn:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

/* ================= PRIMARY BUTTON (FIGMA EXACT) ================= */

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 45px;
  min-width: 215px;
  padding: 10px;
  background: #505050;
  color: #ffffff;
  border: 1px solid white;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.01em;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* ================= PLUS ICON (FIGMA 20x20) ================= */

.primary-btn::before {
  content: "+";
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #505050;
  border: 2px solid white;
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
}

/* ================= HOVER ================= */

.primary-btn:hover {
  background: #232323;
}

.primary-btn:hover::before {
  background: #232323;
}

.primary-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

.primary-btn:disabled::before {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #9ca3af;
}

.primary-btn:disabled:hover {
  background: #e5e7eb;
}

/* ================= ACTIVE ================= */

.primary-btn:active {
  background: black;
}

.platform-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-right: 6px;
}/* ================= CARD ================= */

.campaign-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  width: 100%;
  min-width: 0;
  align-self: start;
}

.campaign-card:hover,
.campaign-card:focus-visible {
  border: 1px solid #93B4E8;
  box-shadow:
    0 8px 28px rgba(59, 130, 246, 0.33),
    0 2px 8px rgba(0, 0, 0, 0.07);
}
.campaign-card.active {
  border: 1px solid #3B82F6;
  box-shadow:
    0 8px 28px rgba(59, 130, 246, 0.33),
    0 2px 8px rgba(0, 0, 0, 0.07);
}

/* ================= CARD HEADER ================= */

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 600;
  font-size: large;
  min-width: 0;
  flex: 1 1 auto;
}

.title-text {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.3;
  word-break: break-word;
}

.title-icon-box {
  padding: 6px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.title-icon-box.social {
  border: 1px solid #DBE9FF;
  background: #F5F9FF;
}

.title-icon-box.email {
  border: 1px solid #FFEFC6;
  background: #FFF9E8;
}

.title-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ================= STATUS CHIP ================= */

.status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.status.live {
  background: #e7f8e8;
  color: #3dbb3d;
}

.status.draft {
  background: #f0f0f0;
  color: #666666;
}

.status.schedule {
  background: #efe7ff;
  color: #7c4dff;
}

.status.scheduled {
  background: #efe7ff;
  color: #7c4dff;
}

.status.paused {
  background: #fff3cd;
  color: #e67e22;
}

.status.stopped {
  background: #dfe6e9;
  color: #2d3436;
}

.status.completed {
  background: #d4edda;
  color: #155724;
}

.status.failed {
  background: #ffe5e5;
  color: #e74c3c;
}

/* ================= INFO ROW ================= */

.card-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.card-row > div {
  min-width: 0;
  flex: 1 1 0;
}

.card-row>div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.card-row label {
  font-size: 12px;
  color: #999999;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.card-row span {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333333;
  display: block;
  line-height: 1.45;
  word-break: break-word;
  white-space: nowrap;
}

/* ================= PLATFORM ICONS ================= */

.platform-icons {
  display: flex;
  gap: 6px;
}

.platform-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ================= FOOTER ================= */

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* ================= CARD DIVIDER ================= */

.card-divider {
  height: 1px;
  background: #EEF0F3;
  margin: 4px -20px 0;
}

.leads {
  color: #2ecc71;
  background-color: #E8FFED;
  border-radius: 50%;
  font-weight: 600;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ================= ACTION BUTTONS ================= */

.action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #F5F8FC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.action-btn:hover {
  background-color: #3B82F6;
}

.action-btn:disabled {
  background-color: #e5e7eb;
  cursor: not-allowed;
}

.action-btn:disabled:hover {
  background-color: #e5e7eb;
}

.action-btn:disabled img {
  opacity: 0.55;
  filter: grayscale(100%);
}

.action-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.more-container {
  position: relative;
}

/* ================= CONTEXT MENU (Dropdown) ================= */

.context-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  z-index: 10;
  min-width: 160px;
  overflow: visible;
}

/* Arrow pointing up toward the ··· button */
.context-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #e0e0e0;
}

.context-menu::after {
  content: "";
  position: absolute;
  top: -6px;
  right: 11px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
}

.context-menu.open-upward {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 8px;
}

/* Arrow pointing down when menu opens upward */
.context-menu.open-upward::before {
  top: auto;
  bottom: -7px;
  border-bottom: none;
  border-top: 7px solid #e0e0e0;
}

.context-menu.open-upward::after {
  top: auto;
  bottom: -6px;
  border-bottom: none;
  border-top: 6px solid #ffffff;
}

/* Clip menu items so they don't overflow rounded corners */
.context-menu > .menu-item:first-child {
  border-radius: 8px 8px 0 0;
}

.context-menu > .menu-item:last-child {
  border-radius: 0 0 8px 8px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.menu-item:hover {
  background-color: #f8f9fa;
}

.menu-item.disabled {
  color: #9ca3af;
  background-color: #f3f4f6;
}

.menu-item.disabled:hover {
  background-color: #f3f4f6;
}

.menu-item.disabled .menu-icon {
  opacity: 0.55;
  filter: grayscale(100%);
}

.menu-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.stop-item {
  color: #e74c3c;
}

.stop-item:hover {
  background-color: #fff5f5;
}

.platform-badge.paused {
  opacity: 0.5;
}

.platform-badge {
  position: relative;
}

.platform-badge::after {
  content: "";
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.platform-badge.active::after {
  background: #22c55e;
}

.platform-badge.paused::after {
  background: #ef4444;
}

.status.partially-active {
  background: #fff7ed;
  color: #ea580c;
}

.play-btn:hover {
  background-color: #22c55e;
}

.pause-btn:hover {
  background-color: #f59e0b;
}.stop-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.5); 
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.stop-modal {
  width: 480px;
  max-width: 95%;
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stop-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f1f1f1;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.stop-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.stop-subtitle {
  color: #666;
  margin-bottom: 20px;
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.platform-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  cursor: pointer;
  background: #ffffff;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.platform-item:hover {
  border-color: #F26A3E;
  box-shadow: 0 2px 8px rgba(242, 106, 62, 0.1);
}

.platform-item.selected {
  border-color: #F26A3E;
  background: #FFF7F4;
  box-shadow: 0 2px 10px rgba(242, 106, 62, 0.15);
}

.platform-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-left img {
  width: 24px;
  height: 24px;
}

.platform-left span {
  font-size: 14px;
  font-weight: 600;
  color: #232323;
}

/* ── Checkbox ── */
.checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.checkbox.checked {
  background: #F26A3E;
  border-color: #F26A3E;
}

.checkbox.checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.stop-actions {
  display: flex;
  gap: 15px;
}

.cancel-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.stop-btn {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #5c5c5c;
  color: white;
  cursor: pointer;
}

.stop-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.confirm-icon {
  width: 60px;
  height: 60px;
  background: #ffe8dc;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.confirm-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.confirm-text {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #e8f8ef;
  border-radius: 50%;
  margin: 0 auto 15px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #2ecc71;
}

/* Modal Paper */
._modalPaper_1ku36_3 {
  border-radius: 16px !important;
}

/* Header */
._modalHeader_1ku36_13 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid #E5E7EB;
}

._modalTitle_1ku36_29 {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #111827;
}

._closeBtn_1ku36_41 {
  color: #9CA3AF !important;
}

._closeBtn_1ku36_41:hover {
  color: #6B7280 !important;
}

/* Modal Body */
._modalBody_1ku36_59 {
  padding: 24px;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}

/* Form Groups */
._formGroup_1ku36_73 {
  margin-bottom: 20px;
}

._formGroup_1ku36_73:last-child {
  margin-bottom: 0;
}

._fieldLabel_1ku36_89 {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #6B7280;
  margin-bottom: 6px !important;
  display: block;
}

/* Use Case Wrapper with green chip */
._useCaseWrapper_1ku36_107 {
  position: relative;
}

._useCaseChip_1ku36_115 {
  position: absolute;
  top: -8px;
  left: 12px;
  background-color: #10B981;
  color: white;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  z-index: 1;
}

/* Text Fields */
._textField_1ku36_143 ._MuiOutlinedInput-root_1ku36_143 {
  border-radius: 6px;
  font-size: 14px;
}

._textField_1ku36_143 ._MuiOutlinedInput-input_1ku36_153 {
  padding: 10px 14px;
}

._textField_1ku36_143 ._MuiOutlinedInput-notchedOutline_1ku36_161 {
  border-color: #D1D5DB;
}

._textField_1ku36_143 ._MuiOutlinedInput-root_1ku36_143:hover ._MuiOutlinedInput-notchedOutline_1ku36_161 {
  border-color: #9CA3AF;
}

._textField_1ku36_143 ._MuiOutlinedInput-root_1ku36_143._Mui-focused_1ku36_177 ._MuiOutlinedInput-notchedOutline_1ku36_161 {
  border-color: #3B82F6;
  border-width: 1px;
}

/* Select Field */
._selectField_1ku36_189 {
  border-radius: 6px !important;
}

._selectField_1ku36_189 ._MuiOutlinedInput-input_1ku36_153 {
  padding: 10px 14px;
  font-size: 14px;
}

._selectField_1ku36_189 ._MuiOutlinedInput-notchedOutline_1ku36_161 {
  border-color: #D1D5DB;
}

._selectField_1ku36_189:hover ._MuiOutlinedInput-notchedOutline_1ku36_161 {
  border-color: #9CA3AF;
}

._selectField_1ku36_189._Mui-focused_1ku36_177 ._MuiOutlinedInput-notchedOutline_1ku36_161 {
  border-color: #3B82F6;
  border-width: 1px;
}

/* Editor Box */
._editorBox_1ku36_235 {
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  overflow: hidden;
  background-color: white;
}

._textArea_1ku36_249 {
  width: 100%;
  min-height: 280px;
  padding: 12px 14px;
  border: none;
  outline: none;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  resize: none;
  color: #111827;
}

._textArea_1ku36_249:focus {
  outline: none;
}

/* Toolbar Row */
._toolbarRow_1ku36_285 {
  background-color: #FAFAFA;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  border-top: 1px solid #E5E7EB;
}

._fontSelector_1ku36_303 {
  font-size: 13px !important;
  min-width: 70px;
  color: #374151 !important;
}

._fontSelector_1ku36_303 ._MuiSelect-select_1ku36_315 {
  padding: 4px 8px !important;
}

._divider_1ku36_323 {
  margin: 0 4px !important;
  height: 16px;
  background-color: #D1D5DB;
}

._toolbarBtn_1ku36_335 {
  padding: 4px !important;
  color: #6B7280 !important;
  border-radius: 4px !important;
}

._toolbarBtn_1ku36_335:hover {
  background-color: #E5E7EB !important;
  color: #111827 !important;
}

._toolbarBtn_1ku36_335 svg {
  font-size: 18px;
}

/* Upload Section */
._uploadSection_1ku36_367 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

._attachBtn_1ku36_381 {
  background-color: #6B7280 !important;
  color: white !important;
  text-transform: none !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  padding: 6px 16px !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

._attachBtn_1ku36_381:hover {
  background-color: #4B5563 !important;
}

._uploadHint_1ku36_411 {
  font-size: 12px !important;
  color: #9CA3AF;
}

/* File List */
._fileList_1ku36_423 {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

._fileItem_1ku36_437 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
}

._fileIcon_1ku36_457 {
  font-size: 16px;
  color: #6B7280;
}

._fileName_1ku36_467 {
  flex: 1;
  font-size: 13px;
  color: #374151;
}

._removeFileBtn_1ku36_479 {
  color: #9CA3AF !important;
  padding: 2px !important;
}

._removeFileBtn_1ku36_479:hover {
  color: #EF4444 !important;
  background-color: #FEE2E2 !important;
}

/* Modal Footer */
._modalFooter_1ku36_501 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #E5E7EB;
  background-color: white;
}

._cancelBtn_1ku36_519 {
  text-transform: none !important;
  border-color: #D1D5DB !important;
  color: #374151 !important;
  font-weight: 400 !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
}

._cancelBtn_1ku36_519:hover {
  border-color: #9CA3AF !important;
  background-color: #F9FAFB !important;
}

._previewBtn_1ku36_549 {
  text-transform: none !important;
  border-color: #D1D5DB !important;
  color: #374151 !important;
  font-weight: 400 !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  border-radius: 6px !important;
}

._previewBtn_1ku36_549:hover {
  border-color: #9CA3AF !important;
  background-color: #F9FAFB !important;
}

._saveBtn_1ku36_579 {
  text-transform: none !important;
  background-color: #111827 !important;
  color: white !important;
  font-weight: 400 !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  box-shadow: none !important;
  border-radius: 6px !important;
}

._saveBtn_1ku36_579:hover {
  background-color: #1F2937 !important;
}

/* Selection Grid (for the first modal view) */
._selectionGrid_1ku36_611 {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px;
  padding: 24px 0;
}

._categoryCard_1ku36_625 {
  flex: 1;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

._categoryCard_1ku36_625:hover {
  border-color: #F87171;
  background-color: #FFF7F5;
}

._iconWrapper_1ku36_659 {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

._emailBg_1ku36_679 {
  background-color: #3B82F6;
  color: white;
}

._smsBg_1ku36_689 {
  background-color: #F472B6;
  color: white;
}

._whatsappBg_1ku36_699 {
  background-color: #22C55E;
  color: white;
}

._cardTitle_1ku36_709 {
  font-weight: 700 !important;
  color: #111827;
  margin-bottom: 4px !important;
}

._cardSub_1ku36_721 {
  font-size: 12px !important;
  color: #6B7280;
  text-align: center;
}

/* Custom Quill Styles */
._ql-toolbar_1ku36_735._ql-snow_1ku36_735 {
  border: none !important;
  padding: 12px !important;
}

._ql-container_1ku36_745._ql-snow_1ku36_735 {
  border: none !important;
}

._ql-editor_1ku36_753 {
  font-family: inherit !important;
  font-size: 14px !important;
}

._ql-editor_1ku36_753._ql-blank_1ku36_763::before {
  color: #9CA3AF;
  font-style: normal;
}

/* Quill button hover effects */
._ql-toolbar_1ku36_735 button:hover,
._ql-toolbar_1ku36_735 button:focus,
._ql-toolbar_1ku36_735 button._ql-active_1ku36_779 {
  color: #6366F1 !important;
}

._ql-toolbar_1ku36_735 ._ql-stroke_1ku36_787 {
  stroke: #6B7280 !important;
}

._ql-toolbar_1ku36_735 button:hover ._ql-stroke_1ku36_787,
._ql-toolbar_1ku36_735 button:focus ._ql-stroke_1ku36_787,
._ql-toolbar_1ku36_735 button._ql-active_1ku36_779 ._ql-stroke_1ku36_787 {
  stroke: #6366F1 !important;
}

._ql-toolbar_1ku36_735 ._ql-fill_1ku36_807 {
  fill: #6B7280 !important;
}

._ql-toolbar_1ku36_735 button:hover ._ql-fill_1ku36_807,
._ql-toolbar_1ku36_735 button:focus ._ql-fill_1ku36_807,
._ql-toolbar_1ku36_735 button._ql-active_1ku36_779 ._ql-fill_1ku36_807 {
  fill: #6366F1 !important;
}/* Header */
._modalHeader_1gl3l_3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: transparent;
}

._modalTitle_1gl3l_19 {
  font-weight: 700;
  font-size: 16px;
  color: #111827;
}

._closeBtn_1gl3l_31 {
  color: #6B7280;
}

/* Outer preview card (single border for entire content) */
._emailPreview_1gl3l_41 {
  margin: 16px;
  border: 1px solid #E5E7EB; /* single border around entire content */
  border-radius: 12px;
  background-color: #ffffff;
  overflow: hidden;
}

/* Sender block: no separate border (inside card) */
._senderSection_1gl3l_59 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
}

/* Avatar */
._avatar_1gl3l_77 {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
}

/* Sender text */
._senderInfo_1gl3l_95 { display: flex; flex-direction: column; }
._clinicName_1gl3l_97 {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
}
._emailAddress_1gl3l_107 {
  font-size: 12px;
  color: #6B7280;
  opacity: 0.95;
}

/* Subject line: no border, just spacing */
._subjectLine_1gl3l_121 {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  color: #111827;
  background: #fff;
  border-bottom: 1px solid transparent; /* keep spacing consistent */
}

/* Body area with scrollbar and constrained height */
._emailBody_1gl3l_141 {
  padding: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
  min-height: 120px;
  max-height: calc(60vh - 160px); /* keeps overall modal within viewport */
  overflow-y: auto;
  background: #fff;
}

/* Logo: inside same card, no extra border */
._logoSection_1gl3l_165 {
  padding: 12px 16px;
  text-align: left;
  background: #fff;
  border-top: 1px solid transparent;
}

/* Placeholder styling */
._placeholder_1gl3l_181 {
  color: #6D28D9;
  background-color: #F5F3FF;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

/* Scrollbar */
._emailBody_1gl3l_141::-webkit-scrollbar {
  width: 8px;
}
._emailBody_1gl3l_141::-webkit-scrollbar-thumb {
  background-color: #E5E7EB;
  border-radius: 8px;
}
._emailBody_1gl3l_141::-webkit-scrollbar-track {
  background: transparent;
}

/* Footer */
._modalFooter_1gl3l_225 {
  padding: 12px 16px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: transparent;
}

/* small helper: ensure content spacing matches screenshot */
._subjectLine_1gl3l_121 a,
._emailBody_1gl3l_141 a {
  color: #6D28D9;
  text-decoration: none;
  font-weight: 600;
}._modalContainer_1bdk4_1 {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

._modalHeader_1bdk4_19 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

._modalTitle_1bdk4_33 {
  font-weight: 700 !important;
  font-size: 18px !important;
}

/* Chat bubble container to match your image */
._previewContent_1bdk4_45 {
  flex-grow: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

._smsBubble_1bdk4_63 {
  background: #F5F3FF; /* Light purple background */
  padding: 20px 24px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  position: relative;
}

._placeholder_1bdk4_85 {
  color: #8B5CF6; /* Purple for placeholders */
  font-weight: 500;
}

._timestamp_1bdk4_95 {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 8px;
}

/* Footer buttons matching the rounded-border style */
._modalFooter_1bdk4_113 {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 24px;
}

._backBtn_1bdk4_127 {
  border: 1px solid #374151 !important;
  color: #374151 !important;
  border-radius: 8px !important;
  text-transform: none !important;
  padding: 8px 24px !important;
  font-weight: 600 !important;
}

._saveBtn_1bdk4_145 {
  background-color: #4B4B4B !important;
  color: white !important;
  border-radius: 8px !important;
  text-transform: none !important;
  padding: 8px 32px !important;
  font-weight: 600 !important;
}._modalContainer_j5qvh_1 {
  background: white;
  border-radius: 12px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
}

._modalHeader_j5qvh_17 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #E5E7EB;
  background: white;
}

._modalTitle_j5qvh_35 {
  font-weight: 600 !important;
  font-size: 18px !important;
  color: #1F2937 !important;
}

._previewContent_j5qvh_47 {
  flex-grow: 1;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F9FAFB;
  overflow-y: auto;
  min-height: 400px;
}

._whatsappBubble_j5qvh_69 {
  background: #F5F3FF;
  padding: 24px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  position: relative;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  word-break: break-word;
  white-space: pre-wrap;
}

._placeholder_j5qvh_97 {
  color: #7C3AED;
  font-weight: 500;
}

._timestamp_j5qvh_107 {
  display: block;
  text-align: right;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 10px;
  font-weight: 500;
}

._modalFooter_j5qvh_125 {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 24px;
  border-top: 1px solid #F3F4F6;
  background: white;
}

._backBtn_j5qvh_143 {
  border: 1px solid #374151 !important;
  color: #374151 !important;
  background-color: white !important;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 28px !important;
  transition: all 0.2s ease;
  min-width: 140px !important;
}

._backBtn_j5qvh_143:hover {
  border-color: #1F2937 !important;
  background-color: #F9FAFB !important;
}

._saveBtn_j5qvh_179 {
  background-color: #4B4B4B !important;
  color: white !important;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 10px 28px !important;
  transition: all 0.2s ease;
  min-width: 100px !important;
}

._saveBtn_j5qvh_179:hover {
  background-color: #1F2937 !important;
}
._container_x1fub_1 { background-color: white !important; border-radius: 12px !important; border: 1px solid #F3F4F6 !important; }
._headCell_x1fub_3 { background-color: #F9FAFB !important; color: #9CA3AF !important; font-size: 12px !important; font-weight: 600 !important; letter-spacing: 0.02em; padding-top: 14px !important; padding-bottom: 14px !important; border-bottom: 1px solid #F3F4F6 !important; }
._bodyRow_x1fub_5 { transition: background-color 0.15s ease; }
._bodyRow_x1fub_5 td { padding-top: 12px !important; padding-bottom: 12px !important; }
._bodyRow_x1fub_5:hover { background-color: #F9FAFB; }
._nameCell_x1fub_11 { font-weight: 500 !important; color: #374151 !important; font-size: 14px !important; }
._subjectCell_x1fub_13 { color: #6B7280 !important; font-size: 14px !important; }
._dateCell_x1fub_15, ._authorCell_x1fub_15 { color: #6B7280 !important; font-size: 13px !important; }

._paginationWrapper_x1fub_19 { display: flex; justify-content: flex-end; padding: 16px 24px; background-color: white; }
._pageNumber_x1fub_21 { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; font-weight: 600; color: #9CA3AF; border-radius: 8px; }
._activePage_x1fub_23 { background-color: #1F2937 !important; color: white !important; border-radius: 10px; }
._arrowBtn_x1fub_25 { color: #9CA3AF !important; }
._arrowBtn_x1fub_25:disabled { color: #E5E7EB !important; }/* Page Container */
._pageContainer_tp5tc_3 {
  padding: 0;
  background-color: #FFFFFF;
  min-height: 100%;
}

/* Header */
._header_tp5tc_17 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

._pageTitle_tp5tc_31 {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

._headerActions_tp5tc_45 {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Search Field */
._searchField_tp5tc_59 {
  width: 300px;
}

._searchField_tp5tc_59 ._MuiOutlinedInput-root_tp5tc_67 {
  background-color: white;
  border-radius: 8px;
  font-size: 14px;
}

._searchField_tp5tc_59 ._MuiOutlinedInput-input_tp5tc_79 {
  padding: 10px 14px;
}

._searchField_tp5tc_59 ._MuiOutlinedInput-notchedOutline_tp5tc_87 {
  border-color: #E5E7EB;
}

._searchIcon_tp5tc_95 {
  color: #9CA3AF;
  font-size: 20px;
}

/* Filter Button */
._filterBtn_tp5tc_107 {
  background-color: white !important;
  border: 1px solid #E5E7EB !important;
  border-radius: 8px !important;
  padding: 10px !important;
  color: #6B7280 !important;
}

._filterBtn_tp5tc_107:hover {
  background-color: #F9FAFB !important;
}

/* New Template Button */
._newTemplateBtn_tp5tc_133 {
  background-color: #111827 !important;
  color: white !important;
  text-transform: none !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

._newTemplateBtn_tp5tc_133:hover {
  background-color: #1F2937 !important;
}

/* Tabs Container */
._tabsContainer_tp5tc_165 {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid #E5E7EB;
}

._tab_tp5tc_165 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

._tab_tp5tc_165:hover {
  background-color: #F9FAFB;
}

._activeTab_tp5tc_209 {
  border-bottom-color: #EF4444;
}

._tabLabel_tp5tc_217 {
  font-size: 14px;
  font-weight: 500;
  color: #6B7280;
}

._activeTab_tp5tc_209 ._tabLabel_tp5tc_217 {
  color: #EF4444;
}

._tabChip_tp5tc_237 {
  background-color: #F3F4F6 !important;
  color: #6B7280 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  height: 22px !important;
}

._activeChip_tp5tc_253 {
  background-color: #FEE2E2 !important;
  color: #EF4444 !important;
}

/* Table Container */
._tableContainer_tp5tc_265 {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

/* Table Wrapper */
._tableWrapper_tp5tc_281 {
  background-color: #FFFFFF;
}

/* Table Header */
._tableHeader_tp5tc_291 {
  background-color: #F9FAFB;
}

._headerCell_tp5tc_299 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6B7280 !important;
  text-transform: uppercase;
  padding: 16px !important;
  border-bottom: 1px solid #E5E7EB !important;
}

/* Table Row */
._tableRow_tp5tc_319 {
  transition: background-color 0.2s ease;
}

._tableRow_tp5tc_319:hover {
  background-color: #F9FAFB;
}

._tableCell_tp5tc_335 {
  font-size: 14px !important;
  color: #374151 !important;
  padding: 16px !important;
  border-bottom: 1px solid #F3F4F6 !important;
}

/* Use Case Chip */
._useCaseChip_tp5tc_351 {
  font-size: 12px !important;
  font-weight: 500 !important;
  height: 24px !important;
  border-radius: 12px !important;
}

/* Action Buttons */
._actionButtons_tp5tc_367 {
  display: flex;
  gap: 4px;
  justify-content: center;
}

._actionBtn_tp5tc_379 {
  color: #6B7280 !important;
  padding: 6px !important;
  border-radius: 6px !important;
}

._actionBtn_tp5tc_379:hover {
  background-color: #F3F4F6 !important;
  color: #111827 !important;
}

._actionBtn_tp5tc_379:nth-child(1):hover {
  background-color: #DBEAFE !important;
  color: #3B82F6 !important;
}

._actionBtn_tp5tc_379:nth-child(2):hover {
  background-color: #D1FAE5 !important;
  color: #10B981 !important;
}

._actionBtn_tp5tc_379:nth-child(3):hover {
  background-color: #FEF3C7 !important;
  color: #F59E0B !important;
}

._actionBtn_tp5tc_379:nth-child(4):hover {
  background-color: #FEE2E2 !important;
  color: #EF4444 !important;
}

/* Responsive */
@media (max-width: 1024px) {
  ._searchField_tp5tc_59 {
    width: 200px;
  }
}

@media (max-width: 768px) {
  ._header_tp5tc_17 {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  ._headerActions_tp5tc_45 {
    width: 100%;
    flex-wrap: wrap;
  }

  ._searchField_tp5tc_59 {
    flex: 1;
    min-width: 200px;
  }

  ._tableContainer_tp5tc_265 {
    overflow-x: auto;
  }

  ._tableWrapper_tp5tc_281 {
    overflow-x: auto;
  }
}
._backToListWrapper_9hxoj_1 {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
  margin-bottom: 8px;
}

._backToListBtn_9hxoj_8 {
  border-radius: 8px;
  text-transform: none;
  background-color: #f3f3f3;
  color: #505050;
  border: none;
  box-shadow: none;
  font-weight: 600;
}

._backToListBtn_9hxoj_8:hover {
  background-color: #e8e8e8;
  color: #232323;
  border: none;
  box-shadow: none;
}

/* Bulk Import Modal - Result Summary and Errors */
._resultContainer_9hxoj_26 {
  margin-top: 16px;
}

._summaryBox_9hxoj_30 {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid;
}

._summaryBoxWithErrors_9hxoj_39 {
  background-color: #fef2f2;
  border-color: #fecaca;
}

._summaryBoxNoErrors_9hxoj_44 {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

._summaryItem_9hxoj_49 {
  display: flex;
  align-items: center;
  gap: 8px;
}

._summaryItem_9hxoj_49._success_9hxoj_55 {
  color: #16a34a;
}

._summaryItem_9hxoj_49._error_9hxoj_59 {
  color: #dc2626;
}

._summaryText_9hxoj_63 {
  font-size: 14px;
  font-weight: 600;
}

._summaryText_9hxoj_63._success_9hxoj_55 {
  color: #16a34a;
}

._summaryText_9hxoj_63._error_9hxoj_59 {
  color: #dc2626;
}

._summaryTotal_9hxoj_76 {
  font-size: 14px;
  color: #6b7280;
  margin-left: auto;
}

._errorBox_9hxoj_82 {
  border: 1px solid #fecaca;
  border-radius: 12px;
  background-color: #fef2f2;
}

._errorBoxExpanded_9hxoj_88 {
  max-height: 100%;
  overflow-y: auto;
}

._errorBoxCollapsed_9hxoj_93 {
  max-height: 280px;
  overflow-y: hidden;
}

._errorRow_9hxoj_98 {
  padding: 10px 16px 10px 20px;
  border-bottom: 1px solid #fecaca;
  border-left: 3px solid #dc2626;
  margin: 0 12px;
  border-radius: 4px;
}

._errorRow_9hxoj_98:first-child {
  margin-top: 10px;
}

._errorRow_9hxoj_98:last-child {
  border-bottom: none;
  margin-bottom: 10px;
}

._errorRowContent_9hxoj_115 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

._errorMessage_9hxoj_122 {
  font-size: 13px;
  color: #dc2626;
  flex: 1;
}

._errorBadge_9hxoj_128 {
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
  white-space: nowrap;
  padding: 4px 12px;
  background-color: #fee2e2;
  border-radius: 6px;
}

._showMoreButton_9hxoj_138 {
  margin-top: 12px;
  text-transform: none;
  font-family: Montserrat;
  font-weight: 600;
  font-size: 13px;
  color: #4f7cf4;
  width: 100%;
  padding: 8px 0;
}

/* ─── Referral User Management ─────────────────────────────────────────────── */

._rumPage_9hxoj_151 {
  padding: 8px;
  /* background-color: #F9FAFB; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Header */
._rumHeader_9hxoj_161 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

._rumTitle_9hxoj_169 {
  font-weight: 700 !important;
  font-size: 20px !important;
  color: #111827 !important;
  line-height: 1.3 !important;
}

._rumControls_9hxoj_176 {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  /* flex-wrap: wrap; */
}

._rumFilterGroup_9hxoj_183 {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

._rumFilterLabel_9hxoj_189 {
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1;
}

._rumCreateBtn_9hxoj_196 {
  background-color: #111827 !important;
  color: #fff !important;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  height: 40px !important;
  padding: 0 16px !important;
  white-space: nowrap;
  box-shadow: none !important;
  min-width: 170px !important;
}

._rumCreateBtn_9hxoj_196:hover {
  background-color: #1f2937 !important;
  box-shadow: none !important;
}

/* Table container */
._rumTable_9hxoj_216 {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
}

/* Table header */
._rumTableHead_9hxoj_225 {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1.4fr 1.6fr 110px 90px;
  align-items: center;
  padding: 0 20px;
  height: 44px;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

._rumTh_9hxoj_235 {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

/* Table row */
._rumTableRow_9hxoj_245 {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1.4fr 1.6fr 110px 90px;
  align-items: center;
  padding: 0 20px;
  min-height: 56px;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.12s ease;
}

._rumTableRow_9hxoj_245:last-child {
  border-bottom: none;
}

._rumTableRow_9hxoj_245:hover {
  background-color: #f9fafb;
}

/* Next Action card buttons */
._nextActionBtnRow_9hxoj_264 {
  display: flex;
  gap: 8px;
  padding-right: 8px;
}

._nextActionBtnBase_9hxoj_270 {
  flex: 1;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
  text-transform: none !important;
  border-radius: 8px !important;
  font-size: 0.75rem !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

._nextActionBtnMarkDone_9hxoj_282 {
  border-color: #e2e8f0 !important;
  color: #475569 !important;
  background-color: transparent;
  transition: all 0.2s ease;
}

._nextActionBtnMarkDone_9hxoj_282:hover {
  border-color: #bbf7d0 !important;
  color: #16a34a !important;
  background-color: #f0fdf4 !important;
}

._nextActionBtnMarkDone_9hxoj_282:disabled {
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  background-color: #f8fafc !important;
}

._nextActionBtnSms_9hxoj_301 {
  border-color: #ddd6fe !important;
  color: #8b5cf6 !important;
  background-color: #f5f3ff !important;
}

._nextActionBtnSms_9hxoj_301:hover {
  background-color: #ede9fe !important;
  border-color: #c4b5fd !important;
}

._nextActionBtnEmail_9hxoj_312 {
  border-color: #bae6fd !important;
  color: #0ea5e9 !important;
  background-color: #ecfeff !important;
}

._nextActionBtnEmail_9hxoj_312:hover {
  background-color: #cffafe !important;
  border-color: #7dd3fc !important;
}

._nextActionBtnWhatsapp_9hxoj_323 {
  border-color: #a7f3d0 !important;
  color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

._nextActionBtnWhatsapp_9hxoj_323:hover {
  background-color: #dcfce7 !important;
  border-color: #6ee7b7 !important;
}

._nextActionBtnAppointment_9hxoj_334 {
  border-color: #fde68a !important;
  color: #f59e0b !important;
  background-color: #fff7ed !important;
}

._nextActionBtnAppointment_9hxoj_334:hover {
  background-color: #fef3c7 !important;
  border-color: #fcd34d !important;
}

._nextActionBtnCall_9hxoj_345 {
  border-color: #bbf7d0 !important;
  color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

._nextActionBtnCall_9hxoj_345:hover {
  background-color: #dcfce7 !important;
  border-color: #86efac !important;
}

/* Cells */
._rumCell_9hxoj_357 {
  font-size: 13px;
  color: #374151;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

._rumCellMuted_9hxoj_366 {
  font-size: 13px;
  color: #9ca3af;
}

/* Action buttons column */
._rumActions_9hxoj_372 {
  display: flex;
  align-items: center;
  gap: 2px;
}

._rumEditBtn_9hxoj_378 {
  color: #3b82f6 !important;
  padding: 6px !important;
}

._rumEditBtn_9hxoj_378:hover {
  background-color: #eff6ff !important;
}

._rumDeleteBtn_9hxoj_387 {
  color: #ef4444 !important;
  padding: 6px !important;
}

._rumDeleteBtn_9hxoj_387:hover {
  background-color: #fef2f2 !important;
}

/* Loader / empty */
._rumLoader_9hxoj_397 {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

._rumEmpty_9hxoj_403 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  gap: 8px;
}

._rumEmptyText_9hxoj_412 {
  font-size: 14px;
  color: #9ca3af;
}

/* Footer row */
._rumFooter_9hxoj_418 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

._rumFooterText_9hxoj_427 {
  font-size: 12px;
  color: #9ca3af;
}

/* Shared MUI Pagination — use className={styles.muiPagination} on <Pagination> */
._muiPagination_9hxoj_432 .MuiPagination-ul {
  gap: 4px;
}

._muiPagination_9hxoj_432 .MuiPaginationItem-root {
  min-width: 32px;
  height: 32px;
  font-size: 14px;
  color: #8a8f98;
  border-radius: 8px;
  margin: 0;
}

._muiPagination_9hxoj_432 .MuiPaginationItem-page.Mui-selected {
  background-color: #505050;
  color: #ffffff;
  font-weight: 700;
}

._muiPagination_9hxoj_432 .MuiPaginationItem-page.Mui-selected:hover {
  background-color: #333333;
}

/* ─── Create / Edit Referral User ───────────────────────────────────────── */

._cruPage_9hxoj_458 {
  padding: 24px 28px;
  background-color: #ffffff;
  min-height: 100vh;
}

._cruTopBar_9hxoj_464 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

._cruBackBtn_9hxoj_471 {
  color: #374151 !important;
  padding: 6px !important;
  border-radius: 8px !important;
}

._cruBackBtn_9hxoj_471:hover {
  background-color: #f3f4f6 !important;
}

._cruPageTitle_9hxoj_481 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

/* Avatar upload */
._cruAvatarWrap_9hxoj_488 {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  cursor: pointer;
}

._cruAvatar_9hxoj_488 {
  width: 80px !important;
  height: 80px !important;
}

._cruAvatarEdit_9hxoj_501 {
  position: absolute !important;
  bottom: 0;
  right: 0;
  width: 26px !important;
  height: 26px !important;
  background-color: #e07a5f !important;
  color: #fff !important;
  padding: 0 !important;
}

._cruAvatarEdit_9hxoj_501:hover {
  background-color: #c4674f !important;
}

._cruAvatarClear_9hxoj_516 {
  position: absolute !important;
  top: -4px;
  right: 2px;
  width: 22px !important;
  height: 22px !important;
  background-color: #ef4444 !important;
  color: #fff !important;
  padding: 0 !important;
}

._cruAvatarClear_9hxoj_516:hover {
  background-color: #dc2626 !important;
}

/* Section labels */
._cruSection_9hxoj_532 {
  margin-bottom: 20px;
}

._cruSectionTitle_9hxoj_536 {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #6b7280 !important;
  text-transform: uppercase;
  margin-bottom: 16px !important;
}

/* Field grid */
._cruGrid_9hxoj_546 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 20px;
}

._cruGridWide_9hxoj_552 {
  grid-column: span 1;
}

._cruGridFull_9hxoj_556 {
  grid-column: span 1;
}

/* Field wrapper (label + input) */
._cruField_9hxoj_561 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._cruLabel_9hxoj_567 {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
}

._cruInput_9hxoj_573 {
  height: 40px;
  border: none !important;
  border-bottom: 1px solid #d1d5db !important;
  border-radius: 0 !important;
  padding: 0 4px !important;
  font-size: 14px !important;
  color: #111827 !important;
  background: transparent !important;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

._cruInput_9hxoj_573:focus {
  border-bottom-color: #e07a5f !important;
  outline: none;
}

._cruInputError_9hxoj_592 {
  border-bottom-color: #ef4444 !important;
}

._cruErrorText_9hxoj_596 {
  font-size: 11px;
  color: #ef4444;
  margin-top: 2px;
}

/* Divider between sections */
._cruDivider_9hxoj_603 {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 20px 0;
}

/* Footer actions */
._cruFooter_9hxoj_610 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 32px;
  margin-top: auto;
}

._cruCancelBtn_9hxoj_618 {
  min-width: 100px !important;
  height: 40px !important;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border-color: #d1d5db !important;
  color: #374151 !important;
}

._cruCancelBtn_9hxoj_618:hover {
  background-color: #f9fafb !important;
}

._cruSaveBtn_9hxoj_633 {
  min-width: 100px !important;
  height: 40px !important;
  border-radius: 8px !important;
  text-transform: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  background-color: #111827 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

._cruSaveBtn_9hxoj_633:hover {
  background-color: #1f2937 !important;
}

._cruSaveBtn_9hxoj_633:disabled {
  background-color: #9ca3af !important;
  color: #ffffff !important;
}
._loginPage_1hjq7_1 {
  min-height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: 1.7fr 0.95fr;
  background: #e8e8ea;
}

._heroPanel_1hjq7_9 {
  position: relative;
  overflow: hidden;
  border-right: 1px solid #d8d8da;
  background: #fff;
}

._heroImage_1hjq7_16 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

._heroTagline_1hjq7_24 {
  position: absolute;
  left: 20%;
  bottom: 12%;
  text-align: center;
  color: #2b3445;
  font-size: clamp(22px, 1.5vw, 26px);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

._heroTaglineAccent_1hjq7_36 {
  color: #e17e61;
}

._formPanel_1hjq7_40 {
  position: relative;
  background: #e8e8ea;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

._topSection_1hjq7_49 {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

._languageWrap_1hjq7_56 {
  align-self: flex-end;
  width: min(175px, 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

._languageLabel_1hjq7_64 {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

._languageSelect_1hjq7_70 {
  width: 100%;
  height: 32px;
  /* border: 1px solid #dd876f; */
  border-radius: 8px;
  background: #ececee;
  color: #5d5d5d;
  font-size: 13px;
  padding: 0 8px;
  outline: none;
}

._formContent_1hjq7_82 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 8vh;
}

._card_1hjq7_91 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

._logo_1hjq7_99 {
  width: min(170px, 62%);
  align-self: center;
}

._loginForm_1hjq7_104 {
  width: min(320px, 100%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

._inputGroup_1hjq7_111 {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid #b6b7ba;
  gap: 10px;
  padding-bottom: 8px;
  transition: border-color 0.2s ease;
}

._inputGroup_1hjq7_111:focus-within {
  border-color: #e17e61;
}

._inputGroup_1hjq7_111:focus-within ._inputIcon_1hjq7_124 {
  color: #e17e61;
}

._inputIcon_1hjq7_124 {
  color: #1f2734;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

._inputField_1hjq7_134 {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: #2b3445;
  outline: none;
  line-height: 1.1;
}

._inputField_1hjq7_134::placeholder {
  color: #8a8c91;
}

/* Chrome/Edge fill autofilled inputs with a system yellow/blue background
   that can't be overridden via background-color — this pushes that fill
   color inward via a huge inset box-shadow of the app's own transparent
   underline background instead. */
._inputField_1hjq7_134:-webkit-autofill,
._inputField_1hjq7_134:-webkit-autofill:hover,
._inputField_1hjq7_134:-webkit-autofill:focus {
  -webkit-text-fill-color: #2b3445;
  box-shadow: 0 0 0 1000px #e8e8ea inset;
  transition: background-color 9999s ease-in-out 0s;
}

._eyeButton_1hjq7_160 {
  border: 0;
  background: transparent;
  color: #6d7075;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-right: -6px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

._eyeButton_1hjq7_160:hover {
  color: #2b3445;
}

._errorText_1hjq7_179 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b00020;
  background: rgba(176, 0, 32, 0.08);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
}

._loginButton_1hjq7_190 {
  margin-top: 6px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #595a5f;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16);
}

._loginButton_1hjq7_190:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

._loginButton_1hjq7_190 {
  transition:
    opacity 0.2s ease,
    transform 0.1s ease;
}

._loginButton_1hjq7_190:hover {
  opacity: 0.85;
}

._loginButton_1hjq7_190:active:not(:disabled) {
  transform: scale(0.98);
}

._loginButton_1hjq7_190:focus-visible,
._forgotButton_1hjq7_223:focus-visible,
._eyeButton_1hjq7_160:focus-visible {
  outline: 2px solid #e17e61;
  outline-offset: 2px;
}

._forgotButton_1hjq7_223 {
  margin-top: 2px;
  border: 0;
  background: transparent;
  color: #1f2d45;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

._forgotButton_1hjq7_223:hover {
  color: #e17e61;
}

@media (max-width: 1200px) {
  ._loginPage_1hjq7_1 {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.95fr);
  }

  ._heroPanel_1hjq7_9 {
    min-height: 100dvh;
  }

  ._heroTagline_1hjq7_24 {
    bottom: 18%;
    font-size: clamp(22px, 1.5vw, 26px);
  }

  ._formPanel_1hjq7_40 {
    min-height: 100dvh;
    padding: 18px 20px;
  }

  ._topSection_1hjq7_49 {
    align-items: flex-end;
    gap: 12px;
  }

  ._languageWrap_1hjq7_56 {
    width: min(155px, 100%);
  }

  ._languageLabel_1hjq7_64 {
    font-size: 13px;
  }

  ._languageSelect_1hjq7_70 {
    font-size: 13px;
    height: 34px;
    border-radius: 10px;
  }

  ._formContent_1hjq7_82 {
    gap: 18px;
  }

  ._logo_1hjq7_99 {
    width: 150px;
  }

  ._loginForm_1hjq7_104 {
    max-width: 340px;
    gap: 16px;
  }

  ._inputField_1hjq7_134 {
    font-size: 18px;
  }

  ._errorText_1hjq7_179 {
    font-size: 14px;
  }

  ._loginButton_1hjq7_190 {
    margin-top: 10px;
    height: 42px;
    border-radius: 12px;
    font-size: 16px;
  }

  ._forgotButton_1hjq7_223 {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  ._loginPage_1hjq7_1 {
    display: flex;
    min-height: 100dvh;
  }

  ._heroPanel_1hjq7_9 {
    display: none;
  }

  ._formPanel_1hjq7_40 {
    width: 100%;
    min-height: 100dvh;
    padding: 20px;
  }

  ._topSection_1hjq7_49 {
    align-items: flex-end;
    gap: 20px;
  }

  ._languageWrap_1hjq7_56 {
    align-self: flex-end;
    width: min(175px, 100%);
  }

  ._languageLabel_1hjq7_64 {
    font-size: 16px;
  }

  ._languageSelect_1hjq7_70 {
    height: 44px;
    font-size: 16px;
    padding: 0 12px;
  }

  ._logo_1hjq7_99 {
    width: min(180px, 62vw);
  }

  ._formContent_1hjq7_82 {
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
  }

  ._card_1hjq7_91 {
    width: 100%;
    max-width: 420px;
    margin: 6vh auto 0;
    padding: 36px 28px 32px;
    gap: 26px;
    background: #fff;
    border: 1px solid rgba(35, 40, 55, 0.05);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(35, 40, 55, 0.1);
  }

  ._loginForm_1hjq7_104 {
    width: 100%;
    gap: 22px;
  }

  ._inputField_1hjq7_134 {
    font-size: 18px;
  }

  ._loginButton_1hjq7_190 {
    margin-top: 8px;
    height: 46px;
    font-size: 18px;
  }

  ._forgotButton_1hjq7_223 {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  ._formPanel_1hjq7_40 {
    padding: 16px;
  }

  ._topSection_1hjq7_49 {
    align-items: stretch;
    gap: 16px;
  }

  ._languageWrap_1hjq7_56 {
    align-self: stretch;
    width: 100%;
    max-width: none;
  }

  ._card_1hjq7_91 {
    margin-top: 4vh;
    padding: 28px 20px 24px;
    border-radius: 16px;
  }

  ._loginForm_1hjq7_104 {
    gap: 18px;
  }

  ._inputField_1hjq7_134 {
    font-size: 17px;
  }
}
/* ================= ADD CAMPAIGN MODAL ================= */

.add-campaign-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(750px, calc(100vw - 24px));
  min-width: 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.12);
  padding: 20px;
  max-height: 90vh;
  /* overflow-y: auto; */
}

.add-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-divider {
  height: 1px;
  background: #eaeaea;
  margin: 16px -20px;
  flex-shrink: 0;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #F2F2F2;
}

.close-btn:hover {
  background-color: #E0E0E0;
}

.add-modal-subtitle {
  margin: 20px 0;
  font-weight: 600;
  font-size: large;
  padding-left: 4px;  
}

.add-modal-head{
  font-weight: 700;
    margin: 10px 0;
    font-size: large;
}
/* ================= CAMPAIGN TYPE CARD ================= */

.campaign-type-card {
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
}
.campaign-type-card-social:hover {
  background: #eaf2ff;
  border: 1px solid #3b82f6;
}

.campaign-type-card-mail:hover {
  background: #fff3df;
  border: 1px solid #f59e0b;
}
.campaign-type-card-social:hover .card-icon.social {
  background: #ffffff;
}

.campaign-type-card-mail:hover .card-icon.email {
  background: #ffffff;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.add-title-icon{
  width: 30px;
    height: 30px;
    object-fit: contain;
}

.card-icon.social {
  background: #eaf2ff;
}

.card-icon.email {
  background: #fff3df;
}

.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid;
}

.badge.paid {
  background: #eeeeee;
}

.badge.free {
  background: #eeeeee;
}

/* ================= GREEN CHECK LIST ================= */

.campaign-type-card h5 {
  margin: 14px 0 6px;
  font-size: 16px;
}

.campaign-type-card p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}

.campaign-type-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.campaign-type-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

@media (max-width: 768px) {
  .add-campaign-modal {
    padding: 16px;
    border-radius: 14px;
  }

  .modal-divider {
    margin: 14px -16px;
  }

  .card-top {
    align-items: flex-start;
    gap: 12px;
  }
}
.email-campaign-modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1000px, calc(100vw - 24px));
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.12);
  padding: 20px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-header {
  position: relative;
  height: 62px;
  padding: 16px;
  border-bottom: 1px solid #E2E3E5;
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #232323;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  background: #F2F2F2;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.stepper {
  width: 98%;
  margin: 24px auto 18px;
  padding: 18px 28px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  border: 1px solid lightgrey;
  align-items: center;
  overflow-x: auto;
  flex-shrink: 0;
}


.step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step .circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.step span {
  font-size: 14px;
  color: #9CA3AF;
}

.step.active .circle {
  background: #FFEDE7;
  color: #F26A3E;
}

.step.active span {
  color: #F26A3E;
  font-weight: 600;
}

.step.completed .circle {
  background: #22C55E;
  color: #ffffff;
}

.step.completed span {
  color: #22C55E;
  font-weight: 600;
}

.line {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
  margin: 0 12px;
}

/* ================= CONTENT ================= */

.step-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-group.half {
  flex: 0 0 calc(50% - 10px);
}

.form-group>label {
  position: absolute;
  top: -10px;
  left: 16px;
  background: #ffffff;
  padding: 2px 8px;
  font-size: 13px;
  color: #6B6B6B;
  pointer-events: none;
}

.form-group > input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid #E2E3E5;
  padding: 11px 14px 8px;
  font-size: 16px;
  background: #fff;
  box-shadow: none;
  outline: none;
}

input:invalid,
select:invalid {
  box-shadow: none;
  outline: none;
}

.form-group.error > input,
.form-group.error > select {
  border-color: #E11D48;
}

.form-group.error>label {
  color: #E11D48;
}

.form-error {
  display: none;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 12px 20px 20px;
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  background: #ffffff;
  z-index: 10;
  align-items: center;
}

.modal-actions button {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  flex: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 12px;
}

.cancel-btn {
  width: 160px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #6B6B6B;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.next-btn {
  width: 160px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: #4A4A4A;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.next-btn:disabled {
  background: #BDBDBD;
  cursor: not-allowed;
}

.section-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 20px;
}

.section-card.error {
  border-color: #E11D48;
}

.section-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 0;
  margin-bottom: 8px;
}

.account-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.account-card {
  flex: 1;
  border: 1.5px solid #CBD5E1;
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.account-card.selected {
  border-color: black;
}

.section-card.error .account-card {
  border-color: #E11D48;
}

.account-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-left img {
  width: 28px;
  height: 28px;
}

.account-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
}

.account-checkbox.checked {

  background: #F26A3E;
  border-color: #F26A3E;
}

/* ================= CAMPAIGN MODE – FIGMA EXACT ================= */

.mode-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.mode-card {
  flex: 0 0 calc(50% - 10px);
  max-width: 430px;
  height: 76px;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}


/* Selected */
.mode-card.selected {
  border-color: #F26A3E;
}

/* LEFT CONTENT */
.mode-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
} 
.email-editor {
  min-height: 180px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  outline: none;
}

.email-editor:empty:before {
  content: "Enter email content";
  color: #9ca3af;
}


/* RADIO */
.radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #B0B7C3;
  position: relative;
  flex-shrink: 0;
}

.radio.checked {
  border-color: #F26A3E;
}

.radio.checked::after {
  content: "";
  position: absolute;
  inset: 20%;
  background: #F26A3E;
  border-radius: 50%;
}

.mode-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mode-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 22px;
  color: #232323;
}

.mode-text p {
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
  line-height: 18px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mode-card .badge {
  align-self: flex-start;
  padding: 2px 10px;
  height: 18px;
  line-height: 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;

  background: #F1F5F9;
  color: #111827;
  border: 1px solid;

  display: flex;
  align-items: center;
  justify-content: center;
}

.mode-card .badge.outlined {
  background: #F1F5F9;
  color: #111827;
  border: 1px solid;
}

.content-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.content-row img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 6px;
}

.content-row textarea,
.content-row input {
  flex: 1;
  min-height: 52px;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #232323;
  outline: none;
  background: #ffffff;
}

.content-row textarea {
  min-height: 140px;
  resize: none;
}

.content-row textarea::placeholder,
.content-row input::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

.content-row textarea:focus,
.content-row input:focus {
  border-color: #F26A3E;
}

.content-row:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.email-campaign-modal .MuiOutlinedInput-notchedOutline {
  border: 1px solid #E2E3E5 !important;
}

.email-campaign-modal .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border: 1px solid #E2E3E5 !important;
}

.email-campaign-modal .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border: 0.5px solid #E2E3E5 !important;
}

.email-campaign-modal .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline {
  border: 1px solid #E11D48 !important;
}

.email-campaign-modal .MuiOutlinedInput-root {
  border-radius: 16px !important;
  height: 56px !important;
}

.email-campaign-modal input[type="number"]::-webkit-outer-spin-button,
.email-campaign-modal input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.email-campaign-modal input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.email-campaign-modal .MuiSelect-select {
  display: flex;
  align-items: center;
}

.email-campaign-modal .MuiInputLabel-root {
  font-size: 10px !important;
}

/* .schedule-row {
  display: flex;
  gap: 20px;
} */

.email-campaign-modal .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline,
.email-campaign-modal .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline {
  border-color: #E2E3E5 !important;
}

.form-group.error .MuiOutlinedInput-notchedOutline {
  border-color: #E11D48 !important;
}

.email-campaign-modal .MuiFormLabel-root {
  color: #6B6B6B !important;
}

.form-group.error .MuiFormLabel-root {
  color: #E11D48 !important;
}

.schedule-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
  background: #ffffff;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.schedule-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-title h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #232323;
}

.schedule-title p {
  font-size: 14px;
  color: #9CA3AF;
  margin: 0;
}

.ai-opt-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px solid #E0C7FF;
  background: #F8F5FF;
  color: #232323;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* .schedule-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
} */

.schedule-field {
  flex: 1;
  position: relative;
  flex: 0 0 calc(50% - 10px);
}

.schedule-field .MuiInputBase-root {
  height: 56px;
  border-radius: 16px;
}

.schedule-field label {
  position: absolute;
  top: -9px;
  left: 18px;
  background: #ffffff;
  padding: 2px 6px;
  font-size: 13px;
  color: #9CA3AF;
  z-index: 2;
  pointer-events: none;
} 

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.schedule-field {
  position: relative;
  width: 100%;
}

.schedule-input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid #D1D5DB;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  font-size: 16px;
  font-weight: 500;
  color: #232323;
  box-sizing: border-box;
}

.schedule-input svg,
.schedule-input img {
  width: 22px;
  height: 22px;
  color: #232323;
  flex-shrink: 0;
}

.schedule-input:hover,
.schedule-input:focus-within {
  border-color: #D1D5DB;
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
  .schedule-row {
    grid-template-columns: 1fr;
  }

  .email-campaign-modal {
    padding: 16px;
    border-radius: 14px;
  }

  .stepper {
    width: 100%;
    padding: 14px 16px;
    margin: 18px 0 14px;
  }

  .form-row,
  .account-row,
  .mode-row,
  .content-row{
    flex-direction: column;
  }

  .form-group.half,
  .mode-card {
    flex: 1 1 100%;
    max-width: none;
  }

  .modal-actions {
    align-items: stretch;
    padding: 12px 0 4px;
  }

  .modal-actions button,
  .cancel-btn,
  .next-btn {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  .schedule-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.section-subtitle {
  margin-bottom: 16px;
}

.schedule-field input[type="time"] {
  border: 1.5px solid #E2E3E5;
  border-radius: 16px;
  height: 56px;
  padding: 0 16px;
  font-size: 16px;
}

.form-group textarea {
  width: 100%;
  min-height: 40px;
  border-radius: 16px;
  border: 1.5px solid #E2E3E5;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #232323;
  background: #ffffff;
  resize: none;
  outline: none;
  box-sizing: border-box;
}

/* Placeholder */
.form-group textarea::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

/* Focus state */
.form-group textarea:focus {
  border-color: #F26A3E;
}

/* Error state */
.form-group.error textarea {
  border-color: #E11D48;
}

/* ===== EMAIL CONTENT HEADER ===== */

.email-content-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

/* Right side buttons container */
.email-actions {
  display: flex;
  gap: 12px;
}

/* Outline button – Preview Email */
.outline-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid #6B6B6B;
  background: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.outline-btn img {
  width: 18px;
  height: 18px;
}

/* Light button – Email Template */
.light-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid #6B6B6B;
  ;
  background: #F3F4F6;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.outline-btn:hover {
  background: #E5E7EB;
}

.light-btn:hover {
  background: #E5E7EB;
}

.form-group input,
.form-group textarea {
  padding-right: 120px;
}

.ai-suggest {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  white-space: nowrap;
}

.form-group textarea+.ai-suggest {
  top: 20px;
  transform: none;
}

.ai-suggest:hover {
  color: #F26A3E;
}

/* Overlay */
.preview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: flex-end;
  z-index: 1200;
}

/* Slide Panel */
.preview-container {
  width: 420px;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.08);
  padding: 20px;
  animation: slideIn 0.35s ease forwards;
  display: flex;
  flex-direction: column;
}

.email-body-row {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

.email-left {
  flex: 1;
}

.email-preview {
  width: 300px;
  min-height: 320px;
  /* 👈 increased height */
  background: #fff;
  border: 1px grey;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  animation: slideInside 0.3s ease;
}

@keyframes slideInside {
  from {
    opacity: 0;
    transform: translateX(15px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.chip {
  background: #f3f4f6;
  padding: 5px 12px;
  border-radius: 20px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-header button {
  background: #f3f4f6;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.preview-body p {
  margin: 8px 0;
}

.label {
  color: #6b7280;
  /* grey */
  font-weight: 400;
}

.preview-to,
.preview-subject {
  border-bottom: 0.5px #f1f3f5;
  /* lighter + thinner */
  padding-bottom: 6px;
}

.preview-email-content {
  margin-top: 15px;
  line-height: 1.6;
}

.preview-divider {
  height: 1px;
  background-color: #eceff1;
  /* very light grey */
  margin: 14px 0;
  width: 100%;
}

.form-group>label,
.schedule-field label {
  z-index: 5;
}

.email-campaign-modal .MuiOutlinedInput-root {
  position: relative;
  z-index: 1;
}
.campaign-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-modal {
  width: 1000px;
  max-width: 1000px;
  min-width: 1000px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;              
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

/* Keep SocialCampaignModal header styles local so it does not depend on
   AddNewCampaign.css being loaded by some other flow. */
.social-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.social-modal-divider {
  height: 1px;
  background: #eaeaea;
  margin: 16px -20px;
  flex-shrink: 0;
}

.social-modal-close-btn {
  position: absolute !important;
  top: 12px;
  right: 12px;
  background-color: #f2f2f2 !important;
}

.social-modal-close-btn:hover {
  background-color: #e0e0e0 !important;
}

.modal-header {
  position: relative;
  height: 62px;
  padding: 16px;
  border-bottom: 1px solid #E2E3E5;
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #232323;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  background: #F2F2F2;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.stepper {
  width: 98%;
  margin: 24px auto 20px;
  padding: 18px 28px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  border: 1px solid lightgrey;
  align-items: center;
  flex-shrink: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step .circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.step span {
  font-size: 14px;
  color: #9CA3AF;
}

.step.active .circle {
  background: #FFEDE7;
  color: #F26A3E;
}

.step.active span {
  color: #F26A3E;
  font-weight: 600;
}

.step.completed .circle {
  background: #22C55E;
  color: #ffffff;
}

.step.completed span {
  color: #22C55E;
  font-weight: 600;
}

.line {
  flex: 1;
  height: 1px;
  background: #E5E7EB;
  margin: 0 12px;
}

.step-content {
  flex: 1;              
  overflow-y: auto;      
  overflow-x: hidden; 
  padding: 10px; 
  
}
.step-content h2 {
  margin-top: 8px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group.half {
  flex: 0 0 calc(50% - 10px); 
}

.form-group > label {
  position: absolute;
  top: -10px;
  left: 16px;
  background: #ffffff;
  padding: 2px 8px;
  font-size: 13px;
  color: #6B6B6B;
  z-index: 2;
  pointer-events: none;
}

.form-group > input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid #E2E3E5;
  padding: 11px 14px 8px;
  font-size: 14px;
  background: #fff;
  box-shadow: none;
  outline: none;
}

input:invalid,
select:invalid {
  box-shadow: none;
  outline: none;
}

.form-group.error > input,
.form-group.error > select {
  border-color: #E11D48;
}

.form-group.error > label {
  color: #E11D48;
}

.form-error {
  display: none;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 12px 20px 20px;
  flex-shrink: 0;
  background: #ffffff;
  z-index: 10;
  align-items: center;
  border-top: 1px solid #eaeaea;
}
.modal-actions button {
  width: 160px !important;
  min-width: 160px !important;
  max-width: 160px !important;
  flex: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 12px;
}

.cancel-btn {
  width: 160px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #6B6B6B;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.next-btn {
  width: 160px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: #4A4A4A;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.next-btn:disabled {
  background: #BDBDBD;
  cursor: not-allowed;
}
.campaign-modal .MuiInputBase-root {
  font-family: 'Montserrat', sans-serif !important;
  background-color: #ffffff !important;
}

.MuiFormControl-root {
  width: 100% !important;
}

.campaign-modal .MuiOutlinedInput-root {
  height: 56px !important;
  border-radius: 8px !important;
  padding: 20px 14px 8px !important;
  box-sizing: border-box;
}

.campaign-modal .MuiOutlinedInput-input {
  padding: 0 !important;
  font-size: 14px !important;
}

.campaign-modal .MuiInputAdornment-root {
  margin-right: 4px !important;
}

.campaign-modal .MuiOutlinedInput-notchedOutline {
  border-width: 1.5px !important;
}

.campaign-modal .MuiOutlinedInput-notchedOutline {
  border: 1.5px solid #E2E3E5 !important;
}

.campaign-modal .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border: 1.5px solid #E2E3E5 !important;
}

.campaign-modal .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border: 1.5px solid #E2E3E5 !important;
  background-color: #ffffff !important;
}

.campaign-modal .MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline {
  border: 1.5px solid #E2E3E5 !important;
}
.campaign-modal .MuiOutlinedInput-root.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline {
  border: 1.5px solid #E2E3E5 !important;
}

.form-group.error .MuiOutlinedInput-notchedOutline {
  border: 1px solid #6B6B6B !important;
}

.campaign-modal .MuiFormLabel-root {
  color: #6B6B6B !important;
}

.form-group.error .MuiFormLabel-root {
  color: #E11D48 !important;
}

.campaign-modal .MuiPickersLayout-root {
  font-family: 'Montserrat', sans-serif !important;
}

.MuiPickersDay-root.Mui-selected {
  background-color: #F26A3E !important;
  color: #ffffff !important;
}

.MuiPickersDay-root.Mui-selected:hover {
  background-color: #F26A3E !important;
}

.MuiMenuItem-root {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
}

.campaign-modal .MuiSelect-select.MuiSelect-select {
  font-style: normal !important;
}

.section-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
}

.section-card.error {
  border-color: #E11D48;
}

.section-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 14px;
  color: #9CA3AF;
  margin-top: 0;
  margin-bottom: 12px;
}

.account-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.account-card {
  flex: 1;
  min-width: 140px;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  background: #ffffff;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.account-card:hover {
  border-color: #F26A3E;
  box-shadow: 0 2px 8px rgba(242, 106, 62, 0.1);
}

.account-card.selected {
  border-color: #F26A3E;
  background: #FFF7F4;
  box-shadow: 0 2px 10px rgba(242, 106, 62, 0.15);
}

.section-card.error .account-card {
  border-color: #E11D48;
}

.account-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-left img {
  width: 28px;
  height: 28px;
}

.account-left span {
  font-size: 14px;
  font-weight: 600;
  color: #232323;
}

/* ── Checkbox ── */
.account-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid #CBD5E1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.account-checkbox.checked {
  background: #F26A3E;
  border-color: #F26A3E;
}

/* checkmark via pseudo-element */
.account-checkbox.checked::after {
  content: "";
  width: 5px;
  height: 9px;
  border: 2px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.mode-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.mode-card {
  flex: 0 0 calc(50% - 10px);
  max-width: 430px;
  height: 76px;                 
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  padding: 14px 16px;            
  display: flex;
  align-items: flex-start;      
  justify-content: space-between;
  background: #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.mode-card.selected {
  border-color: #F26A3E;
}

.mode-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #B0B7C3;
  position: relative;
  flex-shrink: 0;
}

.radio.checked {
  border-color: #F26A3E;
}

.radio.checked::after {
  content: "";
  position: absolute;
  inset: 20%;
  background: #F26A3E;
  border-radius: 50%;
}

.mode-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mode-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  line-height: 22px;
  color: #232323;
}

.mode-text p {
  font-size: 12px;
  color: #9CA3AF;
  margin: 0;
  line-height: 18px;
  white-space: nowrap;       
  overflow: hidden;           
  text-overflow: ellipsis;    
}

.mode-card .badge {
  align-self: flex-start;
  padding: 2px 10px;
  height: 18px;
  line-height: 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  background: #F1F5F9;
  color: #111827;
  border: 1px solid ;               
  display: flex;
  align-items: center;
  justify-content: center;
}

.mode-card .badge.outlined {
  background: #F1F5F9;       
  color: #111827;            
  border: 1px solid ;               
}

.content-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.content-row img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin-top: 6px;
}

.content-row textarea,
.content-row input {
  flex: 1;
  min-height: 52px;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #232323;
  outline: none;
  background: #ffffff;
}

.content-row textarea {
  min-height: 140px;
  resize: none;
}

.content-row textarea::placeholder,
.content-row input::placeholder {
  color: #9CA3AF;
  font-size: 14px;
}

.content-row textarea:focus,
.content-row input:focus {
  border-color: #F26A3E;
}

.content-row:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.schedule-row {
  display: flex;
  gap: 20px;
}

.schedule-card {
  border: 1.5px solid #E5E7EB;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 28px;
  background: #ffffff;
}

.schedule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.schedule-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.schedule-title h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #232323;
}

.schedule-title p {
  font-size: 14px;
  color: #9CA3AF;
  margin: 0;
}

.ai-opt-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px solid #E0C7FF;
  background: #F8F5FF;
  color: #232323;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.schedule-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.schedule-field {
  flex: 1;
  position: relative;
}

.schedule-field label {
  position: absolute;
  top: -9px;
  left: 18px;
  background: #ffffff;
  padding: 2px 6px;
  font-size: 13px;
  color: #9CA3AF;
  z-index: 2;
  pointer-events: none;
}

.schedule-input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid #D1D5DB;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  font-size: 16px;
  font-weight: 500;
  color: #232323;
  box-sizing: border-box;
}

.schedule-input svg,
.schedule-input img {
  width: 22px;
  height: 22px;
  color: #232323;
  flex-shrink: 0;
}

.schedule-input:hover,
.schedule-input:focus-within {
  border-color: #D1D5DB;
}

.budget-divider {
  height: 1px;
  background: #E5E7EB;
  margin: 30px 0;
}

.budget-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.budget-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.budget-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.budget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 6px; 
}

.budget-title img {
  width: 22px;
  height: 22px;
}

.budget-input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.budget-input-wrapper label {
  position: absolute;
  top: -10px;
  left: 16px;
  background: #ffffff;
  padding: 2px 8px;
  font-size: 13px;
  color: #6B6B6B;
  z-index: 2;
  pointer-events: none;
}

.budget-input {
  width: 100%;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid #E2E3E5;
  padding: 0 18px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  background: #ffffff;
  box-sizing: border-box;
}

.budget-input:focus {
  border-color: #F26A3E;
}

.budget-input::-webkit-inner-spin-button,
.budget-input::-webkit-outer-spin-button {
  opacity: 1;
  position: absolute;
  right: 14px;
  height: 28px;
}

.budget-input {
  appearance: textfield;
}

.total-budget {
  border-radius: 16px;
  background: #F1F5FF;
  padding: 16px 20px;
}

.total-budget h4 {
  font-size: 18px;
  margin: 0 0 6px 0;
}

.total-budget p {
  font-size: 14px;
  color: #2563EB;
  margin: 0;
}
.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-draft {
  background: #E0ECFF;
  color: #2563EB;
  border: 1px solid #93C5FD;
}

.status-live {
  background: #DCFCE7;
  color: #16A34A;
  border: 1px solid #86EFAC;
}

.status-scheduled {
  background: #F3E8FF;
  color: #7C3AED;
  border: 1px solid #D8B4FE;
}


@media (max-width: 900px) {
  .schedule-row {
    flex-direction: column;
  }
}

.social-content-box {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.social-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 12px;
}

.social-header img {
  width: 20px;
  height: 20px;
}

/* .social-content-box textarea {
  min-height: 120px;
  border: none;
  resize: none;
  outline: none;
  font-size: 14px;
  padding: 8px 0;
} */

/* .social-toolbar {
  display: flex;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
} */

.social-toolbar svg {
  cursor: pointer;
  color: #6b7280;
  transition: 0.2s;
}

.social-toolbar svg:hover {
  color: #000;
}

.social-toolbar-container {
  padding: 12px 16px;
}

.social-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 10px 18px;
}

.social-toolbar svg {
  font-size: 20px;
  color: #111;
  cursor: pointer;
  transition: 0.2s ease;
}

.social-toolbar svg:hover {
  transform: scale(1.1);
}

.editor {
  min-height: 120px;
  font-size: 14px;
  outline: none;
  border: none;
  background: transparent;
  padding: 4px 0;
}

.editor:focus {
  outline: none;
}

.editor:empty:before {
  content: attr(placeholder);
  color: #9CA3AF;
  pointer-events: none;
}

/* ===== INSERTED IMAGE WRAPPER ===== */
.inserted-image-wrapper {
  position: relative;
  display: inline-block;
  margin: 8px 0;
}

.inserted-image-wrapper img {
  max-width: 150px;
  border-radius: 8px;
  display: block;
}

.inserted-image-wrapper .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  font-size: 11px;
  line-height: 20px;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inserted-image-wrapper .remove-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

/* ===== INSERTED FILE WRAPPER ===== */
.inserted-file-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
  background: #f0f4ff;
  border: 1px solid #c7d7fd;
  border-radius: 20px;
  padding: 3px 4px 3px 10px;
  max-width: 260px;
}

.inserted-file-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 20px;
  padding: 4px 4px 4px 10px;
  max-width: 280px;
}

.inserted-file-wrapper .file-label {
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  flex: 1;
}

/* ── Eye (view) button ── */
.inserted-file-wrapper .file-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s;
  padding: 0;
}

.inserted-file-wrapper .file-view-btn::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.inserted-file-wrapper .file-view-btn:hover {
  background: #e0e7ff;
}

/* ── Remove button ── */
.inserted-file-wrapper .remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ef4444;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.15s;
  padding: 0;
  margin-right: 2px;
}

.inserted-file-wrapper .remove-btn:hover {
  background: #fee2e2;
}

/* ===== INLINE PREVIEW POPUP ===== */
.inline-preview-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: backdropFadeIn 0.18s ease;
}

@keyframes backdropFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.inline-preview-popup {
  background: #fff;
  border-radius: 16px;
  width: 90%;
  max-width: 620px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28), 0 4px 16px rgba(0, 0, 0, 0.12);
  animation: popupSlideIn 0.2s cubic-bezier(0.34, 1.28, 0.64, 1);
}

@keyframes popupSlideIn {
  from { opacity: 0; transform: scale(0.93) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Modal header bar ── */
.inline-preview-popup .preview-header-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e8edf3;
  min-width: 0;
}

.inline-preview-popup .preview-header-bar .preview-file-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.inline-preview-popup .preview-filename {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.inline-preview-popup .preview-type-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  flex-shrink: 0;
}

.inline-preview-popup .preview-close-btn {
  flex-shrink: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}

.inline-preview-popup .preview-close-btn:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #dc2626;
}

/* ── Modal body ── */
.inline-preview-popup .preview-body-area {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  width: 100%;
  height: 460px;
  box-sizing: border-box;
  overflow: hidden;
}

.inline-preview-popup img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* PDF / DOC preview iframe */
.inline-preview-popup iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
  background: #fff;
}

/* Text / JSON / CSV file preview */
.inline-preview-popup .preview-text-content {
  width: 100%;
  max-height: 440px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0;
  text-align: left;
}

/* ===== MEDIA PREVIEW AREA (top — images & files) ===== */
.media-preview-area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  min-height: 0;
  border-bottom: 1px solid #f0f0f0;
}

.media-preview-area:empty {
  display: none; /* hide when nothing uploaded */
}

/* Images inside media area */
.media-preview-area .inserted-image-wrapper {
  position: relative;
  display: inline-block;
}

.media-preview-area .inserted-image-wrapper img {
  max-width: 120px;
  max-height: 100px;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.media-preview-area .inserted-image-wrapper .remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Files inside media area */
.media-preview-area .inserted-file-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f3f4f6;
  border-radius: 6px;
  padding: 6px 10px;
}

.media-preview-area .inserted-file-wrapper .file-label {
  color: #2563eb;
  font-size: 13px;
  cursor: pointer;
}

.media-preview-area .inserted-file-wrapper .remove-btn {
  background: transparent;
  border: none;
  color: #e53e3e;
  font-size: 30px;
  font-weight: 100;
  cursor: pointer;
  padding: 0;
}

/* ── Not Connected badge ── */
.connection-chip {
  position: absolute !important;
  top: -10px !important;
  right: 10px !important;
  left: auto !important;
  transform: none !important;
  height: 20px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  border-radius: 20px !important;
  padding: 0 10px !important;
  z-index: 3 !important;
  white-space: nowrap !important;
  background: #F26A3E !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4) !important;
}

.connection-chip .MuiChip-label {
  padding: 0 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

/* Dim the card slightly when not connected */
.account-card:has(.connection-chip) {
  opacity: 0.7;
}.image-url-section {
    margin-top: 10px;
}

.image-url-label {
    font-size: 12px;
    color: #666;
    display: block;
    margin-bottom: 4px;
}

.image-url-input {
    width: 100%;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.image-url-input:focus {
    border-color: #1976d2;
}

.image-url-preview img {
    margin-top: 6px;
    max-height: 100px;
    border-radius: 4px;
    border: 1px solid #eee; }html,
body {
  height: auto;
  overflow-y: auto;
}

/* ================= WRAPPER ================= */
.cd-wrapper {
  /* min-height: 100vh; */
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ================= HEADER SECTION ================= */
.cd-header-section {
   width: 100%;
  /* max-width: 1380px; */
  min-height: max-content;
  background: #fafafa;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ================= BACK BUTTON ================= */
.cd-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.cd-back-btn:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

.cd-arrow {
  font-size: 18px;
  font-weight: 600;
}


.cd-arrow::before {
  content: "";
  position: absolute;
  left: 2.67px;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: #232323;
  transform: translateY(-50%);
}

.cd-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-left: 1.5px solid #232323;
  border-bottom: 1.5px solid #232323;
  transform: translateY(-50%) rotate(45deg);
}

/* ================= HEADER CARD ================= */
.cd-header-card {
  width: 100%;
  min-height: 143px;
  background: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cd-header-top{
  padding-bottom: 25px;
}
.cd-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== SOCIAL CAMPAIGN ICON ===== */

.cd-globe-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e8f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-globe-icon img {
  width: 28px;
  height: 28px;
}

/* ===== EMAIL CAMPAIGN ICON ===== */

.cd-mail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f5efe2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cd-mail-icon img {
  width: 28px;
  height: 28px;
}

.cd-header-title {
  font-size: 16px;
  font-weight: 600;
  color: #232323;
}

.cd-live {
  padding: 4px 12px;
  height: 22px;
  font-size: 12px;
  font-weight: 700;
  color: #73d735;
  background: rgba(115, 215, 53, 0.1);
  border: 1px solid #73d735;
  border-radius: 100px;
}

/* ================= META ================= */
.cd-header-meta {
  /* display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr 1fr 1.6fr 1.2fr 1fr 1fr;
  column-gap: 28px; */
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  row-gap: 25px;
}

.cd-meta-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cd-meta-label {
  font-size: 14px;
  color: #9e9e9e;
}

.cd-meta-value {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-platform-icons {
  display: flex;
  gap: 8px;
}

.cd-platform-icons img {
  width: 20px;
  height: 20px;
}

/* ================= METRICS ================= */
.cd-metrics-row {
  width: 100%;
  height: 128px;

  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-rows: 128px;
  gap: 16px;

  margin-top: 12px;
}

/* Responsive: collapse the 8-column grid so the metric cards
   reflow into multiple rows on smaller screens. */
@media (max-width: 1400px) {
  .cd-metrics-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: auto;
  }
}

@media (max-width: 900px) {
  .cd-metrics-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cd-metrics-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .cd-metrics-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.cd-metrics-row::-webkit-scrollbar {
  height: 6px;
}

.cd-metrics-row::-webkit-scrollbar-thumb {
  background: #daddf0;
  border-radius: 10px;
}

.cd-metric-card {
  height: 128px;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.04);

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-metric-icon {
  width: fit-content;
  height: fit-content;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #f0f0f0;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
}

.cd-metric-icon img {
  width: 28px;
  height: 28px;
}
.cd-metric-label {
  font-size: 12px;
  color: #9e9e9e;
}
.cd-metric-text {
  display: flex;
  flex-direction: column;
}

.cd-metric-value {
  font-size: 16px;
  font-weight: 700;
  color: #232323;
}

/* ================= TABS ================= */
.cd-tabs-container {
  display: flex;
  margin-top: 16px;
  width: max-content;
  height: 44px;
  padding: 4px 5.5px;
  gap: 4px;
  background: rgba(226,227,229,0.16);
  border: 1px solid rgba(226,227,229,0.2);
  border-radius: 12px;
}

.cd-tab {
  height: 33px;
  padding: 8px 16px;
  border-radius: 31px;
  background: transparent;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.cd-tab-active {
  background: #ffffff;
  border-radius: 10px;
  font-weight: 700;
  color: #ff6b35;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

/* ================= SUB TABS ================= */
.cd-subtabs-container {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.cd-subtab {
  height: 33px;
  padding: 8px 16px;
  border-radius: 31px;
  background: #ffffff;
  border: 1px solid rgba(226,227,229,0.6);
  font-size: 14px;
  cursor: pointer;
  color: #9e9e9e;
}

.cd-subtab-active {
  background: rgba(255,107,53,0.1);
  color: #ff6b35;
  font-weight: 600;
}/* ================= CONTENT CARD ================= */
.cd-content-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #fff;
  padding: 18px 22px;   
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  gap: 24px;
  margin-top: 16px;
  overflow: auto;
  flex: 1;
}

.cd-content-text {
  flex: 1;
  /* max-width: 65%; */
}

.cd-content-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cd-content-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.cd-content-tags {
  margin-top: 12px;
  font-weight: 500;
}

.cd-content-image {
  width: 40%;         
  display: flex;
  align-items: stretch;  
}

.cd-content-image > img {
  width: 100%;
  height: 100%;          
  object-fit: cover;    
  object-position: center;
  border-radius: 16px;
}


/* ================= PERFORMANCE ================= */
.cd-performance-card {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 20px;
  margin-top: 10px;
  border: 1px solid #f1f1f1;
}

.cd-perf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cd-perf-title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin: 0;
}


.cd-perf-divider {
  width: 100%;
  height: 1px;
  background: #EEEEEE;
  margin-bottom: 10px;
}


.cd-perf-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.cd-perf-number {
  font-size: 26px;
  font-weight: 700;
  color: #F26430;
}

.cd-perf-sub {
  font-size: 12px;
  color: #8A8A8A;
  margin-top: 4px;
}

.cd-platform-toggle {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.cd-platform-toggle label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.cd-platform-toggle input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #C9C9C9;
  position: relative;
  cursor: pointer;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.cd-platform-toggle input[type="radio"]:checked {
  border-color: #F26430;
}

.cd-platform-toggle input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F26430;
}

/* ================= PLATFORM ================= */

.cd-platform-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 6px;
  border: 1px solid #f1f1f1;
}

.cd-platform-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.cd-platform-divider {
  width: 100%;
  height: 1px;
  background: #EEEEEE;
  margin: 10px 0 20px 0;
}

.cd-platform-main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cd-pie-wrapper {
  width: 340px;   
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cd-platform-legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  font-size: 13px;
  color: #444;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.dot1 { background: #A8AEBF; }
.dot2 { background: #C5CAD8; }
.dot3 { background: #8D95A8; }

.cd-platform-cards {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cd-platform-card {
  width: 240px;
  padding: 16px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #E6E6E6;
}

.cd-platform-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.cd-platform-metrics {
  display: flex;
  gap: 10px;
}
.cd-platform-legend div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-platform-legend img {
  width: 14px;
  height: 14px;
}
.cd-platform-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.spend {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #FFC247;
  background: #FFF6E0;
  font-size: 13px;
}

.conversion {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #48B774;
  background: #E6F5ED;
  font-size: 13px;
}

/* ================= AI WRAPPER ================= */

.cd-ai-wrapper {
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 20px;
  margin-top: 8px;
  border: 1px solid #f1f1f1;
}

.cd-ai-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cd-ai-divider {
  width: 100%;
  height: 0.5px;
  background: #eeeeee;
  margin: 6px 0 14px 0; 
}

.cd-ai-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cd-ai-card {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  border: 1px solid;
}

.cd-ai-heading {
  font-weight: 600;
  margin-bottom: 6px;
}

.green {
  background: #f4fff6;
  border-color: #c6f0d6;
  color: #2e7d32;
}

.blue {
  background: #f4f9ff;
  border-color: #c9e1ff;
  color: #1e64d8;
}

.purple {
  background: #f7f4ff;
  border-color: #e3d9ff;
  color: #6a4bdc;
}

.orange {
  background: #fff7f2;
  border-color: #ffd8c2;
  color: #e96f2c;
}

.pmg-wrap {
  width: 100%;
}

.pmg-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  /* grid-template-columns: 1fr 1fr; */
  gap: 10px;
}

.pmg-tile {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}

.pmg-btn {
  width: 200px;
  height: 200px;
  text-align: left;
  cursor: pointer;
  padding: 0;
  color: inherit;
  font: inherit;
}

.pmg-btn:hover {
  border-color: #c7d2fe;
  box-shadow: 0 3px 12px rgba(79, 70, 229, 0.12);
}

.pmg-image img,
.pmg-video video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.pmg-image,
.pmg-video {
  position: relative;
}

.pmg-media-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(17, 24, 39, 0.78);
}

.pmg-doc {
  min-height: 140px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pmg-doc-center-icon {
  width: 56px;
  height: 56px;
  margin: 8px auto 6px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  border: 1px solid;
}

.pmg-doc-center-icon-doc {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.pmg-doc-center-icon-pdf {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
}

.pmg-doc-ext {
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 2px 8px;
}

.pmg-doc-name {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
  line-height: 1.4;
  word-break: break-word;
  text-align: center;
}

.pmg-doc-link {
  margin-top: 8px;
  font-size: 12px;
  color: #2563eb;
  text-decoration: underline;
  text-align: center;
}

.inline-preview-popup video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}


.email-template-modal {
  width: 720px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  outline: none;
  max-height: 85vh;
  overflow-y: auto;
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compose-box {
  margin: 20px 0;
  padding: 18px;
  border: 1px dashed #e5e7eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.compose-box img {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

.compose-box:hover {
  background: #f9fafb;
  border-color: #e88f7a;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.or-divider .line {
  flex: 1;
  height: 1px;
  background: #eee;
}

.select-label {
  margin-bottom: 12px;
  font-weight: 500;
}

.template-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 4px;
}

.template-list::-webkit-scrollbar {
  width: 6px;
}

.template-list::-webkit-scrollbar-track {
  background-color: #f5f5f5;
  border-radius: 4px;
}

.template-list::-webkit-scrollbar-thumb {
  background-color: #d0d0d0;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.template-list::-webkit-scrollbar-thumb:hover {
  background-color: #b0b0b0;
}

.template-item {
  border: 1px solid #e5e7eb;
  padding: 16px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.template-item:hover {
  border-color: #f5b7a3;
}

/* ✅ ACTIVE STATE */
.template-item.active {
  border: 1px solid #e88f7a;
}

.template-text h4 {
  margin: 0;
  font-size: 15px;
}

.template-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}
.view-icon {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.view-icon img {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.view-icon img:hover {
  opacity: 1;
}

.custom-radio {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  position: relative;
  cursor: pointer;
  background: white;
}
.custom-radio:checked {
  border: 2px solid black; /* RED BORDER */
}

/* INNER DOT */
.custom-radio:checked::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #c2412d; /* darker inner dot */
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.view-icon {
  margin-left: auto;
  font-size: 16px;
}

.template-actions {
  display: flex;
  justify-content: flex-end; /* center the button */
  margin-top: 24px;
}

.cancel {
  padding: 10px 26px;
  border-radius: 14px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #333;
  cursor: pointer;
  width: auto;              /* 🔥 IMPORTANT */
  display: inline-flex;     /* 🔥 IMPORTANT */
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.cancel:hover {
  background: #cecfd1;
}

.compose-modal {
  width: 900px;
  height: 600px;
  background: #fff;
  margin: 60px auto;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.compose-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compose-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
  position: relative;
}

.compose-field input {
  width: 100%;
  border: none;
  outline: none;
}

.cc-bcc {
  position: absolute;
  right: 0;
  font-size: 13px;
  color: #888;
}

.compose-body {
  flex: 1;
}

.compose-body textarea {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  resize: none;
}

.compose-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.compose-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.template-btn {
  padding: 10px 26px;
  border-radius: 14px;
  background: #e5e7eb;
  border: none;
  color: #555;
  cursor: pointer;
  transition: background 0.2s ease;
}

.template-btn:hover {
  background: #d1d5db;   /* Slight darker grey */
}  

.send-btn {
  padding: 10px 28px;
  border-radius: 14px;
  background: #4b5563;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.send-btn:hover {
  background: grey;   /* darker on hover */
}


.social-toolbar-container {
  padding: 12px 16px;
}

.social-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 10px 18px;
}

.social-toolbar svg {
  font-size: 20px;
  color: #111;
  cursor: pointer;
  transition: 0.2s ease;
}

.social-toolbar svg:hover {
  transform: scale(1.1);
}._mainContainer_1pgak_1 {
  width: 100%;
  padding-bottom: 20px;
}

._topSection_1pgak_11 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  gap: 16px;
  flex-wrap: wrap;
}

._title_1pgak_29 {
  font-weight: 700 !important;
  color: #111827;
  font-family: 'Inter', sans-serif !important;
}

._actions_1pgak_41 {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
  margin-left: auto;
  justify-content: flex-end;
  flex: 0 1 auto;
  min-width: 0;
}

/* Search Field Styling */
._searchField_1pgak_65 .MuiOutlinedInput-root {
  background-color: white;
  border-radius: 8px;
  width: min(320px, 100%);
  font-size: 14px;
}

._searchField_1pgak_65 {
  flex: 1 1 220px;
  min-width: 160px;
}

._searchField_1pgak_65 .MuiOutlinedInput-notchedOutline {
  border-color: #E5E7EB;
}

/* Filter Button Styling */
._filterBtn_1pgak_99 {
  color: #4B5563 !important;
  padding: 8px !important;
  background-color: white !important;
}

/* New Template Button Styling */
._newTemplateBtn_1pgak_113 {
  background-color: #4B4B4B !important;
  text-transform: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 8px 18px !important;
  font-size: 14px !important;
}

._newTemplateBtn_1pgak_113:hover {
  background-color: #373737 !important;
}

/* Tabs Styling */
._tabsWrapper_1pgak_141 {
  margin-top: 10px;
  overflow-x: auto;
}

._tabItem_1pgak_151 {
  text-transform: none !important;
  min-width: auto !important;
  padding: 6px 24px !important;
  border-radius: 12px !important;
  border: 1px solid #E5E7EB !important;
  margin-right: 15px !important;
  font-size: 13px !important;
  color: #6B7280 !important;
  background-color: #F9FAFB !important;
  min-height: 36px !important;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

._tabItem_1pgak_151:hover {
  background-color: #F3F4F6 !important;
  border-color: #D1D5DB !important;
}

._tabItem_1pgak_151 small {
  margin-left: 4px;
  font-weight: 600;
}

/* The specific Orange/Red active state from your image */
._activeTab_1pgak_201 {
  background-color: #FFF7F5 !important;
  border-color: #F87171 !important;
  color: #F87171 !important;
}

._activeTab_1pgak_201:hover {
  background-color: #FFF1EE !important;
  border-color: #F87171 !important;
}

._tabsList_1pgak_223 .MuiTabs-flexContainer {
  gap: 0;
}

@media (max-width: 768px) {
  ._actions_1pgak_41 {
    align-items: center;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 10px;
  }

  ._searchField_1pgak_65 {
    flex: 1 1 190px;
    min-width: 0;
  }

  ._searchField_1pgak_65 .MuiOutlinedInput-root {
    width: 100%;
  }

  ._newTemplateBtn_1pgak_113 {
    width: auto;
  }
}
