.modal-pastor {
    display: none; position: fixed; z-index: 100000; left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
}
.modal-pastor-content {
    background: linear-gradient(145deg, #401f02, #512a01);
    width: 90%; max-width: 500px; height: 85vh; border-radius: 20px;
    border: 1px solid rgba(247, 120, 16, 0.5);
    box-shadow: 0 0 20px rgba(247, 120, 16, 0.4), inset 0 0 10px rgba(247, 120, 16, 0.2);
    display: flex; flex-direction: column; overflow: hidden;
    animation: fadeInPastor 0.3s ease-out; font-family: 'Segoe UI', sans-serif;
}
@media (max-width: 600px) {
    .modal-pastor-content { width: 100%; height: 100%; border-radius: 0; border: none; }
}
@keyframes fadeInPastor { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.pastor-header {
    display: flex; justify-content: space-between; align-items: center; padding: 8px 15px;
    background: linear-gradient(90deg, #1c0c01, #512000); color: white;
    border-bottom: 2px solid #ff9e40; box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.pastor-avatar-header { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); object-fit: cover;}
.pastor-title { font-size: 19px; font-weight: bold; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.close-pastor { font-size: 32px; cursor: pointer; line-height: 1; transition: color 0.2s; }
.close-pastor:hover { color: #ffeaa7; }
.pastor-chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.pastor-chat-body::-webkit-scrollbar { width: 6px; }
.pastor-chat-body::-webkit-scrollbar-thumb { background-color: #f77810; border-radius: 10px; }
.msg-pastor, .msg-usuario { display: flex; align-items: flex-end; gap: 10px; max-width: 85%; }
.msg-usuario { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 8px #f77810; border: 2px solid #ffcc80; }
.msg-usuario .msg-avatar { box-shadow: 0 0 8px #00d2ff; border: 2px solid #80e5ff; }
.msg-bubble { background: #2a1608; color: #f1f1f1; padding: 12px 15px; border-radius: 15px 15px 15px 0; font-size: 15px; line-height: 1.5; border: 1px solid #4a2810; box-shadow: 0 4px 6px rgba(0,0,0,0.2); }
.msg-usuario .msg-bubble { background: #0f2027; border-radius: 15px 15px 0 15px; border: 1px solid #1a3c4a; }
.msg-bubble strong { color: #f77810; }
.msg-bubble em { color: #ffcc80; }
.pastor-footer { padding: 15px; background: #110600; display: flex; gap: 10px; border-top: 1px solid rgba(247, 120, 16, 0.3); }
.pastor-footer input { flex: 1; background: #222; border: 1px solid #444; color: white; padding: 12px 15px; border-radius: 25px; outline: none; font-size: 15px; transition: box-shadow 0.3s; }
.pastor-footer input:focus { box-shadow: 0 0 8px rgba(247, 120, 16, 0.6); border-color: #f77810; }
.pastor-footer button { background: linear-gradient(145deg, #f77810, #d35400); color: white; border: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(247, 120, 16, 0.4); transition: transform 0.2s; }
.pastor-footer button:hover { transform: scale(1.1); }

/* Efeito de Cursor de IA (Estilo Gemini/ChatGPT) */
.cursor-ia {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #f77810;
    margin-left: 3px;
    vertical-align: middle;
    animation: piscarCursor 0.8s infinite;
    border-radius: 2px;
}

@keyframes piscarCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}