body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
h1 {
    color: #333;
    text-align: center;
}
.input-section, .output-section, .chat-section {
    margin-bottom: 20px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
textarea {
    width: 100%;
    height: 150px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    margin-top: 10px;
}
button:hover {
    background-color: #0056b3;
}
.primary-btn {
    background-color: #28a745;
}
.primary-btn:hover {
    background-color: #218838;
}
.output-section {
    display: none;
    padding: 15px;
    border-top: 1px solid #eee;
}
#generated-description {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    min-height: 60px;
}
.notification {
    display: none;
    background-color: #ffc107;
    color: #212529;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
}
.notification:hover {
    background-color: #e0a800;
}
.chat-section {
    display: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
}
#chat-messages {
    height: 300px;
    border: 1px solid #ddd;
    padding: 10px;
    overflow-y: auto;
    margin-bottom: 10px;
    background-color: #fafafa;
}
.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 80%;
}
.chat-message:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}
.chat-message.user {
    background-color: #dcf8c6;
    align-self: flex-end;
    margin-left: auto;
}
.chat-message.agent {
    background-color: #ffffff;
    border: 1px solid #ddd;
    align-self: flex-start;
}
.chat-input {
    display: flex;
    gap: 10px;
}
.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.chat-input button {
    background-color: #007bff;
}
.chat-input input:hover {
    border-color: #bbb;
}
textarea:hover {
    border-color: #bbb;
}
.chat-input button:hover {
    background-color: #0056b3;
}

#generate-btn:hover {
    background-color: #0056b3;
}
#apply-btn:hover {
    background-color: #218838;
}
#send-chat-btn:hover {
    background-color: #0056b3;
}
#notification:hover {
    background-color: #e0a800;
}
#product-input:hover {
    border-color: #bbb;
}

@media (min-width: 1024px) {
    .container {
        display: flex;
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        background: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .input-section {
        flex: 1;
        min-width: 300px;
    }
    .output-section,
    .chat-section {
        flex: 1;
        min-width: 300px;
    }
}