@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

@keyframes typing {
  0%, 80%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  40% {
    opacity: 1;
    transform: scale(1.2);
  }
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

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

@keyframes slideInSmoothly {
  0% {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
    max-height: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: none;
  }
}

body.show-chatbot .chatbot-toggler {
  transform: rotate(90deg);
}

body.show-chatbot .chatbot-toggler span:first-child {
  opacity: 0;
}

body.show-chatbot .chatbot-toggler span:last-child {
  opacity: 1;
}

body.show-chatbot .chatbot {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.chatbot-toggler {
  position: fixed;
  outline: none;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dc2626;
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  font-family: 'Poppins', sans-serif;
}

.chatbot-circle {
  height: 50px;
  width: 50px;
}

.chatbot-square {
  height: 50px;
  width: auto;
  min-width: 110px;
  padding: 0 15px 0 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 15px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.chatbot-toggler:hover {
  transform: scale(1.1);
  animation: pulse 2s infinite;
}

.chatbot-toggler span {
  color: #fff;
  position: absolute;
  transition: opacity 0.2s ease;
}

.chatbot-toggler span:last-child {
  opacity: 0;
}

.chatbot-toggler img {
  object-fit: cover;
}

.chatbot-circle img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.chatbot-square img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chatbot-square .help-text {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
  right: 5px;
}

.chatbot-square .help-icon {
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.chatbot-square .icon-close {
  position: absolute;
  top: -5px;
  right: -5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.chatbot-square.show-chatbot .icon-close {
  opacity: 1;
}

.chatbot-toggler[title]:hover::after {
  content: attr(title);
  position: absolute;
  top: -35px;
  right: 0;
  background: #333;
  color: white;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
}

.chatbot-toggler[title]:hover::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 8px;
  border: 4px solid transparent;
  border-top-color: #333;
  z-index: 1000;
  pointer-events: none;
}

.chatbot {
  z-index: 9999;
  position: fixed;
  right: 35px;
  bottom: 110px;
  width: 600px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transform-origin: bottom right;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1), 0 32px 64px -48px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  will-change: transform, opacity;
  contain: layout !important;
  font-family: 'Poppins', sans-serif;
}

.chatbot header {
  padding: 16px 0;
  position: relative;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chatbot header h2 {
  font-size: 1.4rem;
  color: white;
  margin: 0;
  font-weight: 600;
}

.chatbot header .close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: white;
}

.chatbot header .close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.chatbot header .close-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.chatbot .chatbox {
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto;
  padding-left: 5px;
  height: 440px !important;
  min-height: 440px !important;
  max-height: 440px !important;
  scroll-behavior: smooth;
  padding-bottom: 80px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  contain: layout !important;
}

.chatbot .chatbox::-webkit-scrollbar {
  width: 6px;
}

.chatbot .chatbox::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 25px;
}

.chatbot .chatbox::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 25px;
  transition: background 0.2s ease;
}

.chatbot .chatbox::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.chatbot .chatbox .chat {
  display: flex;
  list-style: none;
  animation: fadeIn 0.3s ease-out;
}

.chatbot .chatbox .chat a {
  text-decoration: underline;
  color: #dc2626;
  font-weight: 500;
  transition: color 0.2s ease;
}

.chatbot .chatbox .chat a:hover {
  color: #b91c1c;
}

.chatbot .chatbox .chat ol li {
  margin: 7px 0px 7px 0px;
}

.chatbot .chatbox .chat p {
  white-space: inherit;
  padding: 12px 16px;
  border-radius: 10px 10px 0 10px;
  max-width: 90%;
  color: #fff;
  font-size: 0.95rem;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  line-height: 1.5;
  word-wrap: break-word;
}

.chatbot .chatbox .chat p.error {
  color: #721c24 !important;
  background: #f8d7da !important;
  border-left: 3px solid #dc3545;
}

.chatbot .chatbox .chat p ol,
.chatbot .chatbox .chat p ul {
  margin: 8px 0;
  padding-left: 20px;
}

.chatbot .chatbox .chat p li {
  margin: 4px 0;
  line-height: 1.4;
}

.chatbot .chatbox .chat p strong {
  font-weight: 600;
  color: inherit;
}

.chatbot .chatbox .chat p a {
  color: #ffeb3b;
  text-decoration: underline;
  font-weight: 500;
}

.chatbot .chatbox .chat p a:hover {
  color: #fff;
  text-decoration: none;
}

.chatbot .chatbox .chat p ul ul,
.chatbot .chatbox .chat p ol ol {
  margin: 4px 0;
  padding-left: 16px;
}

.chatbot .chatbox .chat.outgoing {
  margin: 20px 8px;
  justify-content: flex-end;
}

.chatbot .chatbox .chat.incoming {
  margin: 20px 8px;
}

.chatbot .chatbox .chat.incoming img {
  width: 50px;
  height: 50px;
  color: #fff;
  cursor: default;
  text-align: center;
  line-height: 32px;
  align-self: flex-end;
  background: #dc2626;
  border-radius: 50%;
  padding: 5px;
  margin: 10px 6px 15px 0px;
  transition: transform 0.2s ease;
  object-fit: cover;
}

.chatbot .chatbox .chat.incoming p {
  border-radius: 10px 10px 10px 0;
  color: #333;
  background: #f2f2f2;
  border: 1px solid #e0e0e0;
}

.chatbot .chatbox .chat.incoming p a {
  color: #dc2626 !important;
  text-decoration: underline;
}

.chatbot .chatbox .chat.incoming p a:hover {
  color: #b91c1c !important;
  text-decoration: none;
}

.chatbot .chatbox .chat.incoming p strong {
  color: #333;
  font-weight: 600;
}

.chatbot .chatbox .chat.incoming.typing img {
  animation: pulse 2s infinite;
}

.chatbot .chat-actions {
  display: flex;
  gap: 8px;
  padding: 12px 20px 8px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 10;
}

.chatbot .chat-actions .action-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #dc2626;
  border-radius: 20px;
  background: #fff;
  color: #dc2626;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.chatbot .chat-actions .action-btn:hover {
  background: #dc2626;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.chatbot .chat-actions .action-btn:active {
  transform: translateY(0);
}

