#claude-chatbot-widget {
position: fixed;
z-index: 9999;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
.claude-widget-bottom-right {
bottom: 20px;
right: 20px;
}
.claude-widget-bottom-left {
bottom: 20px;
left: 20px;
} .claude-chat-button {
width: 60px;
height: 60px;
border-radius: 50%;
background: var(--claude-primary-color, #7C3AED);
border: none;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
position: relative;
} .claude-chat-button::before,
.claude-chat-button::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
border-radius: 50%;
border: 2px solid var(--claude-primary-color, #7C3AED);
opacity: 0;
animation: pulse-wave 2s ease-out infinite;
}
.claude-chat-button::after {
animation-delay: 1s;
}
@keyframes pulse-wave {
0% {
transform: scale(1);
opacity: 0.8;
}
100% {
transform: scale(1.4);
opacity: 0;
}
}
.claude-chat-button:hover {
transform: scale(1.1);
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.claude-chat-button svg {
width: 28px;
height: 28px;
color: white;
position: absolute;
transition: all 0.3s ease;
}
.claude-button-avatar {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
position: absolute;
transition: all 0.3s ease;
}
.claude-button-avatar-video {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
position: absolute;
transition: all 0.3s ease;
display: block;
pointer-events: none;
}
.claude-button-avatar-video::-webkit-media-controls,
.claude-button-avatar-video::-webkit-media-controls-panel,
.claude-button-avatar-video::-webkit-media-controls-play-button,
.claude-button-avatar-video::-webkit-media-controls-start-playback-button {
display: none !important;
opacity: 0 !important;
}
.claude-chat-icon {
opacity: 1;
transform: rotate(0deg);
}
.claude-close-icon {
opacity: 0;
transform: rotate(90deg);
}
.claude-chat-button.active .claude-chat-icon {
opacity: 0;
transform: rotate(-90deg);
}
.claude-chat-button.active .claude-button-avatar,
.claude-chat-button.active .claude-button-avatar-video {
opacity: 0;
transform: rotate(-90deg) scale(0.8);
}
.claude-chat-button.active .claude-close-icon {
opacity: 1;
transform: rotate(0deg);
} .claude-chat-window {
position: absolute;
bottom: 80px;
width: 380px;
max-width: calc(100vw - 40px);
height: 600px;
max-height: calc(100vh - 140px);
background: white;
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
display: flex;
flex-direction: column;
opacity: 0;
transform: translateY(20px) scale(0.95);
pointer-events: none;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.claude-widget-bottom-right .claude-chat-window {
right: 0;
}
.claude-widget-bottom-left .claude-chat-window {
left: 0;
}
.claude-chat-window.active {
opacity: 1;
transform: translateY(0) scale(1);
pointer-events: all;
} .claude-chat-header {
background: var(--claude-primary-color, #7C3AED);
color: white;
padding: 20px;
border-radius: 16px 16px 0 0;
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.claude-chat-header h3 {
margin: 0 0 5px 0;
font-size: 18px;
font-weight: 600;
}
.claude-chat-header p {
margin: 0;
font-size: 14px;
opacity: 0.9;
}
.claude-header-btn {
background: rgba(255, 255, 255, 0.2);
border: none;
min-width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
flex-shrink: 0;
padding: 6px;
}
.claude-header-btn:hover {
background: rgba(255, 255, 255, 0.3);
}
.claude-header-btn svg {
width: 20px !important;
height: 20px !important;
color: white !important;
fill: currentColor !important;
display: block !important;
} .claude-close-btn {
background: rgba(255, 255, 255, 0.2);
border: none;
min-width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
flex-shrink: 0;
padding: 6px;
}
.claude-close-btn:hover {
background: rgba(255, 255, 255, 0.3);
}
.claude-close-btn svg {
width: 20px !important;
height: 20px !important;
color: white !important;
fill: currentColor !important;
display: block !important;
} .claude-chat-messages {
flex: 1;
overflow-y: auto;
padding: 20px;
display: flex;
flex-direction: column;
gap: 16px;
}
.claude-message {
display: flex;
gap: 8px;
animation: messageSlide 0.3s ease;
}
@keyframes messageSlide {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.claude-message-user {
flex-direction: row-reverse;
}
.claude-message-content {
max-width: 75%;
padding: 12px 16px;
border-radius: 12px;
font-size: 14px;
line-height: 1.5;
}
.claude-message-bot .claude-message-content {
background: #f3f4f6;
color: #1f2937;
border-bottom-left-radius: 4px;
}
.claude-message-user .claude-message-content {
background: var(--claude-primary-color, #7C3AED);
color: white;
border-bottom-right-radius: 4px;
}
.claude-message-content p {
margin: 0;
white-space: pre-wrap;
} .claude-message-avatar {
width: 32px;
height: 32px;
flex-shrink: 0;
}
.claude-message-avatar img,
.claude-message-avatar video {
width: 100%;
height: 100%;
border-radius: 50%;
object-fit: cover;
display: block;
}
.claude-typing-indicator {
display: flex;
gap: 4px;
padding: 12px 16px;
background: #f3f4f6;
border-radius: 12px;
border-bottom-left-radius: 4px;
width: fit-content;
}
.claude-typing-dot {
width: 8px;
height: 8px;
background: #9ca3af;
border-radius: 50%;
animation: typingBounce 1.4s infinite;
}
.claude-typing-dot:nth-child(2) {
animation-delay: 0.2s;
}
.claude-typing-dot:nth-child(3) {
animation-delay: 0.4s;
}
@keyframes typingBounce {
0%, 60%, 100% {
transform: translateY(0);
}
30% {
transform: translateY(-10px);
}
} .claude-chat-input-container {
padding: 16px 20px;
border-top: 1px solid #e5e7eb;
display: flex;
gap: 12px;
align-items: flex-end;
}
.claude-chat-input {
flex: 1;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 10px 14px;
font-size: 14px;
font-family: inherit;
resize: none;
max-height: 120px;
transition: border-color 0.2s;
}
.claude-chat-input:focus {
outline: none;
border-color: var(--claude-primary-color, #7C3AED);
}
.claude-send-btn {
background: var(--claude-primary-color, #7C3AED);
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
flex-shrink: 0;
}
.claude-send-btn:hover {
transform: scale(1.1);
}
.claude-send-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: scale(1);
}
.claude-send-btn svg {
width: 20px;
height: 20px;
color: white;
} .claude-chat-messages::-webkit-scrollbar {
width: 6px;
}
.claude-chat-messages::-webkit-scrollbar-track {
background: transparent;
}
.claude-chat-messages::-webkit-scrollbar-thumb {
background: #d1d5db;
border-radius: 3px;
}
.claude-chat-messages::-webkit-scrollbar-thumb:hover {
background: #9ca3af;
} .claude-header-logo {
max-width: 150px;
max-height: 20px;
margin-top: 8px;
display: block;
} .claude-chat-footer {
padding: 10px 16px;
border-top: 1px solid #e5e7eb;
display: flex;
flex-direction: column;
gap: 6px;
align-items: center;
font-size: 11px;
background: #f9fafb;
}
.claude-privacy-link {
background: none;
border: none;
color: #6b7280;
cursor: pointer;
font-size: 10px;
padding: 0;
text-decoration: none;
transition: color 0.2s;
text-transform: uppercase;
letter-spacing: 0.3px;
font-weight: 500;
}
.claude-privacy-link:hover {
color: var(--claude-primary-color, #7C3AED);
text-decoration: underline;
}
.claude-powered-by {
color: #9ca3af;
font-size: 10px;
} .claude-privacy-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 99999;
align-items: center;
justify-content: center;
padding: 20px;
}
.claude-privacy-content {
background: white;
border-radius: 12px;
max-width: 500px;
width: 100%;
max-height: 80vh;
overflow: hidden;
display: flex;
flex-direction: column;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.claude-privacy-header {
padding: 20px;
border-bottom: 1px solid #e5e7eb;
display: flex;
justify-content: space-between;
align-items: center;
}
.claude-privacy-header h3 {
margin: 0;
font-size: 18px;
color: #1f2937;
}
.claude-privacy-body {
padding: 20px;
overflow-y: auto;
color: #4b5563;
line-height: 1.6;
}
.claude-privacy-body p {
margin: 0 0 12px 0;
}
.claude-privacy-body p:last-child {
margin-bottom: 0;
} @media (max-width: 480px) {
.claude-chat-window {
width: calc(100vw - 40px);
height: calc(100vh - 140px);
}
#claude-chatbot-widget {
bottom: 10px;
right: 10px;
}
.claude-widget-bottom-left {
left: 10px;
}
.claude-privacy-content {
max-width: calc(100vw - 40px);
}
}