/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #000;
    color: #FFD700;
    height: 100vh;
    overflow: hidden;
}

/* App container with sidebar layout */
.app-container {
    display: flex;
    height: 100vh;
    background-color: #000;
    position: relative;
}

/* Mobile Hamburger Menu */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 200;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hamburger-menu:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Left Sidebar Navigation */
.sidebar {
    width: 260px; /* Reduced from 280px */
    background-color: #000;
    border-right: 1px solid #333;
    box-shadow: 2px 0 20px rgba(255, 215, 0, 0.1);
    position: fixed;
    height: 100vh;
    z-index: 100;
    transition: all 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    box-sizing: border-box;
}

/* Brand Header */
.brand-header {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.05);
}

.sidebar-logo-image {
    height: 2rem;
    width: auto;
    max-width: 2rem;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
    transition: all 0.3s ease;
}

.brand-title {
    color: #FFD700;
    font-size: 1.25rem; /* 20px */
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

/* Feature Label inside tabs with divider */
.feature-label {
    padding: 0 1rem 0.5rem 1rem;
    margin: 0 0 0rem 0;
    color: #aaa;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-top: 1px solid #333;
    padding-top: 0.75rem; /* creates visual divider spacing */
    text-align: center;
}

/* Feature Tabs */
.feature-tabs {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    color: #888;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
    white-space: nowrap; /* Prevent text overflow */
    overflow: hidden;
}

.feature-tab:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.feature-tab.active {
    color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.feature-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.feature-text {
    font-weight: 500;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation Section */
.nav-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
    margin-bottom: 1rem;
}

/* Account Section */
.account-section {
    margin-top: auto;
    padding: 0 1rem;
    padding-bottom: 1rem;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-btn {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: #FFD700;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.auth-btn:hover {
    border-color: #FFD700;
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transform: translateY(-1px);
}

.login-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-color: #FFD700;
}

.login-btn:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    color: #888;
}

.account-toggle:hover,
.account-toggle.expanded {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    flex-shrink: 0;
}

.account-label {
    font-weight: 500;
    font-size: 0.875rem;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.account-toggle.expanded .dropdown-arrow {
    transform: rotate(180deg);
}

.account-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    margin-top: 0.5rem;
}

.account-menu.expanded {
    max-height: 200px;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.account-menu-item:last-child {
    border-bottom: none;
}

.account-menu-item:hover {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.05);
}

.account-menu-item.logout:hover {
    color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
}

.menu-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    color: #888;
    white-space: nowrap; /* Prevent text overflow */
    overflow: hidden;
}

.nav-item:hover,
.nav-item.active {
    color: #FFD700;
    background-color: rgba(255, 215, 0, 0.05);
    border-left-color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.nav-text {
    font-weight: 500;
    font-size: 0.875rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure nav links look like items */
.nav-item {
    text-decoration: none;
}

/* Main Workspace */
.workspace {
    flex: 1;
    margin-left: 260px; /* Updated from 280px */
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #000;
}

/* Chat Area */
.chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    padding-bottom: 4rem; /* Add bottom padding to allow proper scrolling */
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.02) 0%, #000 70%);
}

.chat-messages {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Messages */
.message {
    display: flex;
    flex-direction: column;
    max-width: 95%;
    animation: messageSlideIn 0.4s ease-out;
}

.user-message {
    align-self: flex-end;
}

.ai-message {
    align-self: flex-start;
}

.message-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    flex-shrink: 0;
}

.message-text {
    flex: 1;
    padding: 1.5rem 2rem;
    border-radius: 1.5rem;
    line-height: 1.6;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid transparent;
    position: relative;
}

.user-message .message-text {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.1);
}

.ai-message .message-text {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
}

.user-message .message-content {
    flex-direction: row-reverse;
}

/* Welcome Message Special Styling */
.welcome-message .message-text {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
    animation: welcomeGlow 3s ease-in-out infinite alternate;
}

.welcome-message h3 {
    color: #FFD700;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.welcome-message p {
    color: #ccc;
}

/* Enhanced Welcome Message Cards */
.welcome-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem; /* Add bottom margin to prevent cutoff */
}

.welcome-card {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 215, 0, 0.03) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.welcome-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.15);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 215, 0, 0.06) 100%);
}

.welcome-card:hover::before {
    left: 100%;
}

.welcome-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.welcome-card-title {
    color: #FFD700;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.welcome-card-description {
    color: #ccc;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

.welcome-card-button {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

.welcome-card-button:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    text-decoration: none;
    color: #000;
}

.welcome-subtitle {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Image placeholders */
.message-image {
    margin-top: 1rem;
}

.image-placeholder,
.thumbnail-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    background: rgba(255, 215, 0, 0.05);
    color: #888;
    font-size: 0.875rem;
}

.generated-thumbnail {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.thumbnail-placeholder {
    border-style: solid;
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Footer Input Bar */
.input-bar {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    border-top: 1px solid #333;
    padding: 1.75rem 2rem; /* Slightly reduced from 2rem */
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    position: relative;
}

.input-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 215, 0, 0.5) 50%, transparent 100%);
}

.input-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

