/* Ordis Arcade Co-Pilot & Chat Drawer Styling */

:root {
  --ordis-primary: #00d2ff;
  --ordis-secondary: #ff2a2a;
  --ordis-gold: #ffd700;
  --ordis-bg-dark: rgba(10, 10, 14, 0.96);
  --ordis-panel-border: rgba(0, 210, 255, 0.35);
  --ordis-glow: 0 0 15px rgba(0, 210, 255, 0.25);
  --ordis-scanline: rgba(0, 210, 255, 0.03);
}

/* Floating Ask Ordis Bezel Trigger Button */
.ordis-copilot-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2) 0%, rgba(20, 20, 30, 0.9) 100%);
  border: 1px solid var(--ordis-primary);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--ordis-glow);
  user-select: none;
}

.ordis-copilot-trigger:hover {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.4) 0%, rgba(30, 30, 45, 0.95) 100%);
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

.ordis-copilot-trigger img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--ordis-primary);
}

/* In-Game CRT Pause Overlay */
.ordis-pause-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ordis-pause-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ordis-pause-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 22px;
  font-weight: 900;
  color: #00d2ff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.8), 0 0 24px rgba(0, 210, 255, 0.4);
}

.ordis-pause-subtitle {
  font-size: 13px;
  color: #b0c4de;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.ordis-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00d2ff 0%, #0077aa 100%);
  border: none;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.4);
  transition: all 0.2s ease;
}

.ordis-resume-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0, 210, 255, 0.7);
}

/* Slide-Out Chat Drawer */
.ordis-chat-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: min(420px, 45vw);
  max-width: 95vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--ordis-bg-dark);
  border-left: 2px solid var(--ordis-panel-border);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.25s ease, visibility 0.3s ease;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  visibility: hidden;
  pointer-events: none;
}

.ordis-chat-drawer.is-open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}

/* Drawer Header & Sheet Grabber */
.ordis-sheet-grabber {
  display: none;
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 auto 8px auto;
  cursor: grab;
}

.ordis-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.ordis-drawer-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ordis-drawer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ordis-primary);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
  object-fit: cover;
}

