.ck .ck-powered-by {
  display: none !important;
}

.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar {
  top: 500px;
}

/* CKEditor container */
.ck-balloon-panel,
.ck-dropdown__panel {
  z-index: 1060 !important;
  /* Higher than Bootstrap modal */
}

.react-kanban-board {
  height: 100vh !important;
  overflow: auto !important;
  scrollbar-width: none;
}
.react-kanban-board::-webkit-scrollbar {
  display: none !important;
}

.react-kanban-column {
  width: 300px !important;
  margin-right: 15px !important;
  padding: 15px !important;
  border-radius: 2px !important;
  background-color: #f6f9fc;
  border-radius: 10px !important;
  /* position: relative !important;
  max-height: 100vh !important;
  overflow-y: auto !important; */
}

/* Hide native scrollbar on kanban scroll area */
.kanban-scroll-area::-webkit-scrollbar {
  height: 0;
  display: none;
}
.kanban-scroll-area {
  scrollbar-width: none;
}

/* Floating sticky scrollbar */
.kanban-floating-scrollbar {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 8px 16px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.kanban-scrollbar-track {
  width: 100%;
  height: 8px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  cursor: pointer;
  pointer-events: all;
  transition:
    height 0.15s ease,
    background 0.15s ease;
}
.kanban-scrollbar-track:hover {
  height: 10px;
  background: rgba(0, 0, 0, 0.1);
}

.kanban-scrollbar-thumb {
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  cursor: grab;
  transition: background 0.15s ease;
}
.kanban-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}
.kanban-scrollbar-thumb:active {
  cursor: grabbing;
  background: rgba(0, 0, 0, 0.5);
}

/* Scroll hint tooltip */
@keyframes kanban-hint-fade {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  85% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.kanban-scroll-hint {
  pointer-events: none;
  animation: kanban-hint-fade 4s ease forwards;
}
.kanban-scroll-hint span {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 6px;
  white-space: nowrap;
}

[data-testid^="card-"] > div {
  /* Your CSS rules here */
  display: flex !important;
}

/* .react-kanban-card {
  display: flex !important;
} */

/* .react-kanban-column-header {
  width: 280x !important;
} */

.max-height-dashboard-section {
  height: 600px !important;
  max-height: 600px !important;
}

.min-height-tanstack-table {
  min-height: 400px !important;
}

.custom-gradient {
  background: linear-gradient(135deg, #203058, #172541, #0a1428);
  height: 100vh;
  width: 100%;
}

.height-350px {
  height: 350px !important;
}

/* Width Table */
/* By Percent */
.width-10-percent {
  max-width: 10%;
  min-width: 10%;
}

.width-20-percent {
  max-width: 20%;
  min-width: 20%;
}

.width-30-percent {
  max-width: 30%;
  min-width: 30%;
}

.width-40-percent {
  max-width: 40%;
  min-width: 40%;
}

.width-40-percent {
  max-width: 40%;
  min-width: 40%;
}

.width-50-percent {
  max-width: 50%;
  min-width: 50%;
}

.width-60-percent {
  max-width: 60%;
  min-width: 60%;
}

.width-70-percent {
  max-width: 70%;
  min-width: 70%;
}

.width-80-percent {
  max-width: 80%;
  min-width: 80%;
}

.width-90-percent {
  max-width: 90%;
  min-width: 90%;
}

.width-100-percent {
  max-width: 100%;
  min-width: 100%;
}

/* By Pixel */
.width-50px {
  max-width: 50px;
  min-width: 50px;
}

.width-75px {
  max-width: 75px;
  min-width: 75px;
}

.width-100px {
  max-width: 100px;
  min-width: 100px;
}

.width-125px {
  max-width: 125px;
  min-width: 125px;
}

.width-150px {
  max-width: 150px;
  min-width: 150px;
}

.width-175px {
  max-width: 175px;
  min-width: 175px;
}

.width-200px {
  max-width: 200px;
  min-width: 200px;
}

.width-225px {
  max-width: 225px;
  min-width: 225px;
}

.width-250px {
  max-width: 250px;
  min-width: 250px;
}

.width-275px {
  max-width: 275px;
  min-width: 275px;
}

.width-300px {
  max-width: 300px;
  min-width: 300px;
}

.width-325px {
  max-width: 325px;
  min-width: 325px;
}

.width-350px {
  max-width: 350px;
  min-width: 350px;
}

.width-375px {
  max-width: 375px;
  min-width: 375px;
}

.width-400px {
  max-width: 400px;
  min-width: 400px;
}

.width-425px {
  max-width: 425px;
  min-width: 425px;
}

.width-450px {
  max-width: 450px;
  min-width: 450px;
}

.width-475px {
  max-width: 475px;
  min-width: 475px;
}

.width-500px {
  max-width: 500px;
  min-width: 500px;
}

.width-600px {
  max-width: 600px;
  min-width: 600px;
}

.width-700px {
  max-width: 700px;
  min-width: 700px;
}

.width-800px {
  max-width: 800px;
  min-width: 800px;
}

.width-900px {
  max-width: 900px;
  min-width: 900px;
}

.width-1000px {
  max-width: 1000px;
  min-width: 1000px;
}

.sticky-col {
  position: -webkit-sticky;
  /* For Safari */
  position: sticky;
  left: 0;
  background-color: white;
  /* Ensures the sticky columns have a background */
  z-index: 1;
  /* Ensure it sits above other columns */
}

/* ===== Auth Full-Background + Floating Card ===== */
@keyframes auth-bg-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.auth-fullbg-layout {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: linear-gradient(90deg, #c8bfb3 25%, #d5cdc2 37%, #c8bfb3 63%);
  background-size: 200% 100%;
  animation: auth-bg-shimmer 1.8s ease-in-out infinite;
}

/* Background image — full, no crop */
.auth-bg-image {
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.05);
  z-index: 0;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05) saturate(1.1);
  image-rendering: optimizeQuality;
}

/* Floating form card — kanan */
.auth-floating-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  margin-right: 5%;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 4px 8px rgba(0, 0, 0, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.08),
    0 24px 48px rgba(0, 0, 0, 0.12);
}

/* Responsive: tablet */
@media (max-width: 1199.98px) {
  .auth-floating-card {
    max-width: 400px;
    margin-right: 3%;
  }
}

/* Responsive: mobile */
@media (max-width: 767.98px) {
  .auth-fullbg-layout {
    justify-content: center;
  }
  .auth-floating-card {
    margin-right: 0;
    margin: 1rem;
    max-width: 100%;
    border-radius: 16px;
  }
}
