/* ============================================================
   Swasti Care Design System
   Clean Healthcare UI — Bootstrap 5.3 + Custom CSS
   Theme: White / Slate / Blue  (v5)
   ============================================================ */

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

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  --primary:          #1A2E4A;   /* deep navy               */
  --primary-dark:     #0F1F33;   /* darker navy             */
  --primary-light:    #EBF0F6;   /* blue-gray tint          */
  --primary-mid:      #D1DCE8;   /* blue-gray mid           */
  --secondary:        #64748B;   /* slate-500               */
  --secondary-light:  #F1F5F9;   /* slate-100               */
  --accent:           #2563EB;
  --success:          #16A34A;   /* green-600               */
  --success-light:    #DCFCE7;   /* green-100               */
  --warning:          #D97706;   /* amber-600               */
  --warning-light:    #FEF3C7;   /* amber-100               */
  --danger:           #DC2626;   /* red-600                 */
  --danger-light:     #FEE2E2;   /* red-100                 */
  --info:             #0891B2;   /* cyan-600                */
  --info-light:       #CFFAFE;   /* cyan-100                */

  --text-primary:     #111827;   /* gray-900                */
  --text-secondary:   #374151;   /* gray-700                */
  --text-muted:       #6B7280;   /* gray-500                */
  --text-light:       #9CA3AF;   /* gray-400                */

  --surface:          #FFFFFF;
  --background:       #EBF0F6;   /* blue-gray app bg        */
  --border:           #E5E7EB;   /* gray-200                */
  --border-light:     #F3F4F6;   /* gray-100                */

  --sidebar-bg:       #FFFFFF;
  --sidebar-text:     #6B7280;   /* gray-500                */
  --sidebar-text-active: #1A2E4A;/* deep navy               */
  --sidebar-hover:    #F4F7FA;   /* blue-gray-50            */
  --sidebar-active:   #EBF0F6;   /* blue-gray tint          */
  --sidebar-width:    240px;
  --sidebar-collapsed: 64px;

  --header-height:    60px;
  --border-radius:    10px;
  --border-radius-lg: 14px;
  --shadow-xs:        0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:        0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:           0 4px 8px rgba(0,0,0,.06), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:        0 10px 24px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.04);
  --transition:       all 0.18s ease;
}

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── App Shell ────────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ─── Sidebar ──────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 1000;
  transition: width 0.25s ease;
  overflow: hidden;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  min-height: var(--header-height);
  text-decoration: none;
  flex-shrink: 0;
}

.sidebar-brand .brand-icon {
  width: 34px; height: 34px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: white;
}

.sidebar-brand .brand-text {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.sidebar-brand .brand-text span {
  color: var(--primary);
}

.sidebar-nav {
  flex: 1;
  padding: 12px 10px;
  overflow-y: auto;
  overflow-x: hidden;
}

.nav-section-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-light);
  padding: 14px 10px 5px;
  white-space: nowrap;
  overflow: hidden;
}

.nav-item { margin-bottom: 1px; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--sidebar-text) !important;
  text-decoration: none;
  font-size: 0.845rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
}

.nav-link:hover {
  background: var(--sidebar-hover);
  color: var(--text-secondary) !important;
}

.nav-link.active {
  background: var(--sidebar-active);
  color: var(--sidebar-text-active) !important;
  font-weight: 600;
}

.nav-link .nav-icon {
  font-size: 1rem;
  width: 20px;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.75;
}

.nav-link.active .nav-icon,
.nav-link:hover .nav-icon {
  opacity: 1;
}

.nav-link .nav-text { flex: 1; }

.nav-link .nav-badge {
  background: var(--danger);
  color: white;
  font-size: 0.62rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 600;
}

.sidebar-footer {
  padding: 12px 10px;
  border-top: 1px solid var(--border);
}

/* ─── Main Content Area ────────────────────────────────────── */
.main-wrapper {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  width: calc(100vw - var(--sidebar-width));
  transition: margin-left 0.25s ease;
}

