#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000000; /* Black background */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: -1;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent any scrolling on the body */
}

.home-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff; /* Change text to white for contrast */
    position: relative;
    z-index: 1;
    padding: 5vh 20px; /* Adjusted padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center the content vertically */
    height: 100vh;
    box-sizing: border-box;
}

.results-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 10px 20px; /* Reduced top and bottom padding */
}

.home-page .main-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent container */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-bottom: 60px; /* Space between blocks */
    flex-shrink: 0; /* Prevent shrinking */
}

.results-page .main-container {
    width: 100%;
    max-width: none; /* Ensure it can expand fully */
    padding: 20px;
}

.header h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.header p {
    font-size: 18px;
    color: #8e8e93;
    margin: 0 0 30px 0;
}

#ad-form {
    width: 100%;
}

.input-area {
    position: relative;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 12px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100px;
}

textarea {
    border: none;
    background: none;
    resize: none;
    font-size: 16px;
    flex-grow: 1;
    color: #1c1c1e;
    padding: 0;
    margin-bottom: 10px;
}

textarea:focus {
    outline: none;
}

textarea::placeholder {
    color: #aeaeb2;
}

.input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-label {
    cursor: pointer;
    color: #8e8e93;
}

.icon-label:hover {
    color: #1c1c1e;
}

#file-name {
    font-size: 14px;
    color: #8e8e93;
}

#generate-btn {
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    transition: filter 0.3s ease;
}

#generate-btn:hover {
    filter: brightness(1.2);
}

#generate-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Projects Section Block */
.projects-section-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.1); /* Same as main container */
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-height: calc(3 * (250px + 20px)); /* Approx height for 3 rows + gap */
    overflow-y: auto;
    padding-right: 10px; /* Space for scrollbar */
    margin-bottom: 0;
}

/* Custom Scrollbar Styling */
.projects-grid::-webkit-scrollbar {
    width: 8px;
}

.projects-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.projects-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.projects-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1200px) {
    .projects-container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .projects-grid {
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .projects-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h3 {
        font-size: 24px;
    }
    
    .projects-section-fullwidth {
        padding: 40px 0;
    }
}

.project-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    height: 250px; /* Fixed height for consistent rows */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(106, 17, 203, 0.3);
}

