/* Chatbot CSS */
#eops-chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

#eops-chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,229,255,0.8) 0%, rgba(0,119,255,0.9) 100%);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), inset 0 0 10px rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.5);
    outline: none;
    backdrop-filter: blur(8px);
}

#eops-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.8), inset 0 0 15px rgba(255,255,255,0.6);
}

#eops-chat-toggle .material-symbols-outlined {
    color: #ffffff;
    font-size: 32px;
    transition: transform 0.3s ease;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

#eops-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 9999;
    width: 350px;
    max-width: calc(100vw - 40px);
    height: 500px;
    max-height: calc(100vh - 120px);
    background: rgba(4, 9, 20, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(232, 200, 74, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#eops-chat-window.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

#eops-chat-header {
    background: linear-gradient(90deg, rgba(232,200,74,0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#eops-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eops-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E8C84A;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000824;
}

.eops-chat-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.eops-chat-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#eops-chat-close {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: color 0.2s ease;
}

#eops-chat-close:hover {
    color: #ffffff;
}

#eops-chat-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Scrollbar styles */
#eops-chat-messages::-webkit-scrollbar {
    width: 6px;
}
#eops-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
#eops-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.eops-msg-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    animation: eopsFadeInUp 0.3s ease forwards;
}

@keyframes eopsFadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.eops-msg-bot {
    align-self: flex-start;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.9);
    border-bottom-left-radius: 4px;
}

.eops-msg-user {
    align-self: flex-end;
    background: #E8C84A;
    color: #000824;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}

.eops-options-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    animation: eopsFadeInUp 0.3s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.eops-option-btn {
    background: rgba(232, 200, 74, 0.1);
    border: 1px solid rgba(232, 200, 74, 0.3);
    color: #E8C84A;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.eops-option-btn:hover {
    background: rgba(232, 200, 74, 0.2);
    border-color: #E8C84A;
    transform: translateX(4px);
}

.eops-option-btn.primary {
    background: #E8C84A;
    color: #000824;
    border-color: #E8C84A;
    text-align: center;
}

.eops-option-btn.primary:hover {
    background: #C9A227;
    transform: translateY(-2px);
}

.eops-form-container {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 12px;
    margin-top: 8px;
    animation: eopsFadeInUp 0.3s ease forwards;
}

.eops-form-input {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 10px;
    color: white;
    font-size: 13px;
    margin-bottom: 12px;
    font-family: inherit;
    box-sizing: border-box;
}

.eops-form-input:focus {
    outline: none;
    border-color: #E8C84A;
}

.eops-form-submit {
    width: 100%;
    background: #E8C84A;
    color: #000824;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.eops-form-submit:hover {
    background: #C9A227;
}

.eops-typing {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    align-items: center;
    height: 36px;
    box-sizing: border-box;
}

.eops-typing-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: eopsTypingBounce 1.4s infinite ease-in-out both;
}

.eops-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.eops-typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes eopsTypingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}



#eops-chat-greeting {
    position: fixed;
    bottom: 42px;
    right: 105px;
    background: rgba(4, 9, 20, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    z-index: 10000;
    animation: eopsGreetingIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 1.5s;
    opacity: 0;
    transform: translateX(20px);
    pointer-events: auto;
}
#eops-chat-greeting.hide {
    display: none !important;
}
#eops-chat-greeting-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    outline: none;
}
#eops-chat-greeting-close:hover {
    color: #00e5ff;
}
@keyframes eopsGreetingIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (max-width: 480px) {
    #eops-chat-greeting {
        bottom: 90px;
        right: 20px;
    }

    #eops-chat-window {
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        z-index: 99999 !important;
        transform: translateY(100%);
    }
    #eops-chat-window.open {
        transform: translateY(0);
    }
    #eops-chat-toggle {
        bottom: 20px;
        right: 20px;
    }
}
