/* =====================================================
   PocketPaw Dashboard - Modern Apple Design
   Glassmorphism. SF Pro. Refined.

   Changes (2026-02-02):
   - Refactored to use UnoCSS for layout and styling.
   - Cleaned up redundant custom classes.
   ===================================================== */

:root {
  /* Apple-inspired Dark Palette (Used by UnoCSS variables and remaining custom CSS) */
  --bg-color: #000000;
  --glass-bg: rgba(28, 28, 30, 0.65);
  --glass-border: rgba(255, 255, 255, 0.12);
  --card-bg: rgba(44, 44, 46, 0.6);
  
  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(235, 235, 245, 0.6);
  --text-tertiary: rgba(235, 235, 245, 0.3);

  /* Accents */
  --accent-color: #0A84FF; /* iOS Blue */
  --accent-hover: #0077ED;
  --success-color: #30D158;
  --danger-color: #FF453A;
  --warning-color: #FF9F0A;
  --info-color: #0A84FF;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, monospace;

  /* Spacing & Radius */
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }

button {
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  padding: 0;
  cursor: pointer;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #000000 70%); /* Subtle depth */
  color: var(--text-primary);
  height: 100vh;
  overflow: hidden;
  display: flex;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   Toast Notifications
   ===================================================== */
.toast-container {
  position: fixed;
  top: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 200;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
}

.toast {
  background: rgba(35, 35, 35, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 14px; /* iOS notification style */
  padding: 14px 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease-out;
}
.toast-enter { transform: translateX(100%); opacity: 0; }
.toast-enter-active { transform: translateX(0); opacity: 1; }
.toast-exit { transform: translateX(0); opacity: 1; }
.toast-exit-active { transform: translateX(100%); opacity: 0; }

.toast.success { border-left: none; color: var(--success-color); } /* Icon handles color */
.toast.error { border-left: none; color: var(--danger-color); }
.toast.info { border-left: none; color: var(--text-primary); }

.toast-icon { margin-right: 12px; font-size: 16px; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,0.25); }

/* Animation Utils */
@keyframes modalPop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes messageSlide { 
  from { opacity: 0; transform: translateY(10px); } 
  to { opacity: 1; transform: translateY(0); } 
}

@keyframes badgeFadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
