/* Void Store Web Admin Custom Styles & Telegram Phone Simulator */

:root {
  --tg-dark-bg: #0f172a;
  --tg-dark-bubble: #1e293b;
  --tg-dark-text: #f8fafc;
  --tg-dark-button: rgba(59, 130, 246, 0.25);
  --tg-dark-button-border: rgba(59, 130, 246, 0.4);
  
  --tg-light-bg: #e2e8f0;
  --tg-light-bubble: #ffffff;
  --tg-light-text: #0f172a;
  --tg-light-button: rgba(59, 130, 246, 0.15);
  --tg-light-button-border: rgba(59, 130, 246, 0.3);
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.5);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.8);
}

/* Phone Mockup Frame */
.phone-mockup {
  width: 360px;
  max-width: 100%;
  height: 700px;
  border-radius: 46px;
  border: 10px solid #1e293b;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.phone-mockup.light-theme {
  border-color: #cbd5e1;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Dynamic Island */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 26px;
  background-color: #000;
  border-radius: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
}

.phone-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111827;
  border: 1px solid #1f2937;
}

.phone-sensor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #030712;
}

/* Telegram Message Bubble */
.tg-bubble {
  border-radius: 16px 16px 16px 4px;
  max-width: 96%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, color 0.3s ease;
}

/* Telegram Spoilers */
.tg-spoiler {
  background: rgba(148, 163, 184, 0.3);
  filter: blur(4px);
  cursor: pointer;
  border-radius: 4px;
  padding: 0 4px;
  transition: filter 0.2s ease, background 0.2s ease;
  user-select: none;
}
.tg-spoiler.revealed {
  filter: blur(0);
  background: rgba(148, 163, 184, 0.1);
  user-select: text;
}

/* Telegram Quote */
.tg-quote {
  border-left: 3px solid #38bdf8;
  padding-left: 10px;
  margin: 6px 0;
  background: rgba(56, 189, 248, 0.08);
  border-radius: 0 6px 6px 0;
}

/* Telegram Inline Buttons */
.tg-btn {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  transition: all 0.15s ease;
  word-break: break-word;
}
.tg-btn:hover {
  background: rgba(56, 189, 248, 0.28);
  transform: translateY(-1px);
}

.tg-btn-success {
  background: #16a34a !important;
  color: #ffffff !important;
  border-color: #22c55e !important;
}
.tg-btn-primary {
  background: #2563eb !important;
  color: #ffffff !important;
  border-color: #3b82f6 !important;
}
.tg-btn-danger {
  background: #dc2626 !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}

/* Drag-and-drop sortable items */
.sortable-ghost {
  opacity: 0.4;
  background: rgba(59, 130, 246, 0.2) !important;
  border: 2px dashed #3b82f6 !important;
}
.sortable-chosen {
  background: rgba(59, 130, 246, 0.1) !important;
}

/* Pulse indicator for live updates */
@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}
.pulse-dot {
  animation: pulse-live 2s infinite ease-in-out;
}
