@import url("https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nata+Sans:wght@100..900&family=Noto+Sans+Tamil:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Yeseva+One&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nata+Sans:wght@100..900&family=Noto+Sans+Tamil:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Yeseva+One&display=swap");
/* :root {
  --bg-color: #f4f4f5;
  --bg-white: #ffffff;
} */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

html {
  scroll-behavior: smooth;
}

/* === Most modern & clean way (2024–2026 browsers) === */

/* Firefox */
/* * {
  scrollbar-width: thin; 
  scrollbar-color: transparent transparent;
}

*::-webkit-scrollbar {
  width: 6px; 
  height: 6px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 3px;
}

/* Show thumb only when hovering / scrolling */
*::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:active {
  background: rgba(100, 100, 100, 0.5); /* or any subtle color you prefer */
}

/* Optional: completely hide even on hover (true invisible) */
* {
  scrollbar-width: none; /* Firefox */
}

*::-webkit-scrollbar {
  width: 0;
  height: 0;
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
}
*/


/* Ultra Thin Scrollbar (less broad) */

/* Firefox */
* {
  scrollbar-width: thin; /* thinnest supported in Firefox */
  scrollbar-color: rgba(220, 220, 220, 0.45) transparent;
}

/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: rgba(180, 180, 180, 0.5);
  border-radius: 10px;
}

*::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 180, 180, 0.7);
}

*::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  background-color: var(--white);
  color: var(--text-secondary-light);
  font-family: "Inter", sans-serif !important;
  font-size: 1rem;
  padding: 0;
  margin: 0;
  font-weight: 400;
  position: relative;
  line-height: 1;
  overflow: hidden;
}

a {
  text-decoration: none !important;
  color: unset;
}

/* authentication page */

.auth-wrapper {
  min-height: 100dvh;
  max-height: 100dvh;
  background-color: #ffffff;
  font-family: "Inter";
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.auth-container {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.auth-left {
  flex: 1;
  max-width: 500px;
}

.auth-form {
  line-height: 1;
}

.auth-right {
  display: none;
}

.auth-image {
  width: auto;
  max-height: 560px;
  border-radius: 8px;
}

.auth-title {
  font-size: 45px;
  gap: 11.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 400;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.logo-img {
  height: 37px;
}

.input-label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

.required {
  color: red;
}

.password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.6;
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-label-muted {
  color: #868686;
  font-size: 14px;
  cursor: pointer;
}

.auth-btn {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 12px 20px !important;
}

.auth-btn-margin {
  margin-bottom: 28px;
}

.auth-link {
  color: #377dac;
  text-decoration: none;
}

.auth-text-muted {
  color: #868686;
}

.remember-label {
  font-size: 15px;
}

.forgot-link {
  font-size: 15px;
  color: #377dac;
}

.divider-line {
  display: flex;
  align-items: center;
}

.divider-hr {
  flex-grow: 1;
  opacity: 0.1;
}

.divider-text {
  padding: 0 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 3rem;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.google {
  border: 1px solid #d8d6d6;
}

.apple {
  background: #121212;
}

.facebook {
  background: #1b76f2;
}

.input-label {
  font-size: 12px;
  color: #000000;
  margin-bottom: 6px;
}

.input-field {
  background-color: #f3f3f3 !important;
  border: none;
  height: 48px;
  border-radius: 8px;
  padding: 16px 20px;
  width: 100%;
  transition: all 0.2s ease;
}
.input-field:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.steps-page .input-field {
  height: 56px;
  border-radius: 8px;
  border: 1px solid #cad5e2;
}
.ekko-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.ekko-checkbox:hover {
  border-color: #000000;
}

.ekko-checkbox:checked {
  background: #000000;
  border-color: transparent;
}

.ekko-checkbox::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  width: 4px;
  height: 7px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  opacity: 0;
  transition: all 0.2s ease;
}

.ekko-checkbox:checked::before {
  opacity: 1;
  transform: translate(-40%, -40%) rotate(45deg) scale(1.2);
}

.ekko-checkbox::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: 0 0 0 calc(18px / 2.5) #000000;
  border-radius: inherit;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.12, 0.4, 0.29, 1.46);
}

.ekko-checkbox:active:not(:checked)::after {
  opacity: 1;
  box-shadow: none;
  transition: none;
}
/* authentication page end */

/*========================== Progress page  ============================*/
.setup-header {
  margin-bottom: 40px;
}
.setup-header p {
  color: #4b5563;
  font-size: 18px;
  margin-bottom: 32px;
}
.setup-header .progress-text {
  color: #334155;
  font-size: 16px;
}
.progress-bar {
  border-radius: 9999px;
}
.setup-card {
  padding: 40px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  /* height: 100%; */
}
.setup-badge {
  border-radius: 4px;
  padding: 6px 12px;
  border: 1px solid #000000;
  color: #000000;
  font-size: 12px;
  margin-bottom: 24px;
}

.setup-card-title {
  margin-bottom: 32px;
}

.setup-card-title h4 {
  color: #0f172a;
  font-weight: 400;
}
.setup-card .setup-card-title p {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 0;
}

.setup-card p {
  font-size: 16px;
  color: #0a0a0a80;
  margin-bottom: 45px;
}
.setup-card .cnt-button {
  padding: 12px 20px;
  border-radius: 12px;
  background-color: #000000;
  color: #ffffff;
  font-size: 18px;
  width: 50%;
  text-align: center;
}
.setup-card-l {
  padding: 12px;
  /* background-color: #ffffff;
  border: 1px solid #e2e8f0; */
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 100%; */
}
.setup-card-l-tag {
  padding: 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* height: 100%; */
}
.setup-steps {
  padding: 5px;
  border-radius: 8px;
  font-size: 16px;
  /* margin-bottom: 4px; */
}
.bg-active-step {
  /* background-color: #e5e7eb; */
}

.transition-card {
  transition: all 0.3s ease;
}
.fade-in {
  opacity: 1;
  transform: translateX(0);
}
.fade-out {
  opacity: 0;
  transform: translateX(20px);
}
/*========================== Progress page end ============================*/

/*========================== sidebar ============================*/
.sidebar {
  position: fixed;
  inset-block-start: 0;
  /* inset-inline-start: -100%; */
  width: 75px;
  height: 100%;
  background-color: var(--white);
  z-index: 999;
}

.sidebar-menu-area {
  height: calc(100% - 72px);
  padding: 0.75rem 5px;
}

.sidebar-header {
  padding: 0.75rem 1rem;
}

/* Vertical menu style */
.sidebar-menu-vertical {
overflow-y: auto;
}

.sidebar-menu-vertical li {
  margin-bottom: 12px;
}

.vertical-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #62748e;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  /* padding: 10px; */
  transition: 0.3s;
}

