Spaces:
Running

File size: 2,397 Bytes
25834e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* Auth modal dedicated styles */
#authModal.modal {
    display: none;
    align-items: center;
    justify-content: center;
}

#authModal .modal-content {
    width: 100%;
    max-width: 460px;
    margin: 70px 20px;
    padding: 24px 22px;
    border-radius: 14px;
    background: rgba(15, 18, 37, 0.95);
    border: 1px solid #2a2e52;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

#authModal h2 {
    margin: 12px 0;
    color: #e9e9ff;
    font-size: 28px;
    text-align: center;
}

#authModal label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    color: #c7c9ff;
}

#authModal input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #2a2e52;
    border-radius: 10px;
    background: #0b0e20;
    color: #fff;
    backdrop-filter: none;
}

/* Unify placeholder styling across email, password, and text inputs in the auth modal */
#authModal input::placeholder,
#authModal input::-webkit-input-placeholder,
#authModal input::-moz-placeholder,
#authModal input:-ms-input-placeholder,
#authModal input::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

#authModal .actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    align-items: center;
    justify-content: center;
}

#authModal .primary {
    padding: 12px 16px;
    background: #5865f2;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#authModal .secondary {
    padding: 10px 14px;
    background: transparent;
    color: #c7c9ff;
    border: 1px solid #2a2e52;
    border-radius: 10px;
    cursor: pointer;
}

#authModal .toggle {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#authModal .toggle button {
    background: none;
    border: none;
    color: #8aa0ff;
    cursor: pointer;
    display: inline;
    width: auto;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    text-decoration: underline;
    font: inherit;
}

#authError {
    color: #ff7b7b;
    text-align: center;
}

@media screen and (max-width: 600px) {
    #authModal .modal-content {
        margin: 20px;
        padding: 20px;
    }
}