@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");.carousel-wrapper {
  position: relative;
  max-width: 450px;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 10px;
  gap: 16px;
}

.carousel-control-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-control-btn:hover:not(.disabled) {
  background: #f9fafb;
  border-color: #d1d5db;
}

.carousel-control-btn:active:not(.disabled) {
  transform: scale(0.98);
}

.carousel-control-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-control-btn .arrow {
  font-size: 16px;
}

.page-indicator {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  white-space: nowrap;
}

.product-grid {
  display: flex;
  flex-direction: column;
}

.product-grid.slide-next {
  animation: slideInFromRight 0.4s ease-out;
}

.product-grid.slide-prev {
  animation: slideInFromLeft 0.4s ease-out;
}

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

@keyframes slideInFromLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

.product-card {
  padding: 0;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  opacity: 0;
  animation: fadeInSlide 0.4s ease-out forwards;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
  transform: translateY(-2px);
}

.product-content {
  display: flex;
  flex-direction: column;
}

.product-image-container {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  position: relative;
  overflow: hidden;
  padding: 6px;
}

.product-like-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-like-button:hover {
  background: rgba(255, 255, 255, 1);
  border-color: #d1d5db;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.product-like-button.liked {
  color: var(--fcw-accent);
  background: rgba(255, 255, 255, 0.95);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.fcw-product-title-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  min-width: 0;
}

.fcw-product-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.fcw-product-sku {
  font-size: 12px;
  color: #6b7280;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  flex-shrink: 1;
  align-self: flex-start;
  margin-top: 2px;
  display: inline-block;
}

