.fastaffer-shell {
    box-sizing: border-box;
    height: 100vh;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #f4f4f5;
    background: #0B0F19;
}

.fastaffer-sidebar {
    width: 260px;
    min-width: 260px;
    background: #111827;
    border-right: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    transition: width 0.3s ease;
}

.fastaffer-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.fastaffer-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.fastaffer-message {
    display: flex;
    width: 100%;
    padding: 16px 0;
    animation: fadeIn 0.2s ease;
}

.fastaffer-message.user {
    justify-content: flex-end;
}

.fastaffer-message.user pre {
    background: #7c5cfc;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    max-width: 70%;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    color: white;
}

.fastaffer-message.ai {
    justify-content: flex-start;
}

.fastaffer-message.ai pre {
    background: #1f2937;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    max-width: 70%;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    color: #f4f4f5;
}

.fastaffer-input {
    position: fixed;
    bottom: 0;
    left: 260px;
    right: 0;
    background: #0B0F19;
    padding: 16px 24px 24px;
    border-top: 1px solid #1f2937;
    z-index: 1000;
}

.fastaffer-input-inner {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fastaffer-input-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.fastaffer-input textarea {
    flex: 1;
    min-height: 52px;
    max-height: 200px;
    resize: none;
    padding: 14px 16px;
    border-radius: 24px;
    background: #1f2937;
    border: 1px solid #374151;
    color: #f4f4f5;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s;
}

.fastaffer-input textarea:focus {
    border-color: #7c5cfc;
}

.fastaffer-input button[type="submit"] {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    background: #7c5cfc;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fastaffer-input button[type="submit"]:hover {
    background: #6d4ae2;
    transform: translateY(-1px);
}

.fastaffer-action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.fastaffer-action-buttons button {
    padding: 8px 12px;
    background: #1f2937;
    border: 1px solid #374151;
    color: #a1a1aa;
    border-radius: 16px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.fastaffer-action-buttons button:hover {
    border-color: #7c5cfc;
    color: #7c5cfc;
}

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

@media (max-width: 768px) {
    .fastaffer-sidebar {
        width: 0;
        min-width: 0;
        border: none;
    }
    
    .fastaffer-input {
        left: 0;
    }
    
    .fastaffer-messages {
        padding: 16px;
    }
    
    .fastaffer-message pre {
        max-width: 85%;
    }
}