@import "shadcn.css";
@tailwind base;
@tailwind components;
@tailwind utilities;



@layer components {
 .scrollbar-thin{
  scrollbar-width: thin;
 }
 input:focus{
  @apply !outline-none !ring-0 !ring-blue-500;
 }
   /* Add your Header & Sidebar Css here */

.mini {
  @apply hidden md:flex bg-white/80 backdrop-blur-lg;
}

.mini .mini-heading{
  @apply text-center;
}
.mini .accordion-menu-fix .st-accordion .chevron-svg{
  @apply absolute right-[5px] ;
}
.mini .accordion-menu-fix .st-accordion a{
  @apply !justify-center;
}

.menu-text{
  @apply text-sm ;
}
.mini .menu-text{
  @apply text-xs max-w-[65px] text-center ;
}
#main-wrapper{
  @apply transition-all duration-300 md:ml-[250px];
}
.mini {
  @apply transition-all duration-300;
}
#sideBar nav{
  @apply overflow-y-auto pb-12 w-full ;
  height: calc(100vh - 66px);
  scrollbar-width: thin;
}
#sideBar nav svg {
  @apply w-6 h-6 ;
}
#sideBar.mini svg{
  @apply w-5 h-5 opacity-70;
}

.breadcrumbs a {
  @apply text-blue-500;
}

.mini .menu .menu-div{
  @apply flex-col items-center gap-2;
}
.expanded .menu .menu-div{
  @apply flex-row items-center gap-2;
}
.mini:hover {
  @apply w-[240px] ;
}
.mini:hover .menu-text{
  @apply max-w-full ;
}
.mini:hover .mini-heading{
  @apply text-left ;
}
.expanded {
  @apply w-[240px]  bg-white/80 backdrop-blur-lg;
}
.mini:hover .menu-div{
   @apply !flex-row !items-center gap-2 !w-full;
}
.menu-text{
@apply text-xs capitalize;
}
.active{
  @apply !text-brand;
}
.mini .sub-menu {
  @apply hidden;
}
.mini:hover .sub-menu {
  @apply block;
}

#sideBar.mini:hover .reports-submenu:not(.hidden),
#sideBar.expanded .reports-submenu:not(.hidden) {
  @apply block;
}

.reports-chevron {
  @apply hidden;
}

#sideBar.expanded .menu-div .reports-chevron,
#sideBar.mini:hover .menu-div .reports-chevron {
  @apply inline-block absolute right-2 top-1/2 -translate-y-1/2;
}

#sideBar.expanded .reports-submenu .menu-div,
#sideBar.mini:hover .reports-submenu .menu-div {
  @apply !flex-row !items-center !justify-start !pl-2;
}

#sideBar.expanded .reports-submenu .menu-text,
#sideBar.mini:hover .reports-submenu .menu-text {
  @apply max-w-none text-left;
}

/* 



.mini:hover .menu :where(li>.menu-dropdown-toggle):after, .mini:hover  .menu :where(li>details>summary):after {
  @apply block;
  }

  .menu :where(li:not(.menu-title)>details>summary:not(.menu-title)) {
    @apply pl-2
  } */
  /* .active svg,  .active span{
    @apply text-blue-500;
  }
  .active .sub-menu.active{
    @apply text-blue-500 bg-blue-100;
  }
  .menu li>:not(ul,.menu-title,details,.btn).active, .menu li>:not(ul,.menu-title,details,.btn):active, .menu li>details>summary:active {
    @apply text-blue-500 bg-blue-100;
  } */
  table thead th  {
    @apply whitespace-nowrap font-semibold text-gray-700;
  }
  table td {
    @apply text-gray-700;
  }
  table thead tr  {
    @apply border-none ;
  }
  /* table th:first-child, table td:first-child {
    @apply rounded-s-lg;
  }
  table th:last-child, table td:last-child {
    @apply rounded-e-lg;
  } */
  table tbody tr:hover{
    @apply shadow-lg shadow-indigo-500/20 bg-white;
  }
  .table-responsive {
    @apply overflow-x-auto;
    scrollbar-width: thin;
  }
  .nested-tableheader th{
    @apply rounded-none border border-gray-300 border-b-0 text-xs p-2 text-center h-auto;
  }
  table .nested-tableheader  th:first-child, table .nested-tableheader  th:last-child {
    @apply rounded-none;
  }
  table  .nested-tablemain th{
    @apply  border-r border-gray-300  ;
  }
  table  .nested-tablemain th:last-child {
    @apply  border-r-0;
  }

