/* Clippy Assistant Styles */
[data-app="clippy"].window {
    min-width: 380px;
    min-height: 520px;
    max-width: 420px;
    max-height: 700px;
}

[data-app="clippy"] .window-content {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    background: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.clippy-app {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.clippy-header {
    background: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
    padding: 10px;
    border-bottom: 1px solid #c5c5c5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.clippy-header img {
    width: 32px;
    height: 32px;
}

.clippy-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.clippy-chat-container {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.chat-bubble.user {
    background: #0078d7;
    color: white;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.chat-bubble.assistant {
    background: #ffffff;
    color: #333;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    border: 1px solid #e0e0e0;
}

.chat-bubble.assistant strong {
    color: #005a9e;
}

.chat-bubble.assistant ul {
    padding-left: 20px;
    margin-top: 5px;
}

.chat-bubble.assistant li {
    margin-bottom: 4px;
}

.clippy-input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #c5c5c5;
    background: #f5f5f5;
}

#clippy-input {
    flex-grow: 1;
    border: 1px solid #adadad;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 14px;
    font-family: 'Segoe UI', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

#clippy-input:focus {
    border-color: #0078d7;
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.2);
}

#clippy-send {
    margin-left: 8px;
    padding: 8px 16px;
    background: linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
    border: 1px solid #adadad;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
}

#clippy-send:hover {
    background: linear-gradient(to bottom, #ffffff 0%, #e0f3ff 100%);
    border-color: #3c7fb1;
}

#clippy-send:active {
    background: linear-gradient(to bottom, #d0d0d0 0%, #c0c0c0 100%);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