.vertical-menu-item .menu-icon {
  height: 36px;
  width: 36px;
  font-size: 20px;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vertical-menu-item.active .menu-icon {
  background-color: #e2e8f0;
}

.vertical-menu-item .create-icon {
  font-size: 36px;
  padding: 0;
  color: #000000;
}
.vertical-menu-item.active .create-icon {
  background: none;
}

.vertical-menu-item.active {
  color: #000;
  font-weight: 600;
}

/* Secondary panel */
.sidebar-secondary-panel {
  position: fixed;
  left: 75px;
  top: 0;
  width: 280px;
  height: 100dvh;
  background-color: #ffffff;
  padding: 16px 0;
  z-index: 80;
  transition: 0.3s;
  border-left: 1px solid #e5e7eb;
}
/* Logo wrapper */
/* Wrapper */
.logo-hover-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo default state */
.logo-icon {
  height: 48px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Toggle default state */
.logo-toggle-btn {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

/* Hover effect ONLY when not active */
/* .logo-hover-wrapper:not(.no-hover):hover .logo-icon {
  opacity: 0;
}

.logo-hover-wrapper:not(.no-hover):hover .logo-toggle-btn {
  opacity: 1;
} */

/* Secondary header */
.secondary-header {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 15px;
}

.secondary-toggle-btn {
  background: white;
  border: none;
  border-radius: 6px;
  padding: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.secondary-toggle-btn:hover {
  background: #f1f1f1;
}
.dropdown-item:hover {
  background-color: #f1f5f9 !important;
  border-radius: 12px !important;
}
.dropdown-item {
  padding: 6px 4px !important;
}
.profile-btn .dropdown-menu {
  width: 248px;
  border-radius: 8px;
}
.profile-btn .dropdown-menu.show {
  inset: unset !important;
  bottom: 0 !important;
  left: 110% !important;
  z-index: 9999;
}
.profile-btn span {
  font-weight: 400;
  font-size: 14px;
  color: #000000;
}

.profile-btn a {
  gap: 10px !important;
  padding: 6px 4px !important;
  border-radius: 4px !important;
}

.profile-btn a:hover {
  border-radius: 6px !important;
}
.profile-btn a:active {
  background-color: unset !important;
}
.profile-btn a:focus {
  background-color: unset !important;
}

.profile-btn i {
  color: #62748e;
  line-height: 0;
}

.profile-avatar {
  position: relative;
  width: 40px;
  height: 40px;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* PREMIUM BADGE */
.profile-premium {
  position: absolute;
  bottom: -2px;
  right: -2px;

  width: 18px;
  height: 18px;

  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;

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

  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.profile-premium img {
  width: 12px;
  height: 12px;
}

.premium-badge {
  padding: 0 4px;
  line-height: 1.75;
  font-size: 11px;
  background-color: #dae1f4;
  color: #142a5e;
  border-radius: 4px;
}

/* Progress bar */
.premium-progress {
  height: 4px;
  border-radius: 10px;
  background: #f1f3f5;
  overflow: hidden;
}

.premium-progress .credit-bar {
  background: #000000;
  border-radius: 10px;
  height: 4px;
  width: 10%;
}

.credit-bar-wrapper {
  margin: 8px 0;
}

.credit-bar-wrapper span {
  font-size: 12px !important;
  font-weight: 500 !important;
}
.credit-btn {
  border-radius: 4px;
  padding: 2px 4px;
  font-weight: 600;
  font-size: 12px;
  color: #000000;
  border: 1px solid #cad5e2;
  cursor: pointer;
}

.secondary-content {
  padding: 8px;
  max-height: calc(100dvh - 60px);
  height: 100%;
}

.secondary-content h6 {
  color: #62748e;
  font-size: 12px !important;
}

.history-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  font-size: 14px;
  overflow-y: auto;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgb(224, 227, 232) transparent;
  padding-right: 6px;
  gap: 2px;
}

.history-list li {
  color: #1d293d;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}
.history-list li:hover {
  background-color: #eef1f5;
}

.history-item {
  cursor: pointer;
}
.history-item-active {
  background-color: #eef1f5;
}

.ellipsis-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.history-item:hover .ellipsis-btn {
  opacity: 1;
}

.history-item .dropdown-menu {
  border-radius: 8px !important;
  padding: 6px;
  border: 1px solid #efefef;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.04) !important;
}
.history-item .dropdown-menu li {
  font-weight: 400;
  font-size: 13px;
  color: #1d293d;
  border-radius: 6px !important;
  padding: 6px 8px !important;
  gap: 10px !important;
}
.history-item .dropdown-menu li i {
  line-height: 0;
  font-size: 16px;
}
/*========================== sidebar end ============================*/

/*========================== Main screen ============================*/

/* inner header */
.navbar-search {
  position: relative;
}

.navbar-search input {
  width: 250px;
  height: 30px;
  border-radius: 6px;
  padding: 5px 10px 5px 42px;
  border: 1px solid #cad5e2;
  background-color: #ffffff;
  transition: 0.2s all ease-in-out;
}

.navbar-search input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.navbar-search input::placeholder {
  color: #90a1b9;
  font-size: 12px;
  font-weight: 400;
}

.navbar-search .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  inset-inline-start: 0.9375rem;
  font-size: 1.125rem;
  color: var(--black);
}
/* inner header end */

/* Push main */
.navbar-header {
  height: 50px;
  background-color: #ffffff;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-header-title {
  font-size: 16px;
  color: #212529;
}

.nav-header-btn-wrapper {
  gap: 8px;
  display: flex;
}

.nav-header-btn {
  border-radius: 6px;
  padding: 4px 8px;
  border: 1px solid #cad5e2;
  font-weight: 600;
  font-size: 14px;
  color: #000000;
}

.nav-header-btn-wrapper .upgrade {
  background-color: #000000;
  color: #ffffff;
}

.dashboard-main {
  margin-inline-start: 0;
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
  min-height: 100dvh;
  /* min-height: -webkit-fill-available; */
  transition: 0.3s;
  overflow-y: hidden;
  background-color: #ffffff;
  padding: 0 12px 12px 0;
  margin-left: 75px;
}

.dashboard-main-body {
  background-color: #f4f4f5;
  border-radius: 8px;
  overflow-y: auto;
  max-height: calc(100dvh - 62px);
  min-height: calc(100dvh - 62px);
}

.dashboard-main.with-secondary {
  margin-left: 355px;
}

.dashboard-body-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background-color: #f4f4f5;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.my-post-screen {
  padding: 0 24px 12px 24px;
}

.nav-spacer {
  display: block;
}

.page-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.switch-btn {
  text-decoration: none;
  border-radius: 6px;
  padding: 5px 10px;
  border: 1px solid #cad5e2;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  background: transparent;
  transition: all 0.2s ease;
}

.switch-btn:hover {
  background: #ffffff;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

/* Active pill */
.active-switch {
  background: #000;
  color: #fff !important;
  border: 1px solid #000;
}

.active-switch:hover {
  background: #000;
  color: #fff !important;
  border: 1px solid #000;
}

/* home screen */
.pagination-btn {
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid #c3cad4;
  font-size: 14px;
  font-weight: 500;
}

.pagination-btn:hover {
  background-color: white;
  color: #000000;
}

.pagination-btn-active,
.pagination-btn-active:hover {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.my-masonry-grid {
  display: flex;
  margin-left: -16px;
  width: auto;
}

.my-masonry-grid_column {
  padding-left: 16px;
  background-clip: padding-box;
}

.masonry-item {
  margin-bottom: 16px;
}

.post-card {
  border-radius: 8px;
  /* padding: 36px; */
  border: 1px solid #e5e7eb;
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
  width: 100%;
  position: relative;
}

.max-w-post-card {
  max-width: 430px;
  min-width: 430px;
  width: 100%;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
  color: #101010;
}

.post-card-profile-wrapper {
  padding-bottom: 10px;
}

.profile-role,
.time-info {
  font-weight: 400;
  font-size: 12px;
  color: #00000099;
}

.profile-role-desc * {
  max-width: 80%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  font-weight: 400;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6);
  margin-top: 0px;
}

.time-info span {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  margin-top: -10px;
}

.time-info i {
  font-size: 10px;
  line-height: 0;
}

.post-title {
  font-weight: 400;
  font-size: 14px !important;
  margin-bottom: 16px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.post-description {
  font-weight: 400;
  font-size: 14px;
  /* padding-bottom: 10px; */
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
/* .post-description ul {
  padding-left: 10px;
} */

.post-description span {
  margin-bottom: 10px;
}

.post-description span:last-child {
  margin-bottom: 0px;
}

.post-description-collapsed p:last-of-type {
  margin-bottom: 16px !important;
}

.post-hashtags {
  font-weight: 400;
  font-size: 14px;
  color: #2563eb;
}

.post-image-wrapper {
  position: relative;
  z-index: 600;
  /* overflow: hidden;
  border-radius: 8px; */
}
.post-image-wrapper.image-selected {
  position: relative;
  z-index: 600;
}

.post-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(4px);
  border-radius: 22px;
  z-index: 500;
  pointer-events: none;
  animation: overlay-fade-in 0.25s ease;
  pointer-events: none;
}
@keyframes overlay-fade-in {
  from {
    opacity: 0;
    backdrop-filter: blur(0px);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(4px);
  }
}

.post-image-wrapper-inner {
  overflow: hidden;
}

.post-image-wrapper img {
  object-fit: cover;
  /* height: 270px; */
}

.post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 20%,
    rgba(0, 0, 0, 0.8) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  display: flex;
  align-items: end;
  width: 100%;
  z-index: 2;
}
/* 
.post-card:hover {
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
} */
.post-card:hover .post-overlay {
  opacity: 1;
}

.post-overlay button {
  pointer-events: auto;
  z-index: 3;
}
.post-overlay button:hover {
  background-color: #f1f1f1;
}

/* ✅ Image Wrapper with Zoom */
.post-image-wrapper-zoom {
  position: relative;
  background-color: #f4f4f5;
  display: flex;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.post-image-wrapper-zoom img {
  max-height: 400px;
  object-fit: contain;
  width: 100%;
  transition: transform 0.3s ease;
}

/* ✅ Zoom Overlay - Hidden by default */
.image-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.post-image-wrapper-zoom:hover .image-zoom-overlay {
  opacity: 1;
}

.post-image-wrapper-zoom:hover img {
  transform: scale(1.05);
}

/* ✅ Zoom Icon */
.zoom-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #333;
  transition: transform 0.2s ease;
  position: absolute;
  top: 3%;
  right: 3%;
}
.zoom-icon i {
  line-height: 0;
}

/* ✅ Image Modal */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.image-modal-content {
  max-width: 90dvw;
  max-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-img {
  max-width: 100%;
  max-height: 90dvh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
  position: absolute;
  top: 2%;
  right: 2%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  color: #333;
  transition: all 0.2s ease;
  z-index: 10001;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
}

/* LEFT ICONS */
.post-actions {
  display: flex;
  gap: 5px;
}

.action-icon {
  font-size: 14px;
  color: #6f6f6f;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.action-icon:hover {
  background: #f2f2f2;
  color: #000;
}

/* RIGHT BUTTON */
.use-post-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0a66c2; /* LinkedIn blue */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.use-post-btn i {
  font-size: 11px;
  display: flex;
}

.use-post-btn:hover {
  background: #004182;
}

.post-card-footer i {
  line-height: 0;
}

.post-responce {
  opacity: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 50;
  padding: 12px;
  font-weight: 600;
}

.post-card:hover .post-responce {
  opacity: 1;
}

.post-responce button {
  padding: 3px 6px;
  font-size: 12px;
  border-radius: 999px;
}
.post-responce img {
  height: 20px;
}
/* home screen end */

/* template screen  */
.template-screen {
  padding: 0 24px 12px 24px;
}
.col-5-custom {
  flex: 0 0 20%;
  max-width: 20%;
}

.template-card {
  font-size: 14px;
  border-radius: 6px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  font-weight: 600;
  gap: 10px;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  min-height: 93px;
  overflow: hidden;
}

.template-card img {
  position: absolute;
  bottom: -30%;
  right: 5%;
  transition: all 0.2s ease-in-out;
}

.template-card:hover img {
  transform: rotate(15deg) translate(0, 0);
}

.template-card-title {
  color: #000000;
}

/* SLIDER */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slider-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.slider-track > div {
  flex: 0 0 25%;
  max-width: 25%;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 120px;
  padding: 12px;
  border: 1.2px solid #cacaca;
  background-color: #ffffff;
  line-height: 1;
  font-size: 20px;
  color: #62748e;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 19.2px 0px rgba(70, 70, 70, 0.32);
}

.slide-btn-previous {
  left: 0.5%;
}

.slide-btn-next {
  right: 0.5%;
}
/* slider end */
.crown-overlay {
  background: rgba(0, 0, 0, 0.8);
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}
.crown-overlay img {
  width: 15px;
}
/* template screen end */

/* create popup model */
.custom-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.custom-modal-box {
  background: #fff;
  width: 80dvw;
  max-width: 1334px;
  height: 90dvh;
  max-height: 640px;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.custom-modal-body {
  flex: 1;
  min-height: 0;
}

.model-content {
  height: 100%;
  overflow-y: auto;
}

.close-btn {
  background-color: #e5e5e5;
  width: 26px;
  height: 26px;
  border-radius: 99px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #4f4f4f;
  font-size: 15px;
}
.close-btn i {
  line-height: 0;
}

.create-l-items {
  font-size: 12px;
  font-weight: 500;
  color: #212529;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.create-l-items:hover {
  transform: translateX(4px);
  color: #000;
}
.slide-up {
  animation: slideUp 0.25s ease-in-out forwards;
}

.slide-down {
  animation: slideDown 0.25s ease-in-out forwards;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(20px);
    opacity: 0;
  }
}
/* create popup model end */

/* history screen */

.chat-wrapper {
  display: flex;
  height: calc(100dvh - 150px);
  justify-content: center;
}

.chat-container {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 20px;
  padding-bottom: 0px;
  overflow-y: auto;
}

.chat-body {
  width: 100%;
  max-width: 900px;
  /* overflow-y: auto; */
  padding-bottom: 50px;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
}

.chat-row:last-of-type {
  padding-bottom: 100px !important;
}

.chat-left {
  justify-content: flex-start;
}

.chat-right {
  justify-content: flex-end;
}

.chat-bubble {
  font-size: 14px;
  padding: 12px;
  border-radius: 12px;
  max-width: 430px;
}

.ai-avatar {
  margin-right: 10px;
  flex-shrink: 0;
}

.ai-avatar-img {
  width: 32px;
  height: 32px;
}

.ai-bubble {
  background: #ffffff;
  border-radius: 4px 8px 8px 8px;
}

.user-bubble {
  background: #eaeaea;
  color: #1d293d;
  padding: 16px;
  border-radius: 8px 4px 8px 8px;
}

.message-content {
  border-radius: 18px;
  white-space: pre-line;
}

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

.hi-gif {
  width: 26px;
}

.custom-tooltip {
  background-color: #202123 !important;
  color: #ececf1 !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
  font-weight: 400;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
  letter-spacing: 0.2px;
}

.custom-tooltip[data-popper-placement^="top"] > .react-tooltip-arrow {
  border-top-color: #202123 !important;
}

.custom-tooltip[data-popper-placement^="bottom"] > .react-tooltip-arrow {
  border-bottom-color: #202123 !important;
}

/* chat input */
.chat-input-wrapper {
  position: absolute;
  bottom: 2%;
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 16px;
}

.chat-input-box,
.chat-input-box-2 {
  width: 100%;
  max-width: 780px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  background: white;
  padding: 12px 14px;
  /* border-radius: 100px; */
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chat-input-box-2 {
  max-width: 27%;
  gap: 12px;
}

.chat-input-box-2 p {
  font-size: 12px;
  text-align: center;
  color: gray;
}

.inspire-btn-main {
  background: linear-gradient(75deg, #7751a0 0%, #e43e94 45%, #f1a03c 100%);
  background-size: 200% 200%;
  animation: inspireGradientMove 6s ease-in-out infinite;
  color: white;
  border: none;
  padding: 8px 12px;
  width: 100%;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;

  box-shadow: 0 4px 15px rgba(228, 62, 148, 0.35);
}

.inspire-btn-main:hover {
  transform: translateY(-2px);
}
.inspire-btn-main:active {
  transform: translateY(0px);
}

/* Gradient movement animation (SVG-like) */
@keyframes inspireGradientMove {
  0% {
    background-position: 0% 100%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 100%;
  }
}

.inspire-btn-main i {
  line-height: 0;
}

.chat-input-box i {
  line-height: 0;
}

.chat-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 0 10px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.input-icons {
  display: flex;
  gap: 12px;
}

.input-icons button {
  padding: 6px;
  font-size: 12px;
}
.input-icons i {
  /* color: #1f2937; */
  font-size: 14px;
  /* line-height: 0; */
}

.send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.audio-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

.post-icon-row {
  color: #90a1b9;
  display: flex;
  gap: 12px;
  margin-top: 5px;
  position: relative;
}

.post-icon-row i {
  cursor: pointer;
  font-size: 14px;
  padding: 5px;
  border-radius: 8px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.post-icon-row i:hover {
  background-color: #e2e8f0;
}

.chat-content-wrapper {
  display: flex;
  flex-direction: column;
}
/* chat input end */

.inline-editor-toolbar {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 10px;
  padding: 5px 8px;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  animation: toolbar-slide-in 0.14s ease;
  position: absolute;
  top: -42px;
  left: 55px;
}
@keyframes toolbar-slide-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Comparison grid (mirrors SuggestionModal) ── */
.cmp-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  align-items: start;
  /* background: #ffffff; */
  border-radius: 4px 20px 20px 20px;
  /* padding: 12px; */
}
.cmp-post-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.cmp-post-card {
  /* padding: 12px; */
  /* border-radius: 8px; */
  overflow: hidden;
  background: #ffffff;
  /* transition:
    border-color 0.2s,
    box-shadow 0.2s; */
}
.cmp-post-inner {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(224, 227, 232) transparent;
}
.cmp-post-title {
  font-size: 14px !important;
  font-weight: 400;
  color: #111827;
  margin-bottom: 10px;
  line-height: 1.25;
}
.cmp-post-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cmp-post-description {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}
.cmp-post-hashtags {
  font-size: 14px;
  color: #3b82f6;
  font-weight: 500;
}
.cmp-post-image {
  margin-top: 10px;
  overflow: hidden;
}
.cmp-post-image img {
  width: 100%;
  display: block;
  object-fit: contain;
  height: auto;
}
.cmp-btn-home {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 12px;
}
.history-bookmark-btn {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  border-radius: 10px;
  /* border: 1px solid #1d293d; */
}
.history-bookmark-btn i {
  line-height: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
/* Smooth bookmark icon transition */
.bookmark-icon-wrapper {
  position: relative;
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}

.bookmark-icon-wrapper i {
  position: absolute;
  transition:
    opacity 0.25s ease-in-out,
    transform 0.2s ease;
  font-size: 20px;
}

.transition-icon.fade-in {
  opacity: 1;
  transform: scale(1);
}

.transition-icon.fade-out {
  opacity: 0;
  transform: scale(0.85);
}

/* Optional: subtle press animation */
.history-bookmark-btn:active .bookmark-icon-wrapper {
  transform: scale(0.92);
}

.history-bookmark-btn.added i {
  transform: scale(1.2);
  opacity: 0.7;
}

/* ── Prefer buttons ── */
.prefer-btn-black {
  display: block;
  padding: 12px 20px;
  background-color: transparent;
  color: #1d293d;
  border: 1px solid #1d293d;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.12s ease;
  text-align: center;
}
.prefer-btn-black:hover {
  background-color: #000000;
  color: #ffffff;
}
.prefer-btn-black:active {
  transform: translateY(0);
}
.prefer-btn-selected {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: #1a1a1a;
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  animation: badge-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badge-pop {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.drag-item-wrapper {
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-bottom: 0;
  position: relative;
}
.drag-item-wrapper.is-source {
  opacity: 0 !important;
  pointer-events: none;
  transition: none !important;
}
.drag-ghost-wrapper {
  pointer-events: none;
  display: flex;
  align-items: stretch;
}
.drop-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #3b82f6 0%, #a855f7 60%, #f97316 100%);
  box-shadow: 0 0 10px #3b82f680;
  z-index: 100;
  pointer-events: none;
  animation: drop-line-pulse 0.6s ease-in-out infinite alternate;
}
@keyframes drop-line-pulse {
  from {
    opacity: 0.75;
    transform: scaleX(0.97);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.editable-side-label-spacer {
  display: none;
  min-width: 22px;
  flex-shrink: 0;
}
@keyframes section-flash {
  0% {
    box-shadow: 0 0 0 0px rgba(59, 130, 246, 0);
    background-color: transparent;
  }
  20% {
    box-shadow:
      0 0 0 3px rgba(59, 130, 246, 0.5),
      0 0 18px rgba(59, 130, 246, 0.18);
    background-color: rgba(59, 130, 246, 0.06);
  }
  60% {
    box-shadow:
      0 0 0 3px rgba(59, 130, 246, 0.35),
      0 0 12px rgba(59, 130, 246, 0.12);
    background-color: rgba(59, 130, 246, 0.04);
  }
  100% {
    box-shadow: 0 0 0 0px rgba(59, 130, 246, 0);
    background-color: transparent;
  }
}
.section-scroll-flash {
  animation: section-flash 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  border-radius: 10px;
}

.unified-editor-wrapper {
  /* border-radius: 10px; */
  overflow: hidden;
  transition: border-color 0.15s;
  margin-bottom: 4px;
  white-space: pre-wrap;
  border-radius: 6px;
}
[contenteditable]:focus {
  outline: none !important;
}
.post-card:hover .unified-editor-wrapper {
  --ue-border: #c4c4c4;
  border: 0.5px solid #a3a3a3;
}
.unified-editor-wrapper .structure-block {
  border-radius: 0 !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
}
.unified-editor-wrapper .editable-side-label {
  border-radius: 0 !important;
  border-top: none !important;
  border-bottom: none !important;
}
.unified-editor-wrapper .drag-item-wrapper {
  margin-bottom: 0 !important;
}

.preview-card-profile {
  padding: 16px 16px 10px;
}

.post-content-wrapper {
  padding: 0 16px 12px;
}

/* history screen end */

/* create from scratch */

.cfs-chat-wrapper .chat-input {
  width: 100%;
  flex: none;
}
.cfs-chat-wrapper .chat-buttons {
}

/* active dropdown item */
.dropdown-item.active {
  background: #f1f5f9 !important;
  color: #1d293d !important;
}

.suggestion-btn {
  gap: 6px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.suggestion-btn i {
  opacity: 0.65;
  line-height: 0;
}

.suggestion-btn * {
  line-height: 0;
}

.attachment-dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  min-width: 250px;
  max-width: fit-content;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.attachment-dropdown-wrapper i {
  color: #62748e;
}

.attachment-btn {
  width: 100%;
  padding: 8px 4px;
  border-radius: 4px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s all;
}

.attachment-btn:hover {
  background-color: #f5f5f5;
}

.attachment-btn span {
  text-wrap: nowrap;
}

.kb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  color: #1f1f1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 35px;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75px;
  cursor: pointer;
}

.kb-search {
  padding: 6px 14px 6px 33px;
  font-size: 14px;
  outline: none;
  background-color: #f9fafb;
  color: #222;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
}
.kb-limit {
  font-size: 11.5px;
  color: #62748e;
}

.kb-footer {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.upload-pill-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.upload-cancel-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: 1.5px solid rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
}
.upload-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 7px;
  font-size: 13px;
  color: #1f1f1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 35px;
}
.upload-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

/* trending now section */
/* ─── Section wrapper ─── */
.trending-section {
  width: 100%;
  max-width: 1200px;
  margin-top: 45px !important;
}

.trending-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 20px 24px;
  overflow: hidden;
}

.trending-card__header {
  margin-bottom: 4px;
}

.trending-card__fire {
  font-size: 20px;
  line-height: 1;
}

.trending-card__title {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Nav buttons ── */
.trending-card__nav {
  gap: 6px;
}

.trending-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1.5px solid #d0d0d0;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 18px;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  line-height: 1;
}

.trending-nav-btn:hover:not(:disabled) {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #ffffff;
}

.trending-nav-btn--disabled,
.trending-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Slider viewport ── */
.trending-slider-viewport {
  overflow: visible;
  width: 100%;
}

/* ── Grid default (fully visible) ── */
.trending-topics-grid {
  display: grid;
  gap: 12px;
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

/* Phase 1 exit — slide left (going forward) */
.trending-topics-grid.slide-exit-left {
  transform: translateX(-60px);
  opacity: 0;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Phase 1 exit — slide right (going back) */
.trending-topics-grid.slide-exit-right {
  transform: translateX(60px);
  opacity: 0;
  transition:
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Phase 2 enter — snap into offscreen, no animation */
.trending-topics-grid.slide-enter-right {
  transform: translateX(60px);
  opacity: 0;
  transition: none;
}

.trending-topics-grid.slide-enter-left {
  transform: translateX(-60px);
  opacity: 0;
  transition: none;
}

/* Phase 3 — animate into final position */
.trending-topics-grid.slide-active {
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Individual card ── */
.trending-topic-card {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 12px;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.trending-topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

/* ── Thumbnail ── */
.trending-topic-card__thumb {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background: #e0e0e0;
  overflow: hidden;
}

.trending-topic-card__thumb--fallback {
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
}

.trending-topic-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px !important;
}

/* ── Rank badge ── */
.trending-topic-card__rank {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

/* ── Info ── */
.trending-topic-card__info {
  flex: 1;
  min-width: 0;
}

.trending-topic-card__name {
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  margin-bottom: 3px;
  white-space: normal;
  word-wrap: break-word;
  line-height: 1.55;
}

.trending-topic-card__posts {
  font-size: 12px;
  color: #888888;
  margin-bottom: 3px;
}

.trending-topic-card__growth {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 0;
}

/* ── Dot indicators ── */
.trending-dots {
  gap: 6px;
}

.trending-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0d0d0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    width 0.2s ease,
    border-radius 0.2s ease;
}

.trending-dot--active {
  background: #1a1a1a;
  width: 18px;
  border-radius: 4px;
}
/* ── Keyframes ── */
@keyframes slideNotifyDown {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ── Source Indicator Styles ── */
.trending-topic-card__source {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.trending-topic-card__source-name {
  font-size: 11px;
  line-height: 1.2;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  max-width: 120px;
}

/* create from scratch end */
/*========================== Main screen end ============================*/

/* Templates Inner page */

/* ── Relevance cards (top row) ── */
.relevance-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px 20px;
  height: 100%;
  transition:
    box-shadow 0.2s,
    border-color 0.2s;
  cursor: pointer;
}
.relevance-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.09);
  border-color: #d1d5db;
}
.relevance-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}
.relevance-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.relevance-score {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}
.star-icon {
  color: #f59e0b;
  font-size: 14px;
}
.relevance-hashtags {
  font-size: 11.5px;
  color: #2563eb;
  font-weight: 500;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* ── Slider ── */
.slider-outer {
  position: relative;
}
.slider-clip {
  overflow: hidden;
  width: 100%;
}
.slider-track-new {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y pinch-zoom;
}
.slider-track-new > .slide-item {
  flex: 0 0 calc(25% - 12px);
  min-width: 0;
}

.slider-track-new > .slide-item a {
  width: 100%;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: #374151;
  z-index: 10;
  transition: all 0.18s;
}
.slider-nav-btn:hover {
  background: #f9fafb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.slider-nav-btn.prev {
  left: -18px;
}
.slider-nav-btn.next {
  right: -18px;
}
.slider-nav-btn:disabled {
  opacity: 0;
  pointer-events: none;
}

/* ── Shimmer skeleton ── */
@keyframes shimmer {
  0% {
    background-position: -700px 0;
  }
  100% {
    background-position: 700px 0;
  }
}
.sk {
  background: linear-gradient(90deg, #e8eaf0 25%, #f3f4f7 50%, #e8eaf0 75%);
  background-size: 700px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
  display: block;
}

.page-body {
  padding: 28px 28px 40px;
  max-width: 100%;
}

/* ── Section header ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.see-all-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: "Manrope", sans-serif;
  transition: color 0.15s;
}
.see-all-btn:hover {
  color: #111827;
}
/* create from scratch */
 .trending-slider-viewport {

   overflow: visible;
          width: 100%;
        }

.cfs-container {
  display: flex;
  /* align-items: center;
  justify-content: center; */
  /* height: calc(100dvh - 62px); */
  overflow-y: auto;
  margin: 0 auto;
}
.cfs-container-trend {
  height: calc(100dvh - 62px);
}

.cfs-wrapper {
  width: 90%;
  max-width: 768px;
  padding-top: 10%;
}

.greeting-title {
  font-weight: 600;
  line-height: 1.2;
  color: #111827;
  font-size: 28px;
  margin-bottom: 24px;
}

.cfs-chat-wrapper .chat-input-box {
  flex: 1;
  border-radius: 8px;
  padding: 12px;
  min-height: 0; /* ⭐ VERY IMPORTANT */
}
.cfs-chat-wrapper .chat-input {
  width: 100%;
}
/* ===== Explore Banner ===== */
.explore-wrapper {
  margin-top: 50px;
  display: flex;
  gap: 16px;
  flex-direction: column;
}
.explore-banner {
  position: relative;
  height: 160px;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent),
    url("../../assets/images/create-from-scratch/explore.jpg") no-repeat
      center / cover;
}

.explore-btn {
  background: white;
  color: #111;
  border-radius: 30px;
  border: none;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.2px solid #cacaca;
}

.explore-btn i {
  line-height: 0;
}

/* ===== Template Cards ===== */
.explore-card {
  height: 128px;
  border-radius: 14px;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: cover;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.explore-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: white;
}

.explore-overlay p {
  font-size: 12px;
  margin: 0;
  font-weight: 500;
}

.input-icons .dropdown-menu {
  border-radius: 12px !important;
  padding: 12px;
  border: 1px solid #efefef;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.04) !important;
}
.input-icons .dropdown-item {
  font-size: 12px;
  color: #1d293d;
  cursor: pointer;
  border-radius: 6px !important;
  padding: 6px 8px !important;
}
.input-icons .dropdown-item:active {
  color: #1d293d;
}

.post-card-preview {
  width: 450px;
  border-radius: 22px;
  padding: 20px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0px 0.94px 1.88px 0px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}
.textarea-input {
  width: 100%;
  resize: none;
  min-height: 64px;
  max-height: 240px;
  line-height: 1.5;
  padding: 10px 12px;
  box-sizing: border-box;
  flex: 0 0 auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(224, 227, 232) transparent;
}

/* ✅ See More Card */
.see-more-btn {
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.see-more-btn i {
  line-height: 0;
}

.see-more-btn:hover {
  transform: translateY(-1px);
}

/* combined icon + label background */
.selected-catagory {
  background: #f1f5f9;
  padding: 6px 12px !important;
  border-radius: 999px;
  color: #111827;
  transition: 0.25s ease;
}

.selected-label {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* active dropdown item */
.dropdown-item.active {
  background: #f1f5f9 !important;
  color: #1d293d !important;
}

.suggestion-btn {
  gap: 6px;
  padding: 6px 13px;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #555;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.suggestion-btn i {
  opacity: 0.65;
  line-height: 0;
}

.suggestion-btn * {
  line-height: 0;
}

.attachment-btn {
  width: 100%;
  padding: 8px 4px;
  border-radius: 4px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s all;
}

.attachment-btn:hover {
  background-color: #f5f5f5;
}

.attachment-btn span {
  text-wrap: nowrap;
}

.kb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  color: #1f1f1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 35px;
}

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75px;
  cursor: pointer;
}

.kb-search {
  padding: 6px 14px 6px 33px;
  font-size: 14px;
  outline: none;
  background-color: #f9fafb;
  color: #222;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
}
.kb-limit {
  font-size: 11.5px;
  color: #62748e;
}

.kb-footer {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.upload-pill-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
}

.upload-cancel-btn {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: 1.5px solid rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
}
.upload-doc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 7px;
  font-size: 13px;
  color: #1f1f1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 35px;
}
.upload-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}
/* create from scratch end */

.post-card-preview {
  border-radius: 22px;
  padding: 20px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0px 0.94px 1.88px 0px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
}

/* create from scratch end */
.multi-post-wrapper {
  display: flex;
  gap: 16px;
  /* height: 560px;  */
  margin-top: 10px;
}
.prefer-btn {
  font-weight: 600;
  font-size: 14px;
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  padding: 11px 16px !important;
  margin-top: 20px;
}

.copy-toast-wrapper {
  position: fixed;
  z-index: 99999;
  animation: toastFade 0.35s ease;
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0px 12px 12px 0px rgba(0, 0, 0, 0.12);
  width: 279px;
  height: 80px;
}

.copy-toast-wrapper.bottom-right {
  bottom: 5%;
  right: 2%;
}

.copy-toast {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  font-size: 16px;
  color: #00771f;
}

.toast-icon {
  width: 40px;
  height: 40px;
}

@keyframes toastFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* history toolbar and funtionallity css */

@media (max-width: 768px) {
  .multi-post-wrapper {
    grid-template-columns: 1fr;
  }
}

.structure-block-outer {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.side-label-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 6px 4px;
  border-radius: 4px 0 0 4px;
  border-right: 1px solid;
  min-width: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  animation: fadeInLabel 0.2s ease;
}

.side-label-placeholder {
  min-width: 20px;
  flex-shrink: 0;
}

@keyframes fadeInLabel {
  from {
    opacity: 0;
    transform: rotate(180deg) translateX(4px);
  }
  to {
    opacity: 1;
    transform: rotate(180deg) translateX(0);
  }
}

.structure-block {
  flex: 1;
  /* padding: 8px 10px; */
  border-radius: 0 6px 6px 0;
  transition:
    background 0.22s,
    border 0.22s;
  font-size: 14px;
  cursor: text;
  position: relative;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: break-word;
}

.structure-block:focus {
  outline: none;
}

.structure-block-outer:not(:has(.side-label-tab)):not(
    :has(.side-label-placeholder)
  )
  .structure-block {
  border-radius: 6px;
}

/* Fix 1: hashtag block — plain editable */
.hashtag-block {
  cursor: text;
}

/* Fix 4: block skeleton */
.block-skeleton {
  flex: 1;
  padding: 12px 10px;
  border-radius: 0 6px 6px 0;
  min-height: 50px;
}

/* ── Toolbar ── */
.text-toolbar-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: #ffffff;
  backdrop-filter: blur(10px);
  border: 1px solid #ebebeb;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  z-index: 999;
  animation: tbIn 0.15s ease;
  white-space: nowrap;
}

.text-toolbar-pill i {
  line-height: 0;
}

@keyframes tbIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.toolbar-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.15s ease;
}

.toolbar-btn:hover {
  background: #f3f4f6;
  color: #111827;
}

.toolbar-divider {
  width: 1px;
  height: 18px;
  background: #e5e7eb;
  flex-shrink: 0;
}

/* Ask Ekko in text toolbar */
@property --angle {
  syntax: "<angle>";
  initial-value: 90deg;
  inherits: false;
}

.toolbar-ask-ekko-btn {
  width: auto !important;
  padding: 0 8px;
  border-radius: 20px !important;
  position: relative;
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(var(--angle), #6a5cff, #ff7ad9) border-box;
  color: #000;
  transition: all 0.3s ease-in-out;
}

.toolbar-ask-ekko-btn:hover {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(var(--angle), #6a5cff, #ff7ad9) border-box;
  animation: rotateBorder 1.5s linear infinite;
}

@keyframes rotateBorder {
  from {
    --angle: 90deg;
  }
  to {
    --angle: 450deg;
  }
}

.toolbar-ai-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #6ee7ff, #6366f1, #9333ea);
}

.toolbar-ask-label-sm {
  font-size: 12px;
  color: #212529;
  font-weight: 600;
}

/* ── Ask Ekko Text Popup (Fix 4) — matching attached design ── */

.ask-ekko-text-popup {
  position: absolute;
  z-index: 1005;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.16),
    0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-width: 340px;
  max-width: 480px;
  animation: popupSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ask-ekko-text-popup-content {
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 8px;
  background: #ffffff;
}

/* ─── Scrollbar Styling ────────────────────────────────────────────────────────── */
/* .ask-ekko-textarea::-webkit-scrollbar {
  width: 6px;
}

.ask-ekko-textarea::-webkit-scrollbar-track {
  background: transparent;
}

.ask-ekko-textarea::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
  transition: background 0.2s;
}

.ask-ekko-textarea::-webkit-scrollbar-thumb:hover {
  background: #b0b0b0;
} */

/* ─── Footer ────────────────────────────────────────────────────────── */
.ask-ekko-popup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  gap: 8px;
}

.ask-ekko-hint {
  font-size: 12px;
  color: #999999;
  font-weight: 400;
  line-height: 1.4;
}

.ask-ekko-submit-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: #000000;
  color: #ffffff;
  flex-shrink: 0;
  font-size: 0;
  padding: 0;
}

.ask-ekko-submit-btn:hover {
  background: #3b3b3b;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.ask-ekko-submit-btn:active {
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.ask-ekko-submit-btn:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.ask-ekko-submit-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.ask-ekko-text-popup {
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  overflow: hidden;
  min-width: 280px;
  animation: tbIn 0.15s ease;
}
.ask-ekko-inline-row {
  position: absolute;
  z-index: 99999;
  width: 250px;
  animation: toolbar-slide-in 0.12s ease;
  right: -61%;
  top: 0;
}

.ask-ekko-text-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1.5px solid #e4e4e7;
  border-radius: 8px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.ask-ekko-suggestions {
  margin-top: 6px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid #e4e4e7;
  border-radius: 8px;
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  padding: 12px;
  gap: 4px;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-color: rgb(224, 227, 232) transparent;
}

.ask-ekko-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  font-size: 14px;
  color: #1d293d;
  cursor: pointer;
  border-radius: 6px !important;
  transition: background 0.2s;
}

.ask-ekko-option i {
  font-size: 16px;
  line-height: 0;
}

.ask-ekko-option:hover {
  background-color: #f1f5f9;
}

.ask-ekko-option.active {
  background: #f1f5f9;
}

.ask-ekko-text-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #374151;
  background: transparent;
  font-family: inherit;
}

.ask-ekko-text-input::placeholder {
  color: #9ca3af;
}

.ask-ekko-text-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 6px;
  flex-shrink: 0;
}

.ask-ekko-text-submit-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s;
  color: #6b7280;
  background: #000000;
  color: #fff;
}

.ask-ekko-text-submit-btn:hover {
  background: #000000;
  opacity: 0.8;
}

@keyframes tbIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ask-ekko-text-footer {
  padding: 7px 12px;
}

.ask-ekko-quick-actions {
  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
}

.ask-ekko-quick-actions:hover {
  color: #6b7280;
}

/* ── Emoji Picker ── */
.emoji-wrapper {
  position: relative;
}

.emoji-picker {
  position: absolute;
  top: 155%;
  left: 600%;
  width: 260px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px;
  z-index: 1000;
}

.emoji-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.emoji-tab-btn {
  border: none;
  background: #f3f4f6;
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s;
}

.emoji-tab-btn.active {
  background: #374151;
  color: white;
}

.emoji-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.emoji-item {
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.1s;
}

.emoji-item:hover {
  background: #f3f4f6;
}
.editable-side-label {
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
  transform: rotate(180deg) !important;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 4px;
  border-radius: 0px 6px 6px 0px;
  border: 1.5px solid transparent;
  min-width: 22px;
  flex-shrink: 0;
  user-select: none;
  animation: label-fade-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-fill-mode: both;
}
/* ── Image Popup ── */
.image-toolbar {
  position: absolute;
  top: 8px;
  right: 15%;
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: 1px solid #ebebeb;
  /* box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; */
  z-index: 10;
  white-space: nowrap;
  animation: toolbar-slide-in 0.14s ease;
}

.image-toolbar i {
  line-height: 0;
}

.toolbar-ai {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 8px;
}

.toolbar-ask-label {
  font-size: 13px;
  color: #374151;
  font-weight: 500;
}

.ai-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6ee7ff, #6366f1, #9333ea);
  flex-shrink: 0;
}

/* ── Ask Ekko Inline below image (Fix 2) ── */
.image-ask-ekko-inline {
  position: absolute;
  top: -2%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  z-index: 11;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
  animation: tbIn 0.15s ease;
  white-space: nowrap;
}

.image-ask-ekko-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 13px;
  color: #374151;
  background: transparent;
  font-family: inherit;
  min-width: 140px;
}

.image-ask-ekko-input::placeholder {
  color: #9ca3af;
}

.image-ask-ekko-btns {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.image-ask-ekko-mic,
.image-ask-ekko-submit {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.12s;
}

.image-ask-ekko-mic {
  background: #f3f4f6;
  color: #6b7280;
}

.image-ask-ekko-mic:hover {
  background: #e5e7eb;
}

.image-ask-ekko-submit {
  background: #000000;
  color: #fff;
}

.image-ask-ekko-submit:hover {
  background: #000000;
}

/* ── Ask Ekko Modal Overlay ── */
.ask-ekko-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ask-ekko-popup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  width: 380px;
  max-width: 90dvw;
  overflow: hidden;
  animation: popIn 0.2s ease;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ask-ekko-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #f1f1f1;
}

.ekko-ai {
  display: flex;
  justify-content: start;
  align-items: start;
  width: 15px !important;
  height: 15px !important;
  margin-bottom: 2px;
}

.ekko-ai img {
  object-fit: cover;
  height: 100% !important;
}

.ask-ekko-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  flex: 1;
}

.ask-ekko-close {
  background: none;
  border: none;
  font-size: 14px;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.12s;
}

.ask-ekko-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.ask-ekko-body {
  padding: 14px 16px;
}

.ask-ekko-textarea {
  width: 100%;
  background-color: #f3f3f3 !important;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #374151;
  height: 70px;
  resize: none !important;
  outline: none;
  transition: all 0.2s ease;
  word-wrap: break-word;
  white-space: pre-wrap;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgb(224, 227, 232) transparent;
}

.ask-ekko-textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

.ask-ekko-textarea::placeholder {
  color: #9ca3af;
  font-size: 13px !important;
}

.ask-ekko-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 16px 16px;
}

.generate-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: #000000 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
}