.project-card:hover::before {
    opacity: 1;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.project-status {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.project-status.complete {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.project-status.in_progress {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.project-description {
    color: #bbb;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    line-clamp: 4; /* Allow more lines */
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; /* Allow description to take up space */
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.project-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-assets {
    display: flex;
    align-items: center;
    gap: 4px;
}

.empty-projects {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.empty-projects i {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    color: #666;
}

.empty-projects p {
    font-size: 16px;
    margin: 0;
}

#status {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

#result a {
    color: #007bff;
    text-decoration: none;
}

#result a:hover {
    text-decoration: underline;
}

#results-gallery {
    display: block;
}

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

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.gallery-item {
    position: relative;
    background-color: #1e1e1e;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.gallery-item.visual {
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item audio {
    width: 100%;
    display: block;
    height: 50px; /* Increased height for better visibility */
    margin-bottom: 10px; /* Add space below the audio player */
}

.expand-btn, .download-btn {
    position: absolute;
    top: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    text-decoration: none;
}

.expand-btn {
    right: 10px;
}

.download-btn {
    left: 10px;
}

.video-item .download-btn {
    left: auto;
    right: 10px;
}

.gallery-item:hover .expand-btn,
.gallery-item:hover .download-btn {
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.gallery-item h3 {
    margin: 10px;
    font-size: 16px;
}

.asset-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.gallery-item:hover .asset-name {
    opacity: 1;
}

/* ===== WORKSPACE PAGE STYLES ===== */
.workspace-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

/* Workspace Header */
.workspace-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 1px solid #333;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    box-sizing: border-box;
}

.header-left h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.project-status {
    font-size: 12px;
    color: #888;
    margin-left: 12px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.header-right {
    display: flex;
    gap: 12px;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: filter 0.3s ease;
}

.btn-primary:hover {
    filter: brightness(1.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 16px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-icon {
    background: transparent;
    border: none;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.3s ease, background 0.3s ease;
}

.btn-icon:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Main Workspace Container */
.workspace-container {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
}

/* Assets Panel */
.assets-panel {
    width: 350px;
    background: #111;
    border-right: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.panel-header {
    padding: 16px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
}

.panel-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-controls {
    display: flex;
    gap: 8px;
}

.assets-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.asset-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.asset-category {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.category-header {
    padding: 12px 16px;
    background: #222;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 14px;
}

.category-count {
    margin-left: auto;
    background: #333;
    color: #ccc;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Special styling for Output category */
#output-category .category-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: #fff;
}

#output-category .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#output-category {
    border: 1px solid rgba(106, 17, 203, 0.3);
    background: rgba(106, 17, 203, 0.05);
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    padding: 12px;
}

.asset-item {
    aspect-ratio: 1;
    background: #333;
    border-radius: 6px;
    overflow: hidden; /* Keep images contained */
    cursor: pointer;
    position: relative; /* Essential for absolute positioned tooltip */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.asset-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.asset-filename {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 8px 4px 4px 4px;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    pointer-events: none;
    z-index: 2;
}

.asset-item.selected {
    border: 2px solid #6a11cb;
    transform: scale(1.05);
}

.asset-item img,
.asset-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asset-item .asset-type {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
}

/* Editor Panel */
.editor-panel {
    flex: 1;
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
}

/* Editor Content Container - Horizontal Layout */
.editor-content-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 0;
    overflow: hidden;
}

/* Main Editor Area (Left) - 80% width (4 out of 5) */
.editor-main-area {
    flex: 4;
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Text Preview Panel (Right) - 20% width (1 out of 5) */
.text-preview-panel {
    flex: 1;
    background: #1a1a1a;
    border-left: 1px solid #333;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    max-width: 400px;
}

.text-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    background: #222;
    flex-shrink: 0;
}

.text-preview-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-preview-header i {
    color: #3b82f6;
}

.text-preview-content {
    padding: 16px;
    color: #e5e5e5;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.text-preview-placeholder {
    color: #666;
    font-style: italic;
    text-align: center;
    margin: 20px 0;
}

.text-preview-segment {
    margin-bottom: 12px;
    padding: 12px;
    background: #222;
    border-radius: 6px;
    border-left: 3px solid #3b82f6;
}

.text-preview-segment-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-weight: 600;
}

.text-preview-image-type {
    font-size: 12px;
    color: #3b82f6;
    margin-bottom: 8px;
    font-weight: 500;
}

.text-preview-mood-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    margin-top: 8px;
    font-weight: 500;
}

.text-preview-segment-text {
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.text-preview-segment-text.editable {
    cursor: text;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.text-preview-segment-text.editable:hover {
    background: rgba(59, 130, 246, 0.05);
    outline: 1px solid rgba(59, 130, 246, 0.3);
}

.text-preview-segment-text.editing {
    background: rgba(59, 130, 246, 0.1);
    outline: 2px solid #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.text-preview-segment-timing {
    font-size: 12px;
    color: #888;
    font-style: italic;
}

.text-preview-overlay {
    font-size: 13px;
    color: #a3a3a3;
    margin-top: 8px;
    padding: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    border-left: 2px solid #10b981;
}

.text-preview-camera {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
    font-style: italic;
}

.text-preview-field {
    font-size: 13px;
    color: #b3b3b3;
    margin-top: 8px;
    padding: 6px 0;
    border-top: 1px solid #2a2a2a;
}

.text-preview-field strong {
    color: #3b82f6;
    margin-right: 6px;
    font-weight: 600;
}

.text-preview-footer {
    padding: 12px 16px;
    border-top: 1px solid #333;
    background: #1a1a1a;
    flex-shrink: 0;
}

.btn-regenerate {
    width: 100%;
    padding: 10px 16px;
    background: #2a2a2a;
    color: #666;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-regenerate.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    cursor: pointer;
}

.btn-regenerate.active:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

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

.btn-regenerate i {
    font-size: 13px;
}

.btn-rerun {
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.btn-rerun:hover:not(:disabled) {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

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

.btn-rerun.active {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    color: white;
    cursor: pointer;
}

.btn-rerun.active:hover:not(:disabled) {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

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

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

.btn-rerun i {
    font-size: 13px;
}

/* Preview Window */
.preview-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 16px;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

.preview-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}

.preview-placeholder {
    text-align: center;
    color: #666;
}

.preview-placeholder i {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

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

.preview-controls {
    background: #222;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #333;
}

.timeline {
    flex: 1;
}

.timeline input[type="range"] {
    width: 100%;
    height: 4px;
    background: #444;
    border-radius: 2px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.timeline input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #6a11cb;
    border-radius: 50%;
    cursor: pointer;
}

.time-display {
    font-size: 12px;
    color: #ccc;
    min-width: 80px;
    text-align: right;
}

/* Command Section */
.command-section {
    background: #1a1a1a;
    border-top: 1px solid #333;
    margin: 0 16px 16px 16px;
    border-radius: 8px;
    overflow: hidden;
}

.command-header {
    padding: 12px 16px;
    background: #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.command-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.command-input-area {
    padding: 16px;
}

.command-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.suggestion-btn {
    background: rgba(106, 17, 203, 0.2);
    border: 1px solid rgba(106, 17, 203, 0.3);
    color: #ccc;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-btn:hover {
    background: rgba(106, 17, 203, 0.3);
    color: #fff;
}

.command-input-container {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.command-input-container textarea {
    flex: 1;
    background: #333;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    resize: none;
    font-family: inherit;
}

.command-input-container textarea:focus {
    outline: none;
    border-color: #6a11cb;
}

.command-input-container textarea::placeholder {
    color: #666;
}

.command-status {
    padding: 12px 16px;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #333;
    background: #111;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .assets-panel {
        width: 300px;
    }
    
    .asset-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
}

@media (max-width: 768px) {
    .workspace-container {
        flex-direction: column;
    }
    
    .assets-panel {
        width: 100%;
        height: 40%;
    }
    
    .editor-panel {
        height: 60%;
    }
}