.product-description {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fcw-product-description {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcw-product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.fcw-product-specs span {
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  gap: 8px;
}

.product-price {
  font-weight: 500;
  color: #111827;
  font-size: 14px;
}

.details-button,
.view-visual-button {
  background-color: var(--fcw-accent, #0b0b19);
  color: var(--fcw-accent-contrast, #ffffff);
  padding: 10px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.details-button:hover:not(:disabled),
.view-visual-button:hover:not(:disabled) {
  background-color: var(--fcw-accent, #0b0b19);
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.details-button:active:not(:disabled),
.view-visual-button:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.details-button:disabled,
.view-visual-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.details-button .spinning,
.view-visual-button .spinning {
  animation: spin 1s linear infinite;
}

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

/* Mobile optimizations */
@media (max-width: 480px) {
  .carousel-wrapper {
    max-width: 100%;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-image-container {
    height: 140px;
    padding: 4px;
  }

  .product-like-button {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }

  .product-like-button svg {
    width: 16px;
    height: 16px;
  }

  .product-info {
    padding: 12px;
    gap: 8px;
  }

  .fcw-product-title-row {
    gap: 6px;
    margin-bottom: 6px;
  }

  .fcw-product-name {
    font-size: 14px;
    line-height: 1.2;
  }

  .fcw-product-sku {
    font-size: 11px;
    max-width: 120px;
    margin-top: 1px;
  }

  .fcw-product-description {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 8px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .fcw-product-specs {
    gap: 6px;
    margin-top: 2px;
  }

  .fcw-product-specs span {
    font-size: 11px;
    padding: 3px 8px;
  }

  .product-footer {
    gap: 6px;
    margin-top: 2px;
  }

  .details-button,
  .view-visual-button {
    padding: 8px 16px;
    font-size: 12px;
    gap: 6px;
    border-radius: 8px;
  }

  .details-button svg,
  .view-visual-button svg {
    width: 14px;
    height: 14px;
  }

  .carousel-controls {
    margin-top: 8px;
    margin-bottom: 8px;
    gap: 12px;
  }

  .carousel-control-btn {
    padding: 3px 12px;
    font-size: 11px;
    gap: 4px;
  }

  .carousel-control-btn svg {
    width: 14px;
    height: 14px;
  }

  .page-indicator {
    font-size: 12px;
  }
}
.schedule-container {
  min-height: auto;
  background-color: transparent;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 4px 0;
  border-radius: 0;
  font-family: "Inter", sans-serif;
}

.schedule-card {
  background-color: white;
  border-radius: 8px;
  padding: 10px 12px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
}

.schedule-close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  z-index: 100;
  padding: 0;
  flex-shrink: 0;
  margin: 0;
}

.schedule-close-button:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827;
}

.schedule-close-button:active {
  transform: scale(0.95);
}

.schedule-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

/* Add top padding to form when close button exists */
.schedule-form.has-close-button {
  padding-top: 20px;
}

.schedule-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.schedule-company-info {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background-color: #f9fafb;
  color: #4b5563;
  font-size: 13px;
}

.schedule-company-location {
  color: #6b7280;
  font-style: italic;
}

.schedule-form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-label {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.schedule-input {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background-color: #f9fafb;
  color: #4b5563;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.schedule-input:focus {
  background-color: white;
  border-color: #d1d5db;
}

.schedule-input-error {
  border-color: #fca5a5 !important;
  background-color: #fef2f2 !important;
}

.schedule-input-error:focus {
  border-color: #f87171 !important;
  background-color: #fee2e2 !important;
}

.schedule-input::placeholder {
  color: #9ca3af;
}

/* Date input specific styles */
.schedule-input[type="date"] {
  cursor: pointer;
  font-family: inherit;
}

.schedule-input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.schedule-input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.schedule-select {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background-color: #f9fafb;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.2s;
}

.schedule-select:focus {
  background-color: white;
  border-color: #d1d5db;
}

.schedule-select-error {
  border-color: #fca5a5 !important;
  background-color: #fef2f2 !important;
}

.schedule-select-error:focus {
  border-color: #f87171 !important;
  background-color: #fee2e2 !important;
}

.schedule-submit-button {
  padding: 9px 14px;
  background-color: #111827;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.schedule-submit-button:hover:not(:disabled) {
  background-color: #4b5563;
}

.schedule-submit-button:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.schedule-error-message {
  padding: 8px 12px;
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 6px;
  color: #991b1b;
  font-size: 12px;
  margin-top: 4px;
  margin-bottom: 4px;
  line-height: 1.4;
}

.call-me-container {
  min-height: auto;
  background-color: transparent;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 4px 0;
  border-radius: 0;
  font-family: "Inter", sans-serif;
}

.call-me-card {
  background-color: white;
  border-radius: 8px;
  padding: 10px 12px;
  max-width: 100%;
  width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
}

.call-me-close-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #6b7280;
  z-index: 100;
  padding: 0;
  flex-shrink: 0;
  margin: 0;
}

.call-me-close-button:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827;
}

.call-me-close-button:active {
  transform: scale(0.95);
}

.call-me-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

/* Add top padding to form when close button exists */
.call-me-form.has-close-button {
  padding-top: 20px;
}

.call-me-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.call-me-form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.call-me-label {
  font-size: 12px;
  font-weight: 600;
  color: #111827;
}

.call-me-input {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  background-color: #f9fafb;
  color: #4b5563;
  transition: all 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.call-me-input:focus {
  background-color: white;
  border-color: #d1d5db;
}

.call-me-input::placeholder {
  color: #9ca3af;
}

.call-me-submit-button {
  padding: 9px 14px;
  background-color: #111827;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.call-me-submit-button:hover:not(:disabled) {
  background-color: #4b5563;
}

.call-me-submit-button:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

.fcw-image-generation-loader-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 1rem 1.5rem;
  width: 100%;
  min-width: 320px;
  max-width: 420px;
  position: relative;
}

.fcw-image-generation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.fcw-creative-loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcw-loader-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--fcw-accent, #0b0b19);
  border-right-color: var(--fcw-accent, #0b0b19);
  border-bottom-color: rgba(11, 11, 25, 0.1);
  border-left-color: rgba(11, 11, 25, 0.1);
  animation: fcw-spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.fcw-loader-ring-inner {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(11, 11, 25, 0.02) 0%,
    rgba(11, 11, 25, 0.06) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fcw-pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(11, 11, 25, 0.08);
  border: 1px solid rgba(11, 11, 25, 0.05);
}

.fcw-loader-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcw-loader-icon {
  color: var(--fcw-accent, #6f6f6f);
}

.fcw-loader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.fcw-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--fcw-accent, #0b0b19);
  border-radius: 50%;
  opacity: 0.4;
  animation: fcw-particle-orbit 3s linear infinite;
}

.fcw-particle:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.fcw-particle:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.fcw-particle:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.fcw-loader-message-wrapper {
  min-height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcw-loader-message {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  letter-spacing: -0.2px;
  line-height: 1.4;
  color: var(--fcw-accent, #0b0b19);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.fcw-loader-dots-animation {
  display: inline-block;
  width: 20px;
  text-align: left;
}

.fcw-loader-dots-animation::after {
  content: "";
  animation: fcw-dots 1.5s steps(4) infinite;
}

.fcw-loader-message-anim {
  animation: fcw-message-fade 0.4s ease;
}

@keyframes fcw-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fcw-pulse-glow {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.9;
  }
}

@keyframes fcw-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

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

@keyframes fcw-particle-orbit {
  0% {
    transform: rotate(0deg) translateX(70px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: rotate(360deg) translateX(70px) rotate(-360deg);
    opacity: 0.4;
  }
}

@keyframes fcw-dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

@keyframes fcw-message-fade {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fcw-particle-orbit-mobile {
  0% {
    transform: rotate(0deg) translateX(55px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: rotate(360deg) translateX(55px) rotate(-360deg);
    opacity: 0.4;
  }
}
.fcw-typing-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.fcw-typing-bubble {
  border-radius: 999px;
}

.fcw-typing {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}

.fcw-typing-dot {
  width: 7px;
  height: 7px;
  background: #d1d5db;
  border-radius: 50%;
  animation: fcw-bounce 1.4s infinite ease-in-out;
}

.fcw-typing-dot:nth-child(1) {
  animation-delay: 0s;
}

.fcw-typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.fcw-typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes fcw-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.fcw-typing-text {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-style: italic;
}

.fcw-typing-text::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #9ca3af;
  border-radius: 50%;
  animation: fcw-loader-pulse 1.4s infinite;
  flex-shrink: 0;
}

.fcw-typing-dots-animation {
  display: inline-block;
  animation: fcw-typing-dots 1.4s infinite;
  margin-left: 2px;
}

@keyframes fcw-typing-dots {
  0%,
  20% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}

@keyframes fcw-loader-pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.fcw-image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: fadeIn 0.2s ease-in-out;
}

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

.fcw-image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.2s ease-in-out;
}

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

.fcw-image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.2s;
  z-index: 10001;
}

.fcw-image-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

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



:root {
  --fcw-font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI";
  --fcw-color: #1f2937;
  --fcw-bg: #ffffff;
  --fcw-accent: #0b0b19;
  --fcw-accent-contrast: #ffffff;
  --fcw-border: #e5e7eb;
  --fcw-muted: #6b7280;
  --fcw-chip-bg: #f9fafb;
  --fcw-border-radius: 20px;
  --fcw-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --fcw-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --fcw-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --fcw-width: 450px;
  --fcw-width-sm: 360px;
  --fcw-width-lg: 600px;
  --fcw-height: 92vh;
  --fcw-main-position: 10px;
  --fcw-secondary-position: 20px;
  --fcw-auto-position: auto;
}

.fcw {
  font-family: var(--fcw-font-family) !important;
  color: var(--fcw-color);
  box-sizing: border-box;
}

.fcw input,
.fcw button,
.fcw select,
.fcw textarea {
  font-family: var(--fcw-font-family) !important;
}

.fcw *,
.fcw *::before,
.fcw *::after {
  box-sizing: border-box;
}

.fcw-launcher {
  position: fixed;
  top: var(--fcw-auto-position);
  right: var(--fcw-main-position);
  bottom: var(--fcw-main-position);
  left: var(--fcw-auto-position);
  min-width: 280px;
  max-width: 350px;
  height: auto;
  min-height: 80px;
  border-radius: 16px;
  border: none;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.fcw-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.fcw-launcher:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.fcw-launcher-content {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  gap: 10px;
  text-align: left;
}

.fcw-launcher-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fcw-launcher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fcw-launcher-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fcw-launcher-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  margin: 0;
}

.fcw-launcher-description {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fcw-launcher-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--fcw-accent);
  color: var(--fcw-accent-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.fcw-container {
  position: fixed;
  top: var(--fcw-auto-position);
  right: var(--fcw-main-position);
  bottom: var(--fcw-main-position);
  left: var(--fcw-auto-position);
  width: var(--fcw-width);
  height: var(--fcw-height);
  max-height: 800px;
  background: var(--fcw-bg);
  border-radius: var(--fcw-border-radius);
  box-shadow: var(--fcw-shadow-lg), 0 0 0 0.5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fcw-container.pos-TL,
.fcw-launcher.pos-TL {
  top: var(--fcw-main-position);
  left: var(--fcw-main-position);
  right: var(--fcw-auto-position);
  bottom: var(--fcw-auto-position);
}

.fcw-container.pos-TR,
.fcw-launcher.pos-TR {
  top: var(--fcw-main-position);
  right: var(--fcw-main-position);
  left: var(--fcw-auto-position);
  bottom: var(--fcw-auto-position);
}

.fcw-container.pos-BL,
.fcw-launcher.pos-BL {
  bottom: var(--fcw-main-position);
  left: var(--fcw-main-position);
  right: var(--fcw-auto-position);
  top: var(--fcw-auto-position);
}

.fcw-container.size-small {
  width: var(--fcw-width-sm);
}

.fcw-container.size-large {
  width: var(--fcw-width-lg);
}

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

.fcw-container.fullscreen {
  position: fixed;
  inset: 0;
  width: 98vw;
  height: 95vh;
  border-radius: var(--fcw-border-radius);
  bottom: 0;
  right: 0;
  margin: 2.5vh 1vw;
}

.fcw-header {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--fcw-bg);
  border-bottom: 1px solid var(--fcw-border);
}

.fcw-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--fcw-color);
}

.fcw-header span {
  font-size: 14px;
  font-weight: 400;
  color: var(--fcw-muted);
}

.fcw-header .fcw-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.fcw-header .fcw-message-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 50%;
  background: var(--fcw-accent);
  flex-shrink: 0;
  color: var(--fcw-accent-contrast);
}

.fcw-header .fcw-actions {
  display: flex;
  gap: 4px;
}

.fcw-header .fcw-actions button {
  border: none;
  background: transparent;
  color: var(--fcw-muted);
  font-size: 22px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.fcw-header .fcw-actions button:hover {
  background: var(--fcw-chip-bg);
  color: var(--fcw-color);
}

.fcw-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fcw-messages::-webkit-scrollbar {
  width: 6px;
}

.fcw-messages::-webkit-scrollbar-track {
  background: transparent;
}

.fcw-messages::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

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

.fcw-message {
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
  gap: 4px;
}

.fcw-bubble {
  padding: 8px 10px;
  border-radius: var(--fcw-border-radius);
  max-width: 85%;
  font-size: 14px;
  line-height: 1.3;
  word-wrap: break-word;
  position: relative;
}

.fcw-bubble.user {
  background: var(--fcw-accent);
  color: var(--fcw-accent-contrast);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: var(--fcw-shadow-sm);
}

.fcw-bubble.bot {
  background: #ffffff;
  color: var(--fcw-color);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--fcw-shadow-sm);
  border: 1px solid var(--fcw-border);
}

.fcw-message-text {
  max-width: 450px !important;
}

.fcw-bubble.user .fcw-message-text {
  color: var(--fcw-accent-contrast);
}

.fcw-time {
  display: block;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 0px;
  font-weight: 400;
}

.fcw-bubble.user .fcw-time {
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.fcw-empty {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--fcw-muted);
  text-align: center;
  gap: 8px;
  font-size: 14px;
}

.fcw-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--fcw-bg);
  border-top: 1px solid var(--fcw-border);
}

.fcw-quick-replies .schedule-visit {
  color: var(--fcw-color);
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  font-weight: 600 !important;
  border: 1px solid var(--fcw-border);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.fcw-quick-replies .schedule-visit:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

.fcw-chips-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  max-width: 100%;
}

.fcw-quick-replies .fcw-chips-container::-webkit-scrollbar {
  height: 0;
}

.fcw-chip {
  background: var(--fcw-chip-bg);
  color: var(--fcw-color);
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--fcw-border);
  cursor: pointer;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.fcw-chip:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.fcw-chip:active {
  transform: translateY(0);
}

/* Input Area */

.fcw-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--fcw-bg);
}

.fcw-input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px;
  padding-top: 0;
}

