#juz-chatbot-icon {
    position: fixed;
    bottom: 135px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #343f8d, #2e90a3);
    color: white;
    font-size: 30px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#juz-chatbot-window {
    position: fixed;
    bottom: 15px;
    right: 75px;
    max-width: 420px;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.chat-header {
    background: linear-gradient(135deg, #71c661, #00aece);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-header-icon svg {
    display: block;
    width: 32px;
    height: 32px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.chat-header-titles {
    display: flex;
    flex-direction: column;
}

.chat-header-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.chat-header-subtitle {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-new {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.chat-header-new:hover {
    background: rgba(255, 255, 255, 0.4);
}

#juz-chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

#juz-chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-header-status-dot {
    width: 8px;
    height: 8px;
    background-color: #6de25f;
    border-radius: 50%;
    margin-left: 2px;
}

.chat-body {
    padding: 20px;
    background-color: #f0f9ff;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    max-height: 480px;
    overflow-y: auto;
}

.chat-greeting {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 15px;
}

.chat-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-option {
    width: 100%;
    margin-top: 0;
    padding: 16px;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    cursor: pointer;
    border-radius: 10px !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
    display: flex;
    align-items: center;
    text-align: left;
    transition: all 0.2s ease;
}

.chat-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.chat-option-text {
    color: #475569;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.chat-option:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.chat-option.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.chat-response-inline {
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 1px dashed #cbd5e1;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top: -12px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    font-weight: 300;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.chat-response-inline p {
    margin: 0 0 12px 0;
    font-size: 17px;
    line-height: 26px;
    font-weight: 400;
}

.chat-response-inline a {
    color: #475569;
    text-decoration: underline;
    font-weight: 300;
    display: inline-block;
    margin-bottom: 4px;
    font-size: 16px;
}

.chat-response-inline a.juz-contact-form-btn {
    color: #00aece;
    font-weight: 400;
}

.chat-response-inline a:hover {
    text-decoration: underline;
}

#juz-chatbot-form {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
}

#juz-chatbot-form input,
#juz-chatbot-form textarea {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}

#juz-chatbot-form button {
    background: linear-gradient(135deg, #71c661, #00aece);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

#juz-chatbot-form button:hover {
    background: linear-gradient(135deg, #62b153, #009abb);
}

#juz-chatbot-form button:disabled {
    background: #8bdfe6;
    cursor: not-allowed;
}

.juz-contact-form-btn {
    color: #00aece;
    text-decoration: underline;
    cursor: pointer;
}