* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #1f2428;
  color: #fff;
  padding-top: 80px;
}

/* HEADER */
header {
  background: #151a1e;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
}

.logo img {
  width: 38px;
}

.logo span {
  color: #6cff3f;
}

.menu {
  display: flex;
  gap: 25px;
}

.menu a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

.menu a.active {
  color: #6cff3f;
  border-bottom: 2px solid #6cff3f;
  padding-bottom: 4px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.desktop-search input {
  background: #222;
  border: none;
  padding: 8px 12px;
  color: #fff;
  border-radius: 5px;
  width: 200px;
}

.cart {
  position: relative;
  cursor: pointer;
  font-size: 20px;
}

.cart span {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #6cff3f;
  color: #000;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: 600;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Hero Text - Typing Animation */
.hero-text {
  max-width: 550px;
  position: relative;
  z-index: 2;
  animation: slideInLeft 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

@keyframes slideInLeft {
  from {
      opacity: 0;
      transform: translateX(-50px) rotateY(-15deg);
  }
  to {
      opacity: 1;
      transform: translateX(0) rotateY(0);
  }
}

.hero-text h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, 
      #fff 0%,
      #6cff3f 25%,
      #33e4bd 50%,
      #6cff3f 75%,
      #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  position: relative;
  animation: textShimmer 3s ease-in-out infinite alternate,
             fadeInUp 1s ease-out 0.5s both;
}

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

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

.hero-text h1::after {
  content: '|';
  animation: blinkCursor 1s infinite;
  color: #6cff3f;
  margin-left: 5px;
}

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

.hero-text p {
  color: #cbd5e1;
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  position: relative;
  padding-left: 1rem;
}

.hero-text p::before {
  content: '✦';
  position: absolute;
  left: -1rem;
  color: #6cff3f;
  animation: spin 4s linear infinite;
}

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

/* Shop Now Button - Glowing Animation */
.hero-text a {
  background: linear-gradient(135deg, 
      #6cff3f 0%,
      #33e4bd 50%,
      #6cff3f 100%);
  color: #000;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out 1s forwards,
             buttonGlow 2s ease-in-out infinite alternate;
  box-shadow: 
      0 10px 30px rgba(108, 255, 63, 0.3),
      0 0 0 1px rgba(108, 255, 63, 0.2);
  z-index: 1;
}

@keyframes buttonGlow {
  0% {
      box-shadow: 
          0 10px 30px rgba(108, 255, 63, 0.3),
          0 0 0 1px rgba(108, 255, 63, 0.2);
  }
  100% {
      box-shadow: 
          0 15px 40px rgba(108, 255, 63, 0.5),
          0 0 20px rgba(108, 255, 63, 0.3),
          0 0 0 1px rgba(108, 255, 63, 0.4);
  }
}

.hero-text a::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: 0.5s;
  z-index: -1;
}

.hero-text a:hover::before {
  left: 100%;
}

.hero-text a:hover {
  transform: translateY(-5px) scale(1.05);
  animation: none;
  box-shadow: 
      0 20px 50px rgba(108, 255, 63, 0.6),
      0 0 30px rgba(108, 255, 63, 0.4),
      0 0 0 1px rgba(108, 255, 63, 0.6);
}

.hero-text a::after {
  content: '→';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.hero-text a:hover::after {
  transform: translateX(5px);
}

/* Floating Particles Animation */
.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #6cff3f;
  border-radius: 50%;
  animation: floatParticle 8s linear infinite;
}

@keyframes floatParticle {
  0% {
      transform: translateY(100vh) translateX(0) rotate(0deg);
      opacity: 0;
  }
  10% {
      opacity: 1;
  }
  90% {
      opacity: 1;
  }
  100% {
      transform: translateY(-100px) translateX(var(--tx, 100px)) rotate(360deg);
      opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
      padding: 60px 30px;
      min-height: 75vh;
  }
  
  .hero-text h1 {
      font-size: 3rem;
  }
  
  .hero-img img {
      max-width: 380px;
  }
}

@media (max-width: 768px) {
  .hero {
      flex-direction: column;
      text-align: center;
      padding: 40px 20px;
      gap: 40px;
  }
  
  .hero-text {
      max-width: 100%;
  }
  
  .hero-text h1 {
      font-size: 2.5rem;
  }
  
  .hero-text p {
      font-size: 1.1rem;
  }
  
  .hero-text a {
      padding: 14px 30px;
      font-size: 1rem;
  }
  
  .hero-img {
      order: -1;
  }
  
  .hero-img img {
      max-width: 320px;
  }
  
  @keyframes float3D {
      0%, 100% {
          transform: translateY(0);
      }
      50% {
          transform: translateY(-15px);
      }
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 2rem;
  }
  
  .hero-text p {
      font-size: 1rem;
  }
  
  .hero-img img {
      max-width: 280px;
  }
}



/* HERO */
.hero {
  background: #242a30;
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}




.hero-img img {
  max-width: 320px;
}




/* PRODUCTS */
.section {
  padding: 40px;
}

.section h2 {
  margin-bottom: 20px;
  color: #fff;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: #242a30;
  padding: 15px;
  border-radius: 10px;
  transition: 0.3s;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.card img {
  width: 100%;
  border-radius: 8px;
  height: 180px;
  object-fit: cover;
}

.card h4 {
  margin: 10px 0 5px;
  font-size: 16px;
}

.price-container {
  margin: 10px 0;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  font-size: 13px;
  margin-right: 8px;
}

.new-price {
  color: #6cff3f;
  font-size: 18px;
  font-weight: 600;
}

.specs {
  margin: 10px 0;
  font-size: 12px;
  color: #aaa;
}

.specs ul {
  padding-left: 15px;
  margin-top: 5px;
}

.specs li {
  margin-bottom: 3px;
}

.btns {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.card button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: 0.3s;
}

.view-btn {
  background: #333;
  color: #fff;
}

.view-btn:hover {
  background: #444;
}

.cart-btn {
  background: #6cff3f;
  color: #000;
}

.cart-btn:hover {
  background: #5cef2f;
}

/* Christmas badge */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(45deg, #ff0000, #ff4d4d);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 1;
}

/* ENHANCED VIEW MODAL */
#viewModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #242a30;
  padding: 25px;
  border-radius: 15px;
  max-width: 900px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
  border: 1px solid #333;
}

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

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #333;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.close-btn:hover {
  background: #ff4c4c;
}

.product-details {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.product-image {
  flex: 1;
  min-width: 300px;
}

.product-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-info {
  flex: 1;
  min-width: 300px;
}

.product-info h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}

.product-price {
  font-size: 24px;
  margin: 15px 0;
  font-weight: 600;
}

.product-price .old-price {
  font-size: 18px;
  color: #999;
  text-decoration: line-through;
  margin-right: 15px;
}

.product-price .new-price {
  color: #6cff3f;
  font-size: 24px;
}

.product-description {
  color: #ccc;
  line-height: 1.6;
  margin: 15px 0;
  font-size: 15px;
}

.product-specs {
  background: #1a1f24;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}

.product-specs h4 {
  color: #6cff3f;
  margin-bottom: 15px;
  font-size: 18px;
}

.spec-item {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2a2f34;
}

.spec-label {
  font-weight: 600;
  color: #fff;
  width: 140px;
  flex-shrink: 0;
}

.spec-value {
  color: #ccc;
  flex: 1;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.action-buttons button {
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 15px;
}

.buy-now {
  background: #e74c3c;
  color: white;
  flex: 2;
}

.buy-now:hover {
  background: #ff5c4c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.add-to-cart {
  background: #6cff3f;
  color: #000;
  flex: 1;
}

.add-to-cart:hover {
  background: #5cef2f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 255, 63, 0.3);
}

/* CART MODAL */
#cartModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-box {
  background: #242a30;
  padding: 20px;
  border-radius: 10px;
  width: 350px;
  max-width: 90%;
  text-align: center;
  border: 1px solid #333;
}

.modal-box button {
  margin-top: 10px;
  padding: 12px;
  background: #6cff3f;
  border: none;
  border-radius: 6px;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

/* FOOTER */
.footer {
  background: #151a1e;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-container > div {
  flex: 1 1 200px;
}

.footer h3, .footer h4 {
  margin-bottom: 15px;
  color: #33e4bd;
}

.footer p, .footer a {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #33e4bd;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #ccc;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #33e4bd;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #888;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .menu {
      position: absolute;
      top: 70px;
      left: 0;
      width: 100%;
      background: #151a1e;
      flex-direction: column;
      display: none;
      padding: 20px;
      gap: 0;
      z-index: 1000;
  }

  .menu a {
      padding: 12px 0;
      border-bottom: 1px solid #222;
      width: 100%;
      text-align: center;
  }

  .hamburger {
      display: flex;
  }

  .desktop-search input {
      width: 150px;
  }

  /* HERO */
  .hero {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 30px 20px;
      gap: 20px;
  }

  .hero-text {
      max-width: 100%;
  }

  .hero-text h1 {
      font-size: 26px;
  }

  .hero-text p {
      font-size: 13px;
  }

  .hero-img img {
      max-width: 100%;
      height: auto;
  }

  /* MODAL */
  .product-details {
      flex-direction: column;
      gap: 20px;
  }

  .product-image, .product-info {
      min-width: 100%;
  }

  .action-buttons {
      flex-direction: column;
  }

  .nav {
      padding: 15px 20px;
  }

  .section {
      padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .desktop-search input {
      width: 120px;
  }
  
  .products {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .modal-content {
      padding: 15px;
  }
}







/* Chat Widget Container */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Chat Toggle Button */
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  color: white;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.chat-toggle i {
  font-size: 28px;
}

/* Chat Badge */
.chat-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4444;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }
  70% {
      transform: scale(1.1);
      box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
  }
  100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
  }
}

/* Chat Container */
.chat-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 380px;
  height: 550px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 9999;
}

