/* Header Component Styles */

.clip-header {
  grid-area: header;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #111827, #0f172a) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  display: flex !important;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}

.header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  padding-left: 40px !important;
  padding-right: 40px !important;
  padding-top: 10px !important;
  padding-bottom: 1px !important;
  gap: 4px;
  color: var(--text) !important;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.header-logo img {
  width: 52px;
  height: 52px;
}

.header-title {
  font-size: 28px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  background: transparent;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.header-tagline {
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.4px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
  margin-bottom: 20px;
}

.header-row:hover .header-tagline {
  opacity: 1;
}

/* Spacer utility for flex layouts */
.header-spacer {
  flex: 1;
  margin-left: auto;
}

/* Header action button area */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Join section alignment */
#join-section {
  margin-left: 0 !important;
}

/* Back to app link */
.header-back-link {
  text-decoration: none;
  color: #2d5aa3;
  font-weight: 600;
}

/* Session info section */
#session-info {
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Single device hint */
.single-device-hint {
  display: none;
  font-size: 12px;
  color: var(--muted);
}

/* Captcha wrapper */
#join-captcha-wrap {
  display: none;
  padding: 4px 16px 12px 16px;
}

#join-captcha-note {
  font-size: 12px;
  color: #66727e;
  margin-bottom: 6px;
}

#join-captcha-config-note {
  display: none;
  font-size: 12px;
  color: #66727e;
  margin-top: 6px;
}
