/* ===== Auth Layout (Cyber Glacier Theme) ===== */
.auth-body {
  font-family: 'Lexend', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  background: #060b18;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-container {
  width: 100%;
  max-width: 400px;
  padding: 1rem;
}

.auth-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --oauth-divider-bg: rgba(6, 11, 24, 1);
}

.auth-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00f2ff;
  text-shadow: 0 0 10px #00f2ff;
}

/* ===== Flash Messages ===== */
.flash {
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.flash-notice {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid #10b981;
  color: #6ee7b7;
}

.flash-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* ===== Form Styles ===== */
.auth-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #00f2ff;
  box-shadow: 0 0 0 2px rgba(0, 242, 255, 0.2);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field-error {
  color: #fca5a5;
  font-size: 0.75rem;
}

.form-group-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #00f2ff;
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #00f2ff;
  margin: 0.5rem 0 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 242, 255, 0.15);
}

.form-group select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group select:focus {
  outline: none;
  border-color: #00f2ff;
  box-shadow: 0 0 0 2px rgba(0, 242, 255, 0.2);
}

/* ===== Buttons ===== */
.btn-auth {
  background: #00f2ff;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
}

.btn-auth:hover {
  background: #00d4e6;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.5);
}

.btn-auth:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== Role Badge ===== */
.role-badge {
  display: inline-block;
  background: rgba(0, 242, 255, 0.1);
  border: 1px solid rgba(0, 242, 255, 0.3);
  color: #00f2ff;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.invite-info {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 242, 255, 0.05);
  border-radius: 8px;
}

.invite-info p {
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ===== Help Page: Self-Service Section ===== */
.help-self-service {
  margin-bottom: 1.5rem;
}

.help-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #00f2ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: #00f2ff;
}

.faq-chevron {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.faq-item--open .faq-chevron {
  transform: rotate(90deg);
  color: #00f2ff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.2s ease;
}

.faq-answer-inner {
  padding: 0 0 0.75rem 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.faq-answer-inner p {
  margin: 0 0 0.5rem 0;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.faq-answer-inner a {
  color: #00f2ff;
  text-decoration: underline;
}

/* Video Section */
.help-video {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 242, 255, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
}

.video-placeholder-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: rgba(0, 242, 255, 0.3);
}

/* Divider */
.help-divider {
  text-align: center;
  padding: 1.25rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  position: relative;
}

.help-divider::before,
.help-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background: rgba(0, 242, 255, 0.15);
}

.help-divider::before {
  left: 0;
}

.help-divider::after {
  right: 0;
}

/* Help page needs wider container for FAQ content */
.auth-container--wide .auth-card {
  max-width: 520px;
}
