.deepseek-chat-container {
border: 1px solid #ddd;
border-radius: 8px;
overflow: hidden;
background: #fff;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.deepseek-chat-header {
background: #2271b1;
color: white;
padding: 15px 20px;
margin: 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.deepseek-chat-header h3 {
margin: 0;
font-size: 18px;
font-weight: 600;
}
.deepseek-clear-history {
background: rgba(255,255,255,0.2) !important;
border: 1px solid rgba(255,255,255,0.3) !important;
color: white !important;
padding: 4px 8px !important;
border-radius: 3px !important;
font-size: 12px !important;
cursor: pointer !important;
}
.deepseek-clear-history:hover {
background: rgba(255,255,255,0.3) !important;
}
.deepseek-chat-messages {
padding: 20px;
max-height: 400px;
overflow-y: auto;
background: #f8f9fa;
min-height: 200px;
}
.deepseek-chat-input {
padding: 15px 20px;
border-top: 1px solid #e5e5e5;
background: #fff;
display: flex;
gap: 10px;
align-items: flex-end;
}
.deepseek-chat-input textarea {
flex: 1;
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px 12px;
font-size: 14px;
line-height: 1.4;
resize: vertical;
min-height: 60px;
font-family: inherit;
transition: border-color 0.3s;
}
.deepseek-chat-input textarea:focus {
outline: none;
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
}
.deepseek-send-btn {
background: #2271b1;
color: white;
border: none;
border-radius: 4px;
padding: 10px 20px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
transition: background 0.3s;
height: fit-content;
}
.deepseek-send-btn:hover {
background: #135e96;
}
.deepseek-send-btn:disabled {
background: #a7aaad;
cursor: not-allowed;
}
.deepseek-chat-loading {
padding: 10px 20px;
background: #fff3cd;
color: #856404;
text-align: center;
border-top: 1px solid #ffeaa7;
display: none;
} .deepseek-message {
margin-bottom: 15px;
display: flex;
}
.deepseek-message.user {
justify-content: flex-end;
}
.deepseek-message.assistant {
justify-content: flex-start;
}
.deepseek-message-content {
max-width: 80%;
padding: 12px 16px;
border-radius: 18px;
font-size: 14px;
line-height: 1.4;
word-wrap: break-word;
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.deepseek-message.user .deepseek-message-content {
background: #2271b1;
color: white;
border-bottom-right-radius: 4px;
}
.deepseek-message.assistant .deepseek-message-content {
background: white;
color: #2c3338;
border: 1px solid #e5e5e5;
border-bottom-left-radius: 4px;
}
.deepseek-message-time {
font-size: 11px;
color: #666;
margin-top: 5px;
text-align: right;
}
.deepseek-message.assistant .deepseek-message-time {
text-align: left;
} .deepseek-error {
padding: 15px;
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
border-radius: 4px;
margin: 10px 0;
} .deepseek-chat-messages::-webkit-scrollbar {
width: 6px;
}
.deepseek-chat-messages::-webkit-scrollbar-track {
background: #f1f1f1;
}
.deepseek-chat-messages::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 3px;
}
.deepseek-chat-messages::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
} @media (max-width: 768px) {
.deepseek-chat-input {
flex-direction: column;
}
.deepseek-send-btn {
align-self: stretch;
}
.deepseek-message-content {
max-width: 90%;
}
.deepseek-chat-header {
padding: 10px 15px;
}
.deepseek-chat-header h3 {
font-size: 16px;
}
}