/* Auth & Welcome Screen Styles - Image 1 Reference */
.auth-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 24px 24px calc(24px + var(--safe-area-bottom)) 24px;
  background-color: var(--bg-surface);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: pan-y;
  &::-webkit-scrollbar {
    display: none;
  }
}

.auth-container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.auth-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 24px;
}

.auth-logo-badge {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-xl);
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(248, 73, 113, 0.15);
  border: 1px solid var(--primary-soft-border);
}

.auth-logo-badge svg {
  width: 36px;
  height: 36px;
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Auth Segmented Switch */
.auth-switch-container {
  margin-bottom: 24px;
}

/* Social Buttons */
.auth-social-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-divider {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 16px 0;
  gap: 12px;
}

.auth-divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-subtle);
}

.auth-divider-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Terms Checkbox */
.auth-terms-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 24px 0;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  cursor: pointer;
}

.auth-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid var(--border-subtle);
  background-color: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s ease;
}

.auth-checkbox.checked {
  background: var(--primary-gradient);
  border-color: var(--primary);
  color: #FFFFFF;
}

.auth-checkbox svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  stroke-width: 2.5;
  fill: none;
}

/* Guest & VPS Footer Actions */
.auth-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
}

.guest-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-subtle);
  color: var(--text-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  padding: 12px 20px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

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

.vps-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: color 0.2s ease;
}

.vps-status-pill:hover {
  color: var(--primary);
}

.vps-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--status-success);
}

.vps-status-dot.offline {
  background-color: #9CA3AF;
}


/* HeroUI Primary Google Button */
.auth-primary-google-wrap {
  width: 100%;
  margin-bottom: 8px;
}

.btn-hero-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  background-color: #FFFFFF;
  color: #1F2937;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-google:hover {
  border-color: var(--primary);
  background-color: var(--primary-soft);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 24, 74, 0.12);
}

.btn-hero-google:active {
  transform: translateY(0);
}

.google-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-btn-text {
  letter-spacing: -0.2px;
}
