Spaces:
Paused
Paused
Update style.css
Browse files
style.css
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
|
|
| 1 |
:root {
|
| 2 |
-
--
|
| 3 |
-
--
|
| 4 |
-
--
|
| 5 |
-
--
|
| 6 |
-
--
|
| 7 |
-
--
|
| 8 |
-
--success-color: #
|
| 9 |
-
--error-color: #
|
| 10 |
}
|
| 11 |
|
|
|
|
| 12 |
* {
|
| 13 |
box-sizing: border-box;
|
| 14 |
margin: 0;
|
|
@@ -16,259 +18,155 @@
|
|
| 16 |
}
|
| 17 |
|
| 18 |
body {
|
| 19 |
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
|
| 20 |
-
background-color: var(--
|
| 21 |
-
color: var(--
|
| 22 |
display: flex;
|
| 23 |
justify-content: center;
|
| 24 |
align-items: center;
|
| 25 |
min-height: 100vh;
|
| 26 |
padding: 20px;
|
|
|
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
-
.
|
| 30 |
-
background-color: var(--form-background);
|
| 31 |
-
padding: 40px;
|
| 32 |
-
border-radius: 8px;
|
| 33 |
width: 100%;
|
| 34 |
-
max-width:
|
| 35 |
-
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
|
| 36 |
}
|
| 37 |
|
| 38 |
-
|
|
|
|
| 39 |
text-align: center;
|
| 40 |
-
margin-bottom:
|
| 41 |
-
color: #ffffff;
|
| 42 |
-
font-weight: 600;
|
| 43 |
}
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
margin: 25px 0;
|
| 49 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
.form-group {
|
| 52 |
margin-bottom: 20px;
|
| 53 |
}
|
| 54 |
-
|
| 55 |
label {
|
| 56 |
display: block;
|
| 57 |
margin-bottom: 8px;
|
| 58 |
font-size: 0.9rem;
|
| 59 |
-
color: var(--label-color);
|
| 60 |
font-weight: 500;
|
| 61 |
}
|
| 62 |
-
|
| 63 |
-
input[type="text"],
|
| 64 |
-
input[type="email"],
|
| 65 |
-
input[type="tel"],
|
| 66 |
-
input[type="number"],
|
| 67 |
-
textarea {
|
| 68 |
width: 100%;
|
| 69 |
-
padding:
|
| 70 |
-
background-color:
|
| 71 |
-
border: 1px solid var(--
|
| 72 |
border-radius: 6px;
|
| 73 |
-
color: var(--
|
| 74 |
font-size: 1rem;
|
| 75 |
-
transition:
|
| 76 |
}
|
| 77 |
-
|
| 78 |
-
input:focus,
|
| 79 |
-
textarea:focus {
|
| 80 |
outline: none;
|
| 81 |
-
border-color: var(--
|
| 82 |
-
box-shadow: 0 0
|
| 83 |
}
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
|
|
|
| 87 |
}
|
| 88 |
|
| 89 |
-
|
|
|
|
| 90 |
width: 100%;
|
| 91 |
padding: 15px;
|
| 92 |
-
background-color:
|
| 93 |
-
border:
|
| 94 |
border-radius: 6px;
|
| 95 |
-
color:
|
| 96 |
-
font-size:
|
| 97 |
-
font-weight:
|
| 98 |
cursor: pointer;
|
| 99 |
-
transition: background-color 0.
|
| 100 |
}
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
background-color: #0099e6;
|
| 104 |
}
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
}
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
cursor:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
}
|
| 114 |
|
|
|
|
| 115 |
.status {
|
| 116 |
text-align: center;
|
| 117 |
margin-top: 20px;
|
| 118 |
-
padding:
|
| 119 |
border-radius: 6px;
|
| 120 |
font-weight: 500;
|
| 121 |
-
display: none;
|
| 122 |
}
|
| 123 |
-
|
| 124 |
.status.success {
|
| 125 |
display: block;
|
| 126 |
-
background-color:
|
| 127 |
color: var(--success-color);
|
| 128 |
border: 1px solid var(--success-color);
|
| 129 |
}
|
| 130 |
-
|
| 131 |
.status.error {
|
| 132 |
display: block;
|
| 133 |
-
background-color: rgba(229, 62, 62, 0.
|
| 134 |
color: var(--error-color);
|
| 135 |
border: 1px solid var(--error-color);
|
| 136 |
}
|
| 137 |
-
/*
|
| 138 |
-
|
| 139 |
-
/* Admin & Lookup Panel Styles */
|
| 140 |
-
.form-container {
|
| 141 |
-
margin-bottom: 30px;
|
| 142 |
-
}
|
| 143 |
-
.admin-panel summary {
|
| 144 |
-
cursor: pointer;
|
| 145 |
-
font-weight: 600;
|
| 146 |
-
color: var(--primary-color);
|
| 147 |
-
}
|
| 148 |
-
.admin-buttons {
|
| 149 |
-
display: flex;
|
| 150 |
-
gap: 15px;
|
| 151 |
-
}
|
| 152 |
-
.admin-buttons button {
|
| 153 |
-
flex-grow: 1;
|
| 154 |
-
padding: 12px;
|
| 155 |
-
border: none;
|
| 156 |
-
border-radius: 6px;
|
| 157 |
-
color: white;
|
| 158 |
-
font-size: 1rem;
|
| 159 |
-
font-weight: 600;
|
| 160 |
-
cursor: pointer;
|
| 161 |
-
transition: background-color 0.3s;
|
| 162 |
-
}
|
| 163 |
-
.admin-buttons button.approve { background-color: var(--success-color); }
|
| 164 |
-
.admin-buttons button.decline { background-color: var(--error-color); }
|
| 165 |
-
.admin-buttons button:hover { opacity: 0.9; }
|
| 166 |
-
|
| 167 |
-
/* Modal Styles */
|
| 168 |
.hidden { display: none !important; }
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
position: fixed;
|
| 172 |
-
top: 0;
|
| 173 |
-
left: 0;
|
| 174 |
-
width: 100%;
|
| 175 |
-
height: 100%;
|
| 176 |
-
background-color: rgba(0, 0, 0, 0.6);
|
| 177 |
-
display: flex;
|
| 178 |
-
justify-content: center;
|
| 179 |
-
align-items: center;
|
| 180 |
-
z-index: 1000;
|
| 181 |
-
}
|
| 182 |
-
|
| 183 |
-
.modal-content {
|
| 184 |
-
background-color: var(--form-background);
|
| 185 |
-
padding: 30px;
|
| 186 |
-
border-radius: 8px;
|
| 187 |
-
box-shadow: 0 5px 15px rgba(0,0,0,0.5);
|
| 188 |
-
position: relative;
|
| 189 |
-
width: 90%;
|
| 190 |
-
max-width: 500px;
|
| 191 |
-
}
|
| 192 |
-
|
| 193 |
-
.modal-close {
|
| 194 |
-
position: absolute;
|
| 195 |
-
top: 10px;
|
| 196 |
-
right: 15px;
|
| 197 |
-
background: none;
|
| 198 |
-
border: none;
|
| 199 |
-
font-size: 2rem;
|
| 200 |
-
color: var(--label-color);
|
| 201 |
-
cursor: pointer;
|
| 202 |
-
}
|
| 203 |
-
|
| 204 |
-
#modal-body p {
|
| 205 |
-
margin-bottom: 12px;
|
| 206 |
-
font-size: 1.1rem;
|
| 207 |
-
}
|
| 208 |
-
|
| 209 |
-
.badge {
|
| 210 |
-
padding: 5px 10px;
|
| 211 |
-
border-radius: 5px;
|
| 212 |
-
color: white;
|
| 213 |
-
font-weight: bold;
|
| 214 |
-
text-transform: uppercase;
|
| 215 |
-
font-size: 0.9rem;
|
| 216 |
-
}
|
| 217 |
-
.badge.active { background-color: #f0ad4e; }
|
| 218 |
-
.badge.accepted { background-color: var(--success-color); }
|
| 219 |
-
.badge.declined { background-color: var(--error-color); }
|
| 220 |
-
/* Add these new styles to your style.css file */
|
| 221 |
-
|
| 222 |
-
.main-content {
|
| 223 |
-
width: 100%;
|
| 224 |
-
max-width: 600px;
|
| 225 |
-
}
|
| 226 |
-
|
| 227 |
-
/* Floating Action Button */
|
| 228 |
-
.floating-action-button {
|
| 229 |
-
position: fixed;
|
| 230 |
-
bottom: 30px;
|
| 231 |
-
right: 30px;
|
| 232 |
-
width: 60px;
|
| 233 |
-
height: 60px;
|
| 234 |
-
background-color: var(--primary-color);
|
| 235 |
-
color: white;
|
| 236 |
-
border: none;
|
| 237 |
-
border-radius: 50%;
|
| 238 |
-
font-size: 2rem;
|
| 239 |
-
font-weight: bold;
|
| 240 |
-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
| 241 |
-
cursor: pointer;
|
| 242 |
-
z-index: 999;
|
| 243 |
-
display: flex;
|
| 244 |
-
justify-content: center;
|
| 245 |
-
align-items: center;
|
| 246 |
-
transition: background-color 0.3s, transform 0.2s;
|
| 247 |
-
}
|
| 248 |
-
|
| 249 |
-
.floating-action-button:hover {
|
| 250 |
-
background-color: #0099e6;
|
| 251 |
-
transform: scale(1.05);
|
| 252 |
-
}
|
| 253 |
-
|
| 254 |
-
/* Ensure modal content scrolls if it's too long */
|
| 255 |
-
.modal-content {
|
| 256 |
-
max-height: 90vh;
|
| 257 |
-
overflow-y: auto;
|
| 258 |
-
}
|
| 259 |
-
/* Add this to the bottom of style.css */
|
| 260 |
-
|
| 261 |
-
.highlight {
|
| 262 |
-
animation: highlight-animation 2s ease-out;
|
| 263 |
-
}
|
| 264 |
-
|
| 265 |
-
@keyframes highlight-animation {
|
| 266 |
-
0% {
|
| 267 |
-
background-color: rgba(0, 170, 255, 0.25);
|
| 268 |
-
transform: scale(1.02);
|
| 269 |
-
}
|
| 270 |
-
100% {
|
| 271 |
-
background-color: var(--form-background);
|
| 272 |
-
transform: scale(1);
|
| 273 |
-
}
|
| 274 |
}
|
|
|
|
| 1 |
+
/* --- THEME & VARIABLES --- */
|
| 2 |
:root {
|
| 3 |
+
--navy-dark: #0a192f;
|
| 4 |
+
--navy-light: #112240;
|
| 5 |
+
--slate-light: #ccd6f6;
|
| 6 |
+
--slate-medium: #8892b0;
|
| 7 |
+
--cyan-accent: #64ffda;
|
| 8 |
+
--cyan-accent-transparent: rgba(100, 255, 218, 0.1);
|
| 9 |
+
--success-color: #64ffda;
|
| 10 |
+
--error-color: #ff8b8b;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
/* --- GLOBAL STYLES & RESET --- */
|
| 14 |
* {
|
| 15 |
box-sizing: border-box;
|
| 16 |
margin: 0;
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
body {
|
| 21 |
+
font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
| 22 |
+
background-color: var(--navy-dark);
|
| 23 |
+
color: var(--slate-medium);
|
| 24 |
display: flex;
|
| 25 |
justify-content: center;
|
| 26 |
align-items: center;
|
| 27 |
min-height: 100vh;
|
| 28 |
padding: 20px;
|
| 29 |
+
font-size: 16px;
|
| 30 |
+
line-height: 1.5;
|
| 31 |
}
|
| 32 |
|
| 33 |
+
.content-wrapper {
|
|
|
|
|
|
|
|
|
|
| 34 |
width: 100%;
|
| 35 |
+
max-width: 700px;
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
+
/* --- HEADER & LOGO --- */
|
| 39 |
+
.page-header {
|
| 40 |
text-align: center;
|
| 41 |
+
margin-bottom: 50px;
|
|
|
|
|
|
|
| 42 |
}
|
| 43 |
+
.logo {
|
| 44 |
+
width: 100px;
|
| 45 |
+
height: 100px;
|
| 46 |
+
margin-bottom: 20px;
|
|
|
|
| 47 |
}
|
| 48 |
+
h1, h2, h3 {
|
| 49 |
+
color: var(--slate-light);
|
| 50 |
+
font-weight: 700;
|
| 51 |
+
}
|
| 52 |
+
h1 { font-size: 2.5rem; }
|
| 53 |
+
h2 { font-size: 1.5rem; margin-bottom: 20px; }
|
| 54 |
+
h3 { font-size: 1.75rem; margin-bottom: 25px; }
|
| 55 |
+
|
| 56 |
|
| 57 |
+
/* --- FORM CONTAINER & ELEMENTS --- */
|
| 58 |
+
.form-container {
|
| 59 |
+
background-color: var(--navy-light);
|
| 60 |
+
padding: 30px;
|
| 61 |
+
border-radius: 8px;
|
| 62 |
+
margin-bottom: 30px;
|
| 63 |
+
border: 1px solid #1a2c4e;
|
| 64 |
+
}
|
| 65 |
.form-group {
|
| 66 |
margin-bottom: 20px;
|
| 67 |
}
|
|
|
|
| 68 |
label {
|
| 69 |
display: block;
|
| 70 |
margin-bottom: 8px;
|
| 71 |
font-size: 0.9rem;
|
|
|
|
| 72 |
font-weight: 500;
|
| 73 |
}
|
| 74 |
+
input, textarea {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
width: 100%;
|
| 76 |
+
padding: 14px;
|
| 77 |
+
background-color: rgba(10, 25, 47, 0.7); /* Glassmorphism effect */
|
| 78 |
+
border: 1px solid var(--navy-dark);
|
| 79 |
border-radius: 6px;
|
| 80 |
+
color: var(--slate-light);
|
| 81 |
font-size: 1rem;
|
| 82 |
+
transition: all 0.25s ease;
|
| 83 |
}
|
| 84 |
+
input:focus, textarea:focus {
|
|
|
|
|
|
|
| 85 |
outline: none;
|
| 86 |
+
border-color: var(--cyan-accent);
|
| 87 |
+
box-shadow: 0 0 10px -3px var(--cyan-accent);
|
| 88 |
}
|
| 89 |
+
hr {
|
| 90 |
+
border: none;
|
| 91 |
+
border-top: 1px solid var(--navy-dark);
|
| 92 |
+
margin: 25px 0;
|
| 93 |
}
|
| 94 |
|
| 95 |
+
/* --- BUTTONS --- */
|
| 96 |
+
button {
|
| 97 |
width: 100%;
|
| 98 |
padding: 15px;
|
| 99 |
+
background-color: transparent;
|
| 100 |
+
border: 1px solid var(--cyan-accent);
|
| 101 |
border-radius: 6px;
|
| 102 |
+
color: var(--cyan-accent);
|
| 103 |
+
font-size: 1rem;
|
| 104 |
+
font-weight: 500;
|
| 105 |
cursor: pointer;
|
| 106 |
+
transition: background-color 0.25s ease;
|
| 107 |
}
|
| 108 |
+
button:hover {
|
| 109 |
+
background-color: var(--cyan-accent-transparent);
|
|
|
|
| 110 |
}
|
| 111 |
+
.floating-action-button {
|
| 112 |
+
position: fixed;
|
| 113 |
+
bottom: 30px;
|
| 114 |
+
right: 30px;
|
| 115 |
+
width: 60px;
|
| 116 |
+
height: 60px;
|
| 117 |
+
background-color: var(--cyan-accent);
|
| 118 |
+
border-radius: 50%;
|
| 119 |
+
border: none;
|
| 120 |
+
box-shadow: 0 4px 15px rgba(0,0,0,0.3);
|
| 121 |
+
cursor: pointer;
|
| 122 |
+
z-index: 999;
|
| 123 |
+
display: flex;
|
| 124 |
+
justify-content: center;
|
| 125 |
+
align-items: center;
|
| 126 |
+
transition: transform 0.2s ease;
|
| 127 |
+
}
|
| 128 |
+
.floating-action-button svg {
|
| 129 |
+
fill: var(--navy-dark);
|
| 130 |
+
}
|
| 131 |
+
.floating-action-button:hover {
|
| 132 |
+
background-color: var(--cyan-accent);
|
| 133 |
+
transform: scale(1.1);
|
| 134 |
}
|
| 135 |
|
| 136 |
+
/* --- ADMIN PANEL --- */
|
| 137 |
+
.admin-panel summary {
|
| 138 |
+
cursor: pointer;
|
| 139 |
+
font-weight: 700;
|
| 140 |
+
font-size: 1.1rem;
|
| 141 |
+
color: var(--cyan-accent);
|
| 142 |
+
}
|
| 143 |
+
.details-content {
|
| 144 |
+
margin-top: 20px;
|
| 145 |
}
|
| 146 |
|
| 147 |
+
/* --- STATUS & MODAL STYLES --- */
|
| 148 |
.status {
|
| 149 |
text-align: center;
|
| 150 |
margin-top: 20px;
|
| 151 |
+
padding: 14px;
|
| 152 |
border-radius: 6px;
|
| 153 |
font-weight: 500;
|
| 154 |
+
display: none;
|
| 155 |
}
|
|
|
|
| 156 |
.status.success {
|
| 157 |
display: block;
|
| 158 |
+
background-color: var(--cyan-accent-transparent);
|
| 159 |
color: var(--success-color);
|
| 160 |
border: 1px solid var(--success-color);
|
| 161 |
}
|
|
|
|
| 162 |
.status.error {
|
| 163 |
display: block;
|
| 164 |
+
background-color: rgba(229, 62, 62, 0.1);
|
| 165 |
color: var(--error-color);
|
| 166 |
border: 1px solid var(--error-color);
|
| 167 |
}
|
| 168 |
+
/* All previous modal styles remain valid */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 169 |
.hidden { display: none !important; }
|
| 170 |
+
.modal-backdrop, .modal-content, .modal-close {
|
| 171 |
+
/* Retain previous modal styles */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 172 |
}
|