@charset "UTF-8";
/*@import url(paginas-escuras.css);*/




/*ADSENSE*/
.anuncio-aqui{
    display: flex;
    justify-content: center;
    text-align: center;
    background-image: url(/imagem/polihos-banner-site.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
/*ADSENSE*/

/*
    Está tudo poluído, então se for utilizar será necessário organizar.
*/
* {
    font-family: sans-serif;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
/**/
    path:hover{
        stroke-width: 2;
    }
/**/

/* Aviso do JS - recaptacha */
div#aviso-requer-recaptacha {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid black;
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    margin: 10px;
    animation: pulsar 2s infinite;
}
@keyframes pulsar {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    }
    50% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 193, 7, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
    }
}
/* Aviso do JS / \*/

/* Das impressões */
@media print {
    header,
    footer{
        display: none;
    }
    body::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/imagem/polihos.webp') center center no-repeat;
        background-size: contain;
        opacity: 0.15;
        z-index: 9999;
    }

    @page {
        size: A4 portrait;
        margin: 20mm;
    }

    main {
        display: block;
        page-break-after: always;
    }

    body {
        margin-top: 30mm;
        margin-bottom: 25mm;
    }
}
/* impressões /\ */
/* Sidebar do personagem 2.0 \/ */
/* Reset de links dentro do componente */
.sidebar-geral a,
.sidebar-chat-geral a {
    color: unset;
    font-weight: unset;
    transition: unset;
}
.sidebar-geral #sidebar-personagem-header {
    padding: 14px 16px;
    /* background: #003366; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.sidebar-geral #sidebar-personagem-close {
    background: none;
    border: none;
    /* color: rgba(255, 255, 255, 0.75); */
    font-size: 22px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}
.sidebar-geral #sidebar-personagem-close:hover {
    color: #ff0000;
    /* background: rgb(0 0 0 / 15%); */
}

/* Botão flutuante */
.sidebar-geral .sidebar-toggle-btn {
    position: absolute;
    left: -52px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: -3px 3px 10px rgba(0,0,0,0.25);
    /* z-index: 1001; */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    position: absolute; 
}

.sidebar-geral .sidebar-toggle-btn:hover {
    background: #334155;
}

.sidebar-geral .sidebar-toggle-btn:active {
    background: #0f172a;
}

/* Badge de notificação */
.sidebar-geral .notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #1e293b;
    pointer-events: none;
}

/* Overlay */
.sidebar-geral .sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 29;
}

.sidebar-geral .sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Painel lateral */
.sidebar-geral .sidebar-right {
    position: fixed;
    right: 0;
    top: 0;
    width: 300px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    box-shadow: -6px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30;
    display: flex;
    flex-direction: column;
}

.sidebar-geral .sidebar-right.open {
    transform: translateX(0);
}

/* Conteúdo scrollável */
.sidebar-geral .sidebar-content {
    padding: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-geral .sidebar-content::-webkit-scrollbar {
    width: 3px;
}

.sidebar-geral .sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-geral .sidebar-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Seção de perfil */
.sidebar-geral .profile-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px 14px;
    /* background: #1e293b; */
    /* color: black; */
    flex-shrink: 0;
}

.sidebar-geral .avatar {
    height: 52px;
    width: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}

.sidebar-geral .profile-section h3 {
    font-size: 15px;
    margin: 0;
    /* color: #ffffff; */
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
}

.sidebar-geral .cargo {
    font-size: 12px;
    color: #94a3b8;
    margin: 2px 0 0;
}

/* Nav */
.sidebar-geral .sidebar-nav {
    /* flex: 1; */
    padding: 8px 0;
}

.sidebar-geral .sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item de menu nível 1 */
.sidebar-geral .menu-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    background: transparent;
    color: #1e293b;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.sidebar-geral .menu-item > a:hover {
    background: #f8fafc;
    color: #0f172a;
}

.sidebar-geral .menu-item.active > a {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Indicador + / × */
.sidebar-geral .plus {
    font-size: 16px;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1;
    transition: transform 0.25s ease, color 0.15s ease;
    flex-shrink: 0;
}

.sidebar-geral .has-submenu.active > a .plus {
    transform: rotate(45deg);
    color: #1d4ed8;
}

/* Submenu nível 2 */
.sidebar-geral .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: #f8fafc;
    border-left: 3px solid #e2e8f0;
    margin-left: 14px;
}

