/* Chatbot Styles for Dr. Amik - Premium AI Assistant Look */
:root {
    --bot-primary: #00cca8;
    /* Teal */
    --bot-secondary: #1a2a47;
    /* Navy */
    --bot-accent: #009980;
    --bot-bg: #ffffff;
    --bot-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.chatbot-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.chat-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--bot-shadow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bot-primary);
    background: #fff;
}

.chat-trigger:hover {
    transform: scale(1.1) rotate(5deg);
}

.chat-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: var(--bot-bg);
    border-radius: 20px;
    box-shadow: var(--bot-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.chat-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: linear-gradient(135deg, var(--bot-secondary), #2a3d5e);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
}

.bot-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--bot-primary);
    margin-right: 15px;
    overflow: hidden;
}

.bot-info h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.bot-status {
    font-size: 0.8rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px #4ade80;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.bot-msg {
    align-self: flex-start;
    background: white;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    color: #334155;
    border-left: 3px solid var(--bot-primary);
}

.user-msg {
    align-self: flex-end;
    background: var(--bot-primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.chat-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.input-container {
    display: flex;
    background: #f1f5f9;
    border-radius: 25px;
    padding: 5px 15px;
    align-items: center;
    border: 1px solid transparent;
    transition: 0.2s;
}

.input-container:focus-within {
    border-color: var(--bot-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 204, 168, 0.1);
}

.chat-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 5px;
    outline: none;
    font-size: 0.95rem;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: 0.2s;
}

.action-btn:hover {
    color: var(--bot-primary);
    background: #e2e8f0;
}

.send-btn {
    color: var(--bot-primary);
}

.quick-replies {
    padding: 0 20px 10px;
    background: #f8fafc;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-reply-btn {
    background: white;
    border: 1px solid var(--bot-primary);
    color: var(--bot-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-reply-btn:hover {
    background: var(--bot-primary);
    color: white;
}