.ask-ekko-generate:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.outline-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent !important;
  color: #000000 !important;
  border: 1px solid #ebebeb !important;
  border-radius: 8px !important;
  padding: 11px 16px !important;
}

.fill-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #1d293d;
  border-radius: 8px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fill-btn:hover {
  background-color: #3b3b3b;
}

/* ── Generating overlay ── */
.image-generating-overlay {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

/* Black & White shimmer */
.generating-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #111111 0%,
    #2b2b2b 30%,
    #444444 60%,
    #111111 100%
  );
  background-size: 300% 100%;
  animation: genShimmer 1.6s ease-in-out infinite;
}

@keyframes genShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.generating-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Spinner - white accent */
.generating-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

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

/* Text */
.generating-text {
  font-size: 13px;
  color: #ffffff;
  font-weight: 500;
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* ── Empty Image Placeholder ── */
.empty-image-placeholder {
  border: 2px dashed #e5e7eb;
  border-radius: 10px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fafafa;
}

.empty-upload-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all 0.15s;
}

.empty-upload-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.empty-generate-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 8px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all 0.15s;
}

.empty-generate-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.generate-ai-icon {
  font-size: 14px;
  color: #000000;
}

/* ── Chips ── */
.chips-popup {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.09);
  padding: 6px 10px;
  display: inline-flex;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
  z-index: 1200;
}