.sidebar-geral .has-submenu.active > .submenu {
    max-height: 1200px;
}

.sidebar-geral .submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 14px 9px 14px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.12s ease, color 0.12s ease;
}

.sidebar-geral .submenu li a:hover {
    background: #f0f4ff;
    color: #1d4ed8;
}

/* Sub-submenu nível 3 */
.sidebar-geral .sub-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f1f5f9;
    border-left: 2px solid #cbd5e1;
    margin-left: 10px;
}

.sidebar-geral .has-sub-submenu.active > .sub-submenu {
    max-height: 800px;
}

.sidebar-geral .sub-submenu li a {
    padding: 8px 14px;
    font-size: 12.5px;
    color: #64748b;
    border-bottom: 1px solid #e8edf2;
}

.sidebar-geral .sub-submenu li a:hover {
    background: #e8f0fe;
    color: #1d4ed8;
}

/* Item com sub-submenu */
.sidebar-geral .has-sub-submenu > a {
    background: transparent;
    font-weight: 500;
    color: #475569;
}

.sidebar-geral .has-sub-submenu.active > a .plus {
    transform: rotate(45deg);
    color: #1d4ed8;
}

/* Seção Informações */
.sidebar-geral .info-section {
    margin-top: 4px;
    border-top: 2px solid #f1f5f9;
    flex-shrink: 0;
}

.sidebar-geral .info-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 14px;
    background: transparent;
    color: #1e293b;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
    cursor: pointer;
}

.sidebar-geral .info-toggle:hover {
    background: #f8fafc;
}

.sidebar-geral .info-section.active .info-toggle .plus {
    transform: rotate(45deg);
    color: #1d4ed8;
}

.sidebar-geral .info-grid {
    display: none; /* sobrescrito pela classe .submenu quando ativo */
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.sidebar-geral .info-section.active .info-grid {
    display: flex;
    max-height: 700px;
}

.sidebar-geral .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    font-size: 12.5px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-geral .info-row span {
    color: #64748b;
    font-weight: 400;
}

.sidebar-geral .info-row strong {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
    max-width: 55%;
    word-break: break-word;
}

/* Seção de Notificações */
.sidebar-geral .notifications-section {
    padding: 12px 14px 16px;
    border-top: 2px solid #f1f5f9;
    flex-shrink: 0;
}

.sidebar-geral .notifications-section h4 {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-geral .notifications-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-geral .notification-link {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    color: #92400e;
    text-decoration: none;
    font-size: 12.5px;
    transition: background 0.15s, border-color 0.15s;
}

.sidebar-geral .notification-link:hover {
    background: #ffedd5;
    border-color: #fb923c;
    color: #7c2d12;
}

.sidebar-geral .notification-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f97316;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Indicadores */
.sidebar-geral .indicator { font-size: 16px; font-weight: bold; margin-right: 10px; min-width: 18px; text-align: center; }
.sidebar-geral .indicator.up     { color: #22c55e; }
.sidebar-geral .indicator.down   { color: #ef4444; }
.sidebar-geral .indicator.neutral{ color: #94a3b8; }
@media (max-width: 480px) {
    .sidebar-geral .sidebar-right {
        width: 100vw;
        max-width: 100%;
    }
}

/*Da caixa de CHAT global \/ */

/*Botão flutuante*/
.sidebar-chat-geral {
    position: fixed;
    bottom: 150px;
    right: 0;
    z-index: 15;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.sidebar-chat-geral #chat-button {
    width: 52px;
    height: 52px;
    background: #003366;
    color: white;
    border: none;
    border-radius: 10px 0 0 10px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: -3px 3px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
}

.sidebar-chat-geral #chat-button:hover {
    background: #004a99;
}

.sidebar-chat-geral #chat-button:active {
    transform: scale(0.95);
}

.sidebar-chat-geral #chat-notificacao-global {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
    pointer-events: none;
}

/*Overlay */
.sidebar-chat-geral .chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.sidebar-chat-geral .chat-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Painel principal */
.sidebar-chat-geral #chat-box-global {
    position: fixed;
    left: 0;
    top: 0;
    width: 360px;
    max-width: 92vw;
    height: 100vh;
    background: #ffffff;
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 15;
    border-right: 1px solid #e5e7eb;
}

.sidebar-chat-geral #chat-box-global.open {
    transform: translateX(0);
    z-index: 50 !important;
}