.chat-container.active {
  transform: scale(1);
}

/* Chat Header */
.chat-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agent-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.agent-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.agent-status {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 5px;
}

.agent-status.online::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  animation: blink 1s infinite;
}

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

.chat-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* Chat Body */
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f7f9fc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Custom Scrollbar */
.chat-body::-webkit-scrollbar {
  width: 6px;
}

.chat-body::-webkit-scrollbar-track {
  background: #e1e5eb;
  border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 10px;
}

.chat-body::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Message Styles */
.message {
  display: flex;
  animation: slideIn 0.3s ease;
}

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

.message.sent {
  justify-content: flex-end;
}

.message.received {
  justify-content: flex-start;
}

.message-content {
  max-width: 75%;
  padding: 10px 15px;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message.sent .message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom-right-radius: 4px;
}

.message.received .message-content {
  background: white;
  color: #2d3748;
  border-bottom-left-radius: 4px;
}

.message-content p {
  margin: 0;
  line-height: 1.4;
  font-size: 14px;
}

.message-time {
  font-size: 10px;
  opacity: 0.7;
  display: block;
  margin-top: 5px;
  text-align: right;
}

/* Typing Indicator */
.message.typing .message-content {
  background: white;
  padding: 12px 20px;
}

.message.typing .message-content p {
  display: flex;
  align-items: center;
  gap: 4px;
}

