/**
 * ============================================================================
 * استوديو AI الإبداعي - نمط شامل (محسّن v2.0)
 * ============================================================================
 * /home/misryoum/public_html/aitools/style.css
 * 
 * يحتوي على:
 * - متغيرات CSS متقدمة
 * - تصميم حديث وسلس
 * - responsive design شامل
 * - animations محسّنة
 * - dark mode support
 * 
 * التاريخ: 2026-02-16
 */

/* ============================================================================
   1. المتغيرات والأساسيات
   ============================================================================ */

:root {
    /* الألوان الأساسية */
    --primary: #667eea;
    --secondary: #764ba2;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --dark: #1f2937;
    --light: #f9fafb;
    --border: #e5e7eb;
    
    /* الألوان الإضافية */
    --gold: #fbbf24;
    --gray-light: #f3f4f6;
    --gray-medium: #d1d5db;
    --gray-dark: #6b7280;
    
    /* الظلال */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* الانتقالات */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;
    
    /* التحديدات */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 15px;
    --radius-full: 9999px;
    
    /* المسافات */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    direction: rtl;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: 60px;
    font-weight: 400;
}

/* ============================================================================
   2. Header
   ============================================================================ */

header {
    background: white;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    letter-spacing: -0.5px;
}

/* Navigation Icons */
.header-icons {
    display: flex;
    gap: 3px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    color: #666;
    text-decoration: none;
    transition: var(--transition);
    font-size: 24px;
    cursor: pointer;
    min-width: 60px;
    position: relative;
}