.fcw .fcw-input .sellect-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fcw-color);
  background: #f3f4f6;
  margin: 0 12px;
  border-radius: 10px;
}

.fcw-remove-file-btn {
  background: transparent !important;
  border: none;
  cursor: pointer;
  color: #6b7280 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 8px;
  box-shadow: none !important;
}

.fcw-file-input-hidden {
  display: none;
}

.fcw-file-upload-label {
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: var(--fcw-accent);
  opacity: 1;
}

.fcw-file-upload-label.disabled {
  cursor: not-allowed;
  color: #ccc;
  opacity: 0.5;
  pointer-events: none;
}

.fcw .fcw-input .sellect-file span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  padding: 10px 12px;
}

.fcw-input input[type="text"] {
  flex: 1;
  border: 1px solid var(--fcw-border);
  border-radius: 24px;
  padding: 12px 18px;
  outline: none;
  font-size: 14px;
  transition: all 0.2s;
  background: #fafbfc;
  font-family: inherit;
}

.fcw-input input[type="text"]:focus {
  border-color: var(--fcw-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 11, 25, 0.08);
}

.fcw-input input[type="text"]:disabled {
  background: #f3f4f6;
  cursor: not-allowed;
}

.fcw-input input[type="text"]::placeholder {
  color: var(--fcw-muted);
}