/* Header */
.sidebar-chat-geral #chat-header {
    padding: 14px 16px;
    /* background: #003366; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.sidebar-chat-geral #chat-header-title {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-chat-geral #chat-header-title span.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.sidebar-chat-geral #chat-close {
    background: none;
    border: none;
    /* color: rgba(255,255,255,0.75); */
    font-size: 22px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    line-height: 1;
    transition: color 0.15s, background 0.15s;
}

.sidebar-chat-geral #chat-close:hover {
    color: #ff0000;
    /* background: rgb(0 0 0 / 15%); */
}

/* Abas */
.sidebar-chat-geral #chat-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.sidebar-chat-geral #chat-tabs::-webkit-scrollbar {
    display: none;
}

.sidebar-chat-geral .chat-tab {
    flex: 1;
    min-width: 72px;
    padding: 10px 8px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.sidebar-chat-geral .chat-tab:hover {
    color: #003366;
    background: #f0f4ff;
}

.sidebar-chat-geral .chat-tab.active {
    color: #003366;
    border-bottom-color: #003366;
    background: #ffffff;
    font-weight: 600;
}

/*Área de mensagens */
.sidebar-chat-geral #chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    background: #f9fafb;
    scroll-behavior: smooth;
}

.sidebar-chat-geral #chat-messages::-webkit-scrollbar {
    width: 4px;
}

.sidebar-chat-geral #chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-chat-geral #chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

/* Mensagem individual*/
.sidebar-chat-geral .message {
    display: flex;
    gap: 9px;
    max-width: 100%;
    animation: fadeSlideIn 0.2s ease;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.sidebar-chat-geral .message img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #e5e7eb;
    background: #e5e7eb;
}

.sidebar-chat-geral .message-content {
    flex: 1;
    min-width: 0;
}

.sidebar-chat-geral .username {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 1.2;
}

.sidebar-chat-geral .username a {
    color: #003366;
    text-decoration: none;
    transition: color 0.15s;
}

.sidebar-chat-geral .username a:hover {
    color: #0066cc;
    text-decoration: underline;
}

.sidebar-chat-geral .text {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0 8px 8px 8px;
    padding: 8px 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #374151;
    word-break: break-word;
    white-space: pre-wrap;
}

.sidebar-chat-geral .timestamp {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/*  Estado vazio / carregando  */
.sidebar-chat-geral .chat-status {
    text-align: center;
    padding: 32px 16px;
    color: #9ca3af;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.sidebar-chat-geral .chat-status .spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-top-color: #003366;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Área de input */
.sidebar-chat-geral #chat-input {
    display: flex;
    align-items: flex-end;
    padding: 10px 12px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    gap: 8px;
    flex-shrink: 0;
}

.sidebar-chat-geral #message {
    flex: 1;
    padding: 9px 12px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1a1a1a;
    resize: none;
    font-size: 13.5px;
    font-family: inherit;
    min-height: 40px;
    max-height: 110px;
    overflow-y: auto;
    line-height: 1.4;
    transition: border-color 0.15s, background 0.15s;
}

.sidebar-chat-geral #message::placeholder {
    color: #9ca3af;
}

.sidebar-chat-geral #message:focus {
    outline: none;
    border-color: #003366;
    background: #ffffff;
}

.sidebar-chat-geral #send-btn {
    background: #003366;
    color: white;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
    font-size: 16px;
}

.sidebar-chat-geral #send-btn:hover {
    background: #004a99;
}

.sidebar-chat-geral #send-btn:active {
    transform: scale(0.93);
}

.sidebar-chat-geral #send-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.sidebar-chat-geral #send-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Contador de chars */
.sidebar-chat-geral .char-count {
    font-size: 11px;
    color: #9ca3af;
    text-align: right;
    padding: 0 12px 4px;
    flex-shrink: 0;
}

.sidebar-chat-geral .char-count.warning {
    color: #f59e0b;
}

.sidebar-chat-geral .char-count.danger {
    color: #dc2626;
}

/* Toast de feedback */
.sidebar-chat-geral .chat-toast {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1f2937;
    color: #ffffff;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    z-index: 10;
}