.chips-popup-inner {
  display: flex;
  gap: 5px;
  align-items: center;
}

.popup-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  white-space: nowrap;
}

.popup-chip:hover {
  filter: brightness(0.94);
}

.structured-content {
  display: flex;
  flex-direction: column;
  /* gap: 6px; */
  /* margin-bottom: 4px; */
}

@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 50%, #ececec 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  margin-bottom: 8px;
}

.skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.skeleton-image-block {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  background: linear-gradient(90deg, #ececec 25%, #f8f8f8 50%, #ececec 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}

.list-disc {
  list-style-type: disc;
  padding-left: 20px;
}

.structure-block ul li {
  list-style: disc;
}

.structure-block ol li {
  list-style: decimal;
}
.cmp-post-description ol li {
  list-style: decimal;
}
.cmp-post-description ul li {
  list-style: disc;
}
.post-description ul li {
  list-style: disc;
}

.structure-block u {
  text-decoration: underline;
}

.structure-block i {
  font-style: italic;
}
/* history toolbar and funtionallity css end */

/* wisthlist screen */
.wishlist-screen {
  padding: 24px;
  position: relative;
}
.undo-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) !important;
  z-index: 1050;
  bottom: 6%;
  animation: slideUp 0.4s ease-out forwards;
}

.undo-toast.exit {
  animation: slideDown 0.3s ease-out forwards;
}
@keyframes slideIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.undo-toast-inner {
  background-color: #ffffff;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  width: 380px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.undo-btn {
  color: #000000;
  font-size: 14px;
  letter-spacing: 0.5px;
  background-color: none;
  border: none;
  cursor: pointer;
  /* text-transform: uppercase; */
  padding: 0;
  font-weight: 500;
}

.undo-btn-close {
  font-size: 18px;
  color: #000000;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
}

.undo-btn-close i {
  line-height: 0;
}
/* wisthlist screen end */
.ekko-ai-tag {
  position: absolute;
  top: 0;
  right: -10%;
  background-color: #ffffff;
  color: #ffffff;
  font-weight: 600;
  padding: 8px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid #000000;
}

