:root {
  --bg-color: #f5f5f7;
  --panel-bg: #ffffff;
  --text-color: #1d1d1f;
  --text-muted: #86868b;
  --accent-color: #0071e3;
  --accent-hover: #0077ed;
  --danger-color: #ff3b30;
  --danger-hover: #ff453a;
  --border-color: #d2d2d7;
  --input-bg: #f5f5f7;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.terminal-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.auth-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}
.auth-wrapper.active {
  display: flex;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

/* App Layout */
.app-layout {
  display: none;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.app-layout.active {
  display: flex; /* Sidebar and main content */
}

h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-color);
}

h1 { font-size: 1.75rem; letter-spacing: -0.04em; }
h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.status-offline { color: var(--text-muted); font-size: 0.875rem; font-weight: 500;}
.status-online { color: #34c759; font-weight: 500; font-size: 0.875rem; }

.panel {
  background: var(--panel-bg);
  padding: 3rem;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hidden { display: none !important; }

.form-group { margin-bottom: 1.5rem; }

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-color);
}

input[type="email"],
input[type="password"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--input-bg);
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 980px; /* Fully rounded buttons like Apple */
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn.primary { background: var(--accent-color); color: #fff; }
.btn.primary:not(:disabled):hover { background: var(--accent-hover); }

.btn.secondary { background: var(--input-bg); color: var(--text-color); border-color: transparent; }
.btn.secondary:not(:disabled):hover { background: #e8e8ed; }

.btn.danger { background: transparent; color: var(--danger-color); border-color: transparent; }
.btn.danger:hover { background: rgba(255, 59, 48, 0.1); }

.msg {
  margin-top: 1.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  display: none; /* Hidden by default if empty */
}
.msg:not(:empty) {
  display: block;
}
.msg.error { background: #fee2e2; color: #b91c1c; }
.msg.success { background: #dcfce7; color: #15803d; }
.msg.info { background: #e0f2fe; color: #0369a1; }

/* Sidebar */
.sidebar {
  width: 280px;
  background: var(--panel-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  z-index: 10;
}

.sidebar-header {
  margin-bottom: 2.5rem;
}

.sidebar-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding-left: 0.75rem;
}

.nav-item {
  display: block;
  padding: 0.625rem 0.75rem;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-item:hover {
  background: var(--input-bg);
}

.nav-item.active {
  background: var(--accent-color);
  color: #fff;
}

.drop-link-small {
  font-size: 0.8125rem;
  background: var(--input-bg);
  padding: 0.75rem;
  border-radius: 8px;
  word-break: break-all;
  display: block;
  border: 1px solid var(--border-color);
  color: var(--accent-color);
  text-decoration: none;
  transition: border-color 0.2s;
}

.drop-link-small:hover {
  border-color: var(--accent-color);
  text-decoration: none;
}

.full-width {
  width: 100%;
}

/* Sidebar Footer & Quota */
.sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.quota-status {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.quota-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.quota-bar {
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.quota-fill {
  height: 100%;
  background: var(--accent-color);
  width: 0%;
  transition: width 0.3s ease;
}

.quota-text {
  font-size: 0.8125rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Privacy & Settings in Sidebar */
.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.mini {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.otl-list {
  margin-top: 1rem;
  max-height: 150px;
  overflow-y: auto;
}

.otl-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.otl-item:hover {
  background: #e8e8ed;
}

.otl-token {
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.otl-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: 0.75rem;
}

.btn-icon-mini {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon-mini:hover {
  background: rgba(0,0,0,0.05);
}

.btn-icon-mini.delete-otl:hover {
  color: var(--danger-color);
  background: rgba(255, 59, 48, 0.1);
}

/* Switch UI */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: var(--accent-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent-color);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}


/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  min-width: 0;
}

.top-navbar {
  height: 72px;
  padding: 0 2rem;
  background: var(--panel-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-title h3 {
  font-size: 1.25rem;
  margin: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.content-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.package-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border-color);
}

.package-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background: transparent;
  border-radius: 0;
  justify-content: flex-start;
}

.package-item:hover {
  background-color: #f9f9fb;
}

.package-avatar {
  width: 44px;
  height: 44px;
  background: #f0f7ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.package-info {
  flex: 1;
  min-width: 0;
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.25rem;
}

.package-sender {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.package-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.package-subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.package-message-peek {
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.package-files-count {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #f1f5f9;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.icon-file {
  width: 14px;
  height: 14px;
}

.package-actions {
  color: #d1d5db;
  font-size: 1.5rem;
  padding-left: 0.5rem;
}

.empty-state {
  padding: 5rem 2rem;
  text-align: center;
  color: var(--text-muted);
}


/* Modal */
.modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--panel-bg);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: left; /* Explicitly align everything left */
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.close-btn {
  background: #e8e8ed;
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.close-btn:hover { background: #d2d2d7; color: var(--text-color); }

.meta-info { margin-bottom: 2rem; font-size: 0.875rem; color: var(--text-muted); display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1rem; }
.meta-info strong { color: var(--text-color); font-weight: 500; }

.message-box {
  background: var(--input-bg);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem 0;
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.message-box h4 {
  margin: 0 0 1rem 0 !important;
  text-align: left !important;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

#modal-message {
  margin: 0 !important;
  text-align: left !important;
  white-space: pre-wrap;
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.6;
}

.attachments-box ul { list-style: none; margin-top: 0.5rem; }
.modal-file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  background: var(--input-bg);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s;
}

.modal-file-item:hover {
  background-color: #e8e8ed;
}

.modal-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  flex: 1;
  min-width: 0;
}

.file-name {
  font-weight: 500;
  color: var(--text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-size {
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.btn-icon-download {
  background: var(--accent-color);
  color: white;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s, background-color 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.btn-icon-download:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-icon-download:active {
  transform: translateY(0);
}

.modal-footer { margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: flex-end; }

/* About Link on Login */
.about-link-wrapper {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.about-link {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: opacity 0.2s;
  display: inline-block;
}

.about-link:hover {
  opacity: 0.7;
}

/* Password Strength Meter */
.pw-strength {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.pw-strength.hidden {
  display: none;
}

.pw-strength-bar {
  flex: 1;
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  overflow: hidden;
}

.pw-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 0.3s ease, background 0.3s ease;
}

.pw-strength-label {
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 65px;
  text-align: right;
}

.pw-very-weak  { background: #ef4444; color: #ef4444; }
.pw-weak       { background: #f97316; color: #f97316; }
.pw-fair       { background: #eab308; color: #eab308; }
.pw-strong     { background: #22c55e; color: #22c55e; }
.pw-very-strong { background: #059669; color: #059669; }

/* File Integrity Indicator */
.integrity-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  gap: 0.5rem;
}

.sidebar-integrity {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.integrity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 980px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  border: 1px solid transparent;
}

.integrity-badge:hover {
  transform: scale(1.02);
  filter: brightness(0.97);
}

.integrity-icon {
  font-size: 0.875rem;
  line-height: 1;
}

.integrity-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.integrity-fp {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.625rem;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.125rem 0.375rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Expandable Details Panel */
.integrity-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
}

.integrity-details.hidden {
  max-height: 0 !important;
}

.integrity-details-inner {
  padding: 1rem 0 0.5rem;
}

.integrity-status-row {
  margin-bottom: 0.75rem;
}

.integrity-status-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.integrity-hash-table {
  background: var(--input-bg);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
}

.integrity-hash-header {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--border-color);
}

.integrity-hash-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.integrity-hash-row:last-child {
  border-bottom: none;
}

.integrity-hash-file {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  min-width: 80px;
}

.integrity-hash-status {
  font-size: 0.6875rem;
  line-height: 1;
}

.integrity-hash-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

.integrity-hash-value {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.5625rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.integrity-hash-changed .integrity-hash-name {
  color: #92400e;
}

.integrity-hash-changed .integrity-hash-value {
  color: #b45309;
}

.integrity-hash-prev {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.5rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-decoration: line-through;
  white-space: nowrap;
  flex-shrink: 0;
}

.integrity-timestamp {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0.5rem;
}

.integrity-accept-btn {
  width: 100%;
  margin-top: 0.5rem;
}

.integrity-hash-hint {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.5625rem;
}

.integrity-hash-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.2s;
}

.integrity-hash-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.integrity-github-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-color);
  text-decoration: none;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  background: rgba(0, 113, 227, 0.04);
  transition: background 0.2s, opacity 0.2s;
}

.integrity-github-link:hover {
  background: rgba(0, 113, 227, 0.08);
}

.integrity-alert-github {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #92400e;
  text-decoration: none;
  background: rgba(146, 64, 14, 0.08);
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s;
}

.integrity-alert-github:hover {
  background: rgba(146, 64, 14, 0.15);
}

.integrity-ok {
  background: #dcfce7;
  color: #15803d;
  border-color: #bbf7d0;
}

.integrity-first {
  background: #e0f2fe;
  color: #0369a1;
  border-color: #bae6fd;
}

.integrity-warning {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
  animation: integrityPulse 2s infinite;
}

.integrity-danger {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
  animation: integrityPulse 1s infinite;
}

.integrity-unknown {
  background: var(--input-bg);
  color: var(--text-muted);
}

/* Alert Banner */
.integrity-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fef3c7;
  border-bottom: 2px solid #f59e0b;
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.integrity-alert-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.integrity-alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.integrity-alert-text {
  flex: 1;
}

.integrity-alert-text strong {
  font-size: 0.875rem;
  color: #92400e;
  display: block;
  margin-bottom: 0.25rem;
}

.integrity-alert-text p {
  font-size: 0.8125rem;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}

.integrity-alert-files {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.75rem !important;
  margin-top: 0.25rem !important;
  opacity: 0.8;
}

.integrity-alert-dismiss {
  background: none;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  color: #92400e;
  padding: 0;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.integrity-alert-dismiss:hover {
  opacity: 1;
}

@keyframes integrityPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
