Spaces:
Sleeping

File size: 2,090 Bytes
20d0e47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/* ============================================
   HEADER COMPONENT
   ============================================ */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.logo-icon {
  width: 50px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-h);
}

.logo h1 span {
  color: var(--cardinal);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--burgundy);
  font-size: 14px;
  background: var(--accent-bg);
  padding: 8px 16px;
  border-radius: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--cardinal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 4px;
  margin-right: 16px;
}

.lang-btn {
  min-width: 36px;
  height: 36px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0.5px;
}

.lang-btn.active {
  background: var(--cardinal);
  color: white;
  box-shadow: 0 2px 8px rgba(172, 22, 52, 0.3);
}

.lang-btn:hover:not(.active) {
  background: var(--accent-bg);
  color: var(--cardinal);
}

[dir="rtl"] .header {
  flex-direction: row-reverse;
}

[dir="rtl"] .logo {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher {
  margin-right: 0;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .logo h1 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .logo h1 {
    font-size: 1.2rem;
  }
  
  .logo-icon {
    width: 40px;
  }
  
  .lang-btn {
    min-width: 30px;
    height: 30px;
    font-size: 11px;
  }
}