/* ==========================================================================
   🏥 GÖKÇEOS PLATFORM V2 — SECTOR DEMOS & SIMULATOR STYLES
   (Sağlık Turizmi & Poliklinik, Eczane İTS, Kiosk, Oto Servis, Demo Hub)
   ========================================================================== */

/* 1. CLINIC & HEALTH TOURISM WORKSPACE */
.clinic-workspace-grid {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 1rem;
  height: calc(100vh - 200px);
  min-height: 520px;
}

@media (max-width: 1100px) {
  .clinic-workspace-grid {
    grid-template-columns: 240px 1fr;
  }
  .clinic-quote-sidebar {
    display: none;
  }
}

.clinic-lead-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.clinic-lead-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.clinic-lead-card.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(8, 145, 178, 0.1) 100%);
  border-color: #06b6d4;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.25);
}

.clinic-whatsapp-shell {
  background: #0b141a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.clinic-whatsapp-header {
  background: #202c33;
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.clinic-chat-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: #0b141a;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

.clinic-msg-bubble {
  max-width: 82%;
  padding: 0.65rem 0.95rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  position: relative;
  word-break: break-word;
}

.clinic-msg-bubble.patient {
  align-self: flex-start;
  background: #202c33;
  color: #e9edef;
  border-bottom-left-radius: 2px;
}

.clinic-msg-bubble.assistant {
  align-self: flex-end;
  background: #005c4b;
  color: #e9edef;
  border-bottom-right-radius: 2px;
}

.clinic-msg-bubble.quote-card {
  align-self: flex-end;
  background: linear-gradient(145deg, #111b21 0%, #003a30 100%);
  border: 1px solid #00a884;
  color: #ffffff;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.clinic-chat-footer {
  background: #202c33;
  padding: 0.65rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.clinic-chat-input {
  flex: 1;
  background: #2a3942;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  outline: none;
}

.clinic-chat-input:focus {
  border-color: #00a884;
}

/* 2. PHARMA ITS WORKSPACE */
.pharma-scanner-box {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(2, 6, 23, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.pharma-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.pharma-cart-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pharma-cart-table td {
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

/* 3. KIOSK INTERACTIVE TOUCH SCREEN */
.kiosk-touch-container {
  background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #090d16 80%);
  border-radius: 20px;
  border: 2px solid rgba(139, 92, 246, 0.4);
  padding: 2.5rem;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(139, 92, 246, 0.15);
}

.kiosk-touch-action-tile {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  min-width: 220px;
}

.kiosk-touch-action-tile:hover {
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.25) 0%, rgba(56, 189, 248, 0.15) 100%);
  border-color: #a78bfa;
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.35);
}

/* 4. DEMO HUB SHOWCASE TILES */
.demo-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.2rem;
}

.demo-hub-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.demo-hub-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(56, 189, 248, 0.2);
}