.sidebar-chat-geral .chat-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
@media (max-width: 480px) {
    .sidebar-chat-geral #chat-box-global {
        width: 100vw;
        max-width: 100%;
    }
}
/*Da caixa de CHAT global /\ */










/* HEADERS GERAL POLIHOS - Cabeçalho 2.0 */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #166088;
    --accent-color: #4fc3f7;
    --text-color: #333;
    --text-light: #f8f9fa;
    --bg-color: #ffffff;
    --bg-dark: #2c3e50;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Header Styles */
.header-site-global {
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    /* position: sticky; */
    top: 0;
    z-index: 10;
    padding: 0.5rem 0;
}

.header-site-global .notification-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.2rem;
    gap: 0.5rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    /* color: var(--secondary-color); */
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    gap: 0.3rem;
}

.nav-link:hover, 
.nav-link:focus {
    color: var(--secondary-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.btn-login, 
.btn-register {
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-login {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-register {
    background-color: var(--primary-color);
    color: white;
}

.btn-register:hover {
    background-color: #3c5d8d;
    color: white;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
    font-size: inherit;
    gap: 0.3rem;
    border-radius: var(--border-radius);
}

.dropdown-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown-toggle:focus + .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--secondary-color);
}

/* Theme Toggle */
.theme-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.menu-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
}

.menu-icon.close {
    display: none;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1rem;
        transition: var(--transition);
        z-index: 1000;
    }
    .header-site-global .notification-badge {
        position: unset;
    }

    .header-site-global .notification-badge-burguer {
        position: absolute;
        top: 10px;
        right: 17px;
        background: #ef4444;
        color: white;
        font-size: 12px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }
    
    .header-nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0.5rem;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 1rem;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .header-nav.active ~ .menu-toggle .menu-icon.open {
        display: none;
    }
    
    .header-nav.active ~ .menu-toggle .menu-icon.close {
        display: block;
    }
    
    .theme-toggle {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
    }
}

@media (max-width: 576px) {
    .header-logo .logo-text {
        display: none;
    }
}
/*CABEÇALHO 2.0 - topo principal/\*/

/*CABEÇALHO 2.0 - paginas > atalhos /\*/