/* File Upload Section */
.file-upload-section {
    flex-shrink: 0;
}

.file-input {
    display: none;
}

.file-upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1.75rem; /* Slightly reduced from 1.5rem 2rem */
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    color: #FFD700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 100px; /* Reduced from 120px */
    justify-content: center;
    min-width: 100px; /* Reduced from 120px */
}

.file-upload-btn:hover {
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
    transform: translateY(-2px);
}

/* Text Input Section */
.text-input-section {
    flex: 1;
}

.message-textarea {
    width: 100%;
    min-height: 100px; /* Reduced from 120px */
    padding: 1.25rem; /* Slightly reduced from 1.5rem */
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 1rem;
    color: #FFD700;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: all 0.3s ease;
}

.message-textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
}

.message-textarea::placeholder {
    color: #666;
}

/* Generate Button Section */
.generate-section {
    flex-shrink: 0;
}

.generate-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2rem; /* Slightly reduced from 1.5rem 2.5rem */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    border-radius: 1rem;
    color: #000;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
    min-height: 100px; /* Reduced from 120px */
    justify-content: center;
    min-width: 120px; /* Reduced from 140px */
    position: relative;
    overflow: hidden;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.generate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.generate-btn:hover::before {
    left: 100%;
}

.generate-btn:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcomeGlow {
    0% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 60px rgba(255, 215, 0, 0.3);
    }
}

/* Custom Scrollbar */
.chat-area::-webkit-scrollbar {
    width: 8px;
}

.chat-area::-webkit-scrollbar-track {
    background: #111;
}

.chat-area::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD700, #FFA500);
    border-radius: 4px;
}

.chat-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFA500, #FFD700);
}

/* Sidebar Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: #111;
}

.sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFD700, #FFA500);
    border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFA500, #FFD700);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .workspace {
        margin-left: 240px;
    }
    
    /* Keep all text labels visible on tablet */
    .nav-text,
    .feature-text {
        display: block;
    }
    
    .feature-title {
        font-size: 14px;
        writing-mode: initial;
        text-orientation: initial;
    }
    
    .nav-item {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }
    
    .feature-tabs {
        padding: 0 1rem;
    }
    
    .feature-tab {
        justify-content: flex-start;
        padding: 0.875rem 1rem;
        gap: 0.75rem;
    }
    
    .input-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .file-upload-btn,
    .generate-btn {
        min-height: 60px;
        min-width: auto;
        flex-direction: row;
        width: 100%;
    }
    
    .message-textarea {
        min-height: 80px;
    }
    
    /* Keep account section text visible on tablet */
    .account-label {
        display: block;
    }
    
    .account-toggle {
        justify-content: space-between;
        padding: 1rem;
    }
    
    .dropdown-arrow {
        display: block;
    }
    
    .auth-btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .account-section {
        margin-top: auto;
        padding: 0 1rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
    }
    
    .mobile-overlay {
        display: block;
    }
    
    /* Hide sidebar by default */
    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        z-index: 160;
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .workspace {
        margin-left: 0;
        padding-top: 0rem; /* Space for hamburger menu */
    }
    
    /* Show full text when sidebar is open */
    .sidebar.mobile-open .nav-text,
    .sidebar.mobile-open .feature-text,
    .sidebar.mobile-open .account-label {
        display: block;
    }
    
    .sidebar.mobile-open .feature-title {
        writing-mode: initial;
        text-orientation: initial;
        font-size: 14px;
    }
    
    .sidebar.mobile-open .feature-tab {
        gap: 0.75rem;
        justify-content: flex-start;
        padding: 0.875rem 1rem;
    }
    
    .sidebar.mobile-open .nav-item {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
    }
    
    .sidebar.mobile-open .account-toggle {
        justify-content: space-between;
        padding: 1rem;
    }
    
    .sidebar.mobile-open .dropdown-arrow {
        display: block;
    }
    
    .sidebar.mobile-open .auth-btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .chat-area {
        padding: 1rem;
        padding-bottom: 5rem; /* Extra bottom padding for mobile to prevent cutoff */
    }
    
    .input-bar {
        padding: 1rem;
    }
    
    .message {
        max-width: 95%;
    }
    
    .message-text {
        padding: 1rem 1.5rem;
    }
    
    .message-content {
        gap: 0.75rem;
    }
    
    .message-avatar {
        width: 32px;
        height: 32px;
    }
    .account-section {
        margin-top: auto;
        padding: 0 1rem;
        padding-bottom: 3.5rem;
    }
        /* Mobile welcome cards */
    .welcome-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .welcome-card {
        padding: 1.25rem;
    }
    
    .welcome-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .welcome-card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .welcome-card-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .welcome-card-button {
        padding: 0.625rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .workspace {
        padding-top: 0rem;
    }
    
    .chat-area {
        padding: 0.5rem;
        padding-bottom: 5rem; /* Extra bottom padding for small mobile to prevent cutoff */
    }
    
    .input-bar {
        padding: 0.75rem;
    }
    
    .file-upload-btn,
    .generate-btn {
        padding: 1rem;
        font-size: 0.875rem;
    }
    
    .message-textarea {
        padding: 1rem;
        font-size: 0.875rem;
    }

} 