/* Tooltip arrow */
.ekko-ai-tag::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 68%;
  transform: rotate(-40deg);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid #000000; /* arrow color */
}

.ekko-ai-tag-inner {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
/* Profile screen */
.profile-sidebar {
  position: sticky;
  top: -37px;
  height: fit-content;
  transition: all 0.3s ease-in-out;
}
.profile-screen .input-field {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  font-size: 14px;
}
.profile-screen .input-label {
  font-size: 13px;
  color: #212529;
  font-weight: 500;
  margin-bottom: 4px;
}

.profile-title::before{
  content: "";
  width: 3px;
  height: 18px;
  background: #111827;
  border-radius: 1px;
}

.profile-title,
.profile-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  display: flex;
  align-items: center;
  margin-bottom: 12px !important;
  gap: 8px;
}

.profile-subtitle {
  font-size: 15px;
  margin-bottom: 4px;
}

.profile-description {
  font-size: 13px;
  color: #8c9095;
  margin-bottom: 0;
}

.gap-20px {
  gap: 20px;
}
.profile-screen .dropdown-menu {
  border-radius: 12px !important;
  padding: 12px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.04) !important;
}
.profile-screen .dropdown-item {
  font-size: 14px;
  color: #1d293d;
  cursor: pointer;
  border-radius: 6px !important;
  padding: 6px 8px !important;
}
.profile-screen .dropdown-item:active {
  color: #1d293d;
}

.profile-outline-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent;
  color: #1d293d;
  border: 1px solid #1d293d;
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
}
.profile-outline-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.profile-outline-per-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent;
  color: #1d293d;
  border: 1px solid #cad5e2;
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-outline-per-btn:hover {
  background-color: #e4e4e4;
  color: #000000;
}

.pricing-card {
  border-radius: 8px;
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
}

/* Profile screen end */
/* See all section */
@keyframes shimmer {
  0% {
    background-position: -600px 0;
  }
  100% {
    background-position: 600px 0;
  }
}

.scroll-skeleton {
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
  background-image: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e0e0e0 50%,
    #f0f0f0 75%
  );
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
}

.scroll-skeleton-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  flex-shrink: 0;
}
.scroll-skeleton-name {
  height: 12px;
  border-radius: 6px;
  width: 120px;
  margin-bottom: 6px;
}
.scroll-skeleton-role {
  height: 10px;
  border-radius: 6px;
  width: 180px;
}
.scroll-skeleton-title {
  height: 13px;
  border-radius: 6px;
  width: 80%;
  margin-bottom: 10px;
}
.scroll-skeleton-line {
  height: 11px;
  border-radius: 6px;
  margin-bottom: 7px;
}
.scroll-skeleton-line.w90 {
  width: 90%;
}
.scroll-skeleton-line.w75 {
  width: 75%;
}
.scroll-skeleton-line.w60 {
  width: 60%;
}
.scroll-skeleton-hashtag {
  height: 10px;
  border-radius: 6px;
  width: 55%;
  margin-bottom: 12px;
}
.scroll-skeleton-img {
  height: 180px;
  border-radius: 8px;
}

/* End-of-feed message */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.end-of-feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 0px;
  animation: fadeUp 0.6s ease forwards;
}

.end-of-feed .eof-icon {
  font-size: 32px;
  margin-bottom: 10px;
}
/* See all section end*/

.no-content-title,
.no-content-desc {
  color: #a1a1aa;
  font-size: 18px;
  font-weight: 500;
}
.no-content-desc {
  font-size: 14px;
  font-size: 400;
}

/* Profile screen */
.profile-screen {
  /* max-height: calc(100dvh - 60px);
  min-height: calc(100dvh - 60px); */
  overflow-y: auto;
}
.profile-sidebar-wrapper {
  /* border-right: 1px solid #e5e7eb; */
}

.profile-sidebar {
  width: 100%;
  height: fit-content;
  transition: all 0.3s ease-in-out;
  padding: 8px;
}

.profile-sidebar h6 {
  color: #62748e;
  font-size: 12px !important;
}

.profile-screen .input-field {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  font-size: 14px;
}

.profile-subtitle {
  font-size: 15px;
  margin-bottom: 4px;
}

.gap-20px {
  gap: 20px;
}
.profile-screen .dropdown-menu {
  border-radius: 12px !important;
  padding: 12px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.04) !important;
}
.profile-screen .dropdown-item {
  font-size: 14px;
  color: #1d293d;
  cursor: pointer;
  border-radius: 6px !important;
  padding: 6px 8px !important;
}
.profile-screen .dropdown-item:active {
  color: #1d293d;
}

.profile-outline-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent;
  color: #1d293d;
  border: 1px solid #cad5e2;
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-outline-btn:hover {
  background-color: #000000;
  color: #ffffff;
}

.custom-edit-field .auth-btn:hover {
  background-color: #3e3e3e !important;
}

.custom-edit-field .profile-outline-btn:hover {
  background-color: #e8e8ebcc;
  color: #1d293d;
}

.btn-delete {
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 6px;
  /* border: 1px solid #dc2626; */
  color: #ffffff;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #dc2626;
}

/* .btn-delete:hover {
  background-color: #dc2626;
  color: #ffffff;
} */

.profile-sidebar-icons {
  line-height: 0;
}
.profile-sidebar-icons i {
  line-height: 0;
}

.profile-sidebar-btn {
  font-size: 14px;
  cursor: pointer;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  align-items: center;
  width: 100%;
  display: flex;
  color: #1d293d;
  padding: 6px 12px;
  border-radius: 8px;
}

.profile-sidebar .btn-active {
  background-color: #eef1f5;
}
.profile-sidebar .btn-active:hover {
  background-color: #eef1f5;
}

.save-bar-wrapper {
  overflow: hidden;
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  opacity: 0;
}
.save-bar-wrapper.visible {
  max-height: 80px;
  opacity: 1;
}
.save-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 0;
  padding-top: 26px;
  border-bottom: 1.5px solid #e5e7eb;
}

.profile-cancel-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent;
  color: #1d293d;
  border: 1px solid #1d293d;
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-cancel-btn:hover {
  background-color: #c9c9ce;
  border: 1px solid #c9c9ce;
  color: #000000;
}

.profile-fill-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #1d293d;
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.profile-fill-btn:hover {
  background-color: #3b3b3b;
}

.char-counter {
  font-size: 10px;
  font-weight: 600;
  color: #797979;
  border-radius: 4px;
  line-height: 1;
  white-space: nowrap;
  margin-right: 2px;
  transition: color 0.15s;
}
.pill-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgb(107, 114, 128);
  font-size: 11px;
  line-height: 1;
}

/* Profile screen end */
/* Profile screen end */

.get-more-btn {
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
  display: flex;
  align-items: center;
  gap: 2px;
  color: #6b7280;
}

.get-more-btn i {
  line-height: 0;
}

.get-more-btn:hover {
  transform: translateY(-2px);
  color: #393939;
}

.get-more-btn:active {
  transform: translateY(0);
  opacity: 0.7;
}
.get-more-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* ❌ remove hover lift when disabled */
.get-more-btn:disabled:hover {
  transform: none;
  color: #6b7280; /* keep original color */
}

/* ❌ remove click press effect */
.get-more-btn:disabled:active {
  transform: none;
  opacity: 0.6;
}

.post-description ol li {
  list-style-type: decimal;
}

.spinner-border {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-right-color: white;
}

.cfs-chat-wrapper .input-icons {
  gap: 0;
}
.cfs-chat-wrapper .input-icons i {
  color: #1f2937;
}

.cfs-chat-wrapper .icon-btn {
  width: fit-content;
  height: fit-content;
}
.post-icon-row .svg-icon {
  cursor: pointer;
  border-radius: 8px;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.post-icon-row .svg-icon:hover {
  background-color: #e2e8f0;
}

.input-cnct-field::placeholder {
  font-size: 14px;
}

.input-cnct-label {
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}

/* profile updated2 css */
.dropdown-btn {
  text-align: left;
  border: 1px solid #ced4da;
}
.dropdown-placeholder {
  color: #c0c7d0;
  font-size: 12.5px;
  font-weight: 400;
}
.dropdown-menu-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  z-index: 99;
  margin-top: 6px;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  overflow-y: auto;
}
.textarea-field {
  width: 100%;
  min-height: 90px;
  padding: 12px 14px;
  padding-right: 20px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
.textarea-counter {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  background-color: #ffffff;
}
.textarea-counter.near-limit {
  color: #dc2626;
}
.multi-select-container {
  min-height: 44px;
  border: 1px solid #cad5e2;
  border-radius: 10px;
  padding: 6px 36px 6px 10px;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  position: relative;
  background: #fff;
  user-select: none;
}
.multi-select-container.no-cursor {
  cursor: default;
}
.multi-select-placeholder {
  color: #c0c7d0;
  font-size: 12.5px;
  font-weight: 400;
  pointer-events: none;
}
.multi-select-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgb(243, 244, 246);
  border: 1.5px solid rgb(229, 231, 235);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  color: rgb(55, 65, 81);
  font-weight: 500;
  white-space: nowrap;
  max-width: 100%;
}
.pill-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;

  flex: 1; /* ✅ take remaining space */
  min-width: 0; /* ✅ REQUIRED for ellipsis in flex */
}
.pill-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 2px;
  line-height: 1;
  color: rgb(107, 114, 128);
  font-size: 11px;
}
.multi-select-custom-input {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgb(243, 244, 246);
  border: 1.5px solid rgb(229, 231, 235);
  border-radius: 999px;
  padding: 2px 8px 2px 10px;
  font-size: 12px;
  color: rgb(55, 65, 81);
  font-weight: 500;
  white-space: nowrap;
}
.custom-input-field {
  border: none;
  outline: none;
  background: transparent;
  font-size: 12px;
  color: rgb(55, 65, 81);
  font-weight: 500;
  min-width: 80px;
}
.custom-input-counter {
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
  min-width: 20px;
  text-align: right;
}
.custom-input-counter.limit-warning {
  color: #dc2626;
}
.custom-input-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 2px;
  color: rgb(107, 114, 128);
  font-size: 11px;
}
.dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
  line-height: 0;
}
.multi-select-dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: absolute;
  z-index: 99;
  margin-top: 6px;
  width: 100%;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 6px;
  list-style: none;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-height: 220px;

  /* default: open downward */
  top: 100%;
  bottom: auto;
  margin-top: 6px;
  margin-bottom: 0;
}
.multi-select-dropdown-list.opens-up {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 6px;
}
.multi-select-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  color: #111827;
  background: transparent;
  font-weight: 400;
  transition: background 0.1s;
}
.multi-select-dropdown-item.selected {
  background: #f3f4f6;
  font-weight: 500;
}
.dropdown-item-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.theme-card-wrapper {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.theme-card-preview {
  width: 130px;
  height: 96px;
  border-radius: 8px;
  border: 2px solid #e5e7eb;
  padding: 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: border 0.18s;
}
.theme-card-preview.selected {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.theme-preview-pill {
  width: 40px;
  height: 8px;
  border-radius: 99px;
  margin: 0 auto 8px;
}
.theme-preview-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}
.theme-preview-lines div {
  height: 6px;
  border-radius: 4px;
}
.theme-preview-lines div:first-child {
  width: 70%;
}
.theme-preview-lines div:last-child {
  width: 50%;
}
.theme-preview-input {
  height: 18px;
  border-radius: 5px;
  margin-bottom: 6px;
}
.theme-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #727272;
  position: absolute;
  bottom: 10px;
  right: 12px;
}
.theme-selected-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.3s ease-out;
}
.theme-card-label {
  font-size: 13px;
  font-weight: 400;
  color: #374151;
}
.theme-card-label.selected {
  font-weight: 600;
  color: #000;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes smoothSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success-container {
  padding: 20px 0;
}
.success-icon {
  animation: slideDown 0.6s ease-out;
}
.success-container p {
  color: #333;
  font-size: 24px;
  animation: slideDown 0.6s ease-out 0.1s both;
}
.success-container span {
  font-size: 14px;
  animation: slideDown 0.6s ease-out 0.2s both;
}
.connector-empty-state {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 10px;
  border: 1.5px dashed #cad5e2;
}
.connector-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
}
.connector-icon {
  font-size: 22px;
  width: 32px;
  text-align: center;
}
.linkedin-info {
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.linkedin-info i {
  margin-right: 0;
  line-height: 0;
}
.profile-image-wrapper {
  position: relative;
}
.profile-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  width: 48px;
  height: 48px;
  cursor: pointer;
  border: 1.5px solid #e5e7eb;
  position: relative;
}
.profile-image-container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: 1.5px solid #e5e7eb;
  position: relative;
}
.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.profile-image-overlay:hover {
  opacity: 1;
}
.profile-image-overlay i {
  color: #fff;
  font-size: 16px;
  line-height: 0;
}

