#chatVisionaModal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

#chatVisionaModal:not(.hidden) {
    display: flex;
}

#chatVisionaModal.hidden {
    display: none !important;
}

.chat-visiona-content {
    width: 92%;
    max-width: 520px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 0 40px rgba(0,0,0,0.65);
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-visiona-content h2 {
    margin-top: 0;
    font-size: 18px;
    text-align: center;
}

#chatVisionaBox {
    background: #0b0b0b;
    border-radius: 12px;
    padding: 14px;
    height: 280px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid rgba(255,255,255,0.06);
}

.chat-msg-user {
    color: #38bdf8;
    margin-bottom: 10px;
}

.chat-msg-bot {
    color: #f8fafc;
    margin-bottom: 16px;
}

#chatVisionaInput {
    width: 100%;
    height: 70px;
    border-radius: 10px;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #222;
    color: white;
    resize: none;
}

#chatVisionaSendBtn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #38bdf8;
    font-weight: bold;
    cursor: pointer;
}

#chatVisionaCloseBtn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    border: none;
    background: #ff3b3b;
    font-weight: bold;
    cursor: pointer;
}

.visionaTypingText {
    white-space: pre-wrap;
}

@media (max-width: 768px) {

    #chatVisionaModal,
    #chatVisionaModal * {
        font-size: 18px !important;
    }

    #chatVisionaInput {
        font-size: 18px !important;
        height: 90px !important;
    }

}