.fcw-input button {
  background: var(--fcw-accent);
  color: var(--fcw-accent-contrast);
  border: none;
  border-radius: 24px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
}

.fcw-input button:hover:not(:disabled) {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: var(--fcw-shadow-md);
}

.fcw-input button:active:not(:disabled) {
  transform: translateY(0);
}

.fcw-input button:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.fcw-input > div:first-child span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 0px;
}

@media (max-width: 480px) {
  .fcw-container {
    width: 95vw !important;
    height: 90vh !important;
    margin: 0 auto;
    border-radius: 0;
  }

  .fcw-launcher {
    bottom: 20px;
    right: 20px;
  }

  /* Header styles for mobile */
  .fcw-header {
    padding: 10px 12px;
  }

  .fcw-header h2 {
    font-size: 14px;
  }

  .fcw-header span {
    font-size: 12px;
  }

  .fcw-header .fcw-message-icon {
    padding: 8px;
    width: 36px;
    height: 36px;
  }

  .fcw-header .fcw-actions button {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  /* Chat messages styles for mobile */
  .fcw-messages {
    padding: 12px;
  }

  .fcw-bubble {
    padding: 6px 8px;
    font-size: 13px;
    max-width: 90%;
  }

  .fcw-time {
    font-size: 9px;
  }

  .fcw-input-container {
    gap: 4px;
    padding: 10px 10px 8px 10px;
  }

  .fcw-file-upload-label {
    padding: 6px;
    margin-right: 4px;
  }

  .fcw-input input[type="text"] {
    padding: 10px 14px;
    font-size: 13px;
  }

  .fcw-input button {
    padding: 10px 14px;
    min-width: 40px;
    border-radius: 20px;
  }
}