.message.typing .message-content p::after {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #667eea;
  animation: typingDot 1.4s infinite;
  box-shadow: 8px 0 0 #667eea, 16px 0 0 #667eea;
}

@keyframes typingDot {
  0%, 20% {
      opacity: 0.2;
  }
  50% {
      opacity: 1;
  }
  100% {
      opacity: 0.2;
  }
}

/* Suggestions */
.suggestions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.suggestion-btn {
  background: #f0f4f8;
  border: 1px solid #e2e8f0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
}

.suggestion-btn:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
  transform: translateY(-2px);
}

/* Product Cards in Chat */
.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.product-info {
  padding: 12px;
}

.product-title {
  font-weight: 600;
  margin: 0 0 5px 0;
  font-size: 14px;
}

.product-price {
  color: #667eea;
  font-weight: bold;
  margin: 0 0 10px 0;
  font-size: 16px;
}

.product-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-size: 12px;
  transition: all 0.3s ease;
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Chat Input Area */
.chat-input {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.chat-input input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.send-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.send-btn:active {
  transform: scale(0.95);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 90px;
  right: 100px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid #667eea;
}

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

.toast.success {
  border-left-color: #4caf50;
}

.toast.error {
  border-left-color: #f44336;
}

.toast.warning {
  border-left-color: #ff9800;
}

.toast-icon {
  font-size: 20px;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin: 0 0 4px 0;
  font-size: 14px;
}

.toast-message {
  margin: 0;
  font-size: 12px;
  color: #718096;
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #a0aec0;
  font-size: 14px;
  padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .chat-container {
      width: calc(100vw - 40px);
      height: calc(100vh - 100px);
      bottom: 80px;
      right: 20px;
      left: 20px;
      width: auto;
  }
  
  .chat-toggle {
      width: 55px;
      height: 55px;
  }
  
  .chat-toggle i {
      font-size: 24px;
  }
  
  .toast-container {
      bottom: 80px;
      right: 80px;
      left: 20px;
  }
  
  .toast {
      min-width: auto;
      width: auto;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .chat-container {
      background: #1a202c;
  }
  
  .chat-body {
      background: #2d3748;
  }
  
  .message.received .message-content {
      background: #4a5568;
      color: #f7fafc;
  }
  
  .chat-input {
      background: #1a202c;
      border-top-color: #2d3748;
  }
  
  .chat-input input {
      background: #2d3748;
      border-color: #4a5568;
      color: white;
  }
  
  .chat-input input::placeholder {
      color: #a0aec0;
  }
  
  .suggestion-btn {
      background: #2d3748;
      border-color: #4a5568;
      color: #e2e8f0;
  }
  
  .toast {
      background: #2d3748;
      color: #f7fafc;
  }
}

/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.6s linear infinite;
}

/* Error Message Style */
.message.error .message-content {
  background: #fff5f5;
  border-left: 3px solid #f56565;
}

/* Quick Reply Buttons */
.quick-reply {
  background: #edf2f7;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.quick-reply:hover {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* Image Attachments */
.message-image {
  max-width: 200px;
  border-radius: 12px;
  margin-top: 8px;
  cursor: pointer;
}

/* File Attachment Button */
.attach-btn {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  font-size: 18px;
  padding: 0 8px;
  transition: color 0.3s ease;
}

.attach-btn:hover {
  color: #667eea;
}

/* Mobile Optimizations */
@media (max-width: 480px) {
  .message-content {
      max-width: 85%;
  }
  
  .suggestions-container {
      flex-direction: column;
  }
  
  .suggestion-btn {
      width: 100%;
      text-align: center;
  }
}