/* CSS ADICIONADO CONFORME PEDIDO (NÃO APAGUE NENHUMA REGRA) */
/* === VARIÁVEIS DE TEMA === */
:root {
    --bg-color: #eef2f8; 
    --surface-color: #ffffff;
    --text-color: #1c1e21;
    --text-muted: #65676b;
    --primary-color: #1877f2;
    --primary-hover: #166fe5;
    --secondary-color: #e4e6eb;
    --secondary-hover: #d8dadf;
    --success-color: #42b72a;
    --danger-color: #dc3545;
    --border-color: #ccd0d5;
    --card-radius: 12px;
    --header-height: 60px;
    --modal-overlay-bg: rgba(0, 0, 0, 0.7);
}

/* TEMA ESCURO */
[data-theme="dark"] {
    --bg-color: #121212;
    --surface-color: #1e1e1e;
    --text-color: #e4e6eb;
    --text-muted: #b0b3b8;
    --border-color: #3e4042;
    --secondary-color: #3a3b3c;
    --secondary-hover: #4e4f50;
    --modal-overlay-bg: rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .side-menu-links li, [data-theme="dark"] .side-menu-header h3, [data-theme="dark"] .side-menu-info-box, [data-theme="dark"] .side-menu-info-box span, [data-theme="dark"] .side-menu-info-box .horario-linha span, [data-theme="dark"] .side-menu-info-box i { color: #000 !important; }
[data-theme="dark"] .left-sidebar h3, [data-theme="dark"] .left-sidebar h3 i, [data-theme="dark"] .right-sidebar h3, [data-theme="dark"] .right-sidebar h3 i { color: #ffffff !important; }

/* Isolamento do Card de Curso no Tema Escuro (TOTALMENTE ADAPTADO) */
[data-theme="dark"] .store-cards-container .course-card { background-color: #2a2d30 !important; border: 1px solid #444 !important; }
[data-theme="dark"] .store-cards-container .cc-body { background: linear-gradient(to bottom, #1e1e1e 0%, #121212 100%) !important; }
[data-theme="dark"] .store-cards-container .cc-title { color: #fff !important; border-bottom: 1px dashed rgba(255,255,255,0.1) !important; }
[data-theme="dark"] .store-cards-container .cc-info-line { background: rgba(255,255,255,0.05) !important; color: #b0b3b8 !important; border-color: transparent !important; }
[data-theme="dark"] .store-cards-container .cc-info-line span:last-child { color: #fff !important; }
[data-theme="dark"] .store-cards-container .cc-logo-avatar { background: #1e1e1e !important; box-shadow: 0 0 0 3px #ff4500, 0 10px 20px rgba(0,0,0,0.8) !important; border-color: #2a2d30 !important; }

[data-theme="dark"] .post-card, [data-theme="dark"] .publisher-box { background-color: #2a2d30 !important; border: 1px solid #444; }

[data-theme="dark"] .pub-formatting button { color: #000 !important; }

/* Marca D'água no Rodapé cobrindo tudo */
#rodapeGlobal { position: relative; overflow: hidden; }
#rodapeGlobal::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/logo.png'); background-size: cover; background-position: center;
    opacity: 0.05; pointer-events: none; z-index: 0;
}
.sfp-container, .footer-fire-line, .sfp-bottom { position: relative; z-index: 1; }

/* Fundo das redes sociais no tema claro */
body[data-theme="default"] .footer-social-icons a, body[data-theme="default"] .side-menu-social a {
    background-color: #ffffff !important; color: #ff4500 !important; border: 1px solid rgba(0,0,0,0.1) !important; border-radius: 50% !important;
}
[data-theme="dark"] .footer-social-icons a { background: linear-gradient(45deg, #ff4500, #ff8c00) !important; border: none !important; color: white !important; }
[data-theme="dark"] .footer-social-icons a.fb { background: #1877f2 !important; }
[data-theme="dark"] .footer-social-icons a.ig { background: #e1306c !important; }

/* NOVO RODAPÉ SUPER ELEGANTE E RESPONSIVO */
.site-footer { background: #0f172a; color: #f8fafc; position: relative; padding-top: 60px; margin-top: 0px; overflow: hidden; z-index: 10; font-family: 'Poppins', sans-serif;}
.footer-top-fire { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #ff0000, #ff4500, #ff8c00); }
.footer-content { position: relative; z-index: 2; padding: 0 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); width: 100%; max-width: 1400px; margin: 0 auto; gap: 40px;}
.footer-logo-area { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.footer-logo-area img { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #ff4500; margin-bottom: 15px; box-shadow: 0 0 20px rgba(255, 69, 0, 0.5); object-fit: cover; background:#fff;}
.footer-col { background: transparent; padding: 0; border: none; box-shadow: none; display: flex; flex-direction: column; }
.footer-col h3 { margin-bottom: 20px; border-bottom: 2px solid rgba(255, 69, 0, 0.5); padding-bottom: 10px; display: inline-flex; align-items: center; gap: 10px; color: #ff8c00; font-size: 1.2rem; font-weight: 700; width: max-content; letter-spacing: 0.5px;}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-links p { color: #cbd5e1; transition: 0.3s; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.95rem; cursor: pointer; }
.footer-links a:hover { color: #ff4500; padding-left: 8px; font-weight: 500; text-shadow: 0 0 8px rgba(255,69,0,0.3);}
.footer-bottom { position: relative; z-index: 2; text-align: center; padding: 20px; background: #020617; margin-top: 50px; border-top: 1px solid rgba(255,69,0,0.2); color: #ff8c00; font-size: 0.9rem; letter-spacing: 1px; font-weight: 500;}

.mobile-floating-container { display: none; position: fixed; left: -10px; top: 50%; transform: translateY(-50%); z-index: 90; flex-direction: column; gap: 10px; }
.mobile-store-btn, .mobile-courses-btn { background: var(--primary-color); color: white; padding: 12px 15px 12px 25px; border-radius: 0 30px 30px 0; font-weight: bold; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 8px; border:none; cursor:pointer;}
.mobile-courses-btn { background: #ff4500; }

.aviso-visitante { background: var(--primary-color); color: white; text-align: center; padding: 10px; font-weight: bold; }

/* Botão Flutuante Voltar pro Topo Importante */
#globalScrollTopBtn {
    position: fixed !important; bottom: -60px !important; right: 20px !important;
    z-index: 9999 !important; transition: all 0.3s ease-in-out !important; display: flex !important;
}
#globalScrollTopBtn.show { bottom: 80px !important; }

/* Notificação Global Flutuante Direita Glassmorphism Premium */
.global-float-notif {
    position: fixed; bottom: 30px; right: -400px; background: rgba(30, 30, 30, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid rgba(255, 69, 0, 0.4); border-radius: 12px; padding: 12px 15px; display: flex; align-items: center; gap: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.3); z-index: 9999999 !important; transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); color: #fff; max-width: 320px;
}
.global-float-notif.show { right: 20px; }

/* Picker de Emojis Curtir */
/* Picker de Emojis Curtir - Ajustado para ser compacto e prioritário */
.like-emoji-picker {
    position: absolute !important; 
    bottom: 120% !important; 
    left: 0 !important; 
    display: flex !important; 
    gap: 4px !important; 
    padding: 4px 8px !important; 
    border-radius: 20px !important; 
    z-index: 9999999 !important; 
    background: var(--surface-color) !important; 
    font-size: 0.9rem !important; 
    flex-wrap: nowrap !important; 
    width: max-content !important; 
    align-items: center !important; 
    justify-content: center !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important; 
    border: 1px solid var(--border-color) !important;
    visibility: hidden; 
    opacity: 0; 
    transition: all 0.2s ease;
}

/* Visibilidade ao passar o mouse */
.post-actions .action-btn:hover .like-emoji-picker, 
.comment-actions .btn-feed-curtir:hover .like-emoji-picker { 
    visibility: visible !important; 
    opacity: 1 !important; 
}

/* Emojis compactos */
.like-emoji-picker span { 
    font-size: 1rem !important; 
    cursor: pointer !important; 
    transition: transform 0.2s !important; 
    transform: scale(0.8) !important;
}

.like-emoji-picker span:hover { 
    transform: scale(1.1) !important; 
}

/* Ajuste Responsivo para telas pequenas */
.like-emoji-picker.is-mobile-picker {
    position: fixed !important;
    bottom: 25px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 92vw !important;
    max-width: 350px !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 4px !important;
    padding: 8px 12px !important;
    border-radius: 40px !important;
    z-index: 9999999 !important;
}

.like-emoji-picker.is-mobile-picker span {
    font-size: 1.1rem !important;
    transform: scale(1) !important;
    flex: 1 !important;
    text-align: center !important;
}

/* Correção responsiva para a lista flutuante de curtidas nos comentários */
@media (max-width: 500px) {
    .reactions-preview:hover .reactions-list-hover.is-mobile-preview-list {
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90vw !important;
        max-width: 320px !important;
        bottom: auto !important;
        max-height: 50vh !important;
        overflow-y: auto !important;
        background: var(--surface-color) !important;
        box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
        border: 1px solid var(--primary-color) !important;
        z-index: 9999999 !important;
        padding: 15px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Modal Premium de Emojis Publicação */
#emojiPostModal .modal-content {
    background: rgba(255, 255, 255, 0.95) !important; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-radius: 20px; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
[data-theme="dark"] #emojiPostModal .modal-content { background: rgba(30, 30, 30, 0.95) !important; border: 1px solid rgba(255,255,255,0.1); }
.emoji-modal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(45px, 1fr)); gap: 10px; max-height: 250px; overflow-y: auto; padding: 15px 5px; }
.emoji-modal-grid::-webkit-scrollbar { display: none; }
.emoji-modal-grid span { font-size: 1.8rem; text-align: center; cursor: pointer; transition: transform 0.2s; }
.emoji-modal-grid span:hover { transform: scale(1.3) translateY(-3px); }

/* Básico e resets */
html, body { margin: 0 !important; padding: 0 !important; height: 100%; width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body > br, html > br, header > br, div > br:first-child { display: none !important; margin: 0 !important; padding: 0 !important; }
::-webkit-scrollbar { display: none !important; }
html, body { -ms-overflow-style: none !important; scrollbar-width: none !important; }
.stories-container::-webkit-scrollbar { display: block !important; height: 4px !important; }
.stories-container::-webkit-scrollbar-track { background: rgba(0,0,0,0.02); border-radius: 10px; }
.stories-container::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }
.stories-container::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

@keyframes bgMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.anim-fire { background: linear-gradient(270deg, #8a0000, #ff0000, #ff4500, #ff8c00) !important; color: white !important; background-size: 300% 300% !important; animation: bgMove 2s ease infinite !important; border:none !important;}
.pulse-fire-btn { animation: firePulse 1.5s infinite; background: linear-gradient(45deg, #ff0000, #ff4500, #ff8c00) !important; color: white !important; border: none !important;}
@keyframes firePulse { 0% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7); transform: scale(1); } 50% { box-shadow: 0 0 0 10px rgba(255, 69, 0, 0); transform: scale(1.05); } 100% { box-shadow: 0 0 0 0 rgba(255, 69, 0, 0); transform: scale(1); } }

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); transition: background-color 0.3s, color 0.3s; }
a { text-decoration: none; color: var(--primary-color); }
ul { list-style: none; }
button, input, select, textarea { border: none !important; outline: none; }
button { cursor: pointer; font-family: inherit; transition: all 0.2s; }
input:not([type="color"]):not([type="checkbox"]):not([type="file"]), select { box-shadow: 0 0 0 1px var(--border-color) inset; }
img { max-width: 100%; object-fit: cover; }

.hidden { display: none !important; opacity: 0; pointer-events: none; }
.display-none { display: none !important; }
.flex { display: flex; } .flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .w-100 { width: 100%; }
.mt-1 { margin-top: 5px; } .mt-2 { margin-top: 10px; } .mt-3 { margin-top: 15px; } .text-center { text-align: center; }

/* COMPONENTES */
.btn-primary { background: var(--primary-color); color: white; padding: 10px 15px; border-radius: 6px; font-weight: 500; }
.btn-success { background: var(--success-color); color: white; padding: 10px 15px; border-radius: 6px; font-weight: 500; }
.btn-info { background: #17a2b8; color: white; padding: 10px 15px; border-radius: 6px; font-weight: 500; }
.btn-outline { background: rgba(24, 119, 242, 0.1); color: var(--primary-color); padding: 10px 15px; border-radius: 6px; font-weight: 500; }
.topbar-right .btn-icon, .topbar-right .avatar { width: 40px !important; height: 40px !important; display: flex; align-items: center; justify-content: center; }
.btn-icon { background: var(--secondary-color); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--text-color); transition: background 0.3s; flex-shrink: 0;}
.btn-icon:hover { background: var(--secondary-hover); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.btn-editar-perfil, .btn-sair-sistema { display: flex !important; align-items: center !important; gap: 8px !important; justify-content: center !important; font-weight: 600 !important; font-size: 0.85rem !important; padding: 8px 12px !important; border-radius: 8px !important; transition: 0.3s !important; width: 100% !important; color: white !important;}
.btn-editar-perfil { background: linear-gradient(45deg, #ff8c00, #ff4500) !important; box-shadow: 0 2px 5px rgba(255, 69, 0, 0.3) !important; }
.btn-sair-sistema { background: #dc3545 !important; }
.btn-editar-perfil:hover, .btn-sair-sistema:hover { background: #00008b !important; transform: scale(1.02) !important; box-shadow: 0 4px 10px rgba(0,0,139,0.5) !important; }

.btn-theme-toggle { position: fixed; left: 0; top: 70%; transform: translateY(-50%); background: var(--text-color); color: var(--surface-color); padding: 12px 15px 12px 20px; border-radius: 0 30px 30px 0; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 1000; display: flex; align-items: center; gap: 8px; cursor: pointer; border: none; font-weight: bold; transition: 0.3s; }
.btn-theme-toggle:hover { padding-left: 25px; background: var(--primary-color); color: white;}

/* TOPO */
.topbar { position: sticky; top: 0; z-index: 100; height: var(--header-height); background-color: var(--surface-color); display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.topbar-left { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.2rem; }
.topbar-right { display: flex; align-items: center; gap: 15px; height: 100%; }
.status-badge { display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 50%; background: transparent; flex-shrink: 0;}
.piscar { animation: blink 1.5s infinite; color: var(--success-color); font-size: 1.2rem; }
@keyframes floatLogoTopo { 0%, 100% { transform: translateY(0) scale(1) rotate(-3deg); box-shadow: 0 0 10px rgba(255,69,0,0.4); } 50% { transform: translateY(-4px) scale(1.08) rotate(3deg); box-shadow: 0 5px 15px rgba(255,69,0,0.8); } }
.main-logo-anim { animation: floatLogoTopo 3s ease-in-out infinite; border: 2px solid #ff4500; border-radius: 50%; background: #fff; }

.notif-dropdown { position: relative; }
.notif-menu { position: absolute; right: -50px; top: 120%; background: var(--surface-color); box-shadow: 0 5px 15px rgba(0,0,0,0.2); border-radius: 8px; width: 320px; z-index: 100; display: none; flex-direction: column; max-height: 400px; overflow-y: auto; padding: 10px 0; }
.notif-dropdown:hover .notif-menu { display: flex !important; }
.notif-header { padding: 10px 15px; font-weight: 600; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.notif-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 15px; cursor: pointer; border-bottom: 1px solid #f0f2f5; transition: background 0.2s; }
.notif-item:hover { background: var(--secondary-color); }
.notif-item img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.notif-content { flex-grow: 1; }
.notif-text { font-size: 0.9rem; line-height: 1.2; color: var(--text-color); margin-bottom: 3px; }
.notif-time { font-size: 0.75rem; color: var(--text-muted); }

/* BORDAS E HOVERS */
.borda-solida { border: 2px solid var(--text-color) !important; }
.borda-tracejada { border: 2px dashed var(--text-color) !important; }
.borda-fogo-efeito { border: 2px solid #ff4500 !important; box-shadow: 0 0 8px #ff4500 inset !important; }
.borda-arredondada-total { border-radius: 50px !important; }
.hover-crescer { transition: transform 0.2s !important; }
.hover-crescer:hover { transform: scale(1.05) !important; }

/* MENU LATERAL - MAIS LARGO, BOTAO X CORRIGIDO E CABEÇALHO PROTEGIDO (flex-shrink) */
.side-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9998; display: none; backdrop-filter: blur(3px); }
.side-menu-overlay.active { display: block; }
.side-menu { position: fixed; top: 0; right: -380px; width: 380px; max-width: 100%; height: 100%; background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../images/bg.jpg') center top / cover no-repeat !important; z-index: 9999; box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.3s ease-in-out; display: flex; flex-direction: column; overflow-y: auto; }
.side-menu.active { right: 0; }
.side-menu-close { position: absolute; top: 15px; right: 15px; background: #ff4500; border: none; width: 35px; height: 35px; border-radius: 50%; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; transition: 0.3s; z-index: 9999; box-shadow: 0 4px 10px rgba(0,0,0,0.4);}
.side-menu-close:hover { background: var(--danger-color); color: white; transform: rotate(90deg);}
.side-menu-header { padding: 50px 20px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; background: transparent !important; flex-shrink: 0; }

/* AVATAR DO MENU LATERAL - CORRIGIDO PARA NÃO FICAR GORDO */
.side-menu-header img { position:relative; z-index:1; width: 110px; height: 110px; border-radius: 50%; object-fit: cover !important; aspect-ratio: 1/1 !important; border: 4px solid #ff4500; margin-bottom: 12px; box-shadow: 0 0 20px rgba(255, 69, 0, 0.7); background: #fff;}
.side-menu-header h3 { position:relative; z-index:1; font-size: 1.3rem; margin: 0; color: #fff !important; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,0.9); letter-spacing: 0.5px;}

.side-menu-divider { border: none; height: 1px; background: rgba(255,255,255,0.1); margin: 0 20px 10px; position:relative; z-index:1; }
.side-menu-links { list-style: none; padding: 0 15px; flex-grow: 1; position:relative; z-index:1; }
.side-menu-links li { background: rgba(255,255,255,0.85); box-shadow: 0 2px 5px rgba(0,0,0,0.05); padding: 12px 15px; margin: 8px 0; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text-color); transition: all 0.2s; border: 1px solid rgba(0,0,0,0.02);}
.side-menu-links li i { width: 25px; height: 25px; border-radius: 5px; display:flex; align-items:center; justify-content:center; background: rgba(255, 69, 0, 0.1); color: #ff4500; font-size: 1rem; }
.side-menu-links li:hover { background: linear-gradient(45deg, #ff8c00, #ff4500); color: white; transform: translateX(5px); }
.side-menu-links li:hover i { background: rgba(255,255,255,0.2); color: white; }
.side-menu-info-box { background: rgba(255,255,255,0.9); margin: 15px; padding: 15px; border-radius: 12px; font-size: 0.85rem; color: var(--text-color); text-align: center; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 10px rgba(0,0,0,0.05); position:relative; z-index:1;}
.side-menu-info-box .horario-linha { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px dashed rgba(0,0,0,0.1); font-weight: 500;}
.side-menu-info-box .horario-linha:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.side-menu-info-box i { color: #ff4500; font-size: 1.1rem; width: 20px; text-align: center;}
.side-menu-info-box .badge-horario { background: rgba(24,119,242,0.1); padding: 4px 10px; border-radius: 20px; font-weight: 700; color: var(--primary-color); display: inline-block;}
.side-menu-info-box .badge-fechado { background: rgba(220,53,69,0.1); padding: 4px 10px; border-radius: 20px; font-weight: 700; color: var(--danger-color); display: inline-block;}
.side-menu-social { display: flex; justify-content: center; gap: 15px; padding: 20px; border-top: 1px solid rgba(255,255,255,0.2); margin-top: auto; position:relative; z-index:1;}
.side-menu-social a { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.2);}
.side-menu-social a:hover { transform: scale(1.1); box-shadow: 0 4px 10px rgba(0,0,0,0.3);}
.btn-sair-menu-lat { background: var(--danger-color) !important; color: white !important; margin-top: 15px !important; border: none !important; box-shadow: 0 4px 10px rgba(220,53,69,0.3) !important; justify-content: center !important; }
.btn-sair-menu-lat:hover { background: #00008b !important; transform: scale(1.02) !important; color: white !important; }

/* CAPAS - DIMINUÍDA UM POUQUINHO NA VERTICAL (DE 600 PARA 500) */
.covers-container { width: 100%; height: 500px; position: relative; overflow: hidden; background: #000; }
.cover-slide { width: 100%; height: 100%; position: absolute; top: 0; left: 0; opacity: 0; transition: opacity 0.5s ease-in-out; display: flex; flex-direction: column; justify-content: center; color: white; padding: 20px; }
.cover-slide.active { opacity: 1; z-index: 1; }
.cover-slide img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover-overlay { position: absolute; top:0; left:0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: -1; }
.cover-content { z-index: 2; max-width: 800px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.cover-content i.capa-icon { font-size: 3rem; margin-bottom: 10px; }
.cover-content h1 { font-size: 2.5rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.cover-content p { font-size: 1.2rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); margin-bottom: 20px;}
.cover-content button i { font-size: 1rem !important; margin-right: 5px; }
.cover-controls { position: absolute; bottom: 10px; width: 100%; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; }
.dot.active { background: white; }

/* STORIES */
.stories-container { width: 100%; background: var(--surface-color); padding: 15px 20px; display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; border-bottom: 1px solid var(--border-color); box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.story-card { min-width: 140px; height: 230px; border-radius: var(--card-radius); position: relative; overflow: hidden; cursor: pointer; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.story-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; z-index: 0; }
.story-card:hover .story-bg { transform: scale(1.05); }
.story-avatar { position: absolute; top: 10px; left: 10px; width: 35px; height: 35px; border-radius: 50%; border: 3px solid var(--primary-color); object-fit: cover; background: #fff; z-index: 2;}
.story-name { position: absolute; bottom: 10px; left: 10px; color: white; font-weight: 500; font-size: 0.8rem; text-shadow: 1px 1px 2px rgba(0,0,0,0.8); z-index: 2;}
.story-add { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--secondary-color); color: var(--text-color); }
.story-add i { font-size: 2rem; color: var(--primary-color); margin-bottom: 10px; }
.story-delete { position: absolute; top: 5px; right: 5px; background: rgba(0,0,0,0.5); color: white; border-radius: 50%; width: 25px; height: 25px; display: flex; align-items: center; justify-content: center; z-index: 10; font-size: 0.8rem; }
.story-delete:hover { background: var(--danger-color); }

.story-views-badge { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.8); color: white; font-size: 0.55rem; padding: 2px 6px; border-radius: 12px; z-index: 50; display: flex; align-items: center; gap: 4px; cursor: pointer; transition: 0.3s; border: 1px solid rgba(255,255,255,0.2); white-space: nowrap; }
.story-views-badge:hover { background: var(--primary-color); }
.story-views-badge:hover .views-dropdown { display: flex !important; }
.views-dropdown { position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%); background: var(--surface-color); color: var(--text-color); box-shadow: 0 5px 25px rgba(0,0,0,0.5); border-radius: 10px; padding: 10px; width: 240px; max-height: 200px; overflow-y: auto; display: none; flex-direction: column; gap: 8px; z-index: 9999999 !important; cursor: default; border: 1px solid var(--border-color); text-shadow: none; }
.views-dropdown::-webkit-scrollbar { display: none; }
.views-dropdown.active { display: flex; }

.story-menu-dots { position: absolute; top: 5px; right: 5px; background: rgba(0,0,0,0.7); color: white; width: 25px; height: 25px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 15; transition: 0.3s; border: 1px solid rgba(255,255,255,0.2); }
.story-menu-dots:hover { background: var(--primary-color); }
.story-menu-options { position: absolute; top: 30px; right: 0; background: rgba(0,0,0,0.9); border-radius: 8px; padding: 5px; display: none; flex-direction: column; gap: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); min-width: max-content; }
.story-menu-dots:hover .story-menu-options, .story-menu-options.active { display: flex; }
.story-menu-options a, .story-menu-options div { padding: 5px 10px; font-size: 0.8rem; border-radius: 4px; display: flex; align-items: center; gap: 6px; }

.view-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; border-bottom: 1px solid #f0f0f0; padding-bottom: 6px; color: var(--text-color); }
.view-item:last-child { border-bottom: none; padding-bottom: 0; }
.view-item img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border-color); }

.story-reactions-bar { position: absolute; bottom: 15px; right: 15px; display: flex; gap: 10px; z-index: 1050; }
.story-reaction-btn { background: rgba(0,0,0,0.6); border: 2px solid rgba(255,255,255,0.2); border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; transition: transform 0.3s, background 0.3s; }
.story-reaction-btn:hover { transform: scale(1.2); background: var(--primary-color); border-color: white; }
.story-reaction-list { position: absolute; bottom: 70px; right: 15px; z-index: 1050; display: flex; flex-direction: column; gap: 5px; max-height: 250px; overflow-y: auto; padding-right: 5px; }
.story-reaction-list::-webkit-scrollbar { width: 4px; }
.story-reaction-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 10px; }
.story-reaction-item { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,0.7); padding: 6px 12px; border-radius: 20px; color: white; font-size: 0.85rem; animation: slideIn 0.3s ease-out; box-shadow: 0 2px 5px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1); }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.story-reaction-item img { width: 25px; height: 25px; border-radius: 50%; object-fit: cover; border: 1px solid var(--primary-color); }

/* MAIN LAYOUT */
.main-layout { display: flex; max-width: 100%; width: 100%; margin: 0 auto; padding: 20px 30px; gap: 20px; min-height: 80vh; }
.left-sidebar, .right-sidebar { width: 26%; min-width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 15px; padding: 10px; margin-top: -10px; height: calc(100vh - 120px); overflow-y: auto; position: sticky; top: 80px; -ms-overflow-style: none; scrollbar-width: none; }
.left-sidebar::-webkit-scrollbar, .right-sidebar::-webkit-scrollbar { display: none; }
.store-cards-container { display: grid; grid-template-columns: 1fr; gap: 15px; }

/* -- MELHORIA PREMIUM NOS CARDS DOS CURSOS (CORREÇÃO DE HOVER E AVATAR MAIS ALTO) -- */
.store-cards-container .course-card { background: var(--surface-color) !important; border-radius: 16px !important; overflow: hidden !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; border: 1px solid rgba(0,0,0,0.05) !important; display: flex !important; flex-direction: column !important; padding-top: 0 !important; margin-top: 5px !important; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; }
.store-cards-container .course-card:hover { transform: translateY(-8px) !important; box-shadow: 0 15px 35px rgba(255, 69, 0, 0.15) !important; border-color: rgba(255, 69, 0, 0.3) !important; }
/* overflow: hidden garante que a imagem do background não vaze ao aplicar o hover, mantendo tudo alinhado! */
.store-cards-container .cc-header { position: relative !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; color: white !important; text-align: center !important; min-height: 130px !important; border-bottom: 3px solid #ff4500 !important; overflow: hidden !important; }
.store-cards-container .cc-header img { position: absolute !important; width: 100% !important; height: 100% !important; object-fit: cover !important; z-index: 0 !important; transition: transform 0.5s !important; }
.store-cards-container .course-card:hover .cc-header img { transform: scale(1.1) !important; }
.store-cards-container .cc-overlay { position: absolute !important; width: 100% !important; height: 100% !important; background: linear-gradient(to bottom, rgba(15,23,42,0.2) 0%, rgba(15,23,42,0.9) 100%) !important; z-index: 1 !important; }
.store-cards-container .cc-body { padding: 20px 15px 15px 15px !important; display: flex !important; flex-direction: column !important; flex-grow: 1 !important; position: relative !important; background: linear-gradient(to bottom, var(--surface-color) 0%, var(--bg-color) 100%) !important;}
/* MARGEM -75px COLOCA A IMAGEM MAIS PARA CIMA */
.store-cards-container .cc-logo-avatar { width: 85px !important; height: 85px !important; border-radius: 50% !important; margin: -75px auto 15px auto !important; border: 3px solid #fff !important; box-shadow: 0 0 0 3px #ff4500, 0 10px 20px rgba(255,69,0,0.4) !important; position: relative !important; z-index: 3 !important; background: #fff !important; display: block !important; object-fit: cover !important; transition: transform 0.3s !important;}
.store-cards-container .course-card:hover .cc-logo-avatar { transform: rotate(5deg) scale(1.05) !important; }
.store-cards-container .cc-title { font-size: 1.15rem !important; font-weight: 700 !important; text-align: center !important; margin-bottom: 15px !important; border-bottom: 1px dashed rgba(0,0,0,0.1) !important; padding-bottom: 12px !important; color: var(--text-color) !important; line-height: 1.3 !important;}
.store-cards-container .cc-info-line { display: flex !important; justify-content: space-between !important; align-items: center !important; font-size: 0.85rem !important; padding: 8px 12px !important; margin-bottom: 8px !important; color: var(--text-muted) !important; background: rgba(0,0,0,0.02) !important; border-radius: 8px !important; border: 1px solid rgba(0,0,0,0.02) !important; transition: background 0.2s !important;}
.store-cards-container .cc-info-line:hover { background: rgba(255,69,0,0.05) !important; border-color: rgba(255,69,0,0.1) !important; color: #ff4500 !important;}
.store-cards-container .cc-info-line span:last-child { font-weight: 700 !important; color: var(--text-color) !important; }
.store-cards-container .cc-info-line i { color: #ff8c00 !important; font-size: 0.9rem !important; margin-right: 5px !important;}
.store-cards-container .cc-buttons { margin-top: auto !important; display: flex !important; flex-direction: column !important; gap: 10px !important; padding-top: 15px !important;}


/* REGRAS PARA TELAS GIGANTES - CARDS FICAM EM PÉ, MAS COM TOPO MENOR E AVATAR MAIOR */
@media (min-width: 1367px) {
    .left-sidebar, .right-sidebar { width: 25%; min-width: 380px; }
    .store-cards-container .course-card { flex-direction: column !important; align-items: center !important; height: auto !important; min-height: auto !important; margin-top: 5px !important; padding-top: 0 !important; }
    .store-cards-container .cc-header { width: 100% !important; height: 140px !important; min-height: 140px !important; }
    .store-cards-container .cc-body { width: 100% !important; padding: 15px !important; margin-top: 0 !important; justify-content: flex-start !important; }
    .store-cards-container .cc-logo-avatar { margin: -75px auto 10px auto !important; width: 95px !important; height: 95px !important; position: relative !important; top: 0 !important; left: 0 !important; }
    .store-cards-container .cc-title { text-align: center !important; padding-left: 0 !important; } 
}

/* ESCONDER BARRAS LATERAIS EM NOTEBOOKS PEQUENOS E TABLETS (ATÉ 1366PX) */
@media (max-width: 1366px) {
    .left-sidebar, .right-sidebar { display: none !important; } 
    .mobile-floating-container { display: flex !important; } 
    .store-cards-container { grid-template-columns: 1fr; }
}

/* FEED DIREITO E PUBLICADOR */
.right-feed { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding-bottom: 20px; }
.publisher-box { background: var(--surface-color); border-radius: var(--card-radius); padding: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); width: 100%; overflow: hidden;}
.pub-top { display: flex; gap: 10px; align-items: flex-start; }
.pub-top .avatar { margin-top: 5px; } 
.pub-input-area { flex-grow: 1; display: flex; flex-direction: column; width: 100%; overflow: hidden;}
.pub-formatting { display: flex; gap: 8px; background: #f0f2f5; padding: 10px; border-radius: 8px; margin-bottom: 10px; align-items: center; flex-wrap: wrap; width: 100%;}
.pub-formatting button { background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); font-size: 1rem; color: var(--text-color); border-radius: 6px; padding: 5px 10px; transition: 0.2s;}
.pub-formatting button:hover { background: var(--primary-color); color: white !important; }
.pub-textarea { width: 100%; min-height: 60px; outline: none; resize: none; font-size: 1.1rem; font-family: inherit; color: var(--text-color); background: transparent; overflow-wrap: break-word; }
.pub-textarea:empty:before { content: attr(placeholder); color: var(--text-muted); cursor: text; }
.pub-preview { margin-top: 10px; border-radius: 8px; overflow: hidden; max-height: 500px; position: relative; display: none; width: 100%;}
.pub-preview img, .pub-preview video, .pub-preview iframe, .pub-preview embed { width: 100%; max-width: 100%; height: auto; max-height: 500px; display: block; object-fit: contain; }
.remove-preview { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.6); color: white; border-radius: 50%; width: 30px; height: 30px; z-index: 10;}
.pub-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border-color); flex-wrap: wrap; gap: 10px; width: 100%;}
.pub-options { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.pub-opt-btn { display: flex; align-items: center; justify-content: center; gap: 5px; font-weight: 500; cursor: pointer; padding: 5px 10px; border-radius: 12px; transition: 0.2s; color: white; font-size: 0.85rem; white-space: nowrap; flex-grow: 1; max-width: max-content;}
.pub-opt-btn:hover { filter: brightness(1.1); }
.pub-opt-btn.image { background: #45bd62; }
.pub-opt-btn.video { background: #f02849; }
.pub-opt-btn.youtube { background: #ff0000; }
.pub-opt-btn.pdf { background: #e95950; }

.post-card { background: var(--surface-color); border-radius: var(--card-radius); box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 20px; width: 100%; overflow: hidden;}
.post-header { padding: 15px; display: flex; justify-content: space-between; align-items: center; }
.post-user-info { display: flex; align-items: center; gap: 10px; }
.post-author { font-weight: 600; font-size: 1rem; }
.post-date { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-top: 2px;}
.post-content { padding: 0 15px 15px 15px; font-size: 1rem; line-height: 1.5; overflow-wrap: break-word; word-break: break-word;}
.post-media { width: 100%; display: flex; align-items: center; justify-content: center; background: transparent; overflow: hidden; position: relative;}
.post-media img, .post-media video { width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.post-media iframe { width: 100%; height: 400px; border: none; max-width: 100%;}
.post-media.pdf-preview { background: #fff !important; padding: 0; text-align: center; overflow: hidden !important; }
.pdf-embed-style { width: 100%; height: 100%; border: none !important; overflow: hidden !important; outline: none !important; box-shadow: none !important; pointer-events: none;} 
.pdf-preview-container { width: 100%; height: 400px; overflow: hidden !important; border-radius: 8px; border:none; position: relative; background: #fff !important; }

.post-stats { padding: 10px 15px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-muted); position: relative; align-items: center; flex-wrap: wrap; gap: 10px;}
.post-stats-badges { display: flex; gap: 10px; }
.primeiro-curtir-badge { background: var(--secondary-color); padding: 8px 15px; border-radius: 20px; font-size: 0.85rem; color: var(--text-muted); display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; text-align: center; margin: 0 auto;}
.primeiro-curtir-badge i { color: var(--primary-color); font-size: 1.1rem; }
.stat-badge-elegant { background: rgba(24, 119, 242, 0.08); padding: 5px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--primary-color); border: 1px solid rgba(24, 119, 242, 0.1); font-size: 0.85rem;}
.stat-badge-elegant i { font-size: 0.95rem; }
.stat-badge-elegant.comment { background: rgba(255, 140, 0, 0.08); color: #e67e22; border-color: rgba(255, 140, 0, 0.1); }
.reactions-preview { display: flex; align-items: center; gap: 5px; cursor: pointer; position: relative; }
.reactions-emojis { display: flex; }
.reactions-emojis span { font-size: 1.2rem; }
.reactions-list-hover { position: absolute; bottom: 100%; left: 0; background: var(--surface-color); box-shadow: 0 5px 25px rgba(0,0,0,0.3); border-radius: 8px; padding: 10px; width: 300px; z-index: 999999 !important; display: none; flex-direction: column; gap: 10px; max-height: 250px; overflow-y: scroll; -ms-overflow-style: none; scrollbar-width: none; cursor: default; }
.reactions-list-hover::-webkit-scrollbar { display: none; }
.reactions-preview:hover .reactions-list-hover { display: flex; }
.reaction-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 5px; border-bottom: 1px solid #eee; }
.reaction-item-left { display: flex; align-items: center; gap: 10px; }
.reaction-item img { width: 35px; height: 35px; border-radius: 50%; object-fit: cover;}
.reaction-item-info { display: flex; flex-direction: column; }
.reaction-item-name { font-size: 0.85rem; font-weight: 600; color: var(--text-color); display: flex; align-items: center; gap: 5px; }
.reaction-item-date { font-size: 0.7rem; color: var(--text-muted); display:flex; align-items:center; gap:5px; }
.reaction-item-delete { color: var(--danger-color); cursor: pointer; padding: 5px; border-radius: 50%; transition: 0.2s;}
.reaction-item-delete:hover { background: #ffeeee; transform: scale(1.1); }

/* BOTOES DE AÇÃO COM FUNDO ELEGANTE */
.post-actions { display: flex; padding: 5px 15px; gap: 10px; }
.action-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; color: var(--text-color); font-weight: 600; border-radius: 8px; background: var(--secondary-color); border: 1px solid rgba(0,0,0,0.05); transition: background 0.2s, color 0.2s, transform 0.2s; }
.action-btn:hover { background: var(--secondary-hover); transform: scale(1.02); }
.action-btn.liked { color: var(--primary-color); background: rgba(24, 119, 242, 0.1); border-color: rgba(24, 119, 242, 0.2); }

.post-comments { padding: 15px; background: #f8fafd; border-bottom-left-radius: var(--card-radius); border-bottom-right-radius: var(--card-radius); border-top: 1px solid #eef2f6; }
.comment-input-area { display: flex; gap: 10px; margin-bottom: 15px; }
.comment-input { flex-grow: 1; border-radius: 20px; padding: 8px 15px; background: var(--surface-color); box-shadow: 0 0 0 1px var(--border-color) inset; }
.comment-list { display: flex; flex-direction: column; gap: 10px; }
.comment-item { display: flex; gap: 10px; }
.comment-bubble { background: var(--surface-color); box-shadow: 0 1px 3px rgba(0,0,0,0.05); padding: 10px 15px; border-radius: 15px; border-top-left-radius: 5px; flex-grow: 1; position: relative; color: var(--text-color); }
.comment-author { font-weight: 600; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.comment-text { font-size: 0.95rem; margin-top: 2px; word-break: break-word; }
.comment-actions { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 10px; margin-top: 5px; padding-left: 10px; align-items: center; }
.comment-actions span { cursor: pointer; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.comment-actions span:hover { text-decoration: underline; color: var(--primary-color); }

.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: 100%; background: var(--surface-color); box-shadow: 0 2px 10px rgba(0,0,0,0.2); border-radius: 8px; padding: 5px; z-index: 10; display: none; flex-direction: row; gap: 5px; min-width: max-content; }
.dropdown.active .dropdown-menu { display: flex !important; }
.dropdown:hover .dropdown-menu { display: flex !important; }
#userTopAvatar:hover + .dropdown-menu, .dropdown-menu:hover { display: flex !important; }
.dropdown-item { display: flex; align-items: center; justify-content: center; width: auto; height: 40px; text-align: center; padding: 6px 12px; background: transparent; cursor: pointer; font-size: 0.95rem; color: var(--text-color); border-radius: 6px; white-space: nowrap; gap: 5px;}
.dropdown-item i { font-size: 1.1rem; }
.dropdown-item:hover { background: var(--secondary-color) !important; filter: brightness(0.9); }
.dropdown-item.danger { color: var(--danger-color); }

/* MODAIS */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--modal-overlay-bg); z-index: 2000; display: none; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background: var(--surface-color); border-radius: var(--card-radius); width: 90%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column; }
.modal-content::-webkit-scrollbar { display: none; } 
.modal-close { position: absolute; top: 15px; right: 15px; z-index: 2010; font-size: 0.9rem; padding: 8px 15px; border-radius: 20px;}
.modal-header-img { min-height: 250px; position: relative; display: flex; align-items: center; justify-content: center; color: white; text-align: center; flex-shrink: 0; overflow:hidden;}
.bg-img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.bg-light-overlay { position: absolute; width: 100%; height: 100%; background: rgba(255,255,255,0.85); z-index: 1; } 
.overlay { position: absolute; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1; }
.modal-header-img .content { z-index: 2; position: relative;}
.modal-header-img .content i { font-size: 3rem !important; margin-bottom: 5px; display: inline-block; }
.modal-header-img h2 { margin: 5px 0; font-size: 1.5rem; }
.modal-body { padding: 20px; flex-shrink: 0; position: relative; }
.input-group { margin-bottom: 15px; display: flex; flex-direction: column; text-align: left; position: relative;}
.input-group label { margin-bottom: 5px; font-weight: 500; font-size: 0.95rem; color: var(--text-color); display: flex; align-items: center; gap: 5px; }
.input-group input, .input-group select { padding: 12px; border-radius: 6px; font-size: 1rem; background: var(--bg-color); color: var(--text-color); width: 100%; }
.input-password-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.input-password-wrapper input { width: 100%; padding-right: 40px; }
.input-password-wrapper i { position: absolute; right: 15px; cursor: pointer; color: var(--text-muted); }

#registerModal .modal-content { max-width: 750px !important; width: 95% !important; }
#registerModal .modal-body { padding: 15px !important; margin: 0 !important; }
#registerModal .input-group { margin-bottom: 8px !important; }
#registerModal .input-group input, #registerModal .input-group select { padding: 8px 12px !important; height: auto !important; border-radius: 6px !important; font-size: 0.9rem !important; }

/* === O GOLPE FINAL: CORREÇÃO INFALÍVEL DO FUNDO DO LOGIN ESQUERDO === */
#loginModal .modal-content { max-width: 100vw !important; width: 100vw !important; height: 100vh !important; max-height: 100vh !important; border-radius: 0 !important; flex-direction: row !important; overflow: hidden !important; background: var(--bg-color) !important;}
.login-split-left { flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative !important; z-index: 1 !important; overflow-y:auto; background: transparent !important; }
/* Alterado para um degradê mais claro mantendo a visibilidade da foto de fundo */
#loginModal .login-split-left::before { content:'' !important; position:absolute !important; top:0 !important; left:0 !important; width:100% !important; height:100% !important; background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/bg.jpg') center / cover no-repeat !important; z-index: 0 !important; }
/* FORMULÁRIO COM Z-INDEX 2 FICA PERFEITAMENTE EM CIMA DA IMAGEM */
#loginModal .login-form-container { width: 100%; max-width: 450px; padding: 0; background: white; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); overflow:hidden; position: relative !important; z-index: 2 !important;}

.login-split-right { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; border-left: 1px solid rgba(0,0,0,0.1); }
.login-split-right .bg-img { width: 100%; height: 100%; object-fit: cover; position: absolute; top:0; left:0; z-index: 0; }
.login-split-right .overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)); z-index: 1;}
.login-split-right .content { z-index: 2; color: white; text-align: center; padding: 40px; }
.login-split-right .content i { font-size: 5rem; margin-bottom: 20px; color: var(--primary-color); text-shadow: 0 0 20px rgba(255,255,255,0.5);}
#loginModal .login-form-container h2 { font-size: 1.5rem; margin-bottom: 5px; color: var(--text-color); font-weight: 700; text-align: center;}
#loginModal .login-form-container p { text-align: center; color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem;}
#loginModal .input-group { margin-bottom: 12px !important; }
#loginModal .input-group input { padding: 10px 15px !important; background: var(--bg-color); border: 1px solid transparent; transition: 0.3s;}
#loginModal .input-group input:focus { border-color: var(--primary-color); background: white; box-shadow: 0 0 0 3px rgba(24,119,242,0.1) inset;}

#addStoryModal .modal-content { max-width: 550px !important; width: 95% !important; border-radius: 20px !important; }
#addStoryModal .modal-body { padding: 25px !important; }
#addStoryModal .modal-header-img { min-height: 100px !important; }
#addStoryModal .modal-header-img h2 { font-size: 1.3rem !important; margin: 0; font-weight: 700;}
#addStoryModal .modal-header-img .story-subtitle { font-size: 0.9rem; color: #eee; margin-top: 5px; font-weight: 400; }
.story-preview-area { width: 100%; max-height: 250px; border-radius: 12px; overflow: hidden; display: none; margin-top: 15px; background: #000; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.1);}
.story-preview-area video, .story-preview-area img, .story-preview-area iframe { width: 100%; height: 100%; object-fit: contain; max-height: 250px;}

.grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 15px; }

.format-toolbar { display: flex; gap: 8px; background: var(--secondary-color); padding: 5px; border-radius: 6px; margin-bottom: 5px; }
.format-toolbar button { background: transparent; padding: 5px 10px; border-radius: 4px; color: var(--text-color); font-size: 1rem; }
.format-toolbar button:hover { background: #d0d0d0; }
.format-toolbar button.active { background: var(--primary-color); color: white; }

.mobile-floating-container { display: none; position: fixed; left: -10px; top: 50%; transform: translateY(-50%); z-index: 90; flex-direction: column; gap: 10px; }
.mobile-store-btn, .mobile-courses-btn { background: var(--primary-color); color: white; padding: 12px 15px 12px 25px; border-radius: 0 30px 30px 0; font-weight: bold; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 8px; border:none; cursor:pointer;}
.mobile-courses-btn { background: #ff4500; }
.aviso-visitante { background: var(--primary-color); color: white; text-align: center; padding: 10px; font-weight: bold; }

/* RESPONSIVIDADE (MANTIDA RIGOROSAMENTE COM CORREÇÕES DE MOBILE NO HEADER LATERAL) */
.linha-fogo-elegante { width: 50%; height: 2px; background: linear-gradient(90deg, #ff0000, #ff4500, #ff8c00); margin: 8px auto 0 auto; border-radius: 2px; }

@media (max-width: 768px) {
    #loginModal { z-index: 999999 !important; background: var(--bg-color) !important; }
    #loginModal .modal-content { max-width: 100vw !important; width: 100vw !important; height: 100vh !important; max-height: 100vh !important; border-radius: 0 !important; }
    #loginModal .login-split-right { display: none !important; }
    #loginModal .login-split-left { width: 100% !important; padding: 15px !important; }

    .topbar-right span.hide-mobile { display: none; }
    .topbar-admin .hide-mobile { display: none; }
    .story-menu-dots { width: 32px !important; height: 32px !important; font-size: 1.2rem !important; z-index: 99999 !important; }

    .post-author { max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; font-size: 0.9rem !important; }
    .post-date { font-size: 0.75rem !important; }
    .post-content { font-size: 0.95rem !important; word-break: break-word; }
    .post-user-info .avatar { width: 35px !important; height: 35px !important; }
    
    .avatar, #userTopAvatar, .pub-top .avatar, .post-user-info .avatar, .comment-item .avatar { border-radius: 50% !important; object-fit: cover !important; }
    .topbar-right { gap: 8px !important; }
    .btn-icon, .topbar-right .btn-icon, .topbar-right .avatar { width: 38px !important; height: 38px !important; font-size: 1rem !important; }
    .main-logo-anim { width: 35px !important; height: 35px !important; border-width: 1px !important; }

    .notif-menu { position: fixed !important; top: 60px !important; right: 2vw !important; width: 96vw !important; max-width: 400px !important; max-height: calc(100vh - 80px) !important; overflow-y: auto !important; -ms-overflow-style: none; scrollbar-width: none; }
    .notif-menu::-webkit-scrollbar { display: none !important; }
    .notif-item { padding: 10px !important; gap: 8px !important;}
    .notif-item img { width: 35px !important; height: 35px !important; }
    .notif-text { font-size: 0.85rem !important; }
    
    .side-menu-info-box .horario-linha { flex-direction: column; align-items: flex-start; gap: 5px; }
    .side-menu-info-box .badge-horario, .side-menu-info-box .badge-fechado { width: 100%; text-align: center; }

    .cover-content h1 { font-size: 1.2rem !important; margin-bottom: 5px !important; line-height: 1.2 !important; }
    .cover-content p { font-size: 0.8rem !important; margin-bottom: 8px !important; line-height: 1.2 !important; }
    .cover-content button { font-size: 0.8rem !important; padding: 6px 10px !important; }
    .cover-controls { bottom: 5px !important; flex-wrap: wrap; }
    .dot { width: 10px !important; height: 10px !important; }
    .covers-container { height: 360px !important; }

    .pub-options { display: flex !important; flex-direction: row !important; justify-content: space-around !important; gap: 10px !important; width: 100% !important; padding: 5px 0 !important; }
    .pub-opt-btn { width: 45px !important; height: 45px !important; border-radius: 50% !important; padding: 0 !important; font-size: 1.2rem !important; display: flex !important; align-items: center !important; justify-content: center !important; flex: none !important; margin: 0 !important; color: white !important; aspect-ratio: 1/1 !important;}
    .pub-opt-btn.image { background-color: #45bd62 !important; }
    .pub-opt-btn.video { background-color: #f02849 !important; }
    .pub-opt-btn.youtube { background-color: #ff0000 !important; }
    .pub-opt-btn.pdf { background-color: #e95950 !important; }
    .pub-opt-btn span { display: none !important; }

    .pub-formatting { flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; padding: 5px !important; gap: 6px !important; margin-bottom: 5px !important; border-radius: 6px !important;}
    .pub-formatting button, .pub-formatting input[type="color"] { width: 22px !important; height: 22px !important; padding: 2px !important; font-size: 0.75rem !important; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .pub-top .avatar { width: 32px !important; height: 32px !important; }
    .pub-textarea { min-height: 45px !important; font-size: 0.85rem !important; padding: 5px !important; margin-top: 5px !important;}
    .pub-bottom { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
    .pub-bottom .btn-pub-enviar { width: 100% !important; flex: 1 1 100% !important; margin-top: 5px !important; padding: 10px !important; font-size: 0.95rem !important; display: block !important;} 

   
    .views-dropdown, .reactions-list-hover {
        position: fixed !important; top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; width: 90vw !important; max-width: 350px !important; bottom: auto !important; max-height: 60vh !important; z-index: 9999999 !important; background: var(--surface-color) !important; box-shadow: 0 10px 40px rgba(0,0,0,0.6) !important; border: 1px solid var(--primary-color) !important;
    }

    .comment-toolbar { flex-wrap: wrap !important; justify-content: center !important; gap: 3px !important; padding: 4px !important; }
    .comment-toolbar .btn-tool { width: 28px !important; height: 28px !important; font-size: 0.8rem !important; padding: 0 !important; display: flex; align-items: center; justify-content: center;}
    .comment-toolbar input[type="color"] { width: 28px !important; height: 28px !important; padding: 0 !important;}
    .comment-input-area { padding: 8px !important; gap: 5px !important; }
    .comment-input-area .avatar { width: 30px !important; height: 30px !important; }
    .comment-input { font-size: 0.85rem !important; padding: 5px !important; }
    .btn-feed-comentar { width: 40px !important; height: 40px !important; }

    .mobile-floating-container { display: flex !important; top: auto !important; bottom: 15px !important; transform: none !important; left: -10px !important; gap: 8px !important; z-index: 1000 !important; }
    .mobile-store-btn, .mobile-courses-btn { padding: 6px 10px 6px 14px !important; font-size: 0.75rem !important; border-radius: 0 20px 20px 0 !important;}

    .grid-2-col { grid-template-columns: 1fr; } 
    .publisher-box { padding: 10px; }
    .post-card { margin-bottom: 15px; border-radius: 10px; }
    .post-header { padding: 10px !important; }
    .post-actions { padding: 5px 10px; }
    .action-btn { font-size: 0.85rem; padding: 8px 5px; }

    .side-menu { width: 260px !important; right: -260px; }
    .side-menu.active { right: 0; }
    /* Correção do Header Mobile e Avatar mantendo o layout dentro do Menu! */
    .side-menu-header img { width: 75px !important; height: 75px !important; border-width: 2px !important; object-fit: cover !important; border-radius: 50% !important; }
    .side-menu-header { padding: 25px 15px 15px 15px !important; background: transparent !important; display: flex !important; flex-direction: column !important; align-items: center !important; flex-shrink: 0 !important;}
    .side-menu-close { display: none !important; }
    
    .linha-fogo-elegante { width: 100% !important; border-radius: 0 !important; margin-top: 15px !important; height: 2px !important; background: linear-gradient(90deg, transparent, #ff4500, #ff8c00, transparent) !important; border: none !important; }
    
    .side-menu-header h3 { font-size: 1rem !important; }
    #topoNomeInst { display: none !important; }
    .status-badge { display: none !important; }
    .topbar { background: var(--surface-color); transition: background 0.3s; padding: 0 15px; }
    .side-menu-links li { font-size: 0.9rem; padding: 10px 12px; }
}

/* Z-INDEX FORÇADO PARA ESTAR ACIMA DE QUALQUER MODAL (9999999) */
.toast { position: fixed; bottom: 30px; right: 30px; background: var(--surface-color); color: var(--text-color); padding: 15px 25px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); z-index: 9999999 !important; border-left: 6px solid var(--primary-color); transform: translateX(150%); transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.95rem;}
.toast i { font-size: 1.5rem; color: var(--primary-color); }
.toast.show { transform: translateX(0); }

#storyViewerModal { z-index: 10000 !important; padding: 0 !important; }
#storyViewerModal .modal-content { background: rgba(0,0,0,1) !important; box-shadow: none; width: 100vw !important; height: 100vh !important; max-width: 100vw !important; max-height: 100vh !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; justify-content: center; align-items: center; border: none !important; display: flex; overflow: hidden; }
#storyViewerContent { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; flex-direction: column; position: relative; overflow: hidden; padding: 0; margin: 0; }
#storyViewerModal .modal-close { background: rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 40px; height: 40px; padding: 0; display:flex; align-items:center; justify-content:center; position: absolute; top: 15px; right: 15px; font-size: 1.5rem; z-index: 10050; border: none; transition: 0.3s;}
#storyViewerModal .modal-close:hover { background: rgba(255,0,0,0.8); transform: scale(1.1); }
#bellIcon { position: relative; display: inline-block; }
.notif-badge { position: absolute; top: -6px; right: -6px; background-color: var(--danger-color, #ff3b30); color: white; border-radius: 50%; min-width: 18px; height: 18px; font-size: 11px; font-weight: bold; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.2); z-index: 10; line-height: 1; }

/* Correções Premium Solicitadas */
.story-card {
    overflow: visible !important; /* Para o dropdown não ficar preso dentro do card */
}
.views-dropdown {
    display: none;
}
.views-dropdown.active {
    display: block !important;
}

/* NOVAS REGRAS PARA O MODAL DO STORY (X PRETO E REAÇÕES FLUTUANTES) */
#storyViewerModal .modal-close {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    z-index: 1050;
}
#storyViewerModal .modal-close:hover,
#storyViewerModal .modal-close:active {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
}

.flying-emoji {
    position: absolute;
    font-size: 3rem;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation: flyUpAndFade 2s ease-out forwards;
    z-index: 9999;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
@keyframes flyUpAndFade {
    0% { transform: translate(-50%, 0) scale(0.5); opacity: 1; }
    50% { transform: translate(-50%, -100px) scale(1.5); opacity: 1; }
    100% { transform: translate(-50%, -200px) scale(1); opacity: 0; }
}

.global-float-notif {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--surface-color, #ffffff);
    border-left: 5px solid var(--primary-color, #ff4500);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999999 !important; /* Z-INDEX EXTREMO PARA FICAR EM CIMA DE QUALQUER MODAL */
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-color, #333);
    width: 400px; 
    max-width: 90vw;
}
.global-float-notif.show {
    transform: translateX(0);
}
[data-theme="dark"] .global-float-notif {
    background: #1e1e1e;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* MODAL DE MÍDIA DA PUBLICAÇÃO (RESPONSIVA E FULLSCREEN) */
.media-viewer-content-area {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.media-viewer-content-area img, .media-viewer-content-area video, .media-viewer-content-area embed {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

/* NOVO RODAPÉ SUPER ELEGANTE E RESPONSIVO E MODIFICAÇÕES REQUERIDAS */
.site-footer { 
    background: #0f172a; 
    color: #f8fafc; 
    position: relative; 
    padding-top: 60px; 
    margin-top: 0px; 
    overflow: hidden; 
    z-index: 10; 
    font-family: 'Poppins', sans-serif;
}
/* MÁGICA: IMAGEM DE FUNDO NO RODAPÉ */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../images/logo.png'); /* Puxa a logo do sistema */
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* Super leve e elegante */
    z-index: 1;
    pointer-events: none;
}
/* MÁGICA 2: COR LEVE SOBRE A IMAGEM DO RODAPÉ (Overlay escuro para elegância e leitura) */
.site-footer::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}
.footer-top-fire { position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, #ff0000, #ff4500, #ff8c00); z-index: 2;}
.footer-content { position: relative; z-index: 2; padding: 0 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); width: 100%; max-width: 1400px; margin: 0 auto; gap: 40px;}

/* CENTRALIZAÇÃO DA LOGO E ENDEREÇOS NO RODAPÉ */
.footer-logo-area { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo-area img { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #ff4500; margin-bottom: 15px; box-shadow: 0 0 20px rgba(255, 69, 0, 0.5); object-fit: cover; background:#fff;}

/* Modificações de alinhamento do rodapé (Requisitado: Não centrar do lado direito) */
.loc-col { align-items: flex-start !important; text-align: left !important; }
.loc-col .footer-links { align-items: flex-start !important; }
.loc-col h3 { margin: 0 0 20px 0 !important; }

.footer-col { background: transparent; padding: 0; border: none; box-shadow: none; display: flex; flex-direction: column; }
.footer-col h3 { border-bottom: 2px solid rgba(255, 69, 0, 0.5); padding-bottom: 10px; display: inline-flex; align-items: center; gap: 10px; color: #ff8c00; font-size: 1.2rem; font-weight: 700; width: max-content; letter-spacing: 0.5px;}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a, .footer-links p { color: #cbd5e1; transition: 0.3s; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 0.95rem; cursor: pointer; }
.footer-links a:hover { color: #ff4500; padding-left: 8px; font-weight: 500; text-shadow: 0 0 8px rgba(255,69,0,0.3);}
.footer-bottom { position: relative; z-index: 2; text-align: center; padding: 20px; background: #020617; margin-top: 50px; border-top: 1px solid rgba(255,69,0,0.2); color: #ff8c00; font-size: 0.9rem; letter-spacing: 1px; font-weight: 500;}

/* ESTILIZAÇÃO REDONDA E HOVER DOS ÍCONES SOCIAIS */
.footer-social-icons a { 
    width: 45px; height: 45px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; 
    background: #1e293b; 
    color: white; 
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.footer-social-icons a.fb:hover { background: #1877f2; transform: translateY(-5px); box-shadow: 0 6px 15px rgba(24, 119, 242, 0.5); }
.footer-social-icons a.ig:hover { background: #e1306c; transform: translateY(-5px); box-shadow: 0 6px 15px rgba(225, 48, 108, 0.5); }

.mobile-floating-container { display: none; position: fixed; left: -10px; top: 50%; transform: translateY(-50%); z-index: 90; flex-direction: column; gap: 10px; }
.mobile-store-btn, .mobile-courses-btn { background: var(--primary-color); color: white; padding: 12px 15px 12px 25px; border-radius: 0 30px 30px 0; font-weight: bold; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 8px; border:none; cursor:pointer;}
.mobile-courses-btn { background: #ff4500; }

.aviso-visitante { background: var(--primary-color); color: white; text-align: center; padding: 10px; font-weight: bold; }

/* DESTAQUE PARA EDIÇÃO DE COMENTÁRIO */
.editing-comment-mode {
    border: 2px solid var(--primary-color) !important;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.2) !important;
    transition: all 0.3s ease;
    background: rgba(255, 69, 0, 0.02) !important;
}

/* Badges Premium topo publicação */
.post-top-stats {
    display: flex; gap: 10px; align-items: center; margin-left: auto; margin-right: 15px; flex-wrap: wrap; justify-content: flex-end;
}
.post-top-stats span {
    background: rgba(0,0,0,0.05); padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: var(--text-color); display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.btn-painel-flutuante {
    background: linear-gradient(45deg, #ff4500, #ff8c00) !important; color: white !important; cursor: pointer; box-shadow: 0 2px 5px rgba(255,69,0,0.3); transition: transform 0.2s;
}
.btn-painel-flutuante:hover { transform: scale(1.05); }

/* NOVA ORGANIZAÇÃO DOS BADGES DO RODAPÉ DA PUBLICAÇÃO (Comentários e Panel) */
.post-stats-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.05);
}
.post-stats-badges-left {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.post-stats-badges-right {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* NOVO BOTAO MEU PAINEL TOPO */
.btn-meu-painel-topo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff4500, #ff8c00);
    color: white !important;
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(255,69,0,0.3);
    transition: all 0.2s;
    height: 35px;
}
.btn-meu-painel-topo:hover {
    transform: scale(1.05);
}

/* Menu header dark overlay - REMOVIDO PARA DEIXAR JUNTO DO BACKGROUND */
.side-menu-header {
    position: relative;
    overflow: hidden;
    background: transparent !important;
}
.side-menu-header::before {
    display: none !important; /* CORREÇÃO: Remove a cor que separava o cabeçalho do restante do menu */
}

@media (max-width: 1300px) {
    .left-sidebar { width: 350px !important; min-width: 350px !important; }
    .store-cards-container { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .left-sidebar { display: none !important; } 
    .mobile-floating-container { display: flex !important; } 
}