/* -- Accordion `-- */

.search-height-fix{
  @apply rounded-lg  border-gray-100 overflow-y-scroll ;
  height: calc(100vh - 200px);
  scrollbar-width: thin;

}
.project-height-fix{
  @apply rounded-lg  border-gray-100 overflow-y-auto items-start ;
  max-height: calc(100vh - 150px);
  scrollbar-width: thin;
}
.modal-height{
  @apply overflow-y-auto h-full;
   height: calc(100vh - 144px);
    scrollbar-width: thin;
}
.scroll-ct-thin{
   scrollbar-width: thin;
}

/* .active {
  @apply bg-blue-500 !text-white; 
} */
@keyframes slide-in-from-right {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slide-out-to-right {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes slide-in-from-left {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slide-out-to-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.slide-in-from-right {
  animation: slide-in-from-right 0.5s ease-in-out;
}

.slide-out-to-right {
  animation: slide-out-to-right 0.5s ease-in-out;
}

.slide-in-from-left {
  animation: slide-in-from-left 0.5s ease-in-out;
}


@keyframes toastIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Dynamic Classes */

.flat-available {
  @apply bg-gradient-to-r from-emerald-100 via-emerald-100 to-emerald-100 ;
}
.flat-available  .unitplan{
  @apply rounded-lg bg-emerald-500 text-white p-1.5;
}
.flat-available .bg-action{
   @apply bg-emerald-500 text-white text-[11px] text-center ;
}
.flat-booked {
  @apply bg-gradient-to-r from-rose-100 via-rose-100 to-rose-100 ;
}
.flat-booked  .unitplan{
  @apply rounded-lg p-1.5 bg-rose-500 text-white;
}
.flat-booked .bg-action{
   @apply bg-rose-500 text-white text-[11px] text-center ;
}
.flat-blocked {
  @apply bg-gradient-to-r from-gray-400 via-gray-400 to-gray-400  ;
}
.flat-blocked  .unitplan{
  @apply rounded-lg p-1.5 bg-gray-500 text-white;
}
.flat-blocked .bg-action{
   @apply bg-gray-500 text-white text-[11px] text-center ;
}

.flat-refugee {
  @apply bg-gradient-to-r from-gray-100 via-gray-100 to-gray-100 ;
}
.flat-refugee  .unitplan{
  @apply rounded-lg p-1.5 bg-gray-500 text-white;
}
.flat-refugee .bg-action{
   @apply bg-gray-500 text-white text-[11px] text-center ;
}
.flat-investor {
  @apply bg-gradient-to-r from-sky-100 via-sky-100 to-sky-100 ;
}
.flat-investor  .unitplan{
  @apply rounded-lg p-1.5 bg-sky-500 text-white;
}
.flat-investor .bg-action{
   @apply bg-sky-500 text-white text-[11px] text-center ;
}
/* parking class */
.parking-available {
  @apply  text-emerald-500;
}
.parking-available .icon-car-status{
  @apply  !text-emerald-500;
}

.parking-available .btn-status{
  @apply  bg-emerald-500 text-white;
}
.parking-available  .details{
  @apply  bg-emerald-50 text-black ;
}
.parking-booked {
  @apply text-rose-500 ;
}

.parking-booked .icon-car-status{
  @apply  !text-rose-500;
}
.parking-booked .btn-status{
  @apply  bg-rose-500 text-white;
}
.parking-booked  .details{
  @apply bg-rose-50 text-black;
}

}
.show-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-header-card {
  padding: 25px;
}

.company-basic-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.company-logo-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #1A2530 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
}

.company-details h2 {
  margin: 0 0 10px 0;
  color: var(--primary);
  font-size: 24px;
}

.company-domain, .company-code {
  margin: 5px 0;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-badge {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
}

.detail-card {
  display: flex;
  flex-direction: column;
}

.card-header {
  padding: 15px 20px;
  border-bottom: 1px solid var(--gray-200);
  background-color: var(--gray-100);
}

.card-header h3 {
  margin: 0;
  font-size: 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.detail-label {
  font-weight: 500;
  color: var(--gray-700);
}

.detail-value {
  color: var(--gray-800);
  font-weight: 600;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: var(--gray-100);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.no-data {
  color: var(--gray-500);
  font-style: italic;
  margin: 0;
}

.timestamp-card {
  margin-top: 10px;
}

.timestamp-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.timestamp-label {
  font-weight: 500;
  color: var(--gray-700);
}

.timestamp-value {
  color: var(--gray-600);
}

.action-buttons {
  display: flex;
  gap: 10px;
}

@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .company-basic-info {
    flex-direction: column;
    text-align: center;
  }
  
  .status-badge {
    justify-content: center;
  }
  
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .action-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .action-buttons .btn {
    width: 100%;
  }
}
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

* {
  transition-property: color, background-color, border-color, opacity;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

[data-bank-show-target="detailsCard"]:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

[data-bank-show-target="timestampsCard"]:hover {
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2);
}

[data-controller="bank-show"] button,
[data-controller="bank-show"] a {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-action*="highlightField"] {
  cursor: pointer;
  border-radius: 8px;
  padding: 12px;
  margin: -12px;
}

[data-action*="highlightField"]:hover {
  background-color: rgba(59, 130, 246, 0.05);
  transform: translateX(4px);
}

[data-bank-show-target="deleteModal"] {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

[data-bank-show-target="toast"] {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-gradient-to-br {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 50;
}
[data-bank-show-target="timestampsCard"] .w-2.h-2 {
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

[data-bank-show-target] .space-y-3 button:hover,
[data-bank-show-target] .space-y-3 a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

[data-controller="bank-show"] button:focus,
[data-controller="bank-show"] a:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
}

@media (max-width: 768px) {
  [data-controller="bank-show"] .grid-cols-1 {
    gap: 1rem;
  }
  
  [data-controller="bank-show"] .text-4xl {
    font-size: 2rem;
  }
  
  [data-bank-show-target="deleteModalContent"] {
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }
}

@media (prefers-color-scheme: dark) {
  [data-controller="bank-show"] .bg-white {
    background-color: #1f2937;
    color: #f9fafb;
  }
  
  [data-controller="bank-show"] .text-gray-900 {
    color: #f9fafb;
  }
  
  [data-controller="bank-show"] .text-gray-600 {
    color: #d1d5db;
  }
}

@media print {
  [data-bank-show-target="deleteModal"],
  button,
  [href*="edit"] {
    display: none !important;
  }
  
  [data-controller="bank-show"] {
    box-shadow: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

[data-bank-show-target="deleteModalContent"] {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.5) transparent;
}

[data-bank-show-target="deleteModalContent"]::-webkit-scrollbar {
  width: 6px;
}

[data-bank-show-target="deleteModalContent"]::-webkit-scrollbar-track {
  background: transparent;
}

[data-bank-show-target="deleteModalContent"]::-webkit-scrollbar-thumb {
  background-color: rgba(156, 163, 175, 0.5);
  border-radius: 3px;
}

[data-dropdown-target="menu"] {
  transition: all 0.2s ease-out;
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
}

[data-dropdown-target="menu"]:not(.hidden) {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.dropdown-item {
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  transform: translateX(4px);
}
.modal-height-fixed {
  height: calc(100vh - 300px); overflow-y: scroll; scrollbar-width: thin;
}

.animate-slideIn {
  animation: slideIn 0.5s ease-out;
}

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

@keyframes countUp {
  from {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.count-animate {
  animation: countUp 0.3s ease-out;
}


[data-status-form-target="errorContainer"]:not(.hidden) {
  display: block !important;
  animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  80%, 100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

.animate-fade-in {
  animation: fade-in 0.3s ease-out forwards;
}

.animate-slide-in {
  animation: slide-in-right 0.3s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.form-field-transition {
  transition: all 0.2s ease-in-out;
}

.form-field-transition:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.step-indicator {
  transition: all 0.3s ease-in-out;
}

.step-indicator.active {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.step-indicator.completed {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: transparent;
}

.progress-bar-fill {
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 50%, #4f46e5 100%);
  background-size: 200% 100%;
  animation: progress-shimmer 2s infinite linear;
}

@keyframes progress-shimmer {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.field-error {
  border-color: #ef4444;
  background-color: transparent;
  animation: shake 0.5s ease-in-out;
  position: absolute;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.modal-enter {
  animation: modal-enter 0.3s ease-out forwards;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

/* ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}


.sr-only-focusable:focus {
  position: absolute;
  width: auto;
  height: auto;
  padding: 0.5rem;
  margin: 0.5rem;
  overflow: auto;
  clip: auto;
  white-space: normal;
  background: white;
  border: 2px solid #4f46e5;
  border-radius: 4px;
  z-index: 9999;
} */

/*=================== BOOKING FORM CSS =======================*/

/* ══════════════════════════════════════════
   BOOKING SHOW PAGE — Modern UI
══════════════════════════════════════════ */

@layer components {
  .bs-page {
    @apply min-h-screen bg-gradient-to-br from-emerald-50 via-teal-50 to-lime-50;
  }

  .bs-container {
    @apply relative mx-auto max-w-7xl px-4 py-8;
  }

  .bs-glass {
    @apply backdrop-blur-lg bg-white/60 border border-white/70 shadow-xl;
  }

  .bs-header {
    @apply bs-glass rounded-3xl p-6 md:p-8 animate-slide-down;
  }

  .bs-kpi-grid {
    @apply grid grid-cols-2 md:grid-cols-4 gap-4 mt-6 pt-6 border-t border-white/60;
  }

  .bs-kpi {
    @apply rounded-2xl bg-white/70 border border-white/70 p-4 shadow-sm hover:shadow-md transition-transform duration-300 hover:-translate-y-0.5;
  }

  .bs-kpi-label {
    @apply text-xs font-semibold text-emerald-700/80 tracking-wide uppercase;
  }

  .bs-kpi-value {
    @apply mt-1 text-lg font-bold text-gray-900;
  }

  .bs-layout {
    @apply mt-8 grid grid-cols-1 lg:grid-cols-[280px_minmax(0,1fr)_260px] gap-6 items-start;
  }

  .bs-sidebar {
    @apply bs-glass rounded-3xl p-4 sticky top-6;
  }

  .bs-sidebar-title {
    @apply text-sm font-bold text-emerald-900 tracking-wide;
  }

  .bs-nav {
    @apply mt-3 space-y-1;
  }

  .bs-tab {
    @apply w-full text-left text-sm rounded-xl px-3 py-2 flex items-center gap-2 text-gray-700 hover:bg-emerald-100/60 transition-all;
  }

  .bs-tab.active {
    @apply bg-emerald-200/60 text-emerald-900 shadow-sm;
  }

  .bs-tab-dot {
    @apply w-2 h-2 rounded-full bg-emerald-400 shrink-0;
  }

  .bs-rail {
    @apply space-y-6;
  }

  .bs-card {
    @apply bs-glass rounded-3xl overflow-hidden;
  }

  .bs-card--editing {
    @apply ring-2 ring-emerald-300 shadow-2xl;
  }

  .bs-card-header {
    @apply flex items-center justify-between gap-3 px-5 py-4 border-b border-white/60;
  }

  .bs-card-title {
    @apply text-base font-bold text-emerald-950 flex items-center gap-2;
  }

  .bs-chip {
    @apply inline-flex items-center gap-2 px-3 py-1 rounded-full bg-emerald-600 text-white text-xs font-semibold shadow;
  }

  .bs-card-body {
    @apply px-5 py-5;
  }

  .bs-details {
    @apply space-y-3;
  }

  .bs-detail {
    @apply flex items-start gap-3 rounded-2xl bg-white/70 border border-white/70 p-3 hover:shadow-sm transition-all;
  }

  .bs-detail-label {
    @apply text-xs font-semibold text-gray-500;
  }

  .bs-detail-value {
    @apply text-sm font-semibold text-gray-900;
  }

  .bs-actions {
    @apply flex items-center gap-2;
  }

  .bs-btn {
    @apply inline-flex items-center justify-center gap-2 rounded-2xl px-4 py-2 text-sm font-semibold transition-all active:scale-[0.98];
  }

  .bs-btn-primary {
    @apply bs-btn bg-gradient-to-r from-emerald-600 to-teal-600 text-white shadow hover:shadow-lg;
  }

  .bs-btn-ghost {
    @apply bs-btn bg-white/70 border border-white/70 text-gray-800 hover:bg-white;
  }

  .bs-btn-icon {
    @apply inline-flex items-center justify-center w-10 h-10 rounded-2xl bg-white/70 border border-white/70 text-emerald-800 hover:bg-white shadow-sm transition-all;
  }

  .bs-form-grid {
    @apply grid grid-cols-1 md:grid-cols-2 gap-4;
  }

  .bs-field label {
    @apply block text-xs font-semibold text-gray-600 mb-1;
  }

  .bs-input {
    @apply w-full rounded-2xl border border-emerald-100 bg-white/90 px-4 py-2 text-sm text-gray-900 shadow-sm focus:outline-none focus:ring-2 focus:ring-emerald-200;
  }

  .bs-footer-actions {
    @apply flex justify-end gap-2 mt-5;
  }

  .bs-toast {
    @apply fixed left-1/2 -translate-x-1/2 bottom-6 z-[60] rounded-2xl px-4 py-3 text-sm font-semibold shadow-xl border backdrop-blur-md opacity-0 translate-y-2 transition-all;
    background: rgba(255, 255, 255, 0.75);
  }

  .bs-toast--visible {
    @apply opacity-100 translate-y-0;
  }

  .bs-toast--success {
    @apply border-emerald-200 text-emerald-900;
  }

  .bs-toast--error {
    @apply border-rose-200 text-rose-900;
  }
}
/*======================================================================*/
@keyframes bs-blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.06); }
  66% { transform: translate(-20px, 20px) scale(0.98); }
  100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob { animation: bs-blob 9s ease-in-out infinite; }
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

@keyframes bs-slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-slide-down { animation: bs-slide-down 450ms ease-out both; }

.animate-pulse-highlight {
  animation: pulse-highlight 1.5s ease-out;
}
.export-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.export-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);*/
  transition: left 0.6s ease;
}

.export-btn:hover::before {
  left: 100%;
}

.export-btn.export-preparing {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  cursor: not-allowed;
  transform: scale(0.98);
  color: white;
}

.export-btn.export-success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  transform: scale(1.02);
}

.export-btn.export-hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.export-btn [data-enhanced-export-target="progress"] {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #1d4ed8);
  background-size: 200% 100%;
  animation: progressShimmer 2s infinite;
}

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

.export-btn [data-enhanced-export-target="icon"] {
  transition: all 0.3s ease;
}

.export-btn.export-preparing [data-enhanced-export-target="icon"] {
  animation: spin 1s linear infinite;
}

.export-btn.export-success [data-enhanced-export-target="icon"] {
  animation: successBounce 0.6s ease-out;
}

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

@keyframes successBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

.export-toast {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.export-toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  animation: toastShimmer 2s ease-in-out infinite;
}

@keyframes toastShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.export-dropdown-wrapper {
  z-index: 50;
}

.export-dropdown-menu {
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.export-option {
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
}

.export-option:hover {
  border-left-color: currentColor;
  padding-left: 1.25rem;
}

.export-btn:focus {
  outline: none;
  ring: 2px solid #3b82f6;
  ring-offset: 2px;
}

.export-btn:focus-visible {
  ring: 2px solid #3b82f6;
  ring-offset: 2px;
}

.export-btn.export-preparing::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.export-btn.export-preparing {
  animation: processingPulse 2s ease-in-out infinite;
}

@keyframes processingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(251, 191, 36, 0); }
}

.export-btn.export-success::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: successRipple 0.6s ease-out;
}

@keyframes successRipple {
  to {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

.export-btn [data-enhanced-export-target="text"] {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.export-btn.export-preparing [data-enhanced-export-target="text"],
.export-btn.export-success [data-enhanced-export-target="text"] {
  font-weight: 600;
  letter-spacing: 0.025em;
}

.export-btn:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

.export-btn:not(.export-preparing):not(.export-success):hover [data-enhanced-export-target="icon"] {
  transform: translateY(-1px);
}

.export-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.export-dropdown-menu::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.export-dropdown-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.export-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-8px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(8px);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.9;
  }
}

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

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-shake {
  animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.animate-pulse-once {
  animation: pulse 0.6s ease-in-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.4s ease-out;
}

.animate-fade-in-scale {
  animation: fadeInScale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.animate-slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

[data-controller="import"] * {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-controller="import"] button,
[data-controller="import"] a {
  transition: all 0.2s ease;
}

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

[data-import-target="progressBar"] {
  background-size: 200% 200%;
  animation: gradientShift 2s ease infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
  }
}

.glow-active {
  animation: glow 2s ease-in-out infinite;
}

@keyframes bounce-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

[data-import-target="uploadPrompt"] svg {
  animation: bounce-gentle 2s ease-in-out infinite;
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.checkmark-animate {
  animation: checkmark 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes spin-smooth {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin-smooth 1s linear infinite;
}

@supports (backdrop-filter: blur(10px)) {
  [data-controller="import"] {
    backdrop-filter: blur(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes error-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}

.animate-fade-in {
  animation: fade-in 0.5s ease-out;
}

.animate-error-pulse {
  animation: error-pulse 2s ease-in-out;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@keyframes bounce-once {
  0%, 100% { 
    transform: translateY(0) scale(1);
  }
  25% { 
    transform: translateY(-20px) scale(1.05);
  }
  50% { 
    transform: translateY(0) scale(1);
  }
  75% { 
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.1);
    opacity: 0.8;
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-bounce-once {
  animation: bounce-once 1s ease-in-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.3s ease-out;
}

[data-import-target="progressBar"],
[data-import-target="overallProgress"] {
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-import-target="dropzone"]:hover {
  transition: all 0.3s ease;
}

.success-glow {
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}

.error-shake {
  animation: shake 0.5s;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

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

.gradient-animate {
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

.table-responsive tbody tr {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.updated-row-highlight {
  animation: highlightPulse 2s ease-in-out;
  position: relative;
}

@keyframes highlightPulse {
  0% {
    background-color: transparent;
    box-shadow: none;
  }
  10% {
    background-color: rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  }
  50% {
    background-color: rgba(34, 197, 94, 0.15);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  }
  100% {
    background-color: transparent;
    box-shadow: none;
  }
}

@keyframes previewFlash {
  0% { background-color: #eff6ff; }
  100% { background-color: transparent; }
}

.preview-flash {
  animation: previewFlash 0.5s ease-out;
}

.preview-transition {
  transition: all 0.2s ease-in-out;
}

.counter-warning {
  color: #f97316;
  font-weight: 600;
}

.counter-danger {
  color: #dc2626;
  font-weight: 700;
}

form label {
 @apply text-sm text-gray-600;
}