.chatbot .chat-actions .action-btn.contact-btn {
  border-color: #28a745;
  color: #28a745;
}

.chatbot .chat-actions .action-btn.contact-btn:hover {
  background: #28a745;
  color: #fff;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.chatbot .chat-actions .action-btn.order-btn {
  border-color: #17a2b8;
  color: #17a2b8;
}

.chatbot .chat-actions .action-btn.order-btn:hover {
  background: #17a2b8;
  color: #fff;
  box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3);
}

.chatbot .chat-input {
  display: flex;
  gap: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  padding: 8px 20px;
  border-top: 1px solid #ddd;
  box-sizing: border-box;
  z-index: 20;
  transform: translate3d(0, 0, 0) !important;
  will-change: transform;
  height: 66px;
  min-height: 66px;
  max-height: 66px;
  contain: strict !important;
}

.chatbot .chat-input textarea {
  height: 50px !important;
  width: calc(100% - 40px);
  border: none;
  outline: none;
  resize: none !important;
  max-height: 50px !important;
  min-height: 50px !important;
  overflow-y: hidden !important;
  overflow-x: hidden !important;
  padding: 12px 12px 12px 0;
  font-size: 0.95rem;
  font-family: 'Poppins', sans-serif;
  transition: none !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
  background: transparent;
  vertical-align: top !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  position: relative;
  top: 0;
  bottom: 0;
  transform: none !important;
  will-change: auto;
}

.chatbot .chat-input textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.chatbot .chat-input textarea:valid ~ span {
  visibility: visible;
  opacity: 1;
}

.chatbot .chat-input textarea::placeholder {
  color: #999;
  transition: color 0.2s ease;
}

.chatbot .chat-input textarea:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  resize: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 12px 12px 12px 0 !important;
}

.chatbot .chat-input textarea:focus::placeholder {
  color: #ccc;
}

.chatbot .chat-input span {
  align-self: flex-end;
  color: #dc2626;
  cursor: pointer;
  height: 50px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
  opacity: 0;
}

.chatbot .chat-input span:hover {
  background-color: rgba(220, 38, 38, 0.1);
  transform: scale(1.1);
}

.chatbot .chat-input span:active {
  transform: scale(0.95);
}

.chatbot .chat-input span.processing {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f2f2f2;
  border-radius: 10px 10px 10px 0;
  border: 1px solid #e0e0e0;
  max-width: 75%;
}

.typing-indicator span {
  height: 8px;
  width: 8px;
  background-color: #dc2626;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
  opacity: 0.4;
  animation: typing 1.4s infinite ease-in-out;
}

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

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

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
  margin-right: 0;
}

