#ai-chat-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #0A7CFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

#ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 350px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial;
}

.ai-chat-header {
    background: #0A7CFF;
    color: #fff;
    padding: 12px;
    display: flex;
    align-items: center;
}

.ai-avatar {
    background: white;
    color: #0A7CFF;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
}

.ai-title {
    flex: 1;
    font-weight: bold;
}

.ai-title span {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

#ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f5f7fb;
}

.msg {
    padding: 10px 14px;
    margin-bottom: 8px;
    border-radius: 12px;
    max-width: 75%;
    font-size: 14px;
}

.user-msg {
    background: #0A7CFF;
    color: white;
    margin-left: auto;
}

.ai-msg {
    background: #e4e6eb;
}

.ai-chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

#ai-chat-input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
}

#ai-send {
    background: #0A7CFF;
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
}

#juzserv-chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00a0c8, #73bc44);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 9999;
}

#juzserv-chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 360px;
    height: 520px;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    display: none;
    font-family: Arial;
}

/* Header */

.juzserv-header {
    background: linear-gradient(135deg, #00a0c8, #73bc44);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.juzserv-title span {
    font-size: 12px;
    display: block;
    opacity: 0.9;
}

/* Welcome */

.juzserv-welcome {
    text-align: center;
    padding: 30px;
}

.juzserv-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #00a0c8, #73bc44);
    border-radius: 18px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin-bottom: 15px;
}

.juzserv-quick button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 14px;
}

/* Messages */

#juzserv-chat-messages {
    padding: 12px;
    height: 250px;
    overflow-y: auto;
}

.msg {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    max-width: 75%;
}

.user-msg {
    background: #73bc44;
    color: white;
    margin-left: auto;
}

.ai-msg {
    background: #f0f0f0;
}

/* Input */

.juzserv-input {
    display: flex;
    border-top: 1px solid #eee;
}

#juzserv-input {
    flex: 1;
    border: none;
    padding: 12px;
    outline: none;
}

#juzserv-send {
    background: linear-gradient(135deg, #00a0c8, #73bc44);
    border: none;
    color: white;
    padding: 12px 18px;
    cursor: pointer;
}

#juzserv-toggle {
    position: fixed;
    bottom: 75px;
    right: 75px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, #3b401c, #6fdd73);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 0 10px rgba(110, 189, 72, 0.2), 0 10px 30px rgba(110, 189, 72, 0.5);
    z-index: 9999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 10px rgba(110, 189, 72, 0.2), 0 0 0 0 rgba(110, 189, 72, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(110, 189, 72, 0.2), 0 0 0 20px rgba(110, 189, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(110, 189, 72, 0.2), 0 0 0 0 rgba(110, 189, 72, 0);
    }
}

#juzserv-chat {
    position: fixed;
    bottom: 135px;
    right: 30px;
    width: 360px;
    height: 540px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto;
    z-index: 1;
}

.juzserv-header {
    background: linear-gradient(to right, #6ebd48, #00a0c8);
    padding: 18px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.juzserv-header-left {
    display: flex;
    align-items: center;
}

.juzserv-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.juzserv-title span {
    font-size: 12px;
    opacity: 0.9;
    display: block;
}

.juzserv-title strong {
    font-size: 20px;
    font-weight: 600;
}

.juzserv-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

#juzserv-new-chat {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 4px 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

#juzserv-minimize {
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-weight: bold;
}

.juzserv-online-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}

.juzserv-body {
    height: 360px;
    overflow-y: auto;
    background: #fafafa;
}

.juzserv-welcome {
    text-align: center;
    padding: 25px;
}

.juzserv-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(to right, #6ebd48, #00a0c8);
    border-radius: 20px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
}

.juzserv-actions button {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 14px;
}

#juzserv-messages {
    padding: 15px;
}

.msg {
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 16px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
}

.user-msg {
    background: #6ebd48;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.ai-msg {
    background: #ececec;
}

.juzserv-input-area {
    display: flex;
    padding: 20px 15px;
    background: white;
}

.juzserv-input-wrapper {
    display: flex;
    flex: 1;
    background: #f4f4f4;
    border-radius: 24px;
    padding: 6px 6px 6px 16px;
    align-items: center;
}

#juzserv-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 14px;
    outline: none;
}

#juzserv-send {
    background: linear-gradient(to right, #6ebd48, #00a0c8);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

#juzserv-send:hover {
    opacity: 0.9;
}

#juzserv-send svg {
    width: 32px;
    height: 32px;
}

.juzserv-ai-icon {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.juzserv-welcome h3 { 
    color: #000000 !important; 
}