.main-wrapper.sidebar-collapsed {
  margin-left: var(--sidebar-collapsed);
}

/* ─── Top Header ───────────────────────────────────────────── */
.top-header {
  background: var(--surface);
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 900;
  max-width: 100%;
}

.header-toggle {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
  line-height: 1;
}

.header-toggle:hover {
  background: var(--border-light);
  color: var(--text-primary);
}

.header-breadcrumb { flex: 1; }

.breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
  font-size: 0.8rem;
}

.breadcrumb-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--text-secondary);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-icon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.header-icon-btn:hover {
  background: var(--border-light);
  border-color: #D1D5DB;
  color: var(--text-primary);
}

.notification-dot {
  position: absolute;
  top: 5px; right: 5px;
  width: 7px; height: 7px;
  background: var(--danger);
  border-radius: 50%;
  border: 1.5px solid white;
}

.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px 4px 4px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.user-avatar-btn:hover { background: var(--border-light); }

.user-avatar {
  width: 30px; height: 30px;
  border-radius: 6px;
  object-fit: cover;
}

.user-avatar-placeholder {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--primary-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.user-name {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role-badge {
  font-size: 0.58rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.role-patient  { background: var(--success-light); color: var(--success); }
.role-doctor   { background: var(--primary-light);  color: var(--primary); }
.role-admin    { background: var(--secondary-light); color: var(--secondary); }

/* ─── Page Content ─────────────────────────────────────────── */
.page-content {
  flex: 1;
  padding: 26px 28px;
}

.page-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 0.845rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ─── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.card:hover { box-shadow: var(--shadow-sm); }

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.card-body { padding: 18px; }

/* ─── Stat Cards ───────────────────────────────────────────── */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.stat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.stat-icon.blue   { background: var(--primary-light);   color: var(--primary); }
.stat-icon.teal   { background: #CFFAFE;                color: #0891B2; }
.stat-icon.green  { background: var(--success-light);   color: var(--success); }
.stat-icon.purple { background: #F3E8FF;                color: #7C3AED; }
.stat-icon.orange { background: var(--warning-light);   color: var(--warning); }
.stat-icon.red    { background: var(--danger-light);    color: var(--danger); }

.stat-info { flex: 1; }

.stat-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.79rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.845rem;
  font-weight: 500;
  border-radius: 7px;
  padding: 7px 16px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary-app {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

.btn-secondary-app:hover {
  background: #4B5563;
  border-color: #4B5563;
  color: white;
}

.btn-walkin {
  background: var(--primary);
  border: none;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(26,46,74,0.35);
  transition: var(--transition);
}

.btn-walkin:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,46,74,0.42);
  color: white;
}

/* ─── Availability Toggle ──────────────────────────────────── */
.availability-card {
  background: var(--primary);
  border-radius: var(--border-radius-lg);
  padding: 22px;
  color: white;
  position: relative;
  overflow: hidden;
}

.availability-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.availability-toggle {
  width: 52px; height: 26px;
  background: rgba(255,255,255,0.25);
  border-radius: 13px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.availability-toggle.active { background: #22C55E; }

.availability-toggle::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: white;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.availability-toggle.active::after { left: calc(100% - 23px); }

/* ─── Queue/Patient Items ──────────────────────────────────── */
.patient-queue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 6px;
  background: var(--surface);
  transition: var(--transition);
}

.patient-queue-item:hover {
  border-color: var(--primary-mid);
  background: var(--primary-light);
}

.queue-avatar {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.queue-info { flex: 1; }
.queue-name     { font-weight: 600; font-size: 0.845rem; color: var(--text-primary); }
.queue-complaint{ font-size: 0.775rem; color: var(--text-muted); }
.queue-time     { font-size: 0.725rem; color: var(--text-light); }

.waiting-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--warning);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ─── Tables ───────────────────────────────────────────────── */
.table-card .table { margin: 0; }

.table thead th {
  background: #F9FAFB;
  color: var(--text-muted);
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  padding: 11px 16px;
  white-space: nowrap;
}

.table tbody td {
  padding: 13px 16px;
  vertical-align: middle;
  font-size: 0.845rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
}

.table tbody tr:last-child td { border-bottom: none; }

.table tbody tr:hover td { background: #FAFAFA; }

/* ─── Status Badges ────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.725rem;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-waiting   { background: var(--warning-light); color: var(--warning); }
.status-active    { background: var(--success-light); color: var(--success); }
.status-completed { background: var(--primary-light); color: var(--primary); }
.status-cancelled { background: var(--danger-light);  color: var(--danger); }

/* ─── Forms ────────────────────────────────────────────────── */
.form-control, .form-select {
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 0.845rem;
  padding: 8px 12px;
  transition: var(--transition);
  background: var(--surface);
  color: var(--text-primary);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,46,74,0.12);
  outline: none;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

/* ─── Dropdown Menus ───────────────────────────────────────── */
.dropdown-menu {
  background: #FFFFFF !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 5px !important;
  min-width: 190px;
  z-index: 1050;
}

.dropdown-item {
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 0.845rem;
  color: var(--text-primary) !important;
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--border-light) !important;
  color: var(--text-primary) !important;
}

.dropdown-item.text-danger { color: var(--danger) !important; }

.dropdown-item.text-danger:hover,
.dropdown-item.text-danger:focus {
  background: var(--danger-light) !important;
  color: var(--danger) !important;
}

.dropdown-divider {
  border-color: var(--border) !important;
  margin: 4px 0 !important;
  opacity: 1;
}

.dropdown-header {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light) !important;
  padding: 5px 12px 3px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ─── Auth Pages ───────────────────────────────────────────── */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  background: var(--background);
}

.auth-left {
  width: 42%;
  background: linear-gradient(145deg, #0F1F33 0%, #1A2E4A 55%, #1E4B6A 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}

.auth-left::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.auth-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}

.auth-logo-icon {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: white;
}

.auth-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.auth-divider {
  text-align: center;
  position: relative;
  margin: 18px 0;
  color: var(--text-light);
  font-size: 0.775rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* ─── SOAP Notes ───────────────────────────────────────────── */
.soap-tabs .nav-link {
  color: var(--text-muted) !important;
  background: none !important;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 9px 16px;
  font-weight: 500;
}

.soap-tabs .nav-link.active {
  color: var(--primary) !important;
  border-bottom-color: var(--primary);
  background: none !important;
}

.soap-section {
  background: var(--background);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.soap-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 5px;
}

/* ─── Medical Record Upload ────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--border-radius);
  padding: 36px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--background);
}

.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}

.upload-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

/* ─── Notification Toast ───────────────────────────────────── */
.notification-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notification-toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--border-radius);
  padding: 13px 16px;
  box-shadow: var(--shadow-lg);
  min-width: 290px;
  max-width: 380px;
  animation: slideIn 0.25s ease;
}

.notification-toast.success { border-left-color: var(--success); }
.notification-toast.warning { border-left-color: var(--warning); }
.notification-toast.urgent  { border-left-color: var(--danger); }

@keyframes slideIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ─── Available Doctors Grid ────────────────────────────────── */
.doctor-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 18px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.doctor-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.doctor-avatar {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--primary-light);
  margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.doctor-name     { font-weight: 600; font-size: 0.9rem; }
.doctor-specialty{ font-size: 0.775rem; color: var(--text-muted); }

.available-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.725rem;
  color: var(--success);
  font-weight: 500;
  margin-top: 5px;
}

.available-dot::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .sidebar {
    width: var(--sidebar-width);
    transform: translateX(-100%);
    box-shadow: none;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,.18);
  }
  .main-wrapper { margin-left: 0 !important; }
  .header-toggle { display: flex !important; }
  .auth-left { display: none; }
  .auth-right { padding: 24px; }
  .auth-right .auth-card { padding: 28px 20px; }
}

@media (max-width: 576px) {
  .page-content { padding: 14px; }
  .stat-card { flex-direction: column; text-align: center; }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