/* Contact form styles */
.contact-form-container {
  background: #f8f9fa;
  border-radius: 10px 10px 10px 0;
  border: 1px solid #dee2e6;
  padding: 16px;
  width: 90%;
  margin: 0;
}

.contact-form-container h4 {
  margin: 0 0 16px 0;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}

.contact-form .form-group {
  margin-bottom: 12px;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.contact-form .form-group input:required,
.contact-form .form-group select:required,
.contact-form .form-group textarea:required {
  border-left: 3px solid #dc2626;
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 60px;
}

.contact-form .form-group select {
  cursor: pointer;
}

.contact-form .form-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}

.contact-form .form-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-form .form-actions .btn-cancel {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #ddd;
}

.contact-form .form-actions .btn-cancel:hover {
  background: #e9ecef;
  color: #333;
}

.contact-form .form-actions .btn-submit {
  background: #dc2626;
  color: white;
}

.contact-form .form-actions .btn-submit:hover:not(:disabled) {
  background: #b91c1c;
  transform: translateY(-1px);
}

.contact-form .form-actions .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-form .form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-top: 12px;
  border: 1px solid #f5c6cb;
}

/* Order tracking form styles */
.order-form-container {
  background: #f8f9fa;
  border-radius: 10px 10px 10px 0;
  border: 1px solid #dee2e6;
  padding: 16px;
  width: 90%;
  margin: 0;
}

.order-form-container h4 {
  margin: 0 0 8px 0;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}

.order-form-container p {
  margin: 0 0 16px 0 !important;
  color: #666 !important;
  font-size: 0.9rem !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.order-form .form-group {
  margin-bottom: 12px;
}

.order-form .form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
}

.order-form .form-group input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.order-form .form-group input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.order-form .form-group input::placeholder {
  color: #999;
}

.order-form .form-divider {
  text-align: center;
  margin: 16px 0;
  position: relative;
}

.order-form .form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #ddd;
  z-index: 1;
}

.order-form .form-divider span {
  background: #f8f9fa;
  padding: 0 12px;
  color: #666;
  font-size: 0.8rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.order-form .form-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  justify-content: flex-end;
}

.order-form .form-actions button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.order-form .form-actions .btn-cancel {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #ddd;
}

.order-form .form-actions .btn-cancel:hover {
  background: #e9ecef;
  color: #333;
}

.order-form .form-actions .btn-submit {
  background: #dc2626;
  color: white;
}

.order-form .form-actions .btn-submit:hover:not(:disabled) {
  background: #b91c1c;
  transform: translateY(-1px);
}

.order-form .form-actions .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.order-form .form-error {
  background: #f8d7da;
  color: #721c24;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-top: 12px;
  border: 1px solid #f5c6cb;
}

/* Order details styles */
.order-details-container {
  background: #f8f9fa;
  border-radius: 10px 10px 10px 0;
  border: 1px solid #dee2e6;
  padding: 16px;
  width: 90%;
  margin: 0;
}

.order-details-container .order-item {
  background: white;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s ease;
}

.order-details-container .order-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-details-container .order-item.order-separator {
  margin-top: 12px;
}

.order-details-container .order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.order-details-container .order-header h4 {
  margin: 0;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
}

.order-details-container .order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #e9ecef;
  color: #495057;
  border: 1px solid #ced4da;
}

.order-details-container .order-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.order-details-container .order-detail {
  font-size: 0.9rem;
  color: #555;
}

.order-details-container .order-detail strong {
  color: #333;
  font-weight: 600;
  margin-right: 8px;
}

.order-details-container .accordion-toggle {
  width: 100%;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
}

.order-details-container .accordion-toggle:hover {
  background: #e9ecef;
  border-color: #dc2626;
}

.order-details-container .accordion-toggle.active {
  background: #dc2626;
  color: white;
  border-color: #dc2626;
}

.order-details-container .accordion-icon {
  transition: transform 0.2s ease;
}

.order-details-container .accordion-toggle span {
  flex: 1;
  text-align: left;
}

.order-details-container .accordion-content {
  display: none;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 16px;
}

.order-details-container .accordion-content.open {
  display: block;
}

.order-details-container .products-list {
  margin-bottom: 16px;
}

.order-details-container .product-item {
  padding: 12px;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fdfdfd;
}

.order-details-container .product-item:last-child {
  margin-bottom: 0;
}

