| 1 |
/* ===== KING ADDONS AI SETTINGS - MODERN DESIGN ===== */ |
| 2 |
|
| 3 |
/* Font Import */ |
| 4 |
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); |
| 5 |
|
| 6 |
/* Global Overrides */ |
| 7 |
.king-addons-ai-settings { |
| 8 |
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; |
| 9 |
background: transparent !important; |
| 10 |
margin: 0 !important; |
| 11 |
padding: 0 !important; |
| 12 |
padding-right: 10px !important; |
| 13 |
margin-top: 30px !important; |
| 14 |
} |
| 15 |
|
| 16 |
/* Header Section */ |
| 17 |
.king-addons-settings-header { |
| 18 |
background: linear-gradient(135deg, #1a1b1b 0%, #2d2f30 100%); |
| 19 |
border-radius: 20px; |
| 20 |
padding: 40px; |
| 21 |
margin-bottom: 30px; |
| 22 |
position: relative; |
| 23 |
overflow: hidden; |
| 24 |
backdrop-filter: blur(20px); |
| 25 |
border: 1px solid rgba(255, 255, 255, 0.1); |
| 26 |
} |
| 27 |
|
| 28 |
.king-addons-settings-header::before { |
| 29 |
content: ''; |
| 30 |
position: absolute; |
| 31 |
top: 0; |
| 32 |
left: 0; |
| 33 |
right: 0; |
| 34 |
bottom: 0; |
| 35 |
background: linear-gradient(45deg, rgba(91, 3, 255, 0.1), rgba(76, 175, 80, 0.1)); |
| 36 |
opacity: 0.5; |
| 37 |
z-index: 0; |
| 38 |
} |
| 39 |
|
| 40 |
.king-addons-settings-header-content { |
| 41 |
display: flex; |
| 42 |
align-items: center; |
| 43 |
gap: 24px; |
| 44 |
position: relative; |
| 45 |
z-index: 1; |
| 46 |
} |
| 47 |
|
| 48 |
.king-addons-settings-header-icon { |
| 49 |
width: 64px; |
| 50 |
height: 64px; |
| 51 |
background: linear-gradient(135deg, #5b03ff, #4caf50); |
| 52 |
border-radius: 16px; |
| 53 |
display: flex; |
| 54 |
align-items: center; |
| 55 |
justify-content: center; |
| 56 |
box-shadow: 0 8px 32px rgba(91, 3, 255, 0.3); |
| 57 |
animation: pulse-glow 2s ease-in-out infinite alternate; |
| 58 |
} |
| 59 |
|
| 60 |
@keyframes pulse-glow { |
| 61 |
0% { box-shadow: 0 8px 32px rgba(91, 3, 255, 0.3); } |
| 62 |
100% { box-shadow: 0 12px 48px rgba(91, 3, 255, 0.5); } |
| 63 |
} |
| 64 |
|
| 65 |
.king-addons-settings-header-icon img { |
| 66 |
width: 32px; |
| 67 |
height: 32px; |
| 68 |
filter: brightness(0) invert(1); |
| 69 |
} |
| 70 |
|
| 71 |
.king-addons-settings-title { |
| 72 |
font-size: 32px; |
| 73 |
font-weight: 700; |
| 74 |
color: #ffffff; |
| 75 |
margin: 0 0 8px 0; |
| 76 |
letter-spacing: -0.02em; |
| 77 |
} |
| 78 |
|
| 79 |
.king-addons-settings-subtitle { |
| 80 |
font-size: 16px; |
| 81 |
font-weight: 400; |
| 82 |
color: rgba(255, 255, 255, 0.7); |
| 83 |
margin: 0; |
| 84 |
line-height: 1.5; |
| 85 |
} |
| 86 |
|
| 87 |
/* Settings Container */ |
| 88 |
.king-addons-settings-container { |
| 89 |
background: rgba(26, 27, 27, 0.9); |
| 90 |
border-radius: 20px; |
| 91 |
padding: 0; |
| 92 |
backdrop-filter: blur(20px); |
| 93 |
border: 1px solid rgba(255, 255, 255, 0.1); |
| 94 |
overflow: hidden; |
| 95 |
} |
| 96 |
|
| 97 |
/* Form Styling */ |
| 98 |
.king-addons-settings-form { |
| 99 |
padding: 0; |
| 100 |
} |
| 101 |
|
| 102 |
/* Section Headers */ |
| 103 |
.king-addons-ai-settings h2 { |
| 104 |
background: linear-gradient(135deg, #2d2f30, #1a1b1b); |
| 105 |
color: #ffffff; |
| 106 |
font-size: 18px; |
| 107 |
font-weight: 600; |
| 108 |
margin: 0; |
| 109 |
padding: 24px 40px; |
| 110 |
border-bottom: 1px solid rgba(255, 255, 255, 0.1); |
| 111 |
letter-spacing: -0.01em; |
| 112 |
position: relative; |
| 113 |
} |
| 114 |
|
| 115 |
.king-addons-ai-settings h2::before { |
| 116 |
content: ''; |
| 117 |
position: absolute; |
| 118 |
left: 0; |
| 119 |
top: 0; |
| 120 |
bottom: 0; |
| 121 |
width: 4px; |
| 122 |
background: linear-gradient(135deg, #5b03ff, #4caf50); |
| 123 |
} |
| 124 |
|
| 125 |
/* Section descriptions (p tags after h2) */ |
| 126 |
.king-addons-ai-settings h2 + p { |
| 127 |
background: rgba(45, 47, 48, 0.3); |
| 128 |
color: rgba(255, 255, 255, 0.9) !important; |
| 129 |
font-size: 14px; |
| 130 |
font-weight: 400; |
| 131 |
margin: 0; |
| 132 |
padding: 16px 40px; |
| 133 |
border-bottom: 1px solid rgba(255, 255, 255, 0.1); |
| 134 |
line-height: 1.5; |
| 135 |
} |
| 136 |
|
| 137 |
/* Section Content */ |
| 138 |
.king-addons-ai-settings .form-table { |
| 139 |
background: transparent; |
| 140 |
margin: 0 0 2px 0; |
| 141 |
border-collapse: separate; |
| 142 |
border-spacing: 0; |
| 143 |
width: 100%; |
| 144 |
} |
| 145 |
|
| 146 |
/* Section spacing */ |
| 147 |
.king-addons-ai-settings h2:not(:first-child) { |
| 148 |
margin-top: 24px; |
| 149 |
} |
| 150 |
|
| 151 |
.king-addons-ai-settings .form-table th, |
| 152 |
.king-addons-ai-settings .form-table td { |
| 153 |
padding: 20px 40px; |
| 154 |
border-bottom: 1px solid rgba(255, 255, 255, 0.05); |
| 155 |
vertical-align: top; |
| 156 |
} |
| 157 |
|
| 158 |
/* Remove border from last row */ |
| 159 |
.king-addons-ai-settings .form-table tr:last-child th, |
| 160 |
.king-addons-ai-settings .form-table tr:last-child td { |
| 161 |
border-bottom: none; |
| 162 |
} |
| 163 |
|
| 164 |
.king-addons-ai-settings .form-table th { |
| 165 |
background: rgba(45, 47, 48, 0.5); |
| 166 |
color: #ffffff; |
| 167 |
font-weight: 500; |
| 168 |
font-size: 14px; |
| 169 |
width: 25%; |
| 170 |
border-right: 1px solid rgba(255, 255, 255, 0.1); |
| 171 |
} |
| 172 |
|
| 173 |
.king-addons-ai-settings .form-table td { |
| 174 |
background: rgba(26, 27, 27, 0.3); |
| 175 |
color: #ffffff; |
| 176 |
} |
| 177 |
|
| 178 |
/* Input Fields */ |
| 179 |
.king-addons-ai-settings input[type="text"], |
| 180 |
.king-addons-ai-settings input[type="password"], |
| 181 |
.king-addons-ai-settings input[type="number"], |
| 182 |
.king-addons-ai-settings select, |
| 183 |
.king-addons-ai-settings textarea { |
| 184 |
background: rgba(45, 47, 48, 0.8); |
| 185 |
border: 2px solid rgba(255, 255, 255, 0.1); |
| 186 |
border-radius: 12px; |
| 187 |
color: #ffffff; |
| 188 |
font-size: 14px; |
| 189 |
font-weight: 400; |
| 190 |
padding: 12px 16px; |
| 191 |
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 192 |
backdrop-filter: blur(10px); |
| 193 |
font-family: 'Inter', sans-serif; |
| 194 |
} |
| 195 |
|
| 196 |
.king-addons-ai-settings input[type="text"]:focus, |
| 197 |
.king-addons-ai-settings input[type="password"]:focus, |
| 198 |
.king-addons-ai-settings input[type="number"]:focus, |
| 199 |
.king-addons-ai-settings textarea:focus { |
| 200 |
border-color: #5b03ff; |
| 201 |
box-shadow: 0 0 0 4px rgba(91, 3, 255, 0.2); |
| 202 |
outline: none; |
| 203 |
background: rgba(45, 47, 48, 1); |
| 204 |
} |
| 205 |
|
| 206 |
.king-addons-ai-settings select:focus { |
| 207 |
color: #8ab4f8; |
| 208 |
} |
| 209 |
|
| 210 |
.king-addons-ai-settings input[type="text"]::placeholder, |
| 211 |
.king-addons-ai-settings input[type="password"]::placeholder, |
| 212 |
.king-addons-ai-settings textarea::placeholder { |
| 213 |
color: rgba(255, 255, 255, 0.4); |
| 214 |
} |
| 215 |
|
| 216 |
/* Select dropdown arrows */ |
| 217 |
.king-addons-ai-settings select { |
| 218 |
appearance: none; |
| 219 |
background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23ffffff' fill-opacity='0.6' d='M6 8L0 2h12z'/></svg>"); |
| 220 |
background-repeat: no-repeat; |
| 221 |
background-position: right 16px center; |
| 222 |
background-size: 12px 8px; |
| 223 |
padding-right: 48px; |
| 224 |
} |
| 225 |
|
| 226 |
.king-addons-ai-settings select:focus { |
| 227 |
background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235b03ff' d='M6 8L0 2h12z'/></svg>"); |
| 228 |
} |
| 229 |
|
| 230 |
/* Disabled states */ |
| 231 |
.king-addons-ai-settings input:disabled, |
| 232 |
.king-addons-ai-settings select:disabled, |
| 233 |
.king-addons-ai-settings textarea:disabled { |
| 234 |
opacity: 0.5; |
| 235 |
cursor: not-allowed; |
| 236 |
background: rgba(45, 47, 48, 0.3) !important; |
| 237 |
} |
| 238 |
|
| 239 |
.king-addons-ai-settings input[type="checkbox"]:disabled { |
| 240 |
opacity: 0.5; |
| 241 |
cursor: not-allowed; |
| 242 |
} |
| 243 |
|
| 244 |
/* Checkboxes */ |
| 245 |
.king-addons-ai-settings input[type="checkbox"] { |
| 246 |
appearance: none; |
| 247 |
width: 20px; |
| 248 |
height: 20px; |
| 249 |
background: rgba(45, 47, 48, 0.8); |
| 250 |
border: 2px solid rgba(255, 255, 255, 0.2); |
| 251 |
border-radius: 6px; |
| 252 |
position: relative; |
| 253 |
cursor: pointer; |
| 254 |
transition: all 0.3s ease; |
| 255 |
margin-right: 12px; |
| 256 |
} |
| 257 |
|
| 258 |
.king-addons-ai-settings input[type="checkbox"]:checked { |
| 259 |
background: linear-gradient(135deg, #5b03ff, #4caf50); |
| 260 |
border-color: #5b03ff; |
| 261 |
} |
| 262 |
|
| 263 |
.king-addons-ai-settings input[type="checkbox"]:checked::after { |
| 264 |
content: '✓'; |
| 265 |
position: absolute; |
| 266 |
top: 50%; |
| 267 |
left: 50%; |
| 268 |
transform: translate(-50%, -50%); |
| 269 |
color: white; |
| 270 |
font-size: 12px; |
| 271 |
font-weight: bold; |
| 272 |
} |
| 273 |
|
| 274 |
/* Labels */ |
| 275 |
.king-addons-ai-settings label { |
| 276 |
color: #ffffff; |
| 277 |
font-weight: 500; |
| 278 |
font-size: 14px; |
| 279 |
display: inline-flex; |
| 280 |
align-items: center; |
| 281 |
cursor: pointer; |
| 282 |
transition: color 0.3s ease; |
| 283 |
} |
| 284 |
|
| 285 |
.king-addons-ai-settings label:hover { |
| 286 |
color: #8ab4f8; |
| 287 |
} |
| 288 |
|
| 289 |
/* Description Text */ |
| 290 |
.king-addons-ai-settings .description { |
| 291 |
color: rgba(255, 255, 255, 0.6); |
| 292 |
font-size: 13px; |
| 293 |
font-weight: 400; |
| 294 |
line-height: 1.5; |
| 295 |
margin-top: 8px; |
| 296 |
padding: 12px 16px; |
| 297 |
background: rgba(45, 47, 48, 0.3); |
| 298 |
border-radius: 8px; |
| 299 |
border-left: 3px solid rgba(91, 3, 255, 0.5); |
| 300 |
} |
| 301 |
|
| 302 |
/* Buttons */ |
| 303 |
.king-addons-ai-settings button, |
| 304 |
.king-addons-ai-settings .button { |
| 305 |
background: linear-gradient(135deg, #5b03ff, #4caf50); |
| 306 |
border: none; |
| 307 |
border-radius: 12px; |
| 308 |
color: white; |
| 309 |
font-size: 14px; |
| 310 |
font-weight: 600; |
| 311 |
padding: 12px 24px; |
| 312 |
cursor: pointer; |
| 313 |
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 314 |
text-decoration: none; |
| 315 |
display: inline-flex; |
| 316 |
align-items: center; |
| 317 |
gap: 8px; |
| 318 |
box-shadow: 0 4px 16px rgba(91, 3, 255, 0.3); |
| 319 |
font-family: 'Inter', sans-serif; |
| 320 |
} |
| 321 |
|
| 322 |
.king-addons-ai-settings button:hover, |
| 323 |
.king-addons-ai-settings .button:hover { |
| 324 |
transform: translateY(-2px); |
| 325 |
box-shadow: 0 8px 32px rgba(91, 3, 255, 0.4); |
| 326 |
background: linear-gradient(135deg, #6614ff, #5cbf60); |
| 327 |
} |
| 328 |
|
| 329 |
.king-addons-ai-settings button:active, |
| 330 |
.king-addons-ai-settings .button:active { |
| 331 |
transform: translateY(0); |
| 332 |
} |
| 333 |
|
| 334 |
/* Custom Save Button */ |
| 335 |
.king-addons-settings-footer { |
| 336 |
padding: 30px 40px; |
| 337 |
background: linear-gradient(135deg, #2d2f30, #1a1b1b); |
| 338 |
border-top: 1px solid rgba(255, 255, 255, 0.1); |
| 339 |
text-align: right; |
| 340 |
} |
| 341 |
|
| 342 |
.king-addons-save-button { |
| 343 |
background: linear-gradient(135deg, #5b03ff, #4caf50); |
| 344 |
border: none; |
| 345 |
border-radius: 12px; |
| 346 |
color: white; |
| 347 |
font-size: 16px; |
| 348 |
font-weight: 600; |
| 349 |
padding: 14px 32px; |
| 350 |
cursor: pointer; |
| 351 |
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 352 |
box-shadow: 0 4px 16px rgba(91, 3, 255, 0.3); |
| 353 |
font-family: 'Inter', sans-serif; |
| 354 |
display: inline-block; |
| 355 |
text-transform: none; |
| 356 |
pointer-events: auto; /* Ensure button is clickable */ |
| 357 |
} |
| 358 |
|
| 359 |
.king-addons-save-button:hover { |
| 360 |
transform: translateY(-2px); |
| 361 |
box-shadow: 0 8px 24px rgba(91, 3, 255, 0.4); |
| 362 |
background: linear-gradient(135deg, #6614ff, #5cbf60); |
| 363 |
} |
| 364 |
|
| 365 |
.king-addons-save-icon { |
| 366 |
font-size: 16px; |
| 367 |
margin-right: 8px; |
| 368 |
} |
| 369 |
|
| 370 |
/* Usage Statistics Enhanced */ |
| 371 |
.king-addons-ai-usage-stats { |
| 372 |
background: linear-gradient(135deg, rgba(45, 47, 48, 0.8), rgba(26, 27, 27, 0.8)); |
| 373 |
border: 1px solid rgba(255, 255, 255, 0.1); |
| 374 |
border-radius: 16px; |
| 375 |
padding: 24px; |
| 376 |
margin: 20px 0; |
| 377 |
backdrop-filter: blur(20px); |
| 378 |
} |
| 379 |
|
| 380 |
.king-addons-ai-usage-stats table { |
| 381 |
width: 100%; |
| 382 |
margin-bottom: 20px; |
| 383 |
border-collapse: separate; |
| 384 |
border-spacing: 0; |
| 385 |
} |
| 386 |
|
| 387 |
.king-addons-ai-usage-stats table th { |
| 388 |
color: #ffffff; |
| 389 |
font-weight: 600; |
| 390 |
font-size: 14px; |
| 391 |
padding: 12px 0; |
| 392 |
text-align: left; |
| 393 |
width: 40%; |
| 394 |
} |
| 395 |
|
| 396 |
.king-addons-ai-usage-stats table td { |
| 397 |
color: rgba(255, 255, 255, 0.8); |
| 398 |
font-weight: 500; |
| 399 |
padding: 12px 0; |
| 400 |
font-size: 14px; |
| 401 |
} |
| 402 |
|
| 403 |
.king-addons-ai-usage-bar-container { |
| 404 |
position: relative; |
| 405 |
height: 12px; |
| 406 |
background: rgba(45, 47, 48, 0.8); |
| 407 |
border-radius: 8px; |
| 408 |
overflow: hidden; |
| 409 |
margin: 20px 0; |
| 410 |
box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3); |
| 411 |
} |
| 412 |
|
| 413 |
.king-addons-ai-usage-bar { |
| 414 |
height: 100%; |
| 415 |
background: linear-gradient(90deg, #4caf50, #5b03ff); |
| 416 |
border-radius: 8px; |
| 417 |
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); |
| 418 |
position: relative; |
| 419 |
overflow: hidden; |
| 420 |
} |
| 421 |
|
| 422 |
.king-addons-ai-usage-bar::after { |
| 423 |
content: ''; |
| 424 |
position: absolute; |
| 425 |
top: 0; |
| 426 |
left: -100%; |
| 427 |
width: 100%; |
| 428 |
height: 100%; |
| 429 |
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); |
| 430 |
animation: shimmer 2s infinite; |
| 431 |
} |
| 432 |
|
| 433 |
@keyframes shimmer { |
| 434 |
0% { left: -100%; } |
| 435 |
100% { left: 100%; } |
| 436 |
} |
| 437 |
|
| 438 |
/* Warning/High Usage Colors */ |
| 439 |
.king-addons-ai-usage-bar[style*="width: 6"], |
| 440 |
.king-addons-ai-usage-bar[style*="width: 7"] { |
| 441 |
background: linear-gradient(90deg, #ff9800, #ff5722); |
| 442 |
} |
| 443 |
|
| 444 |
.king-addons-ai-usage-bar[style*="width: 8"], |
| 445 |
.king-addons-ai-usage-bar[style*="width: 9"] { |
| 446 |
background: linear-gradient(90deg, #ff5722, #f44336); |
| 447 |
} |
| 448 |
|
| 449 |
/* Info boxes styling */ |
| 450 |
.king-addons-ai-settings .notice, |
| 451 |
.king-addons-ai-settings .updated { |
| 452 |
background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(91, 3, 255, 0.05)); |
| 453 |
border: 1px solid rgba(76, 175, 80, 0.3); |
| 454 |
border-radius: 12px; |
| 455 |
color: #ffffff; |
| 456 |
padding: 16px 20px; |
| 457 |
margin: 20px 0; |
| 458 |
backdrop-filter: blur(10px); |
| 459 |
} |
| 460 |
|
| 461 |
.king-addons-ai-settings .error { |
| 462 |
background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(255, 87, 34, 0.05)); |
| 463 |
border: 1px solid rgba(244, 67, 54, 0.3); |
| 464 |
} |
| 465 |
|
| 466 |
/* Responsive Design */ |
| 467 |
@media (max-width: 768px) { |
| 468 |
.king-addons-settings-header { |
| 469 |
padding: 24px; |
| 470 |
} |
| 471 |
|
| 472 |
.king-addons-settings-header-content { |
| 473 |
flex-direction: column; |
| 474 |
text-align: center; |
| 475 |
gap: 16px; |
| 476 |
} |
| 477 |
|
| 478 |
.king-addons-settings-title { |
| 479 |
font-size: 24px; |
| 480 |
} |
| 481 |
|
| 482 |
.king-addons-ai-settings .form-table th, |
| 483 |
.king-addons-ai-settings .form-table td { |
| 484 |
padding: 16px 20px; |
| 485 |
display: block; |
| 486 |
width: 100%; |
| 487 |
} |
| 488 |
|
| 489 |
.king-addons-ai-settings .form-table th { |
| 490 |
border-right: none; |
| 491 |
border-bottom: 1px solid rgba(255, 255, 255, 0.1); |
| 492 |
} |
| 493 |
|
| 494 |
.king-addons-settings-footer { |
| 495 |
padding: 20px; |
| 496 |
text-align: center; |
| 497 |
} |
| 498 |
|
| 499 |
.king-addons-ai-settings h2 + p { |
| 500 |
padding: 16px 20px; |
| 501 |
} |
| 502 |
|
| 503 |
.king-addons-ai-settings .notice { |
| 504 |
padding: 16px 20px !important; |
| 505 |
margin: 16px 0 !important; |
| 506 |
} |
| 507 |
} |
| 508 |
|
| 509 |
/* Dark Theme WordPress Admin Fix */ |
| 510 |
body { |
| 511 |
background: #101112 !important; |
| 512 |
} |
| 513 |
|
| 514 |
#wpcontent { |
| 515 |
background: #101112 !important; |
| 516 |
} |
| 517 |
|
| 518 |
.king-addons-ai-settings .wrap { |
| 519 |
background: transparent; |
| 520 |
} |
| 521 |
|
| 522 |
/* Hide default WordPress submit button */ |
| 523 |
.king-addons-ai-settings .submit { |
| 524 |
display: none; |
| 525 |
} |
| 526 |
|
| 527 |
/* Override WordPress admin styles */ |
| 528 |
.king-addons-ai-settings .form-table th { |
| 529 |
background: rgba(45, 47, 48, 0.5) !important; |
| 530 |
color: #ffffff !important; |
| 531 |
} |
| 532 |
|
| 533 |
.king-addons-ai-settings .form-table td { |
| 534 |
background: rgba(26, 27, 27, 0.3) !important; |
| 535 |
color: #ffffff !important; |
| 536 |
} |
| 537 |
|
| 538 |
/* Style WordPress notices to match theme */ |
| 539 |
.king-addons-ai-settings .notice { |
| 540 |
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(91, 3, 255, 0.05)) !important; |
| 541 |
border: 1px solid rgba(76, 175, 80, 0.4) !important; |
| 542 |
border-radius: 12px !important; |
| 543 |
color: #ffffff !important; |
| 544 |
padding: 20px 24px !important; |
| 545 |
margin: 20px 0 !important; |
| 546 |
backdrop-filter: blur(10px) !important; |
| 547 |
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important; |
| 548 |
} |
| 549 |
|
| 550 |
.king-addons-ai-settings .notice p { |
| 551 |
color: rgba(255, 255, 255, 0.95) !important; |
| 552 |
margin: 0 !important; |
| 553 |
font-size: 14px !important; |
| 554 |
line-height: 1.5 !important; |
| 555 |
} |
| 556 |
|
| 557 |
/* Info boxes (blue) */ |
| 558 |
.king-addons-ai-settings .notice:not(.notice-error):not(.notice-warning) { |
| 559 |
background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(91, 3, 255, 0.05)) !important; |
| 560 |
border-color: rgba(33, 150, 243, 0.4) !important; |
| 561 |
} |
| 562 |
|
| 563 |
/* Warning boxes (orange/yellow) */ |
| 564 |
.king-addons-ai-settings .notice-warning { |
| 565 |
background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.05)) !important; |
| 566 |
border-color: rgba(255, 193, 7, 0.4) !important; |
| 567 |
} |
| 568 |
|
| 569 |
/* Error boxes (red) */ |
| 570 |
.king-addons-ai-settings .notice-error { |
| 571 |
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(255, 87, 34, 0.05)) !important; |
| 572 |
border-color: rgba(244, 67, 54, 0.4) !important; |
| 573 |
} |
| 574 |
|
| 575 |
/* Important/Info labels styling */ |
| 576 |
.king-addons-ai-settings .notice p strong:first-child, |
| 577 |
.king-addons-ai-settings .notice p b:first-child { |
| 578 |
color: #ffffff !important; |
| 579 |
font-weight: 700 !important; |
| 580 |
font-size: 15px !important; |
| 581 |
text-transform: uppercase !important; |
| 582 |
letter-spacing: 0.5px !important; |
| 583 |
margin-right: 8px !important; |
| 584 |
} |
| 585 |
|
| 586 |
/* Useful Links styling */ |
| 587 |
.king-addons-ai-settings .notice ul { |
| 588 |
margin: 12px 0 0 0 !important; |
| 589 |
padding-left: 20px !important; |
| 590 |
} |
| 591 |
|
| 592 |
.king-addons-ai-settings .notice li { |
| 593 |
margin-bottom: 8px !important; |
| 594 |
color: rgba(255, 255, 255, 0.9) !important; |
| 595 |
font-size: 14px !important; |
| 596 |
} |
| 597 |
|
| 598 |
.king-addons-ai-settings .notice li a { |
| 599 |
color: #8ab4f8 !important; |
| 600 |
font-weight: 500 !important; |
| 601 |
} |
| 602 |
|
| 603 |
/* Additional WordPress admin overrides */ |
| 604 |
.king-addons-ai-settings .wrap h1 { |
| 605 |
display: none; /* Hide default WordPress title since we have custom header */ |
| 606 |
} |
| 607 |
|
| 608 |
.king-addons-ai-settings .regular-text { |
| 609 |
width: 300px; |
| 610 |
max-width: 100%; |
| 611 |
} |
| 612 |
|
| 613 |
.king-addons-ai-settings .small-text { |
| 614 |
width: 100px; |
| 615 |
} |
| 616 |
|
| 617 |
/* Style specific elements */ |
| 618 |
.king-addons-ai-settings .button-secondary { |
| 619 |
background: rgba(45, 47, 48, 0.8) !important; |
| 620 |
border: 2px solid rgba(255, 255, 255, 0.2) !important; |
| 621 |
color: #ffffff !important; |
| 622 |
border-radius: 8px !important; |
| 623 |
transition: all 0.3s ease !important; |
| 624 |
font-family: 'Inter', sans-serif !important; |
| 625 |
font-weight: 500 !important; |
| 626 |
padding: 8px 16px !important; |
| 627 |
font-size: 14px !important; |
| 628 |
} |
| 629 |
|
| 630 |
.king-addons-ai-settings .button-secondary:hover { |
| 631 |
background: rgba(60, 62, 63, 1) !important; |
| 632 |
border-color: #5b03ff !important; |
| 633 |
transform: translateY(-1px) !important; |
| 634 |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important; |
| 635 |
} |
| 636 |
|
| 637 |
.king-addons-ai-settings .button-secondary:active { |
| 638 |
transform: translateY(0) !important; |
| 639 |
} |
| 640 |
|
| 641 |
/* Spinner styles */ |
| 642 |
.king-addons-ai-settings .spinner { |
| 643 |
filter: invert(1); |
| 644 |
} |
| 645 |
|
| 646 |
/* Success/error messages */ |
| 647 |
.king-addons-ai-settings .updated { |
| 648 |
background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(91, 3, 255, 0.05)) !important; |
| 649 |
border: 1px solid rgba(76, 175, 80, 0.4) !important; |
| 650 |
border-radius: 12px !important; |
| 651 |
color: #ffffff !important; |
| 652 |
} |
| 653 |
|
| 654 |
.king-addons-ai-settings .error { |
| 655 |
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(255, 87, 34, 0.05)) !important; |
| 656 |
border: 1px solid rgba(244, 67, 54, 0.4) !important; |
| 657 |
border-radius: 12px !important; |
| 658 |
color: #ffffff !important; |
| 659 |
} |
| 660 |
|
| 661 |
/* Links styling */ |
| 662 |
.king-addons-ai-settings a { |
| 663 |
color: #8ab4f8; |
| 664 |
text-decoration: none; |
| 665 |
transition: color 0.3s ease; |
| 666 |
font-weight: 500; |
| 667 |
} |
| 668 |
|
| 669 |
.king-addons-ai-settings a:hover { |
| 670 |
color: #a8c7fa; |
| 671 |
text-decoration: underline; |
| 672 |
} |
| 673 |
|
| 674 |
.king-addons-ai-settings a:visited { |
| 675 |
color: #8ab4f8; |
| 676 |
} |
| 677 |
|
| 678 |
/* Modern Animations */ |
| 679 |
@keyframes slide-in-from-left { |
| 680 |
from { |
| 681 |
opacity: 0; |
| 682 |
transform: translateX(-30px); |
| 683 |
} |
| 684 |
to { |
| 685 |
opacity: 1; |
| 686 |
transform: translateX(0); |
| 687 |
} |
| 688 |
} |
| 689 |
|
| 690 |
@keyframes fade-in-up { |
| 691 |
from { |
| 692 |
opacity: 0; |
| 693 |
transform: translateY(20px); |
| 694 |
} |
| 695 |
to { |
| 696 |
opacity: 1; |
| 697 |
transform: translateY(0); |
| 698 |
} |
| 699 |
} |
| 700 |
|
| 701 |
.slide-in-from-left { |
| 702 |
animation: slide-in-from-left 0.6s cubic-bezier(0.4, 0, 0.2, 1); |
| 703 |
} |
| 704 |
|
| 705 |
.fade-in-up { |
| 706 |
animation: fade-in-up 0.4s cubic-bezier(0.4, 0, 0.2, 1); |
| 707 |
} |
| 708 |
|
| 709 |
/* Focus animations */ |
| 710 |
/* .king-addons-ai-settings .form-table tr.focused { |
| 711 |
background: rgba(91, 3, 255, 0.05); |
| 712 |
transform: scale(1.01); |
| 713 |
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 714 |
} |
| 715 |
|
| 716 |
.king-addons-ai-settings .form-table tr.focused th, |
| 717 |
.king-addons-ai-settings .form-table tr.focused td { |
| 718 |
background: rgba(91, 3, 255, 0.1) !important; |
| 719 |
} */ |
| 720 |
|
| 721 |
/* Checkbox animation */ |
| 722 |
.checked-animation { |
| 723 |
animation: checkbox-bounce 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); |
| 724 |
} |
| 725 |
|
| 726 |
@keyframes checkbox-bounce { |
| 727 |
0% { transform: scale(1); } |
| 728 |
50% { transform: scale(1.2); } |
| 729 |
100% { transform: scale(1); } |
| 730 |
} |
| 731 |
|
| 732 |
/* Header icon animation */ |
| 733 |
.king-addons-settings-header-icon { |
| 734 |
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| 735 |
} |
| 736 |
|
| 737 |
/* Loading state for forms */ |
| 738 |
.form-saving { |
| 739 |
pointer-events: none; |
| 740 |
opacity: 0.8; |
| 741 |
} |
| 742 |
|
| 743 |
.form-saving::after { |
| 744 |
content: ''; |
| 745 |
position: absolute; |
| 746 |
top: 0; |
| 747 |
left: 0; |
| 748 |
right: 0; |
| 749 |
bottom: 0; |
| 750 |
background: rgba(26, 27, 27, 0.5); |
| 751 |
backdrop-filter: blur(2px); |
| 752 |
z-index: 10; |
| 753 |
} |