.modal-description {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}
.password-input {
  padding-right: 40px;
}
.password-visibility-toggle {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding-right: 12px;
  font-size: 18px;
}
.form-error {
  margin-top: 8px;
  color: #dc3545;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.form-error i {
  font-size: 14px;
  line-height: 0;
}
.btn-with-spinner {
  min-width: 120px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.spinner-sm {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.password-strength-wrapper {
  animation: smoothSlideDown 0.5s ease-out forwards;
  display: flex;
  justify-content: flex-end;
}
.circular-progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.circular-progress {
  width: 16px;
  height: 16px;
}
.progress-circle {
  transition:
    stroke-dasharray 0.4s ease,
    stroke 0.3s ease;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}
.strength-label {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
/* profile updated2 css end */

.switch-btn-underline {
  text-decoration: none;
  padding: 8px 14px;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.switch-btn-underline:hover {
  color: #000;
  border-bottom: 2px solid #cfd8e3;
}

/* Active tab */
.active-switch-underline {
  color: #000;
  border-bottom: 2px solid #000;
}

.active-switch-underline:hover {
  border-bottom: 2px solid #000;
}

.history-accordion-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--bs-secondary-color, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px 2px;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s ease;
}
.history-accordion-section-header:hover {
  color: #555;
}
.history-accordion-section-header i {
  font-size: 10px;
}

.profile-container {
  max-width: 1000px;
}
.save-badge {
  font-size: 11.5px;
  color: #2c84db;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 600;
  margin-bottom: 4px;
  width: fit-content;
}
/* Disabled button — no hover, no interaction */
.profile-outline-btn:disabled,
.profile-outline-btn:disabled:hover,
.profile-outline-btn:disabled:active,
.profile-outline-btn:disabled:focus {
  border-color: #6b7280;
  cursor: not-allowed;
  pointer-events: none; /* :star: prevents ALL mouse events */
  box-shadow: none;
  transform: none;
}
.feature-list {
  list-style: none; /* remove default bullets */
  padding-left: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-icon {
  font-size: 14px;
  color: #9ca3af; /* adjust color */
  line-height: 1;
  margin-top: 2px; /* aligns icon with text */
}

/* notification panel */
.notif-panel {
  position: fixed;
  top: 0;
  left: 70px;
  height: 100dvh;
  width: 390px;
  background: #ffffff;
  border-left: 1px solid #e2e2e2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 998;
}
.notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #f0f2f5;
  flex-shrink: 0;
  background: #fff;
}
.notif-header-title {
  font-weight: 700;
  font-size: 17px;
  color: #0d0f12;
  letter-spacing: -0.01em;
}
.notif-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: background 0.15s;
}
.notif-time {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
}

.notif-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  padding: 0 0 8px;
  scrollbar-width: thin;
  scrollbar-color: #e0e3e8 transparent;
}
.notif-scroll::-webkit-scrollbar {
  width: 4px;
}
.notif-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.notif-scroll::-webkit-scrollbar-thumb {
  background: #e0e3e8;
  border-radius: 4px;
}
.notif-scroll::-webkit-scrollbar-thumb:hover {
  background: #c8cdd5;
}

@keyframes slideOutRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  55% {
    opacity: 0;
  }
  100% {
    transform: translateX(115%);
    opacity: 0;
  }
}

.notif-item {
  padding: 18px 20px;
  border-bottom: 1px solid #f0f2f5;
  overflow: hidden;
}
.notif-item.clearing:nth-child(1) {
  animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.6, 1) 0s forwards;
}
.notif-item.clearing:nth-child(2) {
  animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.6, 1) 0.07s forwards;
}
.notif-item.clearing:nth-child(3) {
  animation: slideOutRight 0.4s cubic-bezier(0.4, 0, 0.6, 1) 0.14s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #b0b0b0;
  font-size: 14px;
  animation: fadeInUp 0.4s ease 0.52s both;
  margin-bottom: 0;
}

.clear-all-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  /* font-family: "DM Sans", sans-serif; */
  padding: 4px 9px;
  border-radius: 6px;
  transition:
    background 0.15s,
    color 0.15s;
  line-height: 1;
}

/* .clear-all-btn:hover {
  color: #101010;
  background-color: #ededed;
} */

.notif-cta {
  margin-top: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #2563eb;
  font-weight: 600;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
  padding: 0;
  letter-spacing: -0.005em;
  display: block;
}
.notif-cta:hover {
  text-decoration: underline;
}
/* notification panel end */
.template-footer {
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 0;
}

.footer-action {
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 8px;
}

.footer-action i {
  font-size: 16px;
  display: flex;
}

.profile-delete-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent;
  color: #6b7280;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 3px 8px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-delete-btn:hover {
  background-color: #f3f4f6;
  color: #374151;
  border-color: #9ca3af;
}

@keyframes cfCardReveal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes cfModalBgIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes cfModalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hide scrollbar but keep functionality */
.file-container::-webkit-scrollbar {
  display: none;
}
.auto-expand-textarea {
  line-height: 1.5;
  padding: 12px 14px;
}

.near-limit {
  color: #dc3545;
}

.upload-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.upload-icon:hover {
  background-color: #f3f4f6;
}

.css-b62m3t-container {
  flex-grow: 1;
  width: 100%;
}

.css-19bb58m {
  margin: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

/* Unified select field styles */
.dropdown-btn,
.multi-select-container,
.country-select__control {
  min-height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #111827 !important;
  padding: 8px 12px !important;
}

/* Unified placeholder color/size */
.dropdown-placeholder,
.multi-select-placeholder,
.country-select__placeholder {
  color: #c0c7d0 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

/* Unified dropdown list */
.dropdown-menu-list,
.multi-select-dropdown-list {
  font-size: 13px !important;
}

.inspire-dropdown-btn {
  min-height: 0 !important;
  height: 38px;
  border-radius: 6px !important;
  border-color: #e5e7eb !important;
}

.inspire-dropdown-btn i {
  line-height: 0;
  font-size: 12px;
}

@keyframes wishlistIconBounce {
  0% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(-18deg) scale(1.28);
  }
  25% {
    transform: rotate(16deg) scale(1.22);
  }
  40% {
    transform: rotate(-12deg) scale(1.15);
  }
  55% {
    transform: rotate(9deg) scale(1.1);
  }
  70% {
    transform: rotate(-5deg) scale(1.05);
  }
  85% {
    transform: rotate(3deg) scale(1.02);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}
.wishlist-icon-bounce {
  animation: wishlistIconBounce 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97)
    forwards;
  display: inline-block;
}

/*  */
/* ✅ See More Inline Marker */
.see-more-inline-marker {
  display: inline;
  margin: 0;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.see-more-inline-marker[data-marker="true"]::before {
  content: "... more";
  color: #0a66c2;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}
/*  */

.structure-block p {
  margin-bottom: 16px;
}

.structure-block ul {
  margin-bottom: 16px;
}

.structure-block ol {
  margin-bottom: 16px;
}

/* .structure-block p:last-of-type {
  margin-bottom: 0;
} */

.structure-block ul:last-of-type {
  margin-bottom: 0;
}
.structure-block ol:last-of-type {
  margin-bottom: 0;
}

.preview-card-profile {
  padding: 12px;
  padding-bottom: 0;
}

.post-content-wrapper {
  padding: 4px 12px 8px;
}

.post-card-footer-wrapper {
  padding: 12px;
  padding-top: 0;
}

.post-description p:last-of-type {
  margin-bottom: 0;
}
.profile-fill-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #1d293d;
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fav-bounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.35);
  }
  60% {
    transform: scale(0.9);
  }
  80% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.fav-icon-bounce {
  display: inline-block;
  animation: fav-bounce 0.45s ease;
}
.history-sub-header {
  font-size: 11px;
  color: #00000099 !important;
  padding: 6px 16px 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
  list-style: none;
}

.image-render-scroll {
  max-width: 660px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #c6c6c6 transparent;
  max-height: 260px;
  opacity: 1;
  transition: 0.5s;
  margin: 0px;
  border: 1px solid rgba(176, 176, 183, 0.33);
  border-radius: 8px;
  background: rgba(209, 209, 213, 0.47);
  padding: 10px;
  /* padding-bottom: 0px; */
}

.selectable,
.selectable * {
  user-select: text !important;
}

.non-selectable,
.non-selectable * {
  user-select: none !important;
}
.cmp-post-body.selectable {
  pointer-events: auto !important;
}

/*cancel subscription*/
/*  */
.disable-screen {
  height: 100dvh;
  width: 100%;
  background: #f4f4f5;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 20px 0;
  scrollbar-width: thin;
  scrollbar-color: rgb(224, 227, 232) transparent;
}

.disable-screen-container {
  max-width: 1320px;
  padding: 0 15px;
  width: 100%;
}

.disable-screen-container-inner {
  max-height: 90dvh;
  display: flex;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: auto;
  background-color: #ffffff;
}
.disable-left-side {
  flex: 0 0 38%;
  background: #fbfaf9;
  border-right: 1px solid #dbdbdb;
  padding: 48px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.disable-left-side h2 {
  font-size: 46px !important;
  font-weight: 300;
  margin-bottom: 20px;
  color: #262626;
}

.impact-list {
  gap: 10px;
  justify-content: space-between;
}
.impact-item {
  display: flex;
  gap: 5px;
  margin-bottom: 24px;
  color: #374151;
  font-size: 13px;
  line-height: 1.5;
}

.disable-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
  background: #fff;
  height: 100%;
}

.disable-content-header {
  text-align: center;
  margin-bottom: 20px;
}

.disable-content-header h2 {
  font-size: 24px !important;
  font-weight: 400;
  margin-bottom: 0;
  text-align: left;
}

/* Professional Radio List */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-option {
  display: flex;
  align-items: center;
  /* padding: 14px 16px; */
  /* border: 1px solid #dbdbdb; */
  /* border-radius: 6px; */
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #4f4f4f;
  font-weight: 500;
  max-width: fit-content;
}

.radio-option:hover {
  color: #101010;
}

.radio-option.active {
  color: #101010;
}

.radio-circle {
  width: 18px;
  height: 18px;
  border: 2px solid #dbdbdb;
  border-radius: 50%;
  margin-right: 12px;
  position: relative;
  transition: all 0.2s;
}

.radio-option.active .radio-circle {
  border-color: #0095f6;
}

.radio-option.active .radio-circle::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: #0095f6;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.confirm-field {
  width: 100%;
  background: #fafafa;
  border: 1px solid #dbdbdb;
  border-radius: 3px;
  padding: 12px;
  font-size: 14px;
}

