| 1 |
/* Multi Page Generator Styles */ |
| 2 |
|
| 3 |
.ai-multi-page-container { |
| 4 |
max-width: 1200px; |
| 5 |
margin: 0 auto; |
| 6 |
padding: 20px; |
| 7 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; |
| 8 |
} |
| 9 |
|
| 10 |
.ai-multi-page-header { |
| 11 |
text-align: center; |
| 12 |
margin-bottom: 40px; |
| 13 |
} |
| 14 |
|
| 15 |
.ai-multi-page-header h2 { |
| 16 |
font-size: 32px; |
| 17 |
font-weight: 700; |
| 18 |
color: #1a1a1a; |
| 19 |
margin: 0 0 10px 0; |
| 20 |
} |
| 21 |
|
| 22 |
.ai-multi-page-header p { |
| 23 |
font-size: 16px; |
| 24 |
color: #666; |
| 25 |
margin: 0; |
| 26 |
} |
| 27 |
|
| 28 |
.ai-multi-page-content { |
| 29 |
display: flex; |
| 30 |
flex-direction: column; |
| 31 |
gap: 30px; |
| 32 |
} |
| 33 |
|
| 34 |
#premium-warning-container { |
| 35 |
margin-bottom: 24px; |
| 36 |
} |
| 37 |
|
| 38 |
.ai-premium-warning { |
| 39 |
border: 1px solid #ffe0b2; |
| 40 |
background: #fff8e1; |
| 41 |
color: #8a6d3b; |
| 42 |
padding: 18px 24px; |
| 43 |
border-radius: 12px; |
| 44 |
display: flex; |
| 45 |
align-items: center; |
| 46 |
justify-content: space-between; |
| 47 |
gap: 16px; |
| 48 |
flex-wrap: wrap; |
| 49 |
} |
| 50 |
|
| 51 |
.ai-premium-warning strong { |
| 52 |
font-weight: 600; |
| 53 |
} |
| 54 |
|
| 55 |
.ai-premium-warning .ai-primary-btn { |
| 56 |
background: #f59e0b; |
| 57 |
border: none; |
| 58 |
color: #1f2937; |
| 59 |
} |
| 60 |
|
| 61 |
.ai-premium-warning .ai-primary-btn:hover { |
| 62 |
background: #d97706; |
| 63 |
color: #fff; |
| 64 |
} |
| 65 |
|
| 66 |
.ai-multi-page-content.ai-locked { |
| 67 |
filter: grayscale(0.5); |
| 68 |
opacity: 0.5; |
| 69 |
pointer-events: none; |
| 70 |
user-select: none; |
| 71 |
} |
| 72 |
|
| 73 |
.ai-multi-page-card { |
| 74 |
background: #fff; |
| 75 |
border-radius: 12px; |
| 76 |
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); |
| 77 |
overflow: hidden; |
| 78 |
border: 1px solid #e5e7eb; |
| 79 |
} |
| 80 |
|
| 81 |
.ai-card-header { |
| 82 |
display: flex; |
| 83 |
align-items: center; |
| 84 |
gap: 16px; |
| 85 |
padding: 24px; |
| 86 |
border-bottom: 1px solid #e5e7eb; |
| 87 |
background: #f8f9fa; |
| 88 |
} |
| 89 |
|
| 90 |
.ai-card-icon { |
| 91 |
width: 48px; |
| 92 |
height: 48px; |
| 93 |
background: #007cba; |
| 94 |
border-radius: 8px; |
| 95 |
display: flex; |
| 96 |
align-items: center; |
| 97 |
justify-content: center; |
| 98 |
color: white; |
| 99 |
flex-shrink: 0; |
| 100 |
} |
| 101 |
|
| 102 |
.ai-card-title h3 { |
| 103 |
font-size: 20px; |
| 104 |
font-weight: 600; |
| 105 |
color: #1a1a1a; |
| 106 |
margin: 0 0 4px 0; |
| 107 |
} |
| 108 |
|
| 109 |
.ai-card-title p { |
| 110 |
font-size: 14px; |
| 111 |
color: #666; |
| 112 |
margin: 0; |
| 113 |
} |
| 114 |
|
| 115 |
.ai-card-content { |
| 116 |
padding: 24px; |
| 117 |
} |
| 118 |
|
| 119 |
/* Form Styles */ |
| 120 |
.ai-form-group { |
| 121 |
margin-bottom: 20px; |
| 122 |
} |
| 123 |
|
| 124 |
.ai-form-group label { |
| 125 |
display: block; |
| 126 |
font-weight: 500; |
| 127 |
color: #374151; |
| 128 |
margin-bottom: 8px; |
| 129 |
font-size: 14px; |
| 130 |
} |
| 131 |
|
| 132 |
.ai-form-group select, |
| 133 |
.ai-form-group textarea { |
| 134 |
width: 100%; |
| 135 |
padding: 12px 16px; |
| 136 |
border: 1px solid #d1d5db; |
| 137 |
border-radius: 8px; |
| 138 |
font-size: 14px; |
| 139 |
transition: all 0.2s ease; |
| 140 |
box-sizing: border-box; |
| 141 |
} |
| 142 |
|
| 143 |
.ai-form-group select:focus, |
| 144 |
.ai-form-group textarea:focus { |
| 145 |
outline: none; |
| 146 |
border-color: #007cba; |
| 147 |
box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1); |
| 148 |
} |
| 149 |
|
| 150 |
.ai-form-group textarea { |
| 151 |
resize: vertical; |
| 152 |
min-height: 120px; |
| 153 |
font-family: inherit; |
| 154 |
} |
| 155 |
|
| 156 |
.ai-cost-display { |
| 157 |
background: #f3f4f6; |
| 158 |
padding: 12px 16px; |
| 159 |
border-radius: 8px; |
| 160 |
font-weight: 600; |
| 161 |
color: #1f2937; |
| 162 |
text-align: center; |
| 163 |
font-size: 16px; |
| 164 |
} |
| 165 |
|
| 166 |
/* Page Prompts */ |
| 167 |
.ai-page-prompt-item { |
| 168 |
margin-bottom: 24px; |
| 169 |
padding: 20px; |
| 170 |
background: #f8f9fa; |
| 171 |
border-radius: 8px; |
| 172 |
border: 1px solid #e5e7eb; |
| 173 |
} |
| 174 |
|
| 175 |
.ai-char-counter { |
| 176 |
text-align: right; |
| 177 |
font-size: 12px; |
| 178 |
color: #666; |
| 179 |
margin-top: 4px; |
| 180 |
} |
| 181 |
|
| 182 |
.ai-char-counter span { |
| 183 |
font-weight: 500; |
| 184 |
} |
| 185 |
|
| 186 |
/* Progress Styles */ |
| 187 |
.ai-progress-item { |
| 188 |
margin-bottom: 20px; |
| 189 |
padding: 16px; |
| 190 |
background: #f8f9fa; |
| 191 |
border-radius: 8px; |
| 192 |
border: 1px solid #e5e7eb; |
| 193 |
} |
| 194 |
|
| 195 |
.ai-progress-header { |
| 196 |
display: flex; |
| 197 |
justify-content: space-between; |
| 198 |
align-items: center; |
| 199 |
margin-bottom: 12px; |
| 200 |
} |
| 201 |
|
| 202 |
.ai-progress-title { |
| 203 |
font-weight: 600; |
| 204 |
color: #1a1a1a; |
| 205 |
} |
| 206 |
|
| 207 |
.ai-progress-status { |
| 208 |
font-size: 14px; |
| 209 |
font-weight: 500; |
| 210 |
} |
| 211 |
|
| 212 |
.ai-progress-bar { |
| 213 |
width: 100%; |
| 214 |
height: 8px; |
| 215 |
background: #e5e7eb; |
| 216 |
border-radius: 4px; |
| 217 |
overflow: hidden; |
| 218 |
} |
| 219 |
|
| 220 |
.ai-progress-fill { |
| 221 |
height: 100%; |
| 222 |
background: #007cba; |
| 223 |
width: 0%; |
| 224 |
transition: width 0.3s ease; |
| 225 |
border-radius: 4px; |
| 226 |
} |
| 227 |
|
| 228 |
/* Results Styles */ |
| 229 |
.ai-result-item { |
| 230 |
margin-bottom: 16px; |
| 231 |
padding: 16px; |
| 232 |
border-radius: 8px; |
| 233 |
border: 1px solid #e5e7eb; |
| 234 |
} |
| 235 |
|
| 236 |
.ai-result-success { |
| 237 |
display: flex; |
| 238 |
align-items: center; |
| 239 |
gap: 12px; |
| 240 |
color: #4caf50; |
| 241 |
} |
| 242 |
|
| 243 |
.ai-result-error { |
| 244 |
display: flex; |
| 245 |
align-items: center; |
| 246 |
gap: 12px; |
| 247 |
color: #f44336; |
| 248 |
} |
| 249 |
|
| 250 |
.ai-result-content h4 { |
| 251 |
margin: 0 0 4px 0; |
| 252 |
font-size: 16px; |
| 253 |
font-weight: 600; |
| 254 |
} |
| 255 |
|
| 256 |
.ai-result-content p { |
| 257 |
margin: 0; |
| 258 |
font-size: 14px; |
| 259 |
color: #666; |
| 260 |
} |
| 261 |
|
| 262 |
.ai-page-link { |
| 263 |
color: #007cba; |
| 264 |
text-decoration: none; |
| 265 |
font-weight: 500; |
| 266 |
font-size: 14px; |
| 267 |
} |
| 268 |
|
| 269 |
.ai-page-link:hover { |
| 270 |
text-decoration: underline; |
| 271 |
} |
| 272 |
|
| 273 |
.ai-error-message { |
| 274 |
color: #f44336 !important; |
| 275 |
font-size: 14px; |
| 276 |
} |
| 277 |
|
| 278 |
/* Button Styles */ |
| 279 |
.ai-submit-btn, |
| 280 |
.ai-primary-btn, |
| 281 |
.ai-secondary-btn { |
| 282 |
display: inline-flex; |
| 283 |
align-items: center; |
| 284 |
gap: 8px; |
| 285 |
padding: 12px 24px; |
| 286 |
border: none; |
| 287 |
border-radius: 8px; |
| 288 |
font-size: 14px; |
| 289 |
font-weight: 500; |
| 290 |
cursor: pointer; |
| 291 |
transition: all 0.2s ease; |
| 292 |
text-decoration: none; |
| 293 |
justify-content: center; |
| 294 |
} |
| 295 |
|
| 296 |
.ai-submit-btn { |
| 297 |
background: #007cba; |
| 298 |
color: white; |
| 299 |
} |
| 300 |
|
| 301 |
.ai-submit-btn:hover { |
| 302 |
background: #005a87; |
| 303 |
} |
| 304 |
|
| 305 |
.ai-primary-btn { |
| 306 |
background: #007cba; |
| 307 |
color: white; |
| 308 |
} |
| 309 |
|
| 310 |
.ai-primary-btn:hover { |
| 311 |
background: #005a87; |
| 312 |
} |
| 313 |
|
| 314 |
.ai-secondary-btn { |
| 315 |
background: #f3f4f6; |
| 316 |
color: #374151; |
| 317 |
border: 1px solid #d1d5db; |
| 318 |
} |
| 319 |
|
| 320 |
.ai-secondary-btn:hover { |
| 321 |
background: #e5e7eb; |
| 322 |
} |
| 323 |
|
| 324 |
.ai-submit-btn:disabled, |
| 325 |
.ai-primary-btn:disabled { |
| 326 |
opacity: 0.6; |
| 327 |
cursor: not-allowed; |
| 328 |
} |
| 329 |
|
| 330 |
/* Loading Animation */ |
| 331 |
.ai-loading { |
| 332 |
display: inline-block; |
| 333 |
width: 16px; |
| 334 |
height: 16px; |
| 335 |
border: 2px solid transparent; |
| 336 |
border-top: 2px solid currentColor; |
| 337 |
border-radius: 50%; |
| 338 |
animation: spin 1s linear infinite; |
| 339 |
} |
| 340 |
|
| 341 |
@keyframes spin { |
| 342 |
0% { |
| 343 |
transform: rotate(0deg); |
| 344 |
} |
| 345 |
|
| 346 |
100% { |
| 347 |
transform: rotate(360deg); |
| 348 |
} |
| 349 |
} |
| 350 |
|
| 351 |
/* Message Styles */ |
| 352 |
.ai-message { |
| 353 |
padding: 12px 16px; |
| 354 |
border-radius: 8px; |
| 355 |
margin: 16px 0; |
| 356 |
font-size: 14px; |
| 357 |
font-weight: 500; |
| 358 |
} |
| 359 |
|
| 360 |
.ai-message.success { |
| 361 |
background: #d4edda; |
| 362 |
color: #155724; |
| 363 |
border: 1px solid #c3e6cb; |
| 364 |
} |
| 365 |
|
| 366 |
.ai-message.error { |
| 367 |
background: #f8d7da; |
| 368 |
color: #721c24; |
| 369 |
border: 1px solid #f5c6cb; |
| 370 |
} |
| 371 |
|
| 372 |
.ai-message.info { |
| 373 |
background: #d1ecf1; |
| 374 |
color: #0c5460; |
| 375 |
border: 1px solid #bee5eb; |
| 376 |
} |
| 377 |
|
| 378 |
/* Progress Styles */ |
| 379 |
.ai-progress-item { |
| 380 |
margin-bottom: 20px; |
| 381 |
padding: 16px; |
| 382 |
background: #f8f9fa; |
| 383 |
border-radius: 8px; |
| 384 |
border: 1px solid #e5e7eb; |
| 385 |
} |
| 386 |
|
| 387 |
.ai-progress-header { |
| 388 |
display: flex; |
| 389 |
justify-content: space-between; |
| 390 |
align-items: center; |
| 391 |
margin-bottom: 8px; |
| 392 |
} |
| 393 |
|
| 394 |
.ai-progress-title { |
| 395 |
font-weight: 600; |
| 396 |
color: #1a1a1a; |
| 397 |
} |
| 398 |
|
| 399 |
.ai-progress-status { |
| 400 |
font-size: 14px; |
| 401 |
font-weight: 500; |
| 402 |
} |
| 403 |
|
| 404 |
.ai-progress-bar { |
| 405 |
width: 100%; |
| 406 |
height: 8px; |
| 407 |
background: #e5e7eb; |
| 408 |
border-radius: 4px; |
| 409 |
overflow: hidden; |
| 410 |
} |
| 411 |
|
| 412 |
.ai-progress-fill { |
| 413 |
height: 100%; |
| 414 |
background: #007cba; |
| 415 |
border-radius: 4px; |
| 416 |
transition: width 0.3s ease; |
| 417 |
width: 0%; |
| 418 |
} |
| 419 |
|
| 420 |
/* Result Styles */ |
| 421 |
.ai-result-item { |
| 422 |
margin-bottom: 16px; |
| 423 |
padding: 16px; |
| 424 |
border-radius: 8px; |
| 425 |
border: 1px solid #e5e7eb; |
| 426 |
} |
| 427 |
|
| 428 |
.ai-result-success { |
| 429 |
display: flex; |
| 430 |
align-items: center; |
| 431 |
gap: 12px; |
| 432 |
color: #4caf50; |
| 433 |
} |
| 434 |
|
| 435 |
.ai-result-error { |
| 436 |
display: flex; |
| 437 |
align-items: center; |
| 438 |
gap: 12px; |
| 439 |
color: #f44336; |
| 440 |
} |
| 441 |
|
| 442 |
.ai-result-content h4 { |
| 443 |
margin: 0 0 4px 0; |
| 444 |
font-size: 16px; |
| 445 |
font-weight: 600; |
| 446 |
} |
| 447 |
|
| 448 |
.ai-result-content p { |
| 449 |
margin: 0; |
| 450 |
font-size: 14px; |
| 451 |
color: #666; |
| 452 |
} |
| 453 |
|
| 454 |
.ai-page-link { |
| 455 |
color: #007cba; |
| 456 |
text-decoration: none; |
| 457 |
font-weight: 500; |
| 458 |
} |
| 459 |
|
| 460 |
.ai-page-link:hover { |
| 461 |
text-decoration: underline; |
| 462 |
} |
| 463 |
|
| 464 |
.ai-error-message { |
| 465 |
color: #f44336 !important; |
| 466 |
font-weight: 500; |
| 467 |
} |
| 468 |
|
| 469 |
/* Responsive Design */ |
| 470 |
@media (max-width: 768px) { |
| 471 |
.ai-multi-page-container { |
| 472 |
padding: 16px; |
| 473 |
} |
| 474 |
|
| 475 |
.ai-multi-page-header h2 { |
| 476 |
font-size: 24px; |
| 477 |
} |
| 478 |
|
| 479 |
.ai-card-header { |
| 480 |
flex-direction: column; |
| 481 |
align-items: flex-start; |
| 482 |
gap: 12px; |
| 483 |
} |
| 484 |
|
| 485 |
.ai-card-icon { |
| 486 |
width: 40px; |
| 487 |
height: 40px; |
| 488 |
} |
| 489 |
|
| 490 |
.ai-progress-header { |
| 491 |
flex-direction: column; |
| 492 |
align-items: flex-start; |
| 493 |
gap: 4px; |
| 494 |
} |
| 495 |
|
| 496 |
.ai-result-success, |
| 497 |
.ai-result-error { |
| 498 |
flex-direction: column; |
| 499 |
align-items: flex-start; |
| 500 |
gap: 8px; |
| 501 |
} |
| 502 |
} |
| 503 |
|
| 504 |
/* Fade in animation */ |
| 505 |
.ai-fade-in { |
| 506 |
animation: fadeIn 0.3s ease-in-out; |
| 507 |
} |
| 508 |
|
| 509 |
@keyframes fadeIn { |
| 510 |
from { |
| 511 |
opacity: 0; |
| 512 |
transform: translateY(10px); |
| 513 |
} |
| 514 |
|
| 515 |
to { |
| 516 |
opacity: 1; |
| 517 |
transform: translateY(0); |
| 518 |
} |
| 519 |
} |
| 520 |
|
| 521 |
/* Hidden form styles */ |
| 522 |
.ai-form-hidden { |
| 523 |
display: none; |
| 524 |
} |