.header-icon .icon-label {
    font-size: 12px;
    margin-top: 3px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-icon:hover {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.header-icon.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Stars Display */
.stars-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 10px 16px;
    border-radius: var(--radius-full);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    animation: pulse-stars 2s infinite;
    min-width: 140px;
}

@keyframes pulse-stars {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.stars-value {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Courier New', 'Monaco', monospace;
    letter-spacing: 2px;
}

.refresh-timer {
    font-size: 11px;
    opacity: 0.95;
    text-align: center;
    line-height: 1.3;
}

.refresh-timer strong {
    display: block;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* ============================================================================
   3. Container
   ============================================================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* ============================================================================
   4. Sections & Cards
   ============================================================================ */

section {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.sidebar {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-light) 100%);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

/* ============================================================================
   5. Typography
   ============================================================================ */

h1 {
    font-size: 36px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 3px solid var(--primary);
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* ============================================================================
   6. Features Grid
   ============================================================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: default;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.feature-box h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.feature-box p {
    margin: 0;
    font-size: 12px;
    opacity: 0.95;
    color: white;
    line-height: 1.4;
}

/* ============================================================================
   7. Stars Display
   ============================================================================ */

.stars-info {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    color: white;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.stars-info-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stars-big {
    font-size: 36px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.stars-info-right {
    text-align: center;
}

.refresh-time {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

/* ============================================================================
   8. Stars Box
   ============================================================================ */

.stars-box {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.stars-box h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.95;
    font-weight: 600;
    color: white;
}

.stars-box .stars-big-value {
    font-size: 32px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.stars-box .stars-label {
    font-size: 12px;
    opacity: 0.9;
    color: white;
}

/* ============================================================================
   9. Refresh Box
   ============================================================================ */

.refresh-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    padding: 20px;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.refresh-box h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.95;
    font-weight: 600;
    color: white;
}

.refresh-box .refresh-big-value {
    font-size: 28px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.refresh-box .refresh-label {
    font-size: 12px;
    opacity: 0.9;
    color: white;
}

/* ============================================================================
   10. Models Grid
   ============================================================================ */

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.model-card {
    background: white;
    border: 2px solid var(--border);
    padding: 15px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: right;
}

.model-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.model-card.selected {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: var(--primary);
}

.model-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.model-icon {
    font-size: 28px;
}

.model-stars {
    background: var(--warning);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

.model-card.selected .model-stars {
    background: rgba(255, 255, 255, 0.3);
}

.model-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.model-desc {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* ============================================================================
   11. Form Elements
   ============================================================================ */

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

textarea,
input[type="text"],
select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: white;
    color: var(--dark);
}

textarea:focus,
input[type="text"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Courier New', monospace;
    line-height: 1.5;
}

.char-count {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

/* ============================================================================
   12. Suggestions
   ============================================================================ */

.suggestions {
    background: var(--light);
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
}

.suggestions label {
    margin-bottom: 12px;
    font-size: 14px;
}

.suggestion-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.suggestion-btn {
    background: white;
    border: 2px solid var(--primary);
    color: var(--dark);
    padding: 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
    text-align: right;
    line-height: 1.4;
}

.suggestion-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* ============================================================================
   13. Buttons
   ============================================================================ */

.btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-inline {
    width: auto;
    display: inline-flex;
    padding: 8px 16px;
    font-size: 12px;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #1d4ed8 100%);
}

.btn-info:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* ============================================================================
   14. Messages
   ============================================================================ */

.message {
    padding: 15px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: none;
    animation: slideDown 0.3s ease;
    border-left: 4px solid;
    font-weight: 500;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.show {
    display: block;
}

.message.error {
    background: #fee2e2;
    color: #991b1b;
    border-color: var(--danger);
}

.message.success {
    background: #dcfce7;
    color: #166534;
    border-color: var(--success);
}

.message.warning {
    background: #fef3c7;
    color: #92400e;
    border-color: var(--warning);
}

.message.info {
    background: #dbeafe;
    color: #0c4a6e;
    border-color: var(--info);
}

/* ============================================================================
   15. Media Display
   ============================================================================ */

.media-container {
    text-align: center;
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--light);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-container img,
.media-container video {
    max-width: 100%;
    max-height: 600px;
    object-fit: contain;
}

.image-section,
.video-section {
    display: none;
}

.image-section.show,
.video-section.show {
    display: block;
    animation: slideIn 0.5s ease;
}

.media-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

/* ============================================================================
   16. Post Cards
   ============================================================================ */

.post-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.post-content {
    padding: 15px;
}

.post-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
    line-height: 1.4;
}

.post-excerpt {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date {
    font-size: 12px;
    color: #999;
}

.post-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin-top: 8px;
}

.post-link:hover {
    color: var(--secondary);
}

/* Post Card Compact */
.post-card-compact {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.post-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.post-image-compact {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.post-title-compact {
    font-weight: 600;
    color: var(--dark);
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-date-compact {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
}

.post-link-compact {
    color: var(--primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.post-link-compact:hover {
    color: var(--secondary);
}

/* ============================================================================
   17. Loading
   ============================================================================ */

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading.show {
    display: flex;
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.spinner {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.spinner-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        opacity: 0.5;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.loading-text p {
    margin: 10px 0;
    color: var(--dark);
}

.loading-text .main-text {
    font-size: 18px;
    font-weight: 600;
}

.loading-text .sub-text {
    color: #666;
    font-size: 14px;
}

/* ============================================================================
   18. Footer
   ============================================================================ */

footer {
    background: white;
    padding: 30px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-top: 1px solid var(--border);
    margin-top: 50px;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary);
}

/* ============================================================================
   19. Responsive Design
   ============================================================================ */

@media (max-width: 1024px) {
    .header-container {
        padding: 12px 15px;
    }
    
    .logo {
        font-size: 20px;
        min-width: auto;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo {
        width: 100%;
        text-align: center;
        font-size: 18px;
    }
    
    .header-icons {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    
    .stars-display {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .features-grid,
    .models-grid,
    .suggestion-buttons,
    .media-actions {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stars-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .container {
        padding: 15px;
    }
    
    .post-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .features-grid,
    .models-grid,
    .suggestion-buttons,
    .media-actions {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    h3 {
        font-size: 16px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .stars-display {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .stars-value {
        font-size: 18px;
    }
    
    .header-icon {
        min-width: 50px;
        padding: 6px 8px;
    }
    
    .header-icon .icon-label {
        font-size: 12px;
    }
    
    section {
        padding: 15px;
        border-radius: var(--radius-md);
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .loading-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .post-image {
        height: 120px;
    }
}

@media (max-width: 360px) {
    h1 {
        font-size: 18px;
    }
    
    h2 {
        font-size: 14px;
        padding-bottom: 10px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .stars-value {
        font-size: 16px;
    }
    
    .header-icon {
        min-width: 45px;
        padding: 5px 6px;
    }
}

/* ============================================================================
   20. Dark Mode (اختياري)
   ============================================================================ */

@media (prefers-color-scheme: dark) {
    :root {
        --dark: #f9fafb;
        --light: #1f2937;
        --border: #374151;
    }
    
    body {
        background: #111827;
        color: #f9fafb;
    }
    
    section, 
    header, 
    .content-card, 
    .sidebar,
    .post-card,
    .post-card-compact,
    .loading-content {
        background: #1f2937;
        color: #f9fafb;
    }
    
    textarea,
    input[type="text"],
    select {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
    
    .model-card {
        background: #1f2937;
        border-color: #4b5563;
        color: #f9fafb;
    }
    
    .suggestions {
        background: #111827;
        border-color: #4b5563;
    }
    
    .suggestion-btn {
        background: #374151;
        border-color: var(--primary);
        color: #f9fafb;
    }
    
    .suggestion-btn:hover {
        background: var(--primary);
        color: white;
    }
    
    footer {
        background: #1f2937;
        border-color: #374151;
        color: #d1d5db;
    }
}

/* ============================================================================
   21. Print Styles
   ============================================================================ */

@media print {
    header,
    footer,
    .btn,
    .suggestions {
        display: none;
    }
    
    section {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* ============================================================================
   22. Animation Utilities
   ============================================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================================================
   23. Utilities
   ============================================================================ */

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.m-0 {
    margin: 0;
}

.p-0 {
    padding: 0;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.cursor-pointer {
    cursor: pointer;
}