/* --- PANTONIN CHATBOT WIDGET STYLES --- */
:root {
    --fgv-orange: #FF6B00;
    --cyan-bright: #00C2FF;
    --electric-blue: #0056D2;
    --white: #ffffff;
}

#pantonin-launcher {
    position: fixed; bottom: 30px; right: 30px;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--fgv-orange); color: white;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10001;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#pantonin-launcher:hover { transform: scale(1.1) rotate(5deg); }

#pantonin-container {
    position: fixed; bottom: 100px; right: 30px;
    width: 380px; height: 550px; border-radius: 25px;
    background: rgba(0, 11, 26, 0.85); backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none; flex-direction: column; overflow: hidden;
    z-index: 10000; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.pantonin-header {
    padding: 20px; background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; align-items: center; justify-content: space-between;
}
.pantonin-header .agent-info { display: flex; align-items: center; gap: 12px; }
.pantonin-header .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cyan-bright); display: flex; align-items: center; justify-content: center; font-weight: 800; color: #000; font-size: 1.2rem; }
.pantonin-header .title { font-weight: 800; font-size: 1rem; color: var(--white); }
.pantonin-header .status { font-size: 0.7rem; color: #00ff88; display: block; }

#pantonin-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.pantonin-msg { max-width: 85%; display: flex; }
.pantonin-bubble { padding: 12px 18px; border-radius: 18px; font-size: 0.9rem; line-height: 1.4; position: relative; }

.user-msg { align-self: flex-end; }
.user-msg .pantonin-bubble { background: var(--electric-blue); color: white; border-bottom-right-radius: 4px; }

.bot-msg { align-self: flex-start; }
.bot-msg .pantonin-bubble { background: rgba(255, 255, 255, 0.1); color: white; border-bottom-left-radius: 4px; }

.pantonin-footer { padding: 15px; background: rgba(0,0,0,0.2); display: flex; gap: 10px; align-items: center; }
#pantonin-input { 
    flex: 1; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px; border-radius: 15px; color: white; font-size: 0.9rem; outline: none; transition: 0.3s;
}
#pantonin-input:focus { border-color: var(--cyan-bright); background: rgba(255, 255, 255, 0.1); }
.pantonin-send { background: var(--cyan-bright); color: #000; width: 45px; height: 45px; border-radius: 12px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.pantonin-send:hover { transform: scale(1.05); background: #fff; }

.typing-dots span { animation: typing 1.4s infinite; opacity: 0; display: inline-block; font-size: 1.5rem; line-height: 0; vertical-align: middle; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

@media (max-width: 480px) {
    #pantonin-container { width: 100%; height: 100%; bottom: 0; right: 0; border-radius: 0; }
    #pantonin-launcher { bottom: 20px; right: 20px; }
}