/* DO AVISO DE TOPO - BANNER \/*/
/*AVISO VERMELHO, AMARELO e VERDE COM TEXTO INTERNO*/
    .mensagem-topo-sistema{
        max-width: 100%;
    }
    .mensagem-topo-sistema .message-container {
        position: relative;
        width: 100%; 
        max-width: 100%;
        overflow: hidden; 
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 40px; 
        padding-right: 40px;
        min-width: 0; 
        flex: 1;
        /* mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 2%, black 98%, transparent); */
    }
    .mensagem-topo-sistema .loop-segment {
        display: flex;
        align-items: center;
        white-space: nowrap; 
        box-sizing: border-box;
    }
    .mensagem-topo-sistema .message-track {
        display: flex;
        width: max-content; 
        will-change: transform;
        animation-name: marquee;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }
    .mensagem-topo-sistema .message-track:hover {
        animation-play-state: paused !important;
    }
    .mensagem-topo-sistema .ticker-item {
        display: inline-block;
        padding-right: 50px; /* Espaço entre os avisos */
        font-weight: 500;
        white-space: nowrap;
    }
    .mensagem-topo-sistema .ticker-separator {
        color: #ffffff80;
        margin: 0 10px;
    }
    @keyframes marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
    /* Cores e botão */
    .mensagem-topo-sistema .message-container.sistema { background-color: #000; color: #fff; }
    .mensagem-topo-sistema .message-container.grave { background-color: #d80000; color: #fff; }
    /* .mensagem-topo-sistema .message-container.important { background-color: #d8a600; color: #fff; } */
    .mensagem-topo-sistema .message-container.important { background-color: #003366; color: #fff; }
    .mensagem-topo-sistema .message-container.normal { background-color: #28a745; color: #fff; }
    .mensagem-topo-sistema .message-container a { color: #fff; text-decoration: underline; font-weight: bold; }
    .mensagem-topo-sistema .close-btn {
        position: absolute;
        right: 10px;
        z-index: 20;
        background: none;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }
/*/\*/




/* precisa reajustar todos os CSS*/
    /**/
    .usuario-avatar-container {
        text-align: center;
    }
    .usuario-avatar {
        /* border-radius: 50%; */
        /* width: 150px; */
        max-width: 200px;
        /* height: 150px; */
        /* object-fit: cover; */
        /* border: 3px solid #0056b3; */
        /* border: 3px solid #888; */
    }
    .usuario-perfil-nome {
        margin-top: 15px;
        font-size: 1.5em;
        font-weight: 600;
        /* color: #0056b3; */
        color: black;
        text-transform: uppercase;
        overflow-wrap: anywhere;
    }
    @media (max-width: 768px) {
        .usuario-avatar {
            /* width: 120px; */
            max-width: 200px;
            /* height: 120px; */
        }
        .usuario-perfil-nome {
            font-size: 1.3em;
        }
    }
/**/


/* corpo paginas*/
    .div_cont_infs {
        width: 100%;
        /* max-width: 1200px; */
        /* max-width: 2000px; */
        margin: 0 auto;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    @media (max-width: 768px) {
        .div_cont_infs {
            padding: 10px; /* Reduz o padding em telas menores */
        }
    }
/**/



/* tabelas */
    /*Vou usar isso pra não ter que ir CSS por CSS*/
    .div_tables{
        margin: 20px;
        overflow-x: auto !important; 
        width: -webkit-fill-available !important;
    }
    .div_tables table {
        width: -webkit-fill-available !important;
        border-collapse: collapse !important;
        background-color: #fff;
    }
    /* tela pequena */
    @media screen and (max-width: 1118px) {
        .div_tables th, 
        .div_tables td {
            overflow-wrap: anywhere !important;
        }
    }

    .div_tables th, 
    .div_tables td {
        padding: 10px;
        overflow-wrap: break-word;
        /* text-align: center; */
        border: 1px solid #ccc;
    }

    .div_tables th {
        /* background-color: #d0e0f0; */
        font-weight: bold;
        color: #000;
    }

    .div_tables td {
        /* background-color: #f9f9f9; */
    }

    .div_tables caption {
        font-size: 20px;
        margin-bottom: 10px;
        /* color: #333; */
    }
    .div_tables tr:hover {
        /* background-color: #babcbe !important; */
        background-color: #eaeaea !important;
        transition: background-color .2s;
    }
    .div_tables td:hover {
        background-color: #dfdfdf !important;
        transition: background-color .5s;
    }

    .div_tables .positivo {
        background-color: #d4edda;
    }

    .div_tables .negativo {
        background-color: #f8d7da;
    }
/**/












.badgesis{
    color: white;
    /* background-color: green; */
    background-color: grey;
    padding: 3px 10px;
    /* border-radius: 0px 0px 5px 5px; */
} 
.ul_li_a_icones_acoes a{
    color: #000;
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: background-color .3s;
}

.noscript_global{

    background-color: #e5e5e5;
    padding: 5px;
    font-size: larger;
    font-weight: 100;

}

/**/
body{
    /* background-image: url(fundoglobal.css); */
    background-repeat: no-repeat;
    background-size: 30%;
    background-attachment: fixed;
    background-position: 50% center;
    line-height: 1.6; /* Maldição > Está em todos os CSS do jogo */
    /* background-color: rgb(97, 97, 97); */
    /* background-color: rgb(128 128 128); */
    background-color: white;
    /* background-color: #f4f4f9; */
    font-size: 1em;
    min-height: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}


#menu1{
    position: sticky;
    top: 0;
}
/***/
.playerpe{
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}
.playerpe > div{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
div#pe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
div#pe li{
    padding: 1px;
}
.sobre{
    max-width: 500px;
    text-align: center;
    padding: 10px;
    /* margin-block-end: 10px; */
}
.sobre li{
    text-align: center;
}

#player-estatistica5 > p{
    font-size: 1em;
    text-indent: 10px;
    font-weight: bold;
}

/*IDIOMA*/
#selectIdioma{
    padding: 5px;
    
}
/**/
#menu1 > div > a{
    /*margin-block-end: 5px;*/
    padding: 3px;
    margin-block: 1px;
    border: 1px solid;
}

#noticiasdev{
    margin: -10px;
    margin-block-end: 10px;
    text-align: center;
    padding: 10px;
    background: green;
}


/* Novo tipo de menu */
#header_corpo{
    background-color: grey;
}
#conteiner_site_info{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
#header_nav{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#sep_flex{
    text-align: center;
    flex: auto;
    max-width: 250px;
}
#sep_flex a{
    outline: 1px solid black;
}
#sep_flex > nav{
    /* border: 1px solid black; */
}
#img_site{
    /* flex: auto; */
}


