/* Full-screen layout for Settings, Support, and similar standalone pages */

.standalone-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg, #FAFAFA);
}

.standalone-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
  padding: 0 24px;
  background: var(--surface, #FFFFFF);
  border-bottom: 1px solid var(--border, #E8E8E8);
}

.standalone-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.standalone-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
}

.standalone-brand-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #1A1A1A);
  letter-spacing: -0.01em;
}

.standalone-logout {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border, #E8E8E8);
  border-radius: 8px;
  background: var(--surface, #FFFFFF);
  color: var(--text-secondary, #6B6B6B);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.standalone-logout:hover {
  background: var(--surface-hover, #F5F5F5);
  color: var(--text, #1A1A1A);
}

.standalone-logout svg {
  width: 16px;
  height: 16px;
}

.standalone-main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 24px 48px;
}

.standalone-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #6B6B6B);
  text-decoration: none;
  transition: color 0.15s ease;
}

.standalone-back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.standalone-back-link:hover {
  color: var(--primary, #E87B35);
}

.standalone-back-link:hover svg {
  transform: translateX(-2px);
}

.standalone-page-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text, #1A1A1A);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.copy-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--text, #1A1A1A);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .standalone-header {
    padding: 0 16px;
  }

  .standalone-main {
    padding: 20px 16px 40px;
  }

  .standalone-page-title {
    font-size: 24px;
  }
}