.delete-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-link {
  color: #0d6efd;
  cursor: pointer;
}
.disable-screen .input-field {
  background-color: #ffffff !important;
  border: 1.5px solid #d1d5db !important;
  font-size: 14px;
}
.textarea-field::placeholder {
  color: #c0c7d0 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}
.input-field::placeholder {
  color: #c0c7d0 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #000000;
  height: 30px;
  width: 30px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.back-btn i {
  line-height: 0;
}

.disable-listing-ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.disable-listing-li {
  list-style: disc;
  margin-bottom: 8px;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}
/*  */

.ivh-panel {
  position: absolute;
  top: 0;
  left: 105%;
  z-index: 1003;
  min-width: 235px;
  animation: toolbar-slide-in 0.14s ease;
}

.linkedin-connect-desc {
  font-size: 16px !important;
}

.profile-delete-btn {
  font-weight: 500;
  font-size: 14px;
  background-color: transparent;
  color: #1d293d;
  border: 1px solid #cad5e2;
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  cursor: pointer;
}
.profile-delete-btn:hover {
  background-color: #000000;
  color: #ffffff;
  opacity: 1;
}

.table-responsive {
  /* border: 1px solid #dee2e6; */
  border-radius: 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e3e8 transparent;
}

.table-responsive table tr td {
  vertical-align: middle;
}

.scroll-to-bottom-btn {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #374151;
  font-size: 18px;
  transition:
    box-shadow 0.15s,
    border-color 0.15s;
  animation: fadeInUp 0.2s ease;
  line-height: 0;
}
.scroll-to-bottom-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.field-group-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.field-group-title::before {
  content: "";
  width: 3px;
  height: 18px;
  background: #111827;
  border-radius: 1px;
}
.profile-section-divider {
  border-top: 1px solid #e5e7eb;
  margin: 2rem 0;
}

/* create profile start */

.add-account-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 4000;
  animation: overlayIn 0.18s ease;
}
@keyframes overlayIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.add-account-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  z-index: 4001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  animation: modalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90dvh;
  overflow-y: auto;
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.aam-header {
  margin-bottom: 20px;
}
.aam-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.aam-close-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  color: #6b7280;
  transition: background 0.15s;
}
.aam-close-btn:hover {
  background: #f3f4f6;
  color: #111827;
}
.aam-field-group {
  margin-bottom: 18px;
}
.aam-label {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.aam-required {
  color: #dc2626;
}
.aam-text-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 13.5px;
  color: #111827;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fff;
  box-sizing: border-box;
}
.aam-text-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.aam-textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: #111827;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fff;
  resize: vertical;
  font-family: inherit;
  box-sizing: border-box;
}
.aam-textarea:focus {
  outline: none;
  border: unset !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.aam-pill-area {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 52px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  background: #fff;
}
.aam-pill-area:focus-within {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.aam-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3f4f6;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  padding: 3px 5px 3px 4px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.aam-pill.confirmed {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.aam-pill-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}
.aam-pill-name {
  padding: 0 1px;
}
.aam-pill-toggle {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s,
    color 0.18s,
    transform 0.18s;
}
.aam-pill-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.aam-pill-toggle.plus {
  background: #e5e7eb;
  color: #6b7280;
}
.aam-pill-toggle.plus:hover:not(:disabled) {
  background: #7c3aed;
  color: #fff;
  transform: scale(1.1);
}
.aam-pill-toggle.tick {
  background: #22c55e;
  color: #fff;
  animation: tickPop 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.aam-pill-toggle.tick:hover {
  background: #dc2626;
  color: #fff;
}
@keyframes tickPop {
  from {
    transform: scale(0.6);
    opacity: 0.4;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.aam-input-wrap {
  position: relative;
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
}
.aam-email-input {
  border: none;
  outline: none;
  font-size: 13px;
  color: #374151;
  background: transparent;
  width: 100%;
}
.aam-email-input:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

.aam-back-btn {
  font-size: 14px;
}

.aam-cta-btn {
  width: 100%;
  padding: 13px;
  background: #000 !important;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.aam-cta-btn:hover:not(:disabled) {
  filter: brightness(1.1);
}
.aam-cta-btn:active:not(:disabled) {
  transform: scale(0.99);
}
.aam-cta-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.aam-spinner-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.aam-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: aamSpin 0.7s linear infinite;
}
@keyframes aamSpin {
  to {
    transform: rotate(360deg);
  }
}
.aam-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 12px 0 4px;
}
.aam-success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #50d863;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aam-success-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}
.aam-success-sub {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  max-width: 380px;
}
.aam-error-msg {
  font-size: 12px;
  color: #dc2626;
  margin-top: 4px;
  display: block;
}
input::placeholder,
textarea::placeholder {
  color: #c0c7d0 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  opacity: 1;
}

.org-suggestion-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  min-width: 290px;
  max-height: 300px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
  z-index: 5000;
  overflow-y: auto;
  animation: orgDropIn 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes orgDropIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.org-suggestion-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px 6px;
  margin: 0;
}
.org-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.12s;
}
.org-suggestion-item:hover {
  background: #f9fafb;
}
.org-suggestion-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.org-suggestion-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.org-suggestion-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.org-suggestion-email {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.org-suggestion-add {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: #0a66c2;
  flex-shrink: 0;
}

.account-switcher-popup {
  position: absolute;
  left: calc(100% + 21px);
  bottom: -65px;
  width: 272px;
  background: #ffffff;
  border: 1px solid #c2c2c2;
  border-radius: 8px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.13),
    0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 3000;
  animation: switcherFadeIn 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
@keyframes switcherFadeIn {
  from {
    opacity: 0;
    transform: translateX(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
.switcher-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 13px 14px 6px;
  margin: 0;
}
.switcher-accounts-list {
  padding: 0 6px;
}
.switcher-account-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.13s;
}
.switcher-account-item:hover {
  background: #f9fafb;
}
.switcher-account-item.active {
  cursor: default;
}
.switcher-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}
.switcher-account-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.switcher-account-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.switcher-default-badge {
  font-size: 10px !important;
  font-weight: 600;
  color: #0a66c2;
  background: #eff6ff;
  padding: 1px 6px;
  border-radius: 4px;
  width: fit-content;
}
.switcher-divider {
  height: 1px;
  background: #f3f4f6;
  margin: 6px 0;
}
.switcher-actions {
  padding: 2px 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.switcher-action-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background 0.13s;
  width: 100%;
  text-align: left;
}
.switcher-action-btn:hover {
  background: #f9fafb;
}
.switcher-action-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  color: #374151;
  flex-shrink: 0;
  line-height: 1;
}
/* create profile end */

.profile-reconnect-btn {
  background-color: transparent;
  color: #000;
  border: 1px solid #cad5e2;
  border-radius: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.profile-reconnect-btn:hover {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

.profile-reconnect-btn i {
  line-height: 0;
  font-size: 11px;
}

.custom-select-font * {
  font-size: 14px !important;
}

/* Schedule post */
.sc-fill-btn {
  border: 1px solid #000000;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: #fff;
  display: flex;
  gap: 6px;
  align-items: center;
  background-color: #000000;
  transition: 0.3s ease-in-out;
}

.sc-fill-btn:hover {
  background-color: #3b3b3b;
}
/* Schedule post end */

.css-1lngmmo-control:hover {
  border: 1px solid #d1d5db !important;
}
.timezone-select__control:focus {
  outline: none !important;
  border: 1px solid #d1d5db !important;
}

/* Schedule post */
:root {
  --sc-brand: #1a6fc4;
  --sc-brand-light: #e8f1fb;
  --sc-brand-dark: #111;
  --sc-brand-shadow: rgba(26, 111, 196, 0.4);
  --sc-border: #e2e8f0;
  --sc-btn-border: #cad5e2;
  --sc-muted: #94a3b8;
  --sc-text: #374151;
  --sc-text-dark: #111;
  --sc-bg-soft: #f8fafc;
  --sc-today-bg: rgba(26, 111, 196, 0.025);
  --sc-hover-bg: #f1f5f9;
  --sc-radius-xs: 6px;
  --sc-radius-sm: 8px;
  --sc-radius-md: 10px;
  --sc-radius-lg: 14px;
  --sc-radius-xl: 16px;
  --sc-radius-pill: 20px;
}
@keyframes sc-popIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes sc-ddIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.fi {
  vertical-align: middle;
  line-height: 1;
}

.sc-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 0 var(--sc-radius-xs) var(--sc-radius-xs) 0;
  font-size: 11.5px;
  margin-bottom: 3px;
  cursor: grab;
  user-select: none;
  transition: opacity 0.15s;
  /* background: var(--sc-brand-light); */
  background: #ffffff;
  height: 100%;
  width: 100%;
  border: 1px solid var(--sc-border);
}
.sc-chip-add-btn {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sc-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  margin-left: 4px;
  margin-right: 4px;
  box-shadow: 0 2px 6px rgba(26, 111, 196, 0.4);
  transition:
    transform 0.12s,
    box-shadow 0.12s;
  padding: 0;
  line-height: 1;
  z-index: 20;
}
.sc-chip-add-btn:hover {
  transform: scale(1.18);
  box-shadow: 0 3px 10px rgba(26, 111, 196, 0.5);
}
.sc-chip-add-btn i {
  line-height: 0;
  font-size: 9px;
}

.sc-slot-wrapper {
  position: relative;
}
.sc-slot-add-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sc-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(26, 111, 196, 0.35);
  transition:
    transform 0.12s,
    box-shadow 0.12s;
  padding: 0;
  line-height: 1;
}
.sc-slot-add-btn:hover {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 10px rgba(26, 111, 196, 0.45);
}
.sc-slot-add-btn i {
  line-height: 0;
  font-size: 10px;
}

/* FIX 2: z-index 30 so + button floats above event rows AND +N more row */
.sc-month-cell-wrapper {
  position: relative;
  border-right: 1px solid var(--sc-border);
}

.rbc-row-bg .sc-month-cell-wrapper:last-of-type {
  border-right: none;
}

.sc-month-add-btn {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sc-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 6px rgba(26, 111, 196, 0.35);
  transition:
    transform 0.12s,
    box-shadow 0.12s,
    opacity 0.12s;
  padding: 0;
  line-height: 1;
}
.sc-month-add-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px rgba(26, 111, 196, 0.45);
}
.sc-month-add-btn i {
  line-height: 0;
  font-size: 10px;
}

.sc-app {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 60px);
  min-height: calc(100dvh - 60px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e3e8 transparent;
  background-color: #ffffff;
}
.sc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  min-height: 60px;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 12px;
}
.sc-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sc-body {
  flex: 1;
  overflow: hidden;
}
.sc-month-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--sc-text);
  min-width: 150px;
}
.sc-nav-group {
  display: flex;
  border-radius: var(--sc-radius-xs);
  overflow: hidden;
}
.sc-nav-btn {
  background: #fff;
  border: none;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  color: var(--sc-text-dark);
  display: flex;
  align-items: center;
  line-height: 1;
}
.sc-nav-btn:hover {
  background: var(--sc-hover-bg);
}
.sc-tz-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--sc-text-dark);
  background: #fff;
  border-radius: var(--sc-radius-xs);
  padding: 8px 12px;
}
.sc-tz-pill i {
  line-height: 0;
}
.sc-tz-label {
  font-weight: 500;
  color: var(--sc-text-dark);
}
.sc-tz-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: -27%;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-md);
  width: 260px;
  z-index: 300;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  animation: sc-ddIn 0.12s ease-out;
  overflow: hidden;
}
.sc-tz-search-wrap {
  position: relative;
  border-bottom: 1px solid var(--sc-border);
}
.sc-tz-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sc-muted);
  font-size: 13px;
  pointer-events: none;
}
.sc-tz-search {
  width: 100%;
  border: none;
  outline: none;
  padding: 10px 12px 10px 34px;
  font-size: 13px;
  color: var(--sc-text-dark);
  background: #fff;
}
.sc-tz-list {
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #e0e3e8 transparent;
  padding: 6px;
}
.sc-tz-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--sc-text);
  border-radius: var(--sc-radius-xs);
}
.sc-tz-option:hover {
  background: var(--sc-hover-bg);
}
.sc-tz-option.active {
  background: var(--sc-hover-bg);
  font-weight: 600;
}
.sc-tz-option-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sc-tz-option-offset {
  font-size: 11px;
  color: var(--sc-muted);
  flex-shrink: 0;
}
.sc-tz-check {
  font-size: 12px;
  flex-shrink: 0;
}
.sc-tz-empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--sc-muted);
}
.sc-dd-wrapper {
  position: relative;
}
.sc-dd-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-xs);
  min-width: 140px;
  z-index: 200;
  animation: sc-ddIn 0.12s ease-out;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sc-dd-item {
  padding: 6px 8px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--sc-text);
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--sc-radius-xs);
}
.sc-dd-item:hover,
.sc-dd-item.active {
  background: var(--sc-hover-bg);
}
.sc-dd-item i {
  line-height: 0;
}
.sc-outline-btn {
  border: 1px solid var(--sc-btn-border);
  border-radius: var(--sc-radius-xs);
  padding: 8px 12px;
  font-size: 14px;
  color: var(--sc-text-dark);
  display: flex;
  gap: 6px;
  align-items: center;
}

.sc-outline-btn i {
  line-height: 0;
}
.sc-fill-btn {
  border: 1px solid #000000;
  border-radius: var(--sc-radius-xs);
  padding: 8px 12px;
  font-size: 14px;
  color: #fff;
  display: flex;
  gap: 6px;
  align-items: center;
  background-color: #000000;
  transition: 0.3s ease-in-out;
}

.sc-fill-btn:hover {
  background-color: #3b3b3b;
}
.sc-fill-btn i {
  line-height: 0;
}