.order-details-container .product-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.order-details-container .product-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.order-details-container .product-quantity {
  color: #666;
  font-size: 0.85rem;
}

.order-details-container .product-price {
  font-weight: 600;
  color: #dc2626;
  font-size: 0.9rem;
}

.order-details-container .product-sku {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

.order-details-container .no-products {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 20px;
}

/* Shipment Section Styles */
.order-details-container .shipment-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #dc2626;
}

.order-details-container .shipment-title {
  margin: 0 0 12px 0;
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-details-container .shipment-item {
  background: white;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid #e9ecef;
}

.order-details-container .shipment-item:last-child {
  margin-bottom: 0;
}

.order-details-container .shipment-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-details-container .shipment-detail {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  line-height: 1.4;
}

.order-details-container .shipment-detail strong {
  color: #333;
  font-weight: 600;
  min-width: 110px;
  flex-shrink: 0;
  margin-right: 8px;
}

.order-details-container .tracking-link {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted #dc2626;
  transition: all 0.2s ease;
}

.order-details-container .tracking-link:hover {
  color: #b91c1c;
  border-bottom-color: #b91c1c;
  text-decoration: none;
}

.order-details-container .tracking-number {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #444;
  background: #f1f3f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.8rem;
}

@media (max-width: 490px) {
  .chatbot-toggler {
    right: 20px;
    bottom: 20px;

  }

  .chatbot-circle {
    height: 60px;
    width: 60px;
  }

  .chatbot-square {
    height: 60px;
    min-width: 110px;
    padding: 0 18px 0 10px;
    gap: 12px;
  }

  .chatbot-square img {
    width: 40px;
    height: 40px;
  }

  .chatbot-square .help-text {
    font-size: 15px;
    right: 5px;
  }
  .chatbot {
    right: 0;
    bottom: 0;
    height: 100vh;
    border-radius: 0;
    width: 100vw;
    transform-origin: center;
  }

  .chatbot .chatbox {
    height: calc(100vh - 140px);
    padding: 20px 0px 100px;
  }

  .chatbot .chatbox .chat {
    margin: 15px 8px;
  }

  .chatbot .chatbox .chat p {
    max-width: 85%;
    font-size: 0.9rem;
  }

  .chatbot .chatbox .chat.incoming img {
    width: 35px;
    height: 35px;
  }

  .chatbot .chat-input {
    padding: 8px 15px;
    height: 61px;
    min-height: 61px;
    max-height: 61px;
    transform: none !important;
    margin: 0 !important;
  }

  .chatbot .chat-input textarea {
    font-size: 0.9rem;
    padding: 12px 12px 12px 0;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    width: calc(100% - 40px);
    transition: none;
    background: transparent;
  }

  .chatbot .chat-input textarea:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 45px !important;
    min-height: 45px !important;
    max-height: 45px !important;
    resize: none !important;
  }

  .chatbot .chat-input span {
    height: 45px;
    font-size: 1.1rem;
    width: 35px;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .chatbot header {
    padding: 20px 0;
  }

  .chatbot header h2 {
    font-size: 1.2rem;
  }

  .chatbot .chat-actions {
    padding: 10px 15px 6px;
    flex-direction: column;
    gap: 6px;
    bottom: 60px;
  }

  .chatbot .chat-actions .action-btn {
    padding: 12px 16px;
    font-size: 0.9rem;
  }
}

@media (min-width: 1440px) {
  .chatbot {
    width: 700px;
    height: 650px;
    bottom: 70px;
    right: 70px;
  }

  .chatbot .chatbox .chat.incoming img {
    width: 55px;
    height: 55px;
  }

  .chatbot .chatbox .chat p {
    font-size: 1rem;
    max-width: 90%;
  }

  .chatbot header h2 {
    font-size: 1.5rem;
  }

  .chatbot-toggler {
    bottom: 40px;
    right: 40px;
  }

  .chatbot-circle {
    height: 60px;
    width: 60px;
  }

  .chatbot-square {
    height: 60px;
    min-width: 110px;
    padding: 0 18px 0 10px;
    gap: 12px;
  }

  .chatbot-square img {
    width: 40px;
    height: 40px;
  }

  .chatbot-square .help-text {
    font-size: 15px;
    right: 5px;
  }
}

.chatbot-toggler:focus,
.chatbot .chat-input span:focus {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.chatbot .chat-input textarea:focus {
  outline: none !important;
}