/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Vibrant Gradient Background for Body */
body {
  background: linear-gradient(120deg, #f9f9f9 60%, #e0e7ff 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  padding-bottom: 40px;
}

/* Header */
header {
  background-color: #232f3e;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin-bottom: 10px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Main Section */
main {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
}

main h2 {
  margin-bottom: 20px;
  color: #222;
}

/* Search Bar */
input[type="text"] {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  
  margin-bottom: 0px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Product Cards */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Product Card Modernization */
.product-card {
  background: linear-gradient(120deg, #fff 80%, #f0f4ff 100%);
  border: 1.5px solid #e0e7ff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(80, 112, 255, 0.07);
  padding: 24px 20px 18px 20px;
  margin-bottom: 10px;
  transition: box-shadow 0.25s, transform 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(80, 112, 255, 0.13);
  transform: translateY(-4px) scale(1.025);
  border-color: #b4befe;
}

.product-card h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-card p {
  margin-bottom: 8px;
  font-size: 1em;
}

/* Low Stock Badge Polished */
.low-stock {
  color: #d9534f;
  font-weight: bold;
  background: #fff0f0;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.98em;
  margin-top: 4px;
  margin-bottom: 2px;
  display: inline-block;
}

/* Discount Badge Polished */
.discount {
  background: linear-gradient(90deg, #ff3860 60%, #ff8c42 100%);
  color: #fff;
  font-weight: bold;
  font-size: 0.98em;
  border-radius: 16px;
  padding: 3px 12px;
  margin-left: 8px;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(255,56,96,0.08);
  letter-spacing: 0.5px;
}

button {
  background-color: #ff9900;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin-bottom: 4px;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

button:hover:not(:disabled) {
  background-color: #e68a00;
}

/* Wishlist Button */
.wishlist-btn {
  background: #fff;
  color: #ff3860;
  border: 1px solid #ff3860;
  margin-left: 8px;
  font-size: 1em;
  padding: 8px 14px;
  border-radius: 20px;
  transition: 0.2s;
}
.wishlist-btn:hover {
  background: #ff3860;
  color: #fff;
}

/* Table - Cart Page */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

thead {
  background-color: #f0f0f0;
}

th, td {
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
}

.total-section {
  margin-top: 30px;
  font-size: 1.2em;
}

/* Footer */
footer {
  background-color: #232f3e;
  color: white;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 2;
}

/* Category Buttons */
button.selected {
  background: #232f3e;
  color: #fff;
  border: 1px solid #232f3e;
}
main > div > span > button {
  margin: 0 6px 12px 0;
  background: #f0f0f0;
  color: #232f3e;
  border: 1px solid #ccc;
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: 0.2s;
}
main > div > span > button:hover {
  background: #232f3e;
  color: #fff;
}

/* Wishlist/Cart/Profile Area Highlights */
.nav-links a, .wishlist-btn {
  border-radius: 18px;
  padding: 7px 16px;
  margin-left: 8px;
  background: linear-gradient(90deg, #f0f4ff 60%, #e0e7ff 100%);
  color: #232f3e;
  font-weight: 500;
  border: 1px solid #e0e7ff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.nav-links a:hover, .wishlist-btn:hover {
  background: linear-gradient(90deg, #b4befe 60%, #a5b4fc 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(80, 112, 255, 0.13);
}

/* Category Button Polish */
main > div > span > button, button.selected {
  background: linear-gradient(90deg, #f0f4ff 60%, #e0e7ff 100%);
  color: #232f3e;
  border: 1.5px solid #b4befe;
  font-weight: 600;
  border-radius: 20px;
  padding: 8px 18px;
  margin: 0 8px 12px 0;
  transition: background 0.2s, color 0.2s;
}
main > div > span > button.selected, button.selected {
  background: linear-gradient(90deg, #b4befe 60%, #a5b4fc 100%);
  color: #fff;
}
main > div > span > button:hover {
  background: #b4befe;
  color: #fff;
}

/* Amazon-like Nav Bar */
.amazon-header {
  background: #232f3e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 0;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}
.logo-area {
  display: flex;
  align-items: center;
  min-width: 160px;
}
.custom-logo {
  font-size: 2em;
  font-weight: bold;
  color: #232f3e;
  letter-spacing: 1px;
  padding-left: 4px;
}
.search-area {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 500px;   /* don’t let search bar grow too big */
  min-width: 260px;   /* don’t shrink too much */
  margin-right: 40px;
  margin-left: -20px;     /* space between logo and nav links */
}
.nav-category {
  padding: 0 14px;
  border-radius: 6px 0 0 6px;
  border: 1.5px solid #b4befe;
  border-right: none;
  font-size: 1em;
  background: #f3f3f3;
  color: #232f3e;
  height: 44px;
  min-width: 110px;
  margin: 0;
  box-sizing: border-box;
}
.nav-search {
  flex: 1;
  padding: 0 14px;
  border: 1.5px solid #b4befe;
  border-left: none;
  border-right: none;
  font-size: 1em;
  outline: none;
  height: 44px;
  width: 55px;
  background: #fff;
  border-radius: 0;
  margin: 0;
  box-sizing: border-box;
}
.nav-search-btn {
  padding: 0 22px;
  border-radius: 0 6px 6px 0;
  border: 1.5px solid #b4befe;
  border-left: none;
  background: #b4befe;
  color: #fff;
  font-size: 1.2em;
  cursor: pointer;
  margin: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  box-sizing: border-box;
}
.nav-search-btn:hover {
  background: #232f3e;
  color: #fff;
}
/* Remove focus outline double border */
.nav-category:focus, .nav-search:focus, .nav-search-btn:focus {
  outline: 2px solid #b4befe;
  z-index: 2;
}
.nav-links {
  display: flex;            /* put links in one row */
  align-items: center;      /* vertically center them */
  gap: 15px;                /* even spacing between links */
  white-space: nowrap;   
    margin-left: 100px; /* pushes the whole links group to the right */  /* stop wrapping to next line */
}

.nav-links a {
  color: #fff;
  margin-left: 18px;
  font-weight: 500;
  font-size: 1em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #ff9900;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 24px auto 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  min-height: 220px;
  background: #142850;
}
.hero-banner .hero-img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  opacity: 0.25;
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #142850;
  opacity: 0.85;
  z-index: 1;
}
.hero-text {
  position: absolute;
  top: 30px;
  left: 40px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
}
.hero-text h1 {
  font-size: 2.2em;
  margin-bottom: 8px;
  color: #fff;
  letter-spacing: 1px;
}
.hero-text p {
  font-size: 1.2em;
  color: #e0e7ff;
}

/* Category Tiles */
.category-tiles {
  max-width: 1200px;
  margin: 32px auto 0 auto;
  padding: 0 20px;
}
.tiles-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tile {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 18px 24px;
  min-width: 120px;
  text-align: center;
  font-size: 1.1em;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, transform 0.18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  outline: none;
  border: 2px solid transparent;
}
.tile:hover {
  background: linear-gradient(90deg, #b4befe 60%, #a5b4fc 100%);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(80, 112, 255, 0.13);
  border: 2px solid #a5b4fc;
}
.tile-icon {
  font-size: 2.2em;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px #e0e7ff);
  transition: filter 0.2s;
}
.tile:hover .tile-icon {
  filter: drop-shadow(0 2px 8px #b4befe);
}
.tile-label {
  font-weight: 600;
  letter-spacing: 0.2px;
  font-size: 1.08em;
}

/* Featured Section */
.featured-section {
  max-width: 1200px;
  margin: 36px auto 0 auto;
  padding: 0 20px;
}
.featured-section h2 {
  margin-bottom: 18px;
  color: #c45500;
}

/* Category Grids */
.category-grids {
  max-width: 1200px;
  margin: 36px auto 0 auto;
  padding: 0 20px 40px 20px;
}
.category-grids h2 {
  margin-top: 32px;
  color: #232f3e;
  font-size: 1.3em;
  margin-bottom: 12px;
}

/* Responsive Product Grid Polish */
@media (max-width: 900px) {
  .product-card {
    width: calc(50% - 20px);
  }
  .nav-row, .hero-banner, .category-tiles, .featured-section, .category-grids {
    max-width: 100%;
    padding: 0 8px;
  }
  .tiles-row {
    gap: 10px;
  }
  .search-area {
    margin: 10px 0;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .product-list {
    flex-direction: column;
    gap: 12px;
  }
  .product-card {
    width: 100%;
    min-width: unset;
    padding: 18px 10px 14px 10px;
  }
  .nav-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .search-area {
    margin: 10px 0;
    min-width: unset;
    max-width: 100%;
    width: 100%;
  }
  .hero-text {
    top: 10px;
    left: 10px;
  }
  .tiles-row {
    flex-direction: column;
    gap: 8px;
  }
  .tile {
    min-width: unset;
    width: 100%;
    padding: 14px 10px;
  }
}

/* Input Focus */
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 2px #007bff22;
}

/* Cart Table Zebra Striping */
tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* Payment Modal Styles */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 62, 80, 0.25);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  border-radius: 14px;
  padding: 32px 28px 24px 28px;
  box-shadow: 0 8px 32px rgba(80,112,255,0.18);
  min-width: 320px;
  max-width: 95vw;
  position: relative;
  text-align: center;
}
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 2em;
  color: #888;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.close:hover {
  color: #ff3860;
}
.pay-btn {
  background: #ff9800;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.pay-btn:hover {
  background: #e68900;
}
.modal input[type="text"] {
  width: 80%;
  margin: 8px 0;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
}
@media (max-width: 600px) {
  .modal-content {
    min-width: 90vw;
    padding: 18px 6px 14px 6px;
  }
}
/* Use class or ID if known */
.extra-category-list {
    display: none;
}
/* If it's the only `ul` or `div` below, use nth-child or parent-specific targeting */
section:last-of-type ul {
    display: none;
}

/* Budget Section Styles */
.budget-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(90deg, #f0f4ff 60%, #e0e7ff 100%);
  border-radius: 10px;
  border: 1px solid #b4befe;
  flex-wrap: wrap;
}

/* AI Features Styles */

/* AI Search Suggestions */
.ai-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.2s;
}

.suggestion-item:hover {
  background-color: #f8f9fa;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-icon {
  font-size: 14px;
}

/* AI Price Prediction */
.ai-price-prediction {
  margin: 8px 0;
}

.prediction-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  animation: pulse 2s infinite;
}

.prediction-icon {
  font-size: 14px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* AI Chatbot Styles */
.ai-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  transition: all 0.3s ease;
  font-weight: 500;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.chatbot-icon {
  font-size: 20px;
}

.chatbot-label {
  font-size: 14px;
}

.chatbot-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.chatbot-close:hover {
  background-color: rgba(255,255,255,0.2);
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fa;
}

.message {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.message.user {
  align-items: flex-end;
}

.message.bot {
  align-items: flex-start;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}

.message.user .message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom-right-radius: 4px;
}

.message.bot .message-content {
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 11px;
  color: #999;
  margin-top: 4px;
  padding: 0 4px;
}

.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.chatbot-input {
  padding: 15px 20px;
  background: white;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chatbot-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input input:focus {
  border-color: #667eea;
}

.chatbot-input button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chatbot-input button:hover:not(:disabled) {
  transform: scale(1.05);
}

.chatbot-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* AI Recommendations Section */
.ai-recommendations-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  margin: 20px 0;
  border-radius: 15px;
}

.ai-recommendations-section h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 30px;
  opacity: 0.9;
  font-size: 16px;
}

.ai-recommendations-section .product-card {
  background: white;
  color: #333;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.3s ease;
}

.ai-recommendations-section .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border-color: rgba(255,255,255,0.4);
}

/* Delivery Steps Styles */
.delivery-steps {
  margin-top: 15px;
}

.step-card {
  padding: 12px;
  border-radius: 8px;
  margin: 6px 0;
  background: #f8f9fa;
  font-weight: 500;
}

.step-card.completed {
  background: #d4edda;
  color: #155724;
}

.step-card.active {
  background: #cce5ff;
  color: #004085;
  border: 2px solid #004085;
}

.step-card.pending {
  background: #f8d7da;
  color: #721c24;
}

.delivered-box {
  margin-top: 20px;
  padding: 15px;
  background: #d4edda;
  color: #155724;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
}

/* Tracking Box Styles */
.tracking-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.tracking-controls {
  margin: 10px 0;
}

/* Responsive Design for AI Features */
@media (max-width: 768px) {
  .chatbot-container {
    width: 300px;
    height: 400px;
    right: -10px;
  }
  
  .ai-search-suggestions {
    max-height: 150px;
  }
  
  .prediction-badge {
    font-size: 11px;
    padding: 4px 8px;
  }
  
  .ai-recommendations-section {
    padding: 20px 15px;
  }
  
  .ai-recommendations-section h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .ai-product-assistant {
    padding: 15px;
  }
  
  .ai-query-section {
    padding: 20px;
  }
  
  .ai-response-section {
    padding: 20px;
  }
  
  .product-actions {
    flex-direction: column;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.ai-query-input:disabled {
  animation: pulse 1.5s infinite;
}

/* Typing Animation for AI Response */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

.response-text {
  overflow: hidden;
  white-space: pre-wrap;
}

/* Enhanced Chatbot Styles */
.ai-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-toggle {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 15px 20px;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.chatbot-icon {
  font-size: 1.5em;
}

.chatbot-label {
  font-weight: 600;
}

.chatbot-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.1em;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  padding: 5px;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8f9fa;
}

.message {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.message.user {
  align-items: flex-end;
}

.message.bot {
  align-items: flex-start;
}

.message-content {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.4;
}

.message.user .message-content {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
}

.message.bot .message-content {
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
}

.message-time {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

.chatbot-input {
  padding: 15px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  gap: 10px;
}

.chatbot-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
}

.chatbot-input button {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 16px;
}

.typing-dots {
  display: flex;
  gap: 4px;
}

.typing-dots span {
  width: 8px;
  height: 8px;
  background: #999;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

/* Payment Options Styles */
.payment-container {
  background-color: #ffffff !important;  /* ✅ solid white */
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: inline-block;
  width: 100%;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.payment-options label {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.payment-options label:hover {
  background: #f5f5f5;
}

.pay-btn {
  background: #ff9800;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.pay-btn:hover {
  background: #e68900;
}