.rbc-calendar {
  height: calc(-130px + 100dvh) !important;
  font-family: inherit;
}
.rbc-toolbar {
  display: none;
}
.rbc-header {
  border-bottom: none !important;
  padding: 10px 4px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: var(--sc-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.rbc-today {
  background: var(--sc-today-bg) !important;
}
.rbc-time-view {
  border: none;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
}
.rbc-time-header {
  border-bottom: 1px solid var(--sc-border);
  border-right: 1px solid var(--sc-border);
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f4f5 !important;
}
.rbc-time-header-content {
  border-left: 1px solid var(--sc-border);
}
.rbc-time-content {
  border-top: none !important;
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #e0e3e8 transparent;
  overflow-y: unset !important;
  border-right: 1px solid var(--sc-border);
}
.rbc-time-gutter {
  padding: 0 10px !important;
}
.rbc-timeslot-group {
  border-bottom: 1px solid #f1f5f9 !important;
  min-height: 52px !important;
}
.rbc-time-slot {
  border-top: none;
}
.rbc-label {
  font-size: 10.5px;
  color: var(--sc-muted);
  padding: 0;
}
.rbc-day-slot .rbc-time-slot {
  border-top: 1px solid transparent !important;
}
.rbc-day-slot .rbc-events-container {
  margin-right: 0;
}
.rbc-event {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.rbc-event.rbc-selected {
  background: transparent !important;
}
.rbc-slot-selection {
  display: none !important;
}
.rbc-current-time-indicator {
  background-color: #ef4444 !important;
  height: 2px !important;
}
.rbc-current-time-indicator::before {
  content: "";
  position: absolute;
  left: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}
.rbc-month-view {
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
}
/* Limit to 2 visible events per day — RBC auto-triggers +N more for the rest.
           28px date header + 22px chip × 2 + 4px gap × 2 + 18px "+more" row ≈ 98px */
.rbc-month-row {
  min-height: 98px !important;
  overflow: hidden;
}
.rbc-day-bg {
  border-left: 1px solid var(--sc-border);
  background: #ffffff;
}
.rbc-off-range-bg {
  background: #fafafa;
}
.rbc-date-cell {
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sc-text);
}
.rbc-date-cell.rbc-now {
  color: var(--sc-brand);
}
.rbc-date-cell.rbc-now > a {
  background: var(--sc-brand);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 13px;
}
.rbc-show-more {
  color: var(--sc-brand);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.rbc-month-view .rbc-event {
  overflow: hidden !important;
}
.rbc-month-view .rbc-event-content {
  overflow: hidden;
}
.rbc-row-content {
  z-index: 4;
}

/* ── Drag & Drop ── */
.rbc-addons-dnd .rbc-addons-dnd-dragged-event {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* FIX 3: dashed border + tint on the preview wrapper; chip children are NOT hidden */
.rbc-addons-dnd-drag-preview {
  background: var(--sc-brand-light) !important;
  border: 2px dashed var(--sc-brand) !important;
  border-radius: var(--sc-radius-xs) !important;
  overflow: hidden !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
}
/* Keep non-dragged events slightly faded during a drag */
.rbc-addons-dnd.rbc-addons-dnd-is-dragging
  .rbc-event:not(.rbc-addons-dnd-dragged-event):not(
    .rbc-addons-dnd-drag-preview
  ) {
  opacity: 0.4 !important;
}
.rbc-addons-dnd-is-dragging,
.rbc-addons-dnd-is-dragging * {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Also block on the month row during drag */
.rbc-month-row {
  user-select: none;
  -webkit-user-select: none;
}
/* Week-view drag-over highlight */
.rbc-addons-dnd .rbc-addons-dnd-over {
  background-color: var(--sc-brand-light) !important;
  outline: 2px dashed var(--sc-brand) !important;
  outline-offset: -2px !important;
}
/* Month-view drag-row — keep chip content visible, no display:none */
.rbc-addons-dnd .rbc-addons-dnd-drag-row .rbc-event {
  opacity: 1 !important;
}

.rbc-event-label {
  display: none !important;
}
.rbc-allday-cell {
  display: none;
}
.rbc-time-header.rbc-overflowing {
  margin-right: 0px !important;
}

.sc-picker-schbar {
  padding: 10px 12px;
  background: var(--sc-bg-soft);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  flex-shrink: 0;
  margin-bottom: 10px;
}
.sc-picker-schbar-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}
.sc-picker-tabs {
  display: flex;
  border-bottom: 1px solid var(--sc-border);
  flex-shrink: 0;
}
.sc-picker-tab {
  padding: 13px 20px;
  border: none;
  background: none;
  font-size: 13.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sc-picker-tab i {
  line-height: 0;
}
.sc-picker-tab.active {
  color: var(--sc-text-dark);
  font-weight: 500;
  border-bottom: 3px solid var(--sc-text-dark);
}
.sc-picker-tab.inactive {
  color: #64748b;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}
.sc-picker-tab-badge {
  font-weight: 600;
  font-size: 10.5px;
}
.sc-picker-grid {
  padding: 16px 0;
  overflow-y: auto;
  flex: 1;
}
.sc-masonry {
  columns: 3 260px;
  column-gap: 16px;
}
.sc-picker-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  gap: 12px;
  color: var(--sc-muted);
}
.sc-picker-empty-icon {
  font-size: 36px;
  color: #22c55e;
  line-height: 1;
}
.sc-picker-empty-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--sc-text-dark);
}
.sc-picker-empty-sub {
  font-size: 13px;
  text-align: center;
  max-width: 280px;
}

.sc-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-resched-modal {
  width: 480px;
  height: fit-content;
  border-radius: var(--sc-radius-sm);
}

.sc-resched-modal .form-control {
  font-size: 14px !important;
}
.sc-resched-post-info {
  padding: 10px 12px;
  background: var(--sc-bg-soft);
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  margin-bottom: 16px;
}
.sc-resched-post-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--sc-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.sc-resched-post-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--sc-text-dark);
  margin: 4px 0;
}
.sc-resched-post-current {
  font-size: 12.5px;
  color: var(--sc-muted);
  margin-top: 4px;
}

.sc-day-posts-modal {
  background: #fff;
  border-radius: var(--sc-radius-lg);
  padding: 20px;
  width: 480px;
  max-width: 95dvw;
  max-height: 70dvh;
  display: flex;
  flex-direction: column;
  animation: sc-popIn 0.15s ease-out;
}

.sc-preview {
  position: fixed;
  width: 320px;
  height: fit-content !important;
  background: #fff;
  border-radius: var(--sc-radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  z-index: 500;
  overflow: hidden;
  animation: sc-popIn 0.15s ease-out;
}
.sc-preview-hdr {
  padding: 14px 16px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: var(--sc-radius-sm);
}
.sc-preview-ts {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 2px;
}
.sc-preview-cat {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.sc-preview-cat i {
  line-height: 0;
}
.sc-preview-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
}
.sc-preview-body {
  padding: 14px 6px;
}
.sc-preview-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sc-preview-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.sc-preview-aname {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sc-text-dark);
}
.sc-preview-asub {
  font-size: 11px;
  color: var(--sc-muted);
}
.sc-preview-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sc-text-dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.sc-preview-text {
  font-size: 12.5px;
  color: var(--sc-text);
  line-height: 1.6;
}
.sc-preview-more {
  font-size: 12px;
  color: var(--sc-brand);
  font-weight: 600;
  margin-top: 4px;
  cursor: pointer;
}
.sc-preview-footer {
  display: flex;
  gap: 8px;
  padding: 10px 0px 14px;
  border-top: 1px solid var(--sc-border);
}
.sc-outline-btn-small {
  font-size: 12px;
  padding: 4px 8px;
  gap: 4px;
  border: 1px solid var(--sc-btn-border);
  border-radius: var(--sc-radius-xs);
  color: var(--sc-text-dark);
  display: flex;
  align-items: center;
}

.sc-outline-btn-small:hover {
  background: var(--sc-hover-bg);
}
.sc-outline-btn-small i {
  line-height: 0;
}

.sc-card {
  background: #fff;
  border: 1.5px solid var(--sc-border);
  border-radius: var(--sc-radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.sc-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.sc-card-badge {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--sc-radius-xs);
  border: 1px solid var(--sc-border);
}
.sc-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  margin-top: 4px;
}
.sc-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.sc-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--sc-text-dark);
}
.sc-card-sub {
  font-size: 11px;
  color: var(--sc-muted);
}
.sc-card-title {
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 8px;
}
.sc-card-body {
  font-size: 14px;
  line-height: 1.55;
}
.sc-card-cta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e2e2;
  color: #323232;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.sc-chip-avatar {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sc-chip-label {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 90%;
  color: var(--sc-text-dark);
}

.sc-picker-schbar .input-field,
.sc-modal-body .input-field {
  background-color: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  font-size: 14px;
}

/* .rbc-time-header-gutter {
  position: relative;
}

.rbc-time-header-gutter::before {
  content: "GMT+5:30";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10.5px !important;
  font-weight: 600 !important;
  color: var(--sc-text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
} */

/* Schedule post end */
.rbc-events-container *:focus {
  border: none !important;
  outline: none !important;
  border-color: unset !important;
}

.rbc-row-bg {
  background: #fff;
  border-bottom: 1px solid var(--sc-border);
}

.rbc-month-row {
  border-top: 0px !important;
}

.rbc-month-header {
  border-bottom: 1px solid var(--sc-border);
  background: #f4f4f5 !important;
}

.rbc-month-row .rbc-row-bg:last-of-type {
  border-bottom: none;
}
/* Add inside style block */

.sc-preview-menu {
  position: absolute;
  top: 32px;
  right: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--sc-radius-xs);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 6px;
  z-index: 1000;
}

.sc-preview-menu button {
  width: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 8px;
  color: #111827;
}

.sc-preview-menu button:hover {
  background: #f8fafc;
}
/* Schedule post end */

/* new 2104 */
.sc-past-slot {
  background: #f8fafc !important;
  cursor: not-allowed !important;
}

/* Red border when dragging OVER a past slot */
.rbc-timeslot-group:has(.sc-past-slot).rbc-addons-dnd-over,
.rbc-day-slot .rbc-addons-dnd-over:has(.sc-past-slot) {
  background: rgba(239, 68, 68, 0.08) !important;
  outline: 2px dashed #ef4444 !important;
  outline-offset: -2px;
  cursor: not-allowed !important;
}

.sc-past-slot-wrapper .rbc-addons-dnd-over {
  background: rgba(239, 68, 68, 0.08) !important;
}
/* Past days in month view */
.sc-past-day {
  background: #f8fafc !important;
}
.sc-past-day .rbc-date-cell a,
.sc-past-day .rbc-date-cell span {
  color: #cbd5e1 !important;
}
.sc-past-day-cell {
  cursor: not-allowed;
}
.sc-past-day-cell.rbc-addons-dnd-over,
.sc-past-day-cell.rbc-addons-dnd-drag-over {
  background: rgba(239, 68, 68, 0.06) !important;
  outline: 2px dashed #ef4444 !important;
  outline-offset: -2px;
}

/* ── Drag preview opacity ──────────────────────────── */
.rbc-addons-dnd-drag-preview .sc-chip {
  opacity: 0.85;
  border-style: dashed !important;
}

/* Spinner keyframe */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ── DropConfirmModal ──────────────────────────────────────────── */

.sc-drop-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-drop-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.sc-drop-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #64748b;
  line-height: 1;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-drop-close-btn:hover {
  color: #111;
}
.sc-drop-close-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.sc-drop-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Post info */
.sc-drop-post-info {
  margin-bottom: 14px;
}
.sc-drop-post-label {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
}
.sc-drop-post-title {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
}

/* Timeline */
.sc-drop-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.sc-drop-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 10px 12px;
}

.sc-drop-slot-from {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.sc-drop-slot-to {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.sc-drop-slot-icon {
  font-size: 14px;
  flex-shrink: 0;
}
.sc-drop-slot-icon-from {
  color: #ef4444;
}
.sc-drop-slot-icon-to {
  color: #22c55e;
}

.sc-drop-slot-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sc-drop-slot-heading {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sc-drop-slot-heading-from {
  color: #ef4444;
}
.sc-drop-slot-heading-to {
  color: #16a34a;
}

.sc-drop-slot-time {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

/* Arrow divider */
.sc-drop-arrow {
  display: flex;
  justify-content: center;
  color: #94a3b8;
  font-size: 12px;
}

/* Footer buttons */
.sc-drop-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sc-drop-btn-cancel {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background 0.15s;
}
.sc-drop-btn-cancel:hover:not(:disabled) {
  background: #f8fafc;
}
.sc-drop-btn-cancel:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sc-drop-btn-confirm {
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  background: #1a6fc4;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s;
}
.sc-drop-btn-confirm:hover:not(:disabled) {
  background: #155fa0;
}
.sc-drop-btn-confirm:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner */
@keyframes sc-drop-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.sc-drop-spin {
  display: inline-block;
  animation: sc-drop-spin 1s linear infinite;
}

/* Show red outline on past slots during any drag operation */
.sc-past-slot-dragging,
.sc-past-day-cell.rbc-addons-dnd-over {
  background: rgba(255, 80, 68, 0.06) !important;
  cursor: not-allowed !important;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.sc-chip-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 6px;
  flex-shrink: 0;
  font-size: 12px;
}

.sc-chip-status-icon.published {
  background-color: #d1fae5;
  color: #047857;
}

.sc-chip-status-icon.published i {
  font-size: 12px;
  font-weight: bold;
}

.sc-chip-status-icon.failed {
  background-color: #fee2e2;
  color: #dc2626;
}

.sc-chip-status-icon.failed i {
  font-size: 12px;
  font-weight: bold;
}

.sc-chip-status-icon.error {
  background-color: #fef3c7;
  color: #d97706;
}

.sc-chip-status-icon.error i {
  font-size: 12px;
  font-weight: bold;
}

.session-expired-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.session-expired-modal {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.session-expired-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.session-expired-icon i {
  font-size: 2rem;
  color: #ff9215;
  line-height: 0;
  margin-top: 10px;
}

.session-expired-title {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.session-expired-message {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.session-expired-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
  border: none;
}

.session-expired-footer {
  display: flex;
  gap: 12px;
}

.sc-chip-status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 6px;
  flex-shrink: 0;
  font-size: 12px;
}

.sc-chip-status-icon.published {
  color: #047857;
}

.sc-chip-status-icon.published i {
  font-size: 14px;
  font-weight: bold;
}

.sc-chip-status-icon.failed {
  color: #dc2626;
}

.sc-chip-status-icon.failed i {
  font-size: 14px;
  font-weight: bold;
}

.sc-chip-status-icon.error {
  color: #d97706;
}

.sc-chip-status-icon.error i {
  font-size: 14px;
  font-weight: bold;
}

/* Session Expired Modal Styles */
.session-expired-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.session-expired-modal {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.session-expired-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.session-expired-icon i {
  font-size: 2rem;
  color: #ff9215;
  line-height: 0;
  margin-top: 10px;
}

.session-expired-title {
  margin: 0 0 4px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.session-expired-message {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.session-expired-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 16px 0;
  border: none;
}

.session-expired-footer {
  display: flex;
  gap: 12px;
}

.rbc-event-non-draggable {
  pointer-events: auto !important;
}
.rbc-event-non-draggable .rbc-addons-dnd-resize-ns-anchor,
.rbc-event-non-draggable .rbc-addons-dnd-resize-ew-anchor {
  display: none !important;
}
