/* PakalaTax AI Chat Widget Styles */

/* Trigger Button */
.pakala-ai-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0B2C5F, #1FA97A);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(11, 44, 95, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    transition: transform 0.3s ease;
}

.pakala-ai-trigger:hover {
    transform: scale(1.1);
}

.pakala-ai-trigger i {
    color: #fff;
    font-size: 24px;
}

.notification-dot {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 10px;
    height: 10px;
    background-color: #ff4757;
    border-radius: 50%;
    border: 2px solid #0B2C5F;
}

/* Chat Window */
.pakala-ai-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.ai-header {
    background: #0B2C5F;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Messages Area */
.ai-messages {
    flex: 1;
    padding: 20px;
    background-color: #f8f9fa;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.message.bot {
    align-self: flex-start;
}

.message.user {
    align-self: flex-end;
}

.message .content {
    padding: 12px 16px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.message.bot .content {
    background-color: #fff;
    color: #333;
    border-bottom-left-radius: 2px;
}

.message.user .content {
    background-color: #1FA97A;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.message .time {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
    padding: 0 4px;
}

.message.user .time {
    text-align: right;
}

/* Input Area */
.ai-input-area {
    padding: 15px;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.ai-input-area .input-group {
    background-color: #f1f3f5;
    border-radius: 25px;
    padding: 5px;
}

.ai-input-area input {
    background: transparent;
    box-shadow: none !important;
    font-size: 14px;
}

.ai-input-area button {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
.fa-beat-fade {
    animation: fa-beat-fade 2s infinite linear;
}

/* Utils */
.d-none {
    display: none !important;
}