-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.css
More file actions
128 lines (116 loc) · 1.9 KB
/
Copy pathform.css
File metadata and controls
128 lines (116 loc) · 1.9 KB
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
body {
margin: 0;
font-family: Arial, sans-serif;
background: #0f1221;
}
/* Map placeholder (for context only) */
#map {
height: 100vh;
background: linear-gradient(135deg, #1a2250, #0b1120);
}
/* Modal backdrop */
.modal {
position: fixed;
inset: 0;
display: none; /* toggle with JS */
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
}
/* Modal card */
.modal-content {
background: #14182b;
padding: 20px;
border-radius: 12px;
max-width: 420px; /* smaller card */
width: 90%;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
color: #fff;
}
.modal-header {
font-size: 1.2rem;
font-weight: bold;
margin-bottom: 16px;
text-align: center;
}
form {
display: grid;
gap: 16px;
}
label {
font-size: 0.9rem;
color: #a7b0c0;
margin-bottom: 6px;
display: block;
}
select,
input,
textarea {
width: 100%;
padding: 10px;
border-radius: 8px;
border: 1px solid #333;
background: #0f1430;
color: #fff;
outline: none;
}
select:focus,
input:focus,
textarea:focus {
border-color: #7c9cff;
box-shadow: 0 0 0 2px rgba(124, 156, 255, 0.3);
}
/* Row layouts */
.row {
display: flex;
gap: 12px;
}
.row > div {
flex: 1;
}
/* Stars inline with label */
.stars-row {
display: flex;
align-items: center;
gap: 10px;
}
/* Stars */
.stars {
display: flex;
gap: 6px;
direction: rtl;
}
.stars input {
display: none;
}
.stars label {
font-size: 22px;
cursor: pointer;
color: #2c335c;
}
.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
color: #ffd76b;
}
/* Notes */
textarea {
resize: vertical;
min-height: 80px;
}
/* Button */
button {
background: linear-gradient(90deg, #7c9cff, #6ef3d6);
border: none;
border-radius: 8px;
padding: 10px;
font-weight: bold;
color: #0b132e;
cursor: pointer;
transition: filter 0.2s;
width: 100%;
}
button:hover {
filter: brightness(1.1);
}