/*Novo menu de saúde-informações*/
/*transição suave*/


#playerpe{
    /* border: 5px solid gray; */
    border-top: 1px solid black;
    position: sticky;
    bottom: -1px;
}
#playerpe > div{
    text-align: center;
    background-color: rgb(255 255 255);
    padding: 2px;
}



/* versão melhorada da lista de usuários/personagens*/
.usuario-li-corp {
    list-style-type: none;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.usuario-li-corp:hover {
    background-color: #f1f1f1;
}

.usuario-avatar img {
    /* border-radius: 50%; */
}

.usuario-info {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
}

.usuario-name {
    font-size: 16px;
    font-weight: bold;
}

.usuario-cargo {
    color: #888;
    font-size: 14px;
}

.usuario-data {
    font-size: 12px;
    color: #aaa;
}

.usuario-li-corp a {
    text-decoration: none;
    color: inherit;
    display: flex;
    width: 100%;
}

.usuario-li-corp a:hover {
    text-decoration: none;
    color: #333;
}




/* Mensagem melhorada 2.0 */
/* mensagens v2.0 */
.sect_mensagem {
    /* max-width: 800px; */
    width: -webkit-fill-available;
    margin: 20px auto;
    /* padding: 20px; */
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.sect_mensagem .div_mensage_form_cont {
    margin-bottom: 20px;
}
.sect_mensagem .div_mensage_form_cont form {
    display: flex;
    flex-direction: column;
}
.sect_mensagem .div_mensage_form_cont form textarea {
    resize: none;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 14px;
}
.sect_mensagem .div_mensage_form_cont form button {
    padding: 10px;
    border: none;
    background-color: #007bff;
    /* background-color: grey; */
    /* background-color: #0078a8; */
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.sect_mensagem .div_mensage_form_cont form button:hover {
    background-color: #0056b3;
    /* background-color: rgb(160, 160, 160); */
    /* background-color: #028ec5; */
}
.sect_mensagem .mensagens_div_pai {
    margin-bottom: 20px;
}
.sect_mensagem .caixa_mensagem {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.sect_mensagem .avatar_user {
    margin-right: 10px;
}
.sect_mensagem .avatar_user img {
    width: 50px;
    height: 50px;
    /* border-radius: 50%; */
}
.sect_mensagem .conteudo_mensagem {
    flex: 1;
}
.sect_mensagem .msg_texto {
    margin-bottom: 5px;
    overflow-wrap:anywhere;
}
.sect_mensagem .msg_info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #777;
}
/**/
/**/
/* \/ apagar tudo abaixo \/*/




/* DO Banner de criação de personagem */
.character-creation-banner {
    /* position: fixed; */
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* z-index: 1000; */
    animation: pulse 2s infinite;
  }
  
  .character-creation-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 16px;
  }
  
  .character-creation-banner .banner-icon {
    font-size: 20px;
  }
  
  .character-creation-banner .banner-text {
    font-weight: 500;
    flex-grow: 1;
    text-align: center;
  }
  
  .character-creation-banner .banner-button {
    background-color: white;
    color: #ff6b6b;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
  }
  
  .character-creation-banner .banner-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
  }
  
  /* Animação de pulsação sutil */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .character-creation-banner .banner-content {
      flex-direction: column;
      gap: 8px;
      text-align: center;
    }
    
    .character-creation-banner .banner-text {
      margin-bottom: 5px;
    }
    
    .character-creation-banner .banner-button {
      padding: 6px 12px;
      font-size: 14px;
    }
  }
/* \/ apagar tudo abaixo \/*/

/* \ ------------------------------ /*/

