/* BAKI AI Assistant - Floating Chat Widget Styles */
.baki-chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.baki-chat-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #F57C00 0%, #e65100 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(245, 124, 0, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.baki-chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(245, 124, 0, 0.6);
}

.baki-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: #000666;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.baki-chat-window.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.baki-chat-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #000666 0%, #1A237E 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.baki-chat-header .info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.baki-chat-header .status-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ADE80;
}

.baki-chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: radial-gradient(circle at top right, rgba(26, 35, 126, 0.2), transparent);
}

.chat-msg {
    max-width: 85%;
    padding: 1rem;
    border-radius: 15px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.05);
    color: #CBD5E1;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.user {
    background: #F57C00;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.baki-chat-input {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.75rem;
}

.baki-chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
}

.baki-chat-input input:focus {
    border-color: #F57C00;
}

.baki-chat-input button {
    background: #F57C00;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.baki-chat-input button:hover {
    background: #e65100;
}

/* Scrollbar */
.baki-chat-body::-webkit-scrollbar {
    width: 4px;
}
.baki-chat-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