.ordis-drawer-title-group h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.ordis-drawer-subtitle {
  font-size: 11px;
  color: var(--ordis-primary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ordis-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  display: inline-block;
}

.ordis-drawer-close {
  background: transparent;
  border: none;
  color: #888888;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

.ordis-drawer-close:hover {
  color: #ffffff;
}

/* Active Game Telemetry Pill */
.ordis-game-telemetry {
  padding: 8px 18px;
  background: rgba(0, 210, 255, 0.06);
  border-bottom: 1px solid rgba(0, 210, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #ccc;
  flex-shrink: 0;
}

.ordis-telemetry-tag {
  background: rgba(0, 210, 255, 0.2);
  color: #00d2ff;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

/* Message Thread */
.ordis-chat-messages {
  flex: 1 1 0%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ordis-msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  font-size: 13.5px;
  line-height: 1.45;
}

.ordis-msg.user {
  align-self: flex-end;
}

.ordis-msg.assistant {
  align-self: flex-start;
}

.ordis-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  word-wrap: break-word;
}

.ordis-msg.user .ordis-bubble {
  background: linear-gradient(135deg, #0077aa 0%, #005588 100%);
  color: #ffffff;
  border-bottom-right-radius: 2px;
}

.ordis-msg.assistant .ordis-bubble {
  background: rgba(25, 25, 38, 0.92);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: #e0e8f0;
  border-bottom-left-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ordis-msg-time {
  font-size: 10px;
  color: #666;
  margin-top: 4px;
}

.ordis-msg.user .ordis-msg-time {
  align-self: flex-end;
}

.ordis-msg.assistant .ordis-msg-time {
  align-self: flex-start;
}

/* Cartridge Auto-Launch Banner */
.ordis-launch-banner {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(12, 16, 26, 0.96) 100%);
  border: 1.5px solid var(--ordis-primary);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 8px;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.ordis-launch-banner:hover {
  transform: translateY(-2px);
  border-color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 210, 255, 0.55);
}

.ordis-launch-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 210, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.ordis-launch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ordis-launch-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ordis-launch-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ordis-launch-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.ordis-launch-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 210, 255, 0.25);
  color: #00d2ff;
  border: 1px solid rgba(0, 210, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.ordis-launch-status {
  font-size: 11px;
  color: #00ff88;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.launch-spinner {
  width: 11px;
  height: 11px;
  border: 2px solid rgba(0, 255, 136, 0.25);
  border-top-color: #00ff88;
  border-radius: 50%;
  animation: ordisSpin 0.75s linear infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes ordisSpin {
  to { transform: rotate(360deg); }
}

.ordis-launch-btn {
  background: linear-gradient(135deg, #00d2ff 0%, #0088cc 100%);
  color: #000000;
  font-weight: 800;
  font-size: 11px;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 210, 255, 0.4);
}

.ordis-launch-btn:hover {
  background: #33ddff;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.7);
}

/* In-Chat Game Cards */
.ordis-chat-game-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  width: 100%;
}

.ordis-chat-game-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(20, 22, 34, 0.92);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 8px;
  transition: all 0.15s ease;
}

.ordis-chat-game-card:hover {
  border-color: var(--ordis-primary);
  background: rgba(26, 30, 48, 0.95);
  box-shadow: 0 2px 12px rgba(0, 210, 255, 0.25);
}

.chat-card-thumb {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.chat-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-card-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-card-system {
  font-size: 9.5px;
  font-weight: 700;
  color: #00d2ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-card-play-btn {
  background: rgba(0, 210, 255, 0.18);
  border: 1px solid var(--ordis-primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.chat-card-play-btn:hover {
  background: var(--ordis-primary);
  color: #000000;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

/* Quick Prompt Chips */
.ordis-chips-bar {
  display: flex;
  gap: 8px;
  padding: 8px 18px;
  overflow-x: auto;
  background: rgba(15, 15, 22, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  scrollbar-width: none;
  flex-shrink: 0;
  -webkit-overflow-scrolling: touch;
}

.ordis-chips-bar::-webkit-scrollbar {
  display: none;
}

.ordis-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #b0b8c4;
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.ordis-chip:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--ordis-primary);
  color: #ffffff;
}

/* Drawer Input Bar */
.ordis-chat-form {
  display: flex;
  gap: 8px;
  padding: 12px 18px calc(max(16px, env(safe-area-inset-bottom, 0px)) + 6px) 18px;
  background: rgba(10, 10, 14, 0.98);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  flex-shrink: 0;
}

.ordis-chat-input {
  flex: 1;
  background: rgba(20, 20, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.ordis-chat-input:focus {
  border-color: var(--ordis-primary);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.25);
}

.ordis-send-btn {
  background: var(--ordis-primary);
  border: none;
  color: #000000;
  font-weight: 800;
  padding: 0 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s ease;
}

.ordis-send-btn:hover {
  background: #33ddff;
  transform: translateY(-1px);
}

.ordis-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Typing / Generating Indicator */
.ordis-typing-indicator {
  display: none;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(25, 25, 38, 0.8);
  border-radius: 12px;
  max-width: 70px;
  border: 1px solid rgba(0, 210, 255, 0.2);
}

.ordis-typing-indicator.is-active {
  display: flex;
}

.ordis-typing-dot {
  width: 6px;
  height: 6px;
  background: var(--ordis-primary);
  border-radius: 50%;
  animation: ordisBounce 1.4s infinite ease-in-out both;
}

.ordis-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ordis-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes ordisBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Floating Ordis Chat Bubble (Persistent FAB with Draggable Support)
   ========================================================================== */
.ordis-chat-bubble {
  position: fixed;
  bottom: calc(max(28px, env(safe-area-inset-bottom, 0px)) + 8px);
  right: calc(max(20px, env(safe-area-inset-right, 0px)) + 6px);
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 14, 24, 0.94);
  border: 2px solid var(--ordis-primary, #00d2ff);
  border-radius: 40px;
  padding: 6px 16px 6px 6px;
  cursor: grab;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 210, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease, opacity 0.25s ease, left 0.3s cubic-bezier(0.25, 1, 0.5, 1), right 0.3s cubic-bezier(0.25, 1, 0.5, 1), top 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  text-decoration: none;
  outline: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ordis-chat-bubble.is-dragging {
  cursor: grabbing !important;
  transition: none !important;
  transform: scale(1.08) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 210, 255, 0.8) !important;
  opacity: 0.96;
}

.ordis-chat-bubble:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.85), 0 0 32px rgba(0, 210, 255, 0.75);
}

.ordis-chat-bubble:active {
  transform: translateY(-1px) scale(0.98);
}

.ordis-chat-bubble.is-hidden {
  opacity: 0 !important;
  transform: translateY(20px) scale(0.7) !important;
  pointer-events: none !important;
}

.ordis-bubble-avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  pointer-events: none;
}

.ordis-bubble-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ordis-primary, #00d2ff);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
  display: block;
}

.ordis-bubble-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background-color: #00ff88;
  border: 2px solid #0a0e18;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff88;
  animation: ordis-pulse 2s infinite;
}

.ordis-bubble-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
  pointer-events: none;
}

.ordis-bubble-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.ordis-bubble-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--ordis-primary, #00d2ff);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive Adaptations (Foldables, Flips, Mobile Phones, & Tablets)
   ========================================================================== */

/* Compact Circular Bubble: applies to phones, flips, and foldables (<= 900px width or <= 600px height) */
@media (max-width: 900px), (max-height: 600px) {
  .ordis-chat-bubble {
    padding: 3px;
    border-radius: 50%;
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
    justify-content: center;
    bottom: calc(max(28px, env(safe-area-inset-bottom, 0px)) + 8px);
    right: calc(max(20px, env(safe-area-inset-right, 0px)) + 6px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 210, 255, 0.5);
  }
  .ordis-bubble-avatar-wrapper {
    width: 42px;
    height: 42px;
  }
  .ordis-bubble-text {
    display: none !important;
  }
}

/* Mobile Portrait (Phones, Flips, Fold Cover Screens <= 768px): Bottom Half-Sheet (50-52% height) */
@media (max-width: 768px) and (orientation: portrait), (max-width: 600px) and (orientation: portrait) {
  .ordis-chat-drawer {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 52vh;
    height: 52dvh;
    max-height: 55dvh;
    border-left: none;
    border-top: 2px solid var(--ordis-panel-border);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -8px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 210, 255, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.25s ease, visibility 0.3s ease;
  }
  .ordis-chat-drawer.is-open {
    transform: translateY(0);
    right: 0;
  }
  .ordis-sheet-grabber {
    display: block;
    order: -1;
    width: 100%;
    height: 4px;
    margin: 0 auto 6px auto;
  }
  .ordis-drawer-header {
    padding: 8px 16px 10px 16px;
  }
  .ordis-drawer-close {
    min-width: 40px;
    min-height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .ordis-chat-messages {
    padding: 12px;
    gap: 10px;
  }
  .ordis-msg {
    max-width: 92%;
  }
  .ordis-chat-form {
    padding: 8px 12px calc(max(20px, env(safe-area-inset-bottom, 0px)) + 8px) 12px;
    background: rgba(8, 10, 16, 0.98);
    border-top: 1px solid rgba(0, 210, 255, 0.15);
  }
  .ordis-chat-input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    padding: 10px 12px;
  }
  .ordis-send-btn {
    min-width: 60px;
    min-height: 44px;
    font-size: 14px;
  }
}

/* Unfolded Foldables (e.g. Galaxy Z Fold 6 unfolded 800x900) & Medium Square Displays: Half-Screen Side Panel */
@media (min-width: 601px) and (max-width: 900px) and (min-height: 541px) {
  .ordis-chat-drawer {
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: 48vw;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    border-top: none;
    border-left: 2px solid var(--ordis-panel-border);
    border-radius: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }
  .ordis-chat-drawer.is-open {
    transform: translateX(0);
  }
  .ordis-chat-form {
    padding: 10px 14px calc(max(20px, env(safe-area-inset-bottom, 0px)) + 8px) 14px;
  }
}

/* Mobile Landscape (<= 540px height): Side Panel taking 41-48% width */
@media (max-height: 540px) and (orientation: landscape) {
  .ordis-chat-drawer {
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: min(380px, 48vw);
    max-width: 50vw;
    height: 100vh;
    height: 100dvh;
    border-top: none;
    border-left: 2px solid var(--ordis-panel-border);
    border-radius: 0;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  }
  .ordis-chat-drawer.is-open {
    transform: translateX(0);
  }
  .ordis-chat-form {
    padding: 8px 12px calc(max(14px, env(safe-area-inset-bottom, 0px)) + 6px) 12px;
  }
  .ordis-chat-input {
    font-size: 14px;
    padding: 8px 10px;
  }
  .ordis-send-btn {
    min-width: 54px;
    min-height: 38px;
    font-size: 13px;
  }
}

