File size: 5,179 Bytes
cd366d1 e99fc72 cd366d1 e99fc72 cd366d1 8acc1ae e99fc72 cd366d1 e99fc72 cd366d1 e99fc72 8acc1ae e99fc72 277aec4 e99fc72 9482df9 e99fc72 277aec4 e99fc72 277aec4 9482df9 e99fc72 cd366d1 e99fc72 9482df9 e99fc72 277aec4 e99fc72 277aec4 e99fc72 277aec4 e99fc72 277aec4 9482df9 e99fc72 9482df9 e99fc72 9482df9 e99fc72 a4d058e |
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 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
:root {
--bg-color: #f4f7f9;
--card-bg-color: #ffffff;
--primary-color: #3498db;
--text-color-dark: #2c3e50;
--text-color-light: #7f8c8d;
--border-color: #e1e5e8;
--success-color: #2ecc71;
--error-color: #e74c3c;
--shadow: 0 4px 6px rgba(44, 62, 80, 0.1);
--font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-family);
background-color: var(--bg-color);
color: var(--text-color-dark);
display: flex;
justify-content: center;
padding: 30px 15px;
min-height: 100vh;
}
.main-container {
width: 100%;
max-width: 550px;
}
.page-header {
text-align: center;
margin-bottom: 40px;
}
.logo {
width: 60px;
height: 60px;
color: var(--primary-color);
margin-bottom: 15px;
stroke: var(--primary-color); /* For SVG lines */
}
h1 {
font-size: 1.75rem;
font-weight: 600;
}
h2 {
font-size: 1.25rem;
font-weight: 600;
margin-bottom: 20px;
}
h3 {
font-size: 1.5rem;
margin-bottom: 20px;
text-align: center;
}
.widget-card {
background-color: var(--card-bg-color);
padding: 25px;
border-radius: 12px;
margin-bottom: 25px;
box-shadow: var(--shadow);
border: 1px solid var(--border-color);
}
.form-group {
margin-bottom: 18px;
}
label {
display: block;
margin-bottom: 6px;
font-size: 0.875rem;
font-weight: 500;
color: var(--text-color-light);
}
input[type="text"],
input[type="email"],
input[type="number"] {
width: 100%;
padding: 12px;
border: 1px solid var(--border-color);
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}
button {
font-family: var(--font-family);
cursor: pointer;
border-radius: 8px;
font-weight: 500;
padding: 12px 15px;
border: 1px solid transparent;
transition: all 0.2s;
}
.button-primary {
width: 100%;
background-color: var(--primary-color);
color: white;
font-size: 1rem;
}
.button-primary:hover {
background-color: #2980b9;
}
.fab {
position: fixed;
bottom: 25px;
right: 25px;
width: 56px;
height: 56px;
background-color: var(--primary-color);
border-radius: 50%;
box-shadow: var(--shadow);
display: flex;
justify-content: center;
align-items: center;
color: white;
}
.fab:hover {
transform: scale(1.05);
}
.admin-panel summary {
cursor: pointer;
font-weight: 600;
color: var(--primary-color);
list-style-position: inside;
}
.details-content {
margin-top: 20px;
}
.admin-buttons {
display: flex;
gap: 10px;
}
.admin-buttons button {
flex-grow: 1;
}
.button-approve {
background-color: var(--success-color);
color: white;
}
.button-decline {
background-color: var(--error-color);
color: white;
}
.status {
text-align: center;
margin-top: 15px;
padding: 10px;
border-radius: 6px;
display: none;
}
.status.success {
display: block;
color: #27ae60;
background-color: #eaf8f1;
}
.status.error {
display: block;
color: #c0392b;
background-color: #fbecec;
}
.hidden { display: none !important; }
.modal-backdrop {
position: fixed;
inset: 0;
background-color: rgba(10, 25, 47, 0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background: var(--card-bg-color);
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
position: relative;
width: 90%;
max-width: 500px;
}
.modal-close {
position: absolute;
top: 10px;
right: 15px;
background: none;
border: none;
font-size: 2rem;
color: var(--text-color-light);
}
/* Highlight animation from before */
.highlight {
animation: highlight-animation 2s ease-out;
}
@keyframes highlight-animation {
from { background-color: rgba(52, 152, 219, 0.2); }
to { background-color: var(--card-bg-color); }
}
/* Add these to the bottom of your style.css */
.modal-hr {
border: none;
height: 1px;
background-color: var(--border-color);
margin: 15px 0;
}
#modal-body p {
margin-bottom: 10px;
font-size: 1rem;
}
#modal-body p strong {
color: var(--text-color-light);
font-weight: 500;
margin-right: 8px;
}
.description-label {
margin-top: 15px;
}
.description-text {
white-space: pre-wrap; /* Respects line breaks in the description */
background-color: var(--bg-color);
padding: 10px;
border-radius: 6px;
font-size: 0.95rem;
}
/* Badge styles for status */
.badge {
padding: 4px 10px;
border-radius: 12px;
color: white;
font-weight: 600;
text-transform: uppercase;
font-size: 0.8rem;
vertical-align: middle;
}
.badge.active { background-color: #f0ad4e; }
.badge.accepted { background-color: var(--success-color); }
.badge.declined { background-color: var(--error-color); } |