/*DO POPUP DO FORMULÁRIO*/
.popup-container {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    max-width: 360px;
    width: calc(100% - 32px);
    pointer-events: none;
}
.popup-container .professional-popup {
    pointer-events: auto;
    position: relative;
    padding: 14px 44px 14px 16px;
    border-radius: 10px;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    overflow: hidden;
    border-left: 3px solid transparent;
    box-shadow:
        0 2px 6px rgba(0,0,0,0.06),
        0 8px 20px rgba(0,0,0,0.10);
    animation: popupSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    will-change: transform, opacity;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateX(24px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.popup-container .professional-popup.fade-out {
    animation: popupSlideOut 0.25s ease-in forwards;
    pointer-events: none;
}

@keyframes popupSlideOut {
    to {
        opacity: 0;
        transform: translateX(24px) scale(0.97);
    }
}

.popup-container .popup-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
}

.popup-container .popup-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

.popup-container .popup-icon {
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
}

.popup-container .popup-title {
    font-weight: 600;
    font-size: 13px;
    flex-grow: 1;
    line-height: 1.3;
}

.popup-container .popup-message {
    font-size: 13px;
    color: inherit;
    opacity: 0.88;
    padding-left: 26px; 
    margin: 0;
}

.popup-container .popup-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    color: inherit;
    opacity: 0.45;
    transition: opacity 0.15s, background 0.15s;
    font-size: 13px;
}

.popup-container .popup-close:hover {
    opacity: 0.85;
    background: rgba(0,0,0,0.08);
}
.popup-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0,0,0,0.08);
    overflow: hidden;
}

.popup-progress-bar {
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.18);
    transform-origin: left center;
}

@keyframes progressBar {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

/* Área de detalhes do erro \/ */
.popup-container .error-report {
    background: rgba(0,0,0,0.06);
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 8px;
    font-family: 'Consolas', 'SF Mono', monospace;
    font-size: 11.5px;
    max-height: 120px;
    overflow-y: auto;
    display: none;
    white-space: pre-wrap;
    word-break: break-word;
    opacity: 0.85;
}

/* Ações do erro \/ */
.popup-container .error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    padding-left: 26px;
}

.popup-container .error-btn {
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.07);
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.popup-container .error-btn:hover {
    background: rgba(0,0,0,0.13);
    border-color: rgba(0,0,0,0.25);
}

.popup-container .error-btn i {
    font-size: 12px;
}
/* /\ */
/* Tipos de popup \/ */
.popup-container .popup-success {
    background: #f0fdf4;
    color: #14532d;
    border-left-color: #16a34a;
}

.popup-container .popup-error {
    background: #fff1f2;
    color: #881337;
    border-left-color: #e11d48;
}

.popup-container .popup-warning {
    background: #fffbeb;
    color: #78350f;
    border-left-color: #d97706;
}

.popup-container .popup-info {
    background: #eff6ff;
    color: #1e3a8a;
    border-left-color: #2563eb;
}

.popup-container .popup-loading {
    background: #f8fafc;
    color: #1e293b;
    border-left-color: #64748b;
}

/* Modal de reportar erro - Os report agora é automático */
.error-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.error-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.error-modal-content {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow:
        0 4px 12px rgba(0,0,0,0.08),
        0 20px 48px rgba(0,0,0,0.18);
    transform: translateY(16px) scale(0.99);
    transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.error-modal.active .error-modal-content {
    transform: translateY(0) scale(1);
}

.error-modal-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #be123c;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-modal-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #be123c;
    border-radius: 2px;
    flex-shrink: 0;
}

.error-modal-text {
    font-family: 'Consolas', 'SF Mono', monospace;
    font-size: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 14px;
    border-radius: 8px;
    max-height: 280px;
    overflow-y: auto;
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-break: break-word;
    color: #334155;
    line-height: 1.6;
}

.error-modal-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 8px 18px;
    border-radius: 7px;
    border: 1px solid transparent;
    cursor: pointer;
    font-weight: 500;
    font-size: 13.5px;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-btn:active {
    transform: scale(0.97);
}

.modal-btn-primary {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.modal-btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.modal-btn-secondary {
    background: transparent;
    color: #475569;
    border-color: #e2e8f0;
}

.modal-btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .popup-container {
        bottom: 12px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }

    .popup-container .professional-popup {
        padding: 12px 40px 12px 14px;
    }

    .error-modal-content {
        padding: 18px 16px;
    }

    .error-modal-actions {
        justify-content: stretch;
    }

    .modal-btn {
        flex: 1;
        justify-content: center;
    }
}
/* / ------------------------------ \*/