File size: 2,152 Bytes
f499d4b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* App shell layout */
.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr var(--context-w);
  height: 100vh;
  overflow: hidden;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 28%),
    linear-gradient(160deg, #09111f 0%, #0c1322 55%, #121933 100%);
}

.auth-panel {
  width: min(100%, 420px);
  padding: 32px;
  border-radius: 24px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.96), rgba(10, 14, 24, 0.98));
  box-shadow: 0 24px 80px rgba(3, 7, 18, 0.55);
}

.auth-copy h1 {
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-top: 10px;
}

.auth-copy p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
}

.auth-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.auth-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-submit {
  justify-content: center;
  margin-top: 4px;
  min-height: 44px;
}

.auth-switch {
  margin-top: 16px;
  background: none;
  border: none;
  color: #c7d2fe;
  cursor: pointer;
  font: inherit;
}

.auth-switch:hover {
  color: #e0e7ff;
}

.auth-error {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.22);
  color: #fca5a5;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: var(--sidebar-w) 1fr;
  }
  .context-panel { display: none; }
}

@media (max-width: 720px) {
  .app-shell {
    grid-template-columns: 1fr;
  }
  .sidebar { display: none; }

  .auth-panel {
    padding: 24px;
    border-radius: 18px;
  }
}