/**
 * IQ-SIGNAL-HUB — Page Layouts & Views (v4)
 * Canonical Reference: docs/MASTER_SPEC.md Section 5.3 & 15 Phase 3
 */

/* Login & Setup Container */
.login-view-wrapper {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at center, #121C31 0%, #070B14 100%);
  position: relative;
  overflow: hidden;
}

.login-view-wrapper::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.login-card {
  max-width: 460px;
  width: 100%;
  background-color: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-card), var(--glow-gold);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.login-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.login-brand-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--grad-gold);
  color: #070B14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.4);
}

.login-title {
  font-size: var(--font-size-h2);
  font-weight: 800;
  color: var(--text);
}

.login-subtitle {
  font-size: var(--font-size-body);
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: var(--font-size-label);
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon input {
  padding-left: 48px;
}

.input-toggle-btn {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  padding: 6px;
  min-height: auto;
  border-radius: var(--radius-sm);
}

.input-toggle-btn:hover {
  color: var(--gold);
}

.error-banner {
  background-color: var(--danger-bg);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--danger);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.setup-banner {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--gold-soft);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* Dashboard Overview Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

