* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #000 0%, #333 100%);
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.loader {
  text-align: center;
  position: fixed;
  /* top: 50%; */
  /* left: 50%; */
  /* transform: translate(10px, 10px); */
  z-index: 10000000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-text {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 2px;
  background: linear-gradient(45deg, #666, #fff, #ccc, #fff, #666);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.header-scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #ccc;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ccc;
}

.btn {
  background: #fff;
  color: #000;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 14px;
}

.btn:hover {
  background: #ccc;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* Auth Container */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 20px;
}

.auth-wrapper {
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  max-width: 450px;
  width: 100%;
  position: relative;
}

.auth-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.auth-wrapper:hover::before {
  left: 100%;
}

.auth-header {
  text-align: center;
  padding: 40px 40px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.auth-header p {
  color: #ccc;
  font-size: 1rem;
  opacity: 0.9;
}

.auth-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #111;
  color: #fff;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 45px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ccc;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 5px;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #fff;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.btn-primary {
  background: #fff;
  color: #000;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.form-footer {
  text-align: center;
  padding: 20px 40px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer p {
  color: #ccc;
  margin-bottom: 15px;
}

.form-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-footer a:hover {
  color: #ccc;
}

.switch-form {
  color: #fff;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  transition: color 0.3s ease;
}

.switch-form:hover {
  color: #ccc;
}

/* Form States */
.form-state {
  display: none;
}

.form-state.active {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid #000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.error-message {
  color: #ff6b6b;
  font-size: 0.9rem;
  margin-top: 5px;
  display: none;
}

.success-message {
  color: #4ecdc4;
  font-size: 0.9rem;
  margin-top: 5px;
  display: none;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

.referral-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.referral-info h4 {
  margin-bottom: 10px;
  color: #fff;
}

.referral-info p {
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .auth-wrapper {
    margin: 0 10px;
    border-radius: 15px;
  }

  .auth-header,
  .auth-form,
  .form-footer {
    padding: 30px 25px;
  }

  .auth-header h1 {
    font-size: 2rem;
  }

  .form-group input,
  .form-group select {
    padding: 12px;
  }

  .btn-primary {
    padding: 14px;
  }
}

@media (max-width: 480px) {
  .auth-container {
    padding: 80px 10px 20px;
  }

  .auth-header,
  .auth-form,
  .form-footer {
    padding: 25px 20px;
  }

  .auth-header h1 {
    font-size: 1.8rem;
  }
}

.alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* display: flex; */
}

.alert-container {
  background-color: #000;
  color: white;
  width: 300px;
  max-width: calc(100% - 30px);
  position: relative;
}

.alert-header {
  background-color: #000;
  padding: 10px 15px;
  border: 2px solid white;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}

.alert-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-close:hover {
  opacity: 0.7;
}

.alert-content {
  padding: 20px;
  font-size: 16px;
  line-height: 1.4;
  border-left: 2px solid white;
  border-right: 2px solid white;
  margin: 0 -15px;
  border-top: 2px solid;
  border-bottom: 2px solid;
  border-radius: 20px;
}

.alert-buttons {
  display: flex;
  border: 2px solid white;
  border-top: none;
}

.alert-button {
  flex: 1;
  padding: 12px;
  background-color: #ffffff38;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.alert-button:hover {
  background-color: #333;
}

.alert-button:not(:last-child) {
  border-right: 2px solid white;
}

/* Demo content to show the bubble floating over a page */
.demo-content {
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

.demo-content h1 {
  color: #2d3748;
  margin-bottom: 20px;
}

.demo-content p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #4a5568;
}

/* Floating Chat System */
.chat-floating-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.chat-bubble {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.chat-bubble.active {
  transform: scale(0.9);
}

.bubble-icon {
  width: 24px;
  height: 24px;
  color: white;
  transition: all 0.3s ease;
}

.bubble-icon.hidden {
  opacity: 0;
  transform: rotate(180deg);
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: white;
  animation: bounce 2s infinite;
  display: none;
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateY(0);
  }

  40%,
  43% {
    transform: translateY(-8px);
  }

  70% {
    transform: translateY(-4px);
  }
}

.chat-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: rgba(30, 30, 46, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.options-header {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.option-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.option-button:last-child {
  margin-bottom: 0;
}

.option-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.option-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.option-content h4 {
  margin: 0 0 2px 0;
  font-size: 14px;
  font-weight: 600;
}

.option-content p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* Chat Window */
.chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 550px;
  height: 500px;
  background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-window.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-window-header {
  background: linear-gradient(135deg, #2d2d44 0%, #3a3a54 100%);
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-window-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.ai-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.close-button {
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.chat-content {
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
}

/* Telegram Modal */
.telegram-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.telegram-modal.show {
  opacity: 1;
  visibility: visible;
}

.telegram-modal-content {
  background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.telegram-modal.show .telegram-modal-content {
  transform: scale(1);
}

.telegram-logo {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0088cc 0%, #229ed9 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.telegram-modal h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 20px;
}

.telegram-modal p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  line-height: 1.5;
}

.telegram-channel-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.channel-name {
  color: #0088cc;
  font-weight: 600;
  margin-bottom: 4px;
}

.channel-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.telegram-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.telegram-button {
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.telegram-button.primary {
  background: linear-gradient(135deg, #0088cc 0%, #229ed9 100%);
  color: white;
}

.telegram-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 158, 217, 0.3);
}

.telegram-button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.telegram-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom by ensuring >=16px on focusable inputs */
  input,
  select,
  textarea,
  .chat-input {
    font-size: 16px;
  }

  .chat-window {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    z-index: 10001;
  }

  .chat-options {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, -50%);
    min-width: 300px;
    max-width: calc(100vw - 40px);
    z-index: 10002;
  }

  .chat-options.show {
    transform: translate(-50%, -50%) scale(1);
  }

  .chat-options:not(.show) {
    transform: translate(-50%, -50%) translateY(20px) scale(0.9);
  }

  .telegram-modal-content {
    margin: 20px;
    max-width: calc(100vw - 40px);
  }

  /* Keep content sized within viewport minus header */
  .chat-content {
    height: calc(100% - 60px);
  }

  /* Reserve room so input isn't obscured by the keyboard/safe area */
  .chat-messages {
    padding-bottom: 112px;
  }

  .typing-indicator {
    position: sticky;
    bottom: calc(64px + env(safe-area-inset-bottom));
    z-index: 2;
  }

  .chat-input-container {
    position: sticky;
    bottom: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 3;
  }

  .chat-input {
    max-height: 140px;
    overflow-y: auto;
  }
}

/* Include the embedded chat styles */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  animation: messageSlideIn 0.3s ease-out forwards;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.sent {
  flex-direction: row-reverse;
}

.message-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  color: white;
  flex-shrink: 0;
}

.message.sent .message-avatar {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.message-content {
  max-width: 70%;
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.sent .message-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
}

.message-text {
  margin: 0;
  line-height: 1.4;
  word-wrap: break-word;
  color: white;
  font-size: 13px;
}

.message-time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  display: block;
}

.typing-indicator {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transition: all 0.3s ease;
}

.typing-indicator.show {
  opacity: 1;
}

.typing-dots {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 4px;
  align-items: center;
}

.typing-dot {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
  }
}

.chat-input-container {
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input-wrapper {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 10px 16px;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.4;
  resize: none;
  outline: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  max-height: 100px;
  min-height: 38px;
  overflow-y: hidden;
  scrollbar-width: none;
  font-family: inherit;
  /* Firefox */
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
}

.chat-input::-webkit-scrollbar {
  display: none;
  /* WebKit */
}

.chat-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.send-button {
  width: 38px;
  height: 38px;
  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;
  font-size: 14px;
}

.send-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Navigation Suggestion */
.navigation-suggestion {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px;
  margin: 8px 0;
  backdrop-filter: blur(10px);
}

.navigation-suggestion p {
  margin: 0 0 12px 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.nav-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-button:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.nav-button i {
  font-size: 12px;
}
