/* ==================== PEONY BEAUTY - BRIGHT THEME ==================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors - Light Peony Theme */
  --bg-primary: #FFF5F7;
  --bg-secondary: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF0F3;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-input: #FFF8FA;
  --bg-page: linear-gradient(135deg, #FFF5F7 0%, #FFE8EF 30%, #FFF0F5 60%, #F8F0FF 100%);

  /* Accent - Peony Pink */
  --accent-primary: #E84393;
  --accent-secondary: #FD79A8;
  --accent-light: #FFB8D0;
  --accent-gradient: linear-gradient(135deg, #E84393 0%, #FD79A8 50%, #FDCB6E 100%);
  --accent-gradient-soft: linear-gradient(135deg, #FFB8D0 0%, #FFC8DD 50%, #FFE0EB 100%);
  --accent-glow: rgba(232, 67, 147, 0.15);

  /* Text */
  --text-primary: #2D3436;
  --text-secondary: #636E72;
  --text-muted: #B2BEC3;
  --text-on-accent: #FFFFFF;

  /* Status */
  --status-pending: #FDCB6E;
  --status-pending-bg: #FFF8E7;
  --status-arrived: #00B894;
  --status-arrived-bg: #E8FFF7;
  --status-no-show: #E17055;
  --status-no-show-bg: #FFF0ED;

  /* Borders */
  --border-color: rgba(232, 67, 147, 0.1);
  --border-accent: rgba(232, 67, 147, 0.25);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(232, 67, 147, 0.06);
  --shadow-md: 0 4px 20px rgba(232, 67, 147, 0.08);
  --shadow-lg: 0 8px 32px rgba(232, 67, 147, 0.12);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.04);
  --shadow-accent: 0 4px 20px rgba(232, 67, 147, 0.2);

  /* Spacing */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ==================== UTILITIES ==================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 67, 147, 0.3);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.78rem;
}

.btn-success {
  background: var(--status-arrived);
  color: white;
}

.btn-success:hover {
  background: #00a884;
}

.btn-danger {
  background: var(--status-no-show);
  color: white;
}

.btn-danger:hover {
  background: #d35400;
}

.btn-warning {
  background: var(--status-pending);
  color: #5a4700;
}

.btn-warning:hover {
  background: #f0b92b;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border-color);
}

.btn-ghost:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  color: var(--accent-primary);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-pending {
  background: var(--status-pending-bg);
  color: #b87d00;
}

.badge-arrived {
  background: var(--status-arrived-bg);
  color: #008d6b;
}

.badge-no-show {
  background: var(--status-no-show-bg);
  color: #c0392b;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Form Elements */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #FFFFFF;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23636E72' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  animation: slideInRight 0.3s ease;
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  max-width: 380px;
}

.toast-success {
  background: #FFFFFF;
  color: var(--status-arrived);
  border-left: 4px solid var(--status-arrived);
}

.toast-error {
  background: #FFFFFF;
  color: var(--status-no-show);
  border-left: 4px solid var(--status-no-show);
}