:root {
    --bg-color: #080705;
    --panel-bg: rgba(18, 16, 12, 0.7);
    --panel-border: rgba(212, 175, 55, 0.12);
    --primary-color: #D4AF37;
    --primary-glow: rgba(212, 175, 55, 0.4);
    --primary-hover: #E5C100;
    --accent-yellow: #FFD700;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --danger: #ef4444;
    --success: #10b981;
    --info: #3b82f6;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(30,35,45,0.8) 0%, rgba(5,6,8,1) 100%), 
                url('login-bg.png') no-repeat center center / cover;
    background-attachment: fixed;
}

.hidden { display: none !important; }
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(20px); 
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px; 
    box-shadow: 0 10px 40px -5px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.02);
}





    /* Typography & Buttons */


    h1,
    h2,
    h3 {
        font-weight: 600;
        color: var(--primary-color);
    }


    button {


        font-family: var(--font-main);
        cursor: pointer;
        font-weight: 600;


        transition: var(--transition);
        display: inline-flex;
        align-items: center;
        justify-content: center;


        gap: 8px;
        border-radius: 6px;
        padding: 10px 20px;
        font-size: 0.95rem;
        border: none;
        outline: none;


    }


    .btn-primary {
        background-color: var(--primary-color);
        color: #000;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }


    .btn-primary:hover {
        background-color: var(--primary-hover);
        box-shadow: 0 0 20px var(--primary-glow);
        transform: translateY(-2px);
    }


    .btn-outline {
        background: transparent;
        color: var(--text-main);
        border: 1px solid var(--text-muted);
    }


    .btn-outline:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
    }


    .btn-sm {
        padding: 6px 12px;
        font-size: 0.85rem;
    }





    /* Views Base */


    .view-container {
        width: 100vw;
        height: 100vh;
    }


    #login-view {
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .login-box {


        width: 100%;


        max-width: 400px;


        padding: 40px;


        text-align: center;


        animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;


    }


    .login-header .logo-icon {
        font-size: 3rem;
        color: var(--primary-color);
        margin-bottom: 10px;
        filter: drop-shadow(0 0 10px var(--primary-glow));
    }


    .login-header h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }


    .login-header p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 30px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }





    /* Forms */


    .input-group {
        text-align: left;
        margin-bottom: 20px;
    }


    .input-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 0.85rem;
        color: var(--text-muted);
        text-transform: uppercase;
    }


    .input-group input,
    .input-group select,
    .input-group textarea {


        width: 100%;
        padding: 12px 15px;
        background: rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.08);


        border-radius: 6px;
        color: var(--text-main);
        font-family: var(--font-main);
        transition: var(--transition);


    }


    .input-group input:focus,
    .input-group select:focus,
    .input-group textarea:focus {


        outline: none;


        border-color: var(--primary-color);


        box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 0 0 1px var(--primary-color);


    }


    .password-wrapper {
        position: relative;
        width: 100%;
    }


    .toggle-password {


        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);


        color: var(--text-muted);
        cursor: pointer;
        transition: var(--transition);


        z-index: 5;


    }


    .toggle-password:hover {
        color: var(--primary-color);
    }





    .login-disclaimer {


        margin-top: 25px;


        font-size: 0.65rem;


        color: rgba(255, 255, 255, 0.2);


        text-transform: uppercase;


        letter-spacing: 1px;


        line-height: 1.5;


    }





    @keyframes fadeInUp {


        from {
            opacity: 0;
            transform: translateY(30px);
        }


        to {
            opacity: 1;
            transform: translateY(0);
        }


    }





    /* Glimmer effect for primary button */


    .btn-primary {


        position: relative;
        overflow: hidden;


    }


    .btn-primary::after {


        content: '';


        position: absolute;


        top: -50%;
        left: -50%;


        width: 200%;
        height: 200%;


        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);


        transform: rotate(45deg);


        transition: 0.5s;


        pointer-events: none;


    }


    .btn-primary:hover::after {


        left: 100%;


        top: 100%;


    }


    #login-form button {
        width: 100%;
        margin-top: 10px;
    }


    .error-text {
        margin-top: 15px;
        color: var(--danger);
        font-size: 0.85rem;
        background: rgba(239, 68, 68, 0.1);
        padding: 8px;
        border-radius: 4px;
        border: 1px solid rgba(239, 68, 68, 0.3);
    }





    /* Dashboard Layout */


    #dashboard-view {
        display: flex;
    }


    .sidebar {
        width: 260px;
        height: 100vh;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-bottom: none;
        display: flex;
        flex-direction: column;
    }


    .sidebar-header {
        padding: 25px 20px;
        display: flex;
        align-items: center;
        gap: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }


    .sidebar-header .logo-icon {
        font-size: 1.5rem;
        color: var(--primary-color);
    }


    .user-profile {
        padding: 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }


    .user-profile.clickable-user:hover {
        cursor: pointer;
        background: rgba(255, 255, 255, 0.05);
    }


    .user-profile .avatar {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-color);
        font-size: 1.2rem;
        overflow: hidden;
        position: relative;
    }


    .user-info {
        display: flex;
        flex-direction: column;
    }


    .user-info .name {
        font-size: 0.95rem;
        font-weight: 600;
    }


    .user-info .role {
        font-size: 0.75rem;
        color: var(--primary-color);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }





    .nav-links {
        list-style: none;
        padding: 20px 10px;
        flex: 1;
        overflow-y: auto;
    }


    .nav-links li {
        margin-bottom: 5px;
    }


    .nav-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 15px;
        color: var(--text-muted);
        text-decoration: none;
        border-radius: 8px;
        transition: var(--transition);
    }


    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary-color);
    }


    .nav-links a.active {
        border-left: 3px solid var(--primary-color);
    }


    .sidebar-footer {
        padding: 20px;
    }


    .sidebar-footer button {
        width: 100%;
        border-color: rgba(255, 255, 255, 0.1);
    }





    /* Main Content & Headers */


    .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        height: 100vh;
    }


    .top-header {
        height: 70px;
        border-radius: 0;
        border-top: none;
        border-right: none;
        border-left: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
    }


    .breadcrumb {
        font-size: 1.2rem;
        font-weight: 600;
    }


    .system-status {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        color: var(--success);
    }


    .status-indicator {
        width: 8px;
        height: 8px;
        background-color: var(--success);
        border-radius: 50%;
        box-shadow: 0 0 8px var(--success);
    }


    .content-area {
        flex: 1;
        padding: 30px;
        overflow-y: auto;
    }


    .panel {
        animation: fadeIn 0.4s ease;
    }


    .panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }


    .panel-header h2 {
        font-size: 1.5rem;
        color: var(--text-main);
    }





    /* Stats Grid */


    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
    }


    .stat-card {


        padding: 25px;


        position: relative;


        overflow: hidden;


        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);


    }


    .stat-card:hover {


        transform: translateY(-8px);


        border-color: rgba(212, 175, 55, 0.3);


        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.1);


    }


    .stat-card h3 {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 800;
    }


    .stat-card .value {
        font-size: 2.8rem;
        font-weight: 900;
        color: #fff;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }


    .stat-card i {
        position: absolute;
        right: 20px;
        bottom: 20px;
        font-size: 3.5rem;
        opacity: 0.05;
        transition: all 0.4s ease;
    }


    .stat-card:hover i {
        opacity: 0.15;
        transform: scale(1.2) rotate(-10deg);
        color: var(--primary-color);
    }





    /* News Feed Panel */


    .news-feed-container {
        margin-top: 20px;
        border-radius: 12px;
    }


    .news-card {
        display: flex;
        gap: 0;
        padding: 0;
        overflow: hidden;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: var(--transition);
    }


    .news-card:last-child {
        border-bottom: none;
    }


    .news-card:hover {
        background: rgba(255, 255, 255, 0.02);
    }





    .news-card-img-wrapper {
        width: 160px;
        height: 120px;
        flex-shrink: 0;
        background: #000;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }


    .news-card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }





    .news-card-content {
        flex: 1;
        padding: 15px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }


    .news-card-content h3 {
        font-size: 1.1rem;
        color: var(--text-main);
        margin: 0 0 5px 0;
    }


    .news-card-content .news-meta {
        font-size: 0.8rem;
        color: var(--text-muted);
        margin-bottom: 8px;
        display: flex;
        gap: 10px;
    }


    .news-card-content .news-body {
        font-size: 0.88rem;
        line-height: 1.4;
        color: var(--text-muted);
    }





    /* Tables */


    .table-container {
        width: 100%;
        overflow-x: auto;
    }


    .data-table {
        width: 100%;
        border-collapse: collapse;
        text-align: left;
    }


    .data-table th,
    .data-table td {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }


    .data-table th {
        color: var(--primary-color);
        font-size: 0.85rem;
        text-transform: uppercase;
        font-weight: 600;
    }


    .data-table tbody tr:hover {
        background: rgba(255, 255, 255, 0.02);
    }


    .avatar-cell img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        border: 1px solid var(--primary-color);
    }





    /* Divisoes Pills/Tabs */


    .divisao-tabs {
        display: flex;
        padding: 5px;
        gap: 5px;
        margin-bottom: 20px;
        overflow-x: auto;
    }


    .div-tab-btn,
    .adm-tab-btn {
        flex: 1;
        background: transparent;
        padding: 15px;
        color: var(--text-muted);
        border-radius: 8px;
        font-weight: 600;
        white-space: nowrap;
    }


    .div-tab-btn:hover,
    .adm-tab-btn:hover {
        background: rgba(255, 255, 255, 0.05);
    }


    .div-tab-btn.active,
    .adm-tab-btn.active {
        background: rgba(212, 175, 55, 0.1);
        color: var(--primary-color);
    }


    .file-list {
        list-style: none;
    }


    .file-list li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }


    .file-list li a {
        color: var(--primary-color);
        text-decoration: none;
        font-weight: bold;
    }


    .file-list li a:hover {
        text-decoration: underline;
    }





    /* Perfil & Badges */


    .profile-container {


        padding: 30px;


        position: relative;


        background-size: cover;


        background-position: center;


        background-repeat: no-repeat;


        z-index: 1;


        overflow: hidden;


    }





    /* Overlay para garantir legibilidade com banner */


    .profile-container[style*="background-image"]::before {


        content: '';


        position: absolute;


        inset: 0;


        background: linear-gradient(rgba(5, 6, 8, 0.7) 0%, rgba(5, 6, 8, 0.85) 100%);


        z-index: -1;


    }





    #btn-edit-banner:hover {


        background: var(--primary-color) !important;


        color: #000 !important;


        transform: scale(1.1);


        box-shadow: 0 0 15px var(--primary-glow);


    }





    .profile-header {
        display: flex;
        gap: 30px;
        align-items: center;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-wrap: wrap;
        position: relative;
        z-index: 2;
    }


    .profile-pic-wrapper {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        background: #111;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: var(--text-muted);
    }


    .profile-pic-wrapper img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }


    .upload-btn {
        position: absolute;
        bottom: 0;
        right: 0;
        background: var(--primary-color);
        color: #000;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
        transition: var(--transition);
        font-size: 1rem;
    }


    .upload-btn:hover {
        transform: scale(1.1);
    }


    .profile-details h1 {
        font-size: 2rem;
        color: var(--text-main);
        margin-bottom: 5px;
    }


    .id-tag {
        font-family: monospace;
        color: var(--primary-color);
        font-size: 1rem;
        margin-bottom: 15px;
        background: rgba(212, 175, 55, 0.1);
        padding: 5px 10px;
        border-radius: 4px;
        display: inline-block;
    }


    .badges-row {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }


    .emblem-badge {
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 6px;
    }


    .emblem-badge.bronze {
        background: linear-gradient(135deg, #cd7f32, #8b5a2b);
        color: #fff;
        text-shadow: 0 1px 1px #000;
    }


    .emblem-badge.silver {
        background: linear-gradient(135deg, #e5e4e2, #a9a9a9);
        color: #000;
    }


    .emblem-badge.gold {
        background: linear-gradient(135deg, #ffd700, #daa520);
        color: #000;
    }


    .emblem-badge.diamond {
        background: linear-gradient(135deg, #00ffff, #00008b);
        color: #fff;
        text-shadow: 0 1px 2px #000;
        border: 1px solid #0ff;
    }





    /* BORDAS DE PERFIL */


    .profile-pic-wrapper.border-default {
        border: 2px dashed var(--primary-color);
    }





    .profile-pic-wrapper.border-neon {


        border: 3px solid #00f2ff;


        box-shadow: 0 0 15px rgba(0, 242, 255, 0.5), inset 0 0 15px rgba(0, 242, 255, 0.5);


    }





    .profile-pic-wrapper.border-gold {


        border: 3px solid #ffd700;


        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);


        background: linear-gradient(45deg, #ffd700, #b8860b, #ffd700);


    }





    .profile-pic-wrapper.border-crimson {


        border: 3px solid #dc2626;


        box-shadow: 0 0 15px rgba(220, 38, 38, 0.6);


    }





    .profile-pic-wrapper.border-rainbow {


        border: 3px solid transparent;


        background: linear-gradient(var(--panel-bg), var(--panel-bg)) padding-box,


            linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff) border-box;


        animation: rainbowRotate 3s linear infinite;


    }





    .profile-pic-wrapper.border-founder {


        border: 3px solid #ffd700;


        box-shadow: 0 0 25px rgba(255, 215, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.2);


        background: linear-gradient(45deg, #b8860b, #ffd700, #ffffff, #ffd700, #b8860b);


        animation: founderGlow 2s ease-in-out infinite alternate;


    }





    @keyframes rainbowRotate {


        100% {
            filter: hue-rotate(360deg);
        }


    }





    @keyframes founderGlow {


        from {
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
        }


        to {
            box-shadow: 0 0 35px rgba(255, 215, 0, 0.9), 0 0 10px #fff;
        }


    }


    .emblem-badge.crimson {
        background: linear-gradient(135deg, #ff0844, #ffb199);
        color: #000;
    }


    .profile-body {
        padding-top: 30px;
    }


    .emblems-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
        margin-top: 20px;
    }


    .emblem-card {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 8px;
        text-align: center;
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120px;
    }


    .emblem-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
        background: rgba(212, 175, 55, 0.05);
    }


    .emblem-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }


    .emblem-card img {
        max-width: 100%;
        transition: var(--transition);
    }


    .emblem-card.locked {
        opacity: 0.4;
        filter: grayscale(1);
        cursor: not-allowed !important;
    }





    /* MODO FOCO: Imagem 100% preenchendo o card */


    .emblem-card.mode-focus {


        padding: 0 !important;


        overflow: hidden;


        aspect-ratio: 1 / 1;


        border-style: solid;


    }


    .emblem-card.mode-focus img {


        width: 100% !important;


        height: 100% !important;


        object-fit: cover !important;


        margin-bottom: 0 !important;


        border-radius: 6px;


    }


    .emblem-card.mode-focus:hover img {


        transform: scale(1.1);


    }





    /* Chat Global */


    .chat-container {
        display: flex;
        flex-direction: column;
        height: 600px;
        padding: 0;
        overflow: hidden;
    }


    .chat-messages {


        flex: 1;


        padding: 25px;


        overflow-y: auto;


        display: flex;


        flex-direction: column;


        gap: 4px;
        /* Reduced gap for grouped messages */


        scroll-behavior: smooth;


    }





    .chat-date-divider {


        display: flex;


        align-items: center;


        text-align: center;


        margin: 25px 0 15px 0;


        color: var(--text-muted);


        font-size: 0.7rem;


        font-weight: 800;


        text-transform: uppercase;


        letter-spacing: 2px;


        opacity: 0.8;


    }


    .chat-date-divider::before,
    .chat-date-divider::after {


        content: '';


        flex: 1;


        border-bottom: 1px solid rgba(255, 255, 255, 0.06);


    }


    .chat-date-divider:not(:empty)::before {
        margin-right: 20px;
    }


    .chat-date-divider:not(:empty)::after {
        margin-left: 20px;
    }


    .chat-message {


        display: flex;


        gap: 12px;


        animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);


        max-width: 85%;


        margin-bottom: 10px;


        position: relative;


    }





    .chat-message.consecutive {


        margin-top: -8px;


        margin-bottom: 2px;


    }





    .chat-message .msg-avatar {


        width: 36px;


        height: 36px;


        border-radius: 10px;


        object-fit: cover;


        background: #111;


        display: flex;


        align-items: center;


        justify-content: center;


        border: 1.5px solid rgba(255, 255, 255, 0.1);


        cursor: pointer;


        transition: transform 0.2s;


        flex-shrink: 0;


    }





    .chat-message .msg-avatar:hover {


        transform: scale(1.1);


        border-color: var(--primary-color);


    }





    .chat-message.consecutive .msg-avatar {


        visibility: hidden;


    }





    .msg-content {


        max-width: 85%;


        background: rgba(255, 255, 255, 0.04);


        backdrop-filter: blur(10px);


        -webkit-backdrop-filter: blur(10px);


        padding: 10px 16px;


        border-radius: 4px 18px 18px 18px;


        border: 1px solid rgba(255, 255, 255, 0.08);


        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);


    }





    .chat-message.consecutive .msg-content {


        border-radius: 18px;


    }





    .chat-message.consecutive .msg-header {


        display: none !important;


    }





    .msg-name {


        font-weight: 800;


        color: var(--primary-color);


        cursor: pointer;


        font-size: 0.85rem;


        letter-spacing: 0.3px;


    }





    .msg-name:hover {
        text-decoration: underline;
    }





    .msg-header {


        display: flex;


        justify-content: space-between;


        align-items: center;


        margin-bottom: 6px;


        gap: 15px;


    }





    .msg-time {


        color: rgba(255, 255, 255, 0.3);


        font-size: 0.65rem;


        font-weight: 600;


    }





    .msg-text {


        font-size: 0.92rem;


        line-height: 1.5;


        word-wrap: break-word;


        color: rgba(255, 255, 255, 0.9);


    }





    .chat-message.me {


        align-self: flex-end;


        flex-direction: row-reverse;


    }





    .chat-message.me .msg-content {


        background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);


        border-color: rgba(212, 175, 55, 0.2);


        border-radius: 18px 4px 18px 18px;


        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.05);


    }





    .chat-message.me.consecutive .msg-content {


        border-radius: 18px;


    }





    .msg-delete-btn {


        opacity: 0;


        transition: opacity 0.2s;


    }





    .chat-message:hover .msg-delete-btn {


        opacity: 1;


    }


    .chat-input-area {
        display: flex;
        padding: 15px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        background: rgba(0, 0, 0, 0.2);
    }


    .chat-input-area input {
        flex: 1;
        background: transparent;
        border: none;
        color: var(--text-main);
        font-size: 1rem;
        outline: none;
    }


    .chat-photo-btn {
        cursor: pointer;
        padding: 5px 10px;
        color: var(--text-muted);
        transition: var(--transition);
    }


    .chat-photo-btn:hover {
        color: var(--primary-color);
    }


    .btn-remove {
        background: var(--danger);
        color: white;
        border-radius: 50%;
        border: none;
        width: 24px;
        height: 24px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: -10px;
        right: -10px;
    }





    /* Sidebar Online Users */


    .online-user-item {


        display: flex;


        align-items: center;


        gap: 12px;


        padding: 10px 15px;


        border-radius: 12px;


        transition: all 0.2s;


        cursor: pointer;


        border: 1px solid transparent;


    }





    .online-user-item:hover {


        background: rgba(255, 255, 255, 0.05);


        border-color: rgba(255, 255, 255, 0.08);


        transform: translateX(5px);


    }





    .online-user-avatar {


        width: 38px;


        height: 38px;


        border-radius: 10px;


        border: 1.5px solid rgba(255, 255, 255, 0.1);


        position: relative;


        flex-shrink: 0;


    }





    .online-user-avatar img {


        width: 100%;


        height: 100%;


        border-radius: inherit;


        object-fit: cover;


    }





    .online-user-status {


        position: absolute;


        bottom: -2px;


        right: -2px;


        width: 10px;


        height: 10px;


        border-radius: 50%;


        background: var(--primary-color);


        border: 2px solid #0f1115;


    }





    .online-user-info {


        flex: 1;


        min-width: 0;
        /* Necessário para o truncamento funcionar no flex */


    }





    .online-user-name {


        font-size: 0.85rem;


        font-weight: 700;


        color: #fff;


        display: block;


        white-space: nowrap;


        overflow: hidden;


        text-overflow: ellipsis;


    }





    .online-user-meta {


        font-size: 0.65rem;


        color: var(--text-muted);


        font-weight: 600;


        white-space: nowrap;


        overflow: hidden;


        text-overflow: ellipsis;


    }





    /* Modals */


    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        padding: 20px;
    }


    .modal-content {
        width: 100%;
        max-width: 600px;
        padding: 30px;
        animation: fadeIn 0.3s ease;
        max-height: 90vh;
        overflow-y: auto;
    }


    .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 15px;
    }





    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }





    /* Alinhamento de Alunos no Modal */


    #ga-list .glass-panel {


        background: rgba(255, 255, 255, 0.03);


        border: 1px solid rgba(255, 255, 255, 0.08);


        transition: var(--transition);


    }


    #ga-list .glass-panel:hover {


        background: rgba(255, 255, 255, 0.06);


        border-color: var(--primary-color);


    }





    /* Cards Denuncias */


    .denuncia-card {
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-left: 3px solid var(--danger);
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 6px;
    }


    .denuncia-card h4 {
        color: var(--text-main);
        margin-bottom: 8px;
    }


    .denuncia-card p {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 5px;
    }





    /* V4.0 EspecÃ­ficos */


    .nav-section-title {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.3);
        letter-spacing: 1px;
        text-transform: uppercase;
        margin: 15px 0 5px 15px;
        font-weight: 700;
    }


    .crime-check {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
        padding: 5px;
        cursor: pointer;
        transition: var(--transition);
        border-radius: 4px;
    }


    .crime-check:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--primary-color);
    }


    .crime-check input {
        width: auto;
        cursor: pointer;
    }





    /* Alert Dropdown & Toast */


    #btn-show-alerts:hover {
        color: var(--primary-color);
    }


    .alert-toast {
        background: var(--panel-bg);
        border-left: 4px solid var(--primary-color);
        padding: 15px 20px;
        margin-bottom: 15px;
        border-radius: 4px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        cursor: pointer;
        animation: slideInX 0.4s ease;
        transition: var(--transition);
    }


    .alert-toast:hover {
        background: rgba(212, 175, 55, 0.1);
    }


    .alert-toast h4 {
        color: var(--text-main);
        font-size: 0.95rem;
        margin-bottom: 5px;
    }


    .alert-toast p {
        color: var(--text-muted);
        font-size: 0.8rem;
    }


    @keyframes slideInX {
        from {
            transform: translateX(100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }





    /* Ranking TÃ¡tico Table */


    .ranking-table th {
        background: rgba(0, 0, 0, 0.5);
    }


    .ranking-table td {
        font-size: 0.9rem;
    }


    .ranking-medal {
        font-size: 1.2rem;
    }





    /* SIPAR IA CLASSES */


    .crimes-scroll {
        height: 350px;
        overflow-y: auto;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: rgba(0, 0, 0, 0.2);
    }


    .crime-item {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px;
        border-bottom: 1px solid var(--border);
        cursor: pointer;
        transition: 0.2s;
    }


    .crime-item:hover {
        background: rgba(255, 255, 255, 0.05);
    }


    .crime-item.selected {
        background: rgba(16, 185, 129, 0.1);
        border-left: 4px solid var(--success);
    }


    .crime-code {
        font-weight: 800;
        color: var(--success);
        font-size: 11px;
        width: 50px;
    }


    .crime-name {
        flex: 1;
        font-weight: 600;
        font-size: 13px;
    }


    .crime-info {
        text-align: right;
        font-size: 10px;
        color: var(--text-muted);
    }


    .fianca-tag {
        padding: 2px 5px;
        border-radius: 4px;
        font-size: 9px;
        font-weight: 800;
        background: rgba(239, 68, 68, 0.2);
        color: var(--danger);
        border: 1px solid var(--danger);
    }


    .fianca-tag.available {
        background: rgba(16, 185, 129, 0.2);
        color: var(--success);
        border: 1px solid var(--success);
    }


    .spinner {
        width: 14px;
        height: 14px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        display: inline-block;
        vertical-align: middle;
        margin-right: 5px;
    }


    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }





    /* Operacoes Card */


    .op-card {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }


    .op-status {
        display: inline-block;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.7rem;
        font-weight: bold;
        text-transform: uppercase;
    }


    .op-status.planejamento {
        background: rgba(59, 130, 246, 0.2);
        color: var(--info);
        border: 1px solid rgba(59, 130, 246, 0.4);
    }


    .op-status.andamento {
        background: rgba(239, 68, 68, 0.2);
        color: var(--danger);
        border: 1px solid rgba(239, 68, 68, 0.4);
        animation: pulse 2s infinite;
    }


    .op-status.finalizada {
        background: rgba(16, 185, 129, 0.2);
        color: var(--success);
        border: 1px solid rgba(16, 185, 129, 0.4);
    }


    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
        }
    }





    /* Mention Autocomplete */


    #mention-dropdown {
        border-radius: 8px 8px 0 0;
    }


    #mention-dropdown>div:first-child {
        border-radius: 8px 8px 0 0;
    }





    /* Online dot pulse */


    .online-dot {
        width: 8px;
        height: 8px;
        background: var(--success);
        border-radius: 50%;
        box-shadow: 0 0 6px var(--success);
        display: inline-block;
    }





    /* DM Bubble */


    .dm-bubble-me {
        align-self: flex-end;
        background: rgba(59, 130, 246, 0.15);
        border: 1px solid rgba(59, 130, 246, 0.3);
    }


    .dm-bubble-other {
        align-self: flex-start;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }





    /* ========= SIDEBAR V8: SMART BENTO MAP (GRID SYSTEM) ========= */


    .nav-links {


        display: grid;


        grid-template-columns: repeat(2, 1fr);


        gap: 8px;


        padding: 10px 15px;


        list-style: none;


    }





    .nav-links li {


        grid-column: span 1;


    }





    .nav-links li.nav-section-title {


        grid-column: span 2;


        margin: 25px 0 10px 5px;


    }





    .nav-links a {


        display: flex;


        flex-direction: column;


        align-items: center;


        justify-content: center;


        gap: 8px;


        padding: 15px 10px;


        color: var(--text-muted);


        text-decoration: none;


        background: rgba(255, 255, 255, 0.02);


        border: 1px solid rgba(255, 255, 255, 0.04);


        border-radius: 16px;


        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);


        font-size: 0.72rem;


        text-align: center;


        height: 90px;


        position: relative;


        backdrop-filter: blur(12px);


        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.02);


    }





    .nav-links a::before {


        content: '';


        position: absolute;


        inset: 0;


        border-radius: 16px;


        padding: 1px;


        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.03) 100%);


        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);


        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);


        -webkit-mask-composite: xor;


        mask-composite: exclude;


        pointer-events: none;


    }





    .nav-links a i {


        font-size: 1.3rem;


        color: var(--text-muted);


        transition: all 0.3s ease;


    }





    .nav-links a span {


        transition: all 0.3s ease;


        line-height: 1.2;


        font-weight: 500;


    }





    /* Hover & Active States for Map Nodes */


    .nav-links a:hover {


        color: var(--text-main);


        background: rgba(212, 175, 55, 0.05);


        border-color: rgba(212, 175, 55, 0.2);


        transform: translateY(-3px);


        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);


    }





    .nav-links a:hover i {


        transform: scale(1.15);


        color: var(--primary-color);


        filter: drop-shadow(0 0 10px var(--primary-glow));


    }





    .nav-links a.active {


        background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.08) 100%);


        color: #fff;


        border: 1px solid rgba(212, 175, 55, 0.4);


        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.1);


        font-weight: 800;


        transform: scale(1.02);


    }





    .nav-links a.active i {


        color: var(--primary-color);


        filter: drop-shadow(0 0 8px var(--primary-glow));


    }





    /* SECTION SPECIFIC COLORS */


    :root {


        --color-core: #D4AF37;


        --color-career: #3b82f6;


        --color-ops: #ef4444;


        --color-intel: #10b981;


        --color-command: #a78bfa;


    }





    /* Base style for colored modules */


    .nav-links li.nav-core a {
        border-color: rgba(212, 175, 55, 0.1);
    }


    .nav-links li.nav-career a {
        border-color: rgba(59, 130, 246, 0.1);
    }


    .nav-links li.nav-ops a {
        border-color: rgba(239, 68, 68, 0.1);
    }


    .nav-links li.nav-intel a {
        border-color: rgba(16, 185, 129, 0.1);
    }


    .nav-links li.nav-command a {
        border-color: rgba(167, 139, 250, 0.1);
    }





    /* Hover states with section colors */


    .nav-links li.nav-core a:hover {
        background: rgba(212, 175, 55, 0.05);
        border-color: var(--color-core);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
    }


    .nav-links li.nav-career a:hover {
        background: rgba(59, 130, 246, 0.05);
        border-color: var(--color-career);
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
    }


    .nav-links li.nav-ops a:hover {
        background: rgba(239, 68, 68, 0.05);
        border-color: var(--color-ops);
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
    }


    .nav-links li.nav-intel a:hover {
        background: rgba(16, 185, 129, 0.05);
        border-color: var(--color-intel);
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
    }


    .nav-links li.nav-command a:hover {
        background: rgba(167, 139, 250, 0.05);
        border-color: var(--color-command);
        box-shadow: 0 0 15px rgba(167, 139, 250, 0.1);
    }





    /* Icon colors on hover */


    .nav-links li.nav-core a:hover i {
        color: var(--color-core);
        filter: drop-shadow(0 0 8px var(--color-core));
    }


    .nav-links li.nav-career a:hover i {
        color: var(--color-career);
        filter: drop-shadow(0 0 8px var(--color-career));
    }


    .nav-links li.nav-ops a:hover i {
        color: var(--color-ops);
        filter: drop-shadow(0 0 8px var(--color-ops));
    }


    .nav-links li.nav-intel a:hover i {
        color: var(--color-intel);
        filter: drop-shadow(0 0 8px var(--color-intel));
    }


    .nav-links li.nav-command a:hover i {
        color: var(--color-command);
        filter: drop-shadow(0 0 8px var(--color-command));
    }





    /* Active states with section colors */


    .nav-links li.nav-core a.active {
        border-color: var(--color-core);
        background: rgba(212, 175, 55, 0.1);
        color: var(--color-core);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
    }


    .nav-links li.nav-career a.active {
        border-color: var(--color-career);
        background: rgba(59, 130, 246, 0.1);
        color: var(--color-career);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
    }


    .nav-links li.nav-ops a.active {
        border-color: var(--color-ops);
        background: rgba(239, 68, 68, 0.1);
        color: var(--color-ops);
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
    }


    .nav-links li.nav-intel a.active {
        border-color: var(--color-intel);
        background: rgba(16, 185, 129, 0.1);
        color: var(--color-intel);
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
    }


    .nav-links li.nav-command a.active {
        border-color: var(--color-command);
        background: rgba(167, 139, 250, 0.1);
        color: var(--color-command);
        box-shadow: 0 0 20px rgba(167, 139, 250, 0.15);
    }





    .nav-links li.nav-core a.active i {
        color: var(--color-core);
    }


    .nav-links li.nav-career a.active i {
        color: var(--color-career);
    }


    .nav-links li.nav-ops a.active i {
        color: var(--color-ops);
    }


    .nav-links li.nav-intel a.active i {
        color: var(--color-intel);
    }


    .nav-links li.nav-command a.active i {
        color: var(--color-command);
    }








    /* Especiais: Itens que ocupam a largura toda (opcional para destaque) */


    #nav-fundador,
    #nav-correio {


        grid-column: span 2 !important;


    }


    #nav-correio a {


        flex-direction: row !important;


        height: 50px !important;


        justify-content: space-between !important;


        padding: 0 20px !important;


    }





    /* Badge de NotificaÃ§Ã£o Geral */


    .badge-notify {


        position: absolute;


        top: 8px;


        right: 8px;


        background: var(--danger);


        color: #fff;


        font-size: 0.62rem;


        font-weight: 800;


        padding: 2px 6px;


        border-radius: 10px;


        min-width: 18px;


        text-align: center;


        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);


        pointer-events: none;


        z-index: 5;


        animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);


    }





    /* Badge estilo Pill para Flex Containers */


    .badge-pill {


        position: static !important;


        display: inline-block;


        background: var(--danger);


        color: #fff;


        font-size: 0.65rem;


        font-weight: 800;


        padding: 2px 8px;


        border-radius: 20px;


        min-width: 20px;


        text-align: center;


        box-shadow: 0 0 15px rgba(239, 68, 68, 0.3);


        animation: badgePop 0.3s ease;


    }





    @keyframes badgePop {


        from {
            transform: scale(0);
            opacity: 0;
        }


        to {
            transform: scale(1);
            opacity: 1;
        }


    }





    .nav-section-title {


        font-size: 0.72rem;


        color: var(--text-main);


        opacity: 0.45;


        letter-spacing: 2.2px;


        text-transform: uppercase;


        margin: 30px 0 12px 18px;


        font-weight: 900;


        display: flex;


        align-items: center;


        gap: 12px;


        text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);


        transition: opacity 0.3s ease;


    }





    .nav-links:hover .nav-section-title {


        opacity: 0.6;


    }





    .nav-section-title::after {


        content: '';


        flex: 1;


        height: 1px;


        background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);


        margin-right: 15px;


    }





    /* ========= CAIXA DE CORREIOS (ALERTS DROPDOWN V7) ========= */


    .alerts-dropdown {


        position: absolute;


        top: 75px;


        right: 20px;


        width: 380px;


        max-height: 520px;


        display: flex;


        flex-direction: column;


        z-index: 999;


        background: rgba(12, 14, 20, 0.97);


        backdrop-filter: blur(20px);


        border: 1px solid rgba(223, 184, 81, 0.2);


        border-radius: 14px;


        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);


        overflow: hidden;


        animation: slideDown 0.25s ease;


    }


    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }





    .alerts-header {


        padding: 16px 20px;


        border-bottom: 1px solid rgba(255, 255, 255, 0.07);


        display: flex;


        justify-content: space-between;


        align-items: center;


        background: rgba(0, 0, 0, 0.3);


        flex-shrink: 0;


    }


    .alerts-header h3 {
        font-size: 0.95rem;
        color: var(--text-main);
        font-weight: 600;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }


    .alerts-header h3 i {
        color: var(--primary-color);
    }





    .alerts-list {
        flex: 1;
        overflow-y: auto;
    }


    .alerts-list::-webkit-scrollbar {
        width: 4px;
    }


    .alerts-list::-webkit-scrollbar-track {
        background: transparent;
    }


    .alerts-list::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }





    .alerts-footer {


        padding: 12px 20px;


        border-top: 1px solid rgba(255, 255, 255, 0.05);


        background: rgba(0, 0, 0, 0.2);


        flex-shrink: 0;


        text-align: center;


    }


    .alerts-footer .btn-text {
        font-size: 0.78rem;
        color: var(--text-muted);
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;
        transition: var(--transition);
    }


    .alerts-footer .btn-text:hover {
        color: var(--danger);
    }





    /* Bell pulse when unread */


    .bell-pulse {
        animation: bellShake 0.5s ease;
    }


    @keyframes bellShake {


        0%,
        100% {
            transform: rotate(0deg);
        }


        20% {
            transform: rotate(-15deg);
        }


        40% {
            transform: rotate(15deg);
        }


        60% {
            transform: rotate(-10deg);
        }


        80% {
            transform: rotate(10deg);
        }


    }





    /* Promotion overlay full screen flash */


    @keyframes promoFlash {


        0% {
            opacity: 0;
        }


        20% {
            opacity: 0.4;
        }


        100% {
            opacity: 0;
        }


    }


    .promo-flash-overlay {


        position: fixed;
        inset: 0;
        z-index: 8888;


        background: radial-gradient(circle, rgba(223, 184, 81, 0.5) 0%, transparent 70%);


        animation: promoFlash 2.5s ease forwards;


        pointer-events: none;


    }





    /* modal-overlay generic class */


    .modal-overlay {


        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;


        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(8px);


        display: flex;
        align-items: center;
        justify-content: center;


        z-index: 1000;
        padding: 20px;


    }


    .modal-overlay .modal-content {


        width: 100%;
        background: rgba(12, 14, 20, 0.98);
        border: 1px solid var(--panel-border);


        border-radius: 14px;
        padding: 30px;
        animation: fadeIn 0.3s ease;


        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);


    }


    .modal-overlay .btn-close {


        position: absolute;
        top: 15px;
        right: 20px;
        background: transparent;


        border: none;
        color: var(--text-muted);
        font-size: 1.2rem;
        cursor: pointer;
        padding: 5px;


    }


    .modal-overlay .btn-close:hover {
        color: var(--danger);
    }





    /* Banner Overlay para Modais */


    .modal-content.has-banner {
        position: relative;
        z-index: 1;
        overflow-y: auto !important;
    }


    .modal-content.has-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(5, 6, 8, 0.4) 0%, rgba(5, 6, 8, 0.95) 100%);
        z-index: -1;
        pointer-events: none;
    }





    /* ========= DIVISÃÃ†’O V7: COMPONENTES RICOS ========= */


    #div-mural-honra .mural-card {


        background: linear-gradient(135deg, rgba(223, 184, 81, 0.15) 0%, rgba(0, 0, 0, 0.4) 100%);


        border: 1px solid var(--primary-color);


        border-radius: 12px;


        padding: 25px;


        display: flex;


        align-items: center;


        gap: 25px;


        position: relative;


        overflow: hidden;


        box-shadow: 0 0 20px rgba(223, 184, 81, 0.1);


    }


    #div-mural-honra .mural-card::before {


        content: '\f559';


        font-family: 'Font Awesome 6 Free';


        font-weight: 900;


        position: absolute;


        right: -10px;


        bottom: -10px;


        font-size: 8rem;


        color: rgba(223, 184, 81, 0.05);


        transform: rotate(-15deg);


    }


    .mural-avatar {


        width: 90px;


        height: 90px;


        border-radius: 50%;


        border: 3px solid var(--primary-color);


        box-shadow: 0 0 15px var(--primary-glow);


        object-fit: cover;


    }





    /* SIP Paste Zone System */


    .sip-paste-zone {


        border: 2px dashed rgba(255, 255, 255, 0.1);


        border-radius: 8px;


        background: rgba(255, 255, 255, 0.02);


        min-height: 100px;


        display: flex;


        align-items: center;


        justify-content: center;


        cursor: pointer;


        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


        margin-top: 5px;


        position: relative;


        overflow: hidden;


    }





    .sip-paste-zone:hover {


        border-color: var(--primary-color);


        background: rgba(212, 175, 55, 0.05);


        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);


    }





    .sip-paste-zone.active {


        border-color: var(--info);


        background: rgba(59, 130, 246, 0.1);


    }





    .sip-zone-content {


        text-align: center;


        pointer-events: none;


        transition: all 0.3s ease;


    }





    .sip-zone-content i {


        font-size: 1.8rem;


        color: rgba(255, 255, 255, 0.15);


        margin-bottom: 8px;


        display: block;


    }





    .sip-zone-content span {


        font-size: 0.75rem;


        color: rgba(255, 255, 255, 0.4);


        text-transform: uppercase;


        letter-spacing: 1px;


    }





    .sip-preview-img {


        width: 100%;


        height: 100%;


        object-fit: cover;


        position: absolute;


        inset: 0;


    }





    .btn-remove-sip-img {


        position: absolute;


        top: 5px;


        right: 5px;


        width: 22px;


        height: 22px;


        background: var(--danger);


        border: none;


        border-radius: 50%;


        color: #fff;


        font-size: 0.7rem;


        cursor: pointer;


        display: flex;


        align-items: center;


        justify-content: center;


        z-index: 10;


        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);


        transition: transform 0.2s;


    }





    .btn-remove-sip-img:hover {


        transform: scale(1.1);


    }


    .mural-info h2 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }


    .mural-badge {


        display: inline-block;


        padding: 4px 12px;


        background: var(--primary-color);


        color: #000;


        border-radius: 20px;


        font-size: 0.75rem;


        font-weight: 800;


        text-transform: uppercase;


        margin-bottom: 10px;


    }





    .fardamento-card {


        background: rgba(0, 0, 0, 0.3);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 10px;


        padding: 15px;


        text-align: center;


        transition: var(--transition);


    }


    .fardamento-card:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
    }


    .fardamento-img {


        width: 100%;


        aspect-ratio: 1/1;


        object-fit: cover;


        border-radius: 6px;


        margin-bottom: 12px;


        background: rgba(255, 255, 255, 0.02);


    }


    .fardamento-card h4 {
        font-size: 0.9rem;
        color: var(--text-main);
    }


    .fardamento-card p {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-top: 4px;
    }





    .aviso-div-card {


        background: rgba(18, 20, 26, 0.5);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 12px;


        overflow: hidden;


        display: flex;


        flex-direction: column;


        transition: var(--transition);


    }


    .aviso-div-card:hover {
        border-color: var(--primary-color);
        transform: translateY(-3px);
    }


    .aviso-div-img {


        width: 100%;


        max-height: 180px;


        object-fit: cover;


        border-bottom: 1px solid rgba(255, 255, 255, 0.05);


    }


    .aviso-div-content {
        padding: 15px;
    }


    .aviso-div-content h3 {
        font-size: 1.1rem;
        color: var(--text-main);
        margin-bottom: 8px;
    }


    .aviso-div-meta {
        font-size: 0.75rem;
        color: var(--text-muted);
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
    }


    .aviso-div-text {
        font-size: 0.88rem;
        color: var(--text-muted);
        line-height: 1.5;
        white-space: pre-wrap;
    }





    .course-badge {


        padding: 4px 10px;


        border-radius: 4px;


        font-size: 0.72rem;


        font-weight: 700;


        text-transform: uppercase;


        display: inline-flex;


        align-items: center;


        gap: 5px;


        background: rgba(16, 185, 129, 0.15);


        color: var(--success);


        border: 1px solid rgba(16, 185, 129, 0.3);


        box-shadow: 0 0 10px rgba(16, 185, 129, 0.1);


    }





    .lideranca-card {


        background: linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);


        border: 1px solid var(--primary-color);


        border-radius: 10px;


        padding: 15px;


        display: flex;


        align-items: center;


        gap: 15px;


        flex: 1;


        min-width: 250px;


        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);


        border-left: 4px solid var(--primary-color);


        position: relative;


        overflow: hidden;


    }


    .lideranca-card.delegado {


        border-color: #D4AF37;


        border-left-color: #D4AF37;


    }


    .lideranca-card::after {


        content: '\f3ed';


        font-family: 'Font Awesome 6 Free';


        font-weight: 900;


        position: absolute;


        right: -5px;


        bottom: -5px;


        font-size: 3rem;


        color: rgba(255, 255, 255, 0.03);


        transform: rotate(-10deg);


    }


    .lideranca-foto {


        width: 60px;


        height: 60px;


        border-radius: 50%;


        object-fit: cover;


        border: 2px solid rgba(255, 255, 255, 0.1);


    }


    .lideranca-info h4 {
        font-size: 1rem;
        color: var(--text-main);
        margin-bottom: 2px;
    }


    .lideranca-info p {
        font-size: 0.75rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }


    .lideranca-badge {


        background: var(--primary-color);


        color: #000;


        padding: 2px 8px;


        border-radius: 4px;


        font-size: 0.65rem;


        font-weight: 800;


        margin-top: 5px;


        display: inline-block;


    }


    .lideranca-card.delegado .lideranca-badge {


        background: #D4AF37;


    }





    /* NotificaÃ§Ãµes Pulse */


    @keyframes notify-pulse {


        0% {
            transform: scale(1);
            filter: drop-shadow(0 0 0 rgba(223, 184, 81, 0));
        }


        50% {
            transform: scale(1.1);
            filter: drop-shadow(0 0 10px rgba(223, 184, 81, 0.6));
            color: var(--primary-color);
        }


        100% {
            transform: scale(1);
            filter: drop-shadow(0 0 0 rgba(223, 184, 81, 0));
        }


    }


    .bell-notify {
        animation: notify-pulse 1.5s infinite ease-in-out !important;
    }





    /* Badge de NotificaÃ§Ã£o no Menu Lateral */


    .badge-notify {


        background: var(--danger);


        color: #fff;


        font-size: 0.65rem;


        font-weight: 800;


        padding: 2px 6px;


        border-radius: 10px;


        min-width: 18px;


        text-align: center;


        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);


        animation: blink-red 1.5s infinite ease-in-out;


    }





    @keyframes blink-red {


        0% {
            opacity: 1;
            transform: scale(1);
            box-shadow: 0 0 5px rgba(239, 68, 68, 0.6);
        }


        50% {
            opacity: 0.7;
            transform: scale(1.1);
            box-shadow: 0 0 20px rgba(239, 68, 68, 1);
        }


        100% {
            opacity: 1;
            transform: scale(1);
            box-shadow: 0 0 5px rgba(239, 68, 68, 0.6);
        }


    }





    /* ========= AUDIT TIMELINE ========= */


    .timeline {


        position: relative;


        padding: 20px 0;


    }


    .timeline::before {


        content: '';


        position: absolute;


        left: 31px;


        top: 0;


        bottom: 0;


        width: 2px;


        background: rgba(223, 184, 81, 0.1);


    }


    .timeline-item {


        position: relative;


        margin-bottom: 25px;


        padding-left: 70px;


        animation: fadeIn 0.5s ease backwards;


    }


    .timeline-icon {


        position: absolute;


        left: 15px;


        top: 0;


        width: 34px;


        height: 34px;


        border-radius: 50%;


        background: #000;


        border: 2px solid var(--primary-color);


        display: flex;


        align-items: center;


        justify-content: center;


        color: var(--primary-color);


        z-index: 1;


        box-shadow: 0 0 10px var(--primary-glow);


        font-size: 0.9rem;


    }


    .timeline-content {


        background: rgba(255, 255, 255, 0.02);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 12px;


        padding: 15px 20px;


        transition: var(--transition);


    }


    .timeline-content:hover {


        background: rgba(255, 255, 255, 0.04);


        border-color: rgba(223, 184, 81, 0.3);


    }


    .timeline-date {


        font-size: 0.72rem;


        color: var(--text-muted);


        margin-bottom: 5px;


        font-weight: 600;


        text-transform: uppercase;


        letter-spacing: 0.5px;


    }


    .timeline-title {


        font-size: 0.95rem;


        font-weight: 700;


        color: var(--text-main);


        margin-bottom: 5px;


    }


    .timeline-body {


        font-size: 0.85rem;


        color: var(--text-muted);


        font-family: 'Inter', monospace;


        line-height: 1.4;


    }





    /* Ranking EXP Bar & Level System */


    .sidebar-xp-section {


        padding: 0 15px 15px 15px;


        margin-top: -10px;


        border-bottom: 1px solid rgba(255, 255, 255, 0.05);


    }





    .xp-bar-container {


        width: 100%;


        height: 8px;


        background: rgba(0, 0, 0, 0.4);


        border: 1px solid rgba(255, 255, 255, 0.08);


        border-radius: 10px;


        overflow: hidden;


        position: relative;


        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);


    }





    .xp-bar-fill {


        height: 100%;


        width: 0%;


        background: linear-gradient(90deg, #D4AF37, #facc15, #D4AF37);
        background-size: 200% 100%;
        animation: gradient-shift 3s infinite linear;
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);


        transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);


    }





    .xp-label-row {


        display: flex;


        justify-content: space-between;


        align-items: center;


        margin-bottom: 5px;


        font-size: 0.65rem;


        font-weight: 800;


        text-transform: uppercase;


        letter-spacing: 0.5px;


    }





    .xp-level-badge {


        color: var(--primary-color);


        background: rgba(223, 184, 81, 0.1);


        padding: 2px 6px;


        border-radius: 4px;


    }





    /* Star Gain Animation FX */


    .xp-star-fx {


        position: fixed;


        pointer-events: none;


        z-index: 9999;


        color: #ffd700;


        font-size: 1.2rem;


        filter: drop-shadow(0 0 5px #ffd700);


        animation: starFly 1.2s ease-in forwards;


    }





    @keyframes starFly {


        0% {
            transform: scale(0) rotate(0deg);
            opacity: 1;
        }


        20% {
            transform: scale(1.2) rotate(45deg);
            opacity: 1;
        }


        100% {


            transform: translate(var(--target-x), var(--target-y)) scale(0.3) rotate(360deg);


            opacity: 0;


        }


    }





    /* Avisos Viewers */


    .aviso-viewers-badge {


        font-size: 0.65rem;


        padding: 3px 10px;


        background: rgba(255, 255, 255, 0.04);


        color: var(--text-muted);


        border: 1px solid rgba(255, 255, 255, 0.08);


        border-radius: 6px;


        cursor: pointer;


        transition: var(--transition);


    }


    .aviso-viewers-badge:hover {


        background: rgba(16, 185, 129, 0.15);


        border-color: var(--success);


        color: var(--success);


    }





    /* Cursos & QualificaÃ§Ãµes */


    .cursos-grid-modern {


        display: grid;


        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));


        gap: 20px;


        margin-top: 25px;


    }





    .course-card-premium {


        background: rgba(255, 255, 255, 0.02);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 12px;


        padding: 20px;


        display: flex;


        gap: 15px;


        transition: all 0.3s ease;


        position: relative;


        overflow: hidden;


    }





    .course-card-premium.locked {


        opacity: 0.6;


        filter: grayscale(0.8);


    }





    .course-card-premium.unlocked {


        background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));


        border-color: rgba(255, 255, 255, 0.1);


        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);


    }





    .course-card-premium.unlocked:hover {


        transform: translateY(-5px);


        border-color: var(--primary-color);


    }





    .course-card-icon {


        width: 60px;


        height: 60px;


        border-radius: 12px;


        display: flex;


        align-items: center;


        justify-content: center;


        font-size: 1.5rem;


        flex-shrink: 0;


    }





    .course-card-info h3 {


        margin: 0;


        font-size: 1rem;


        color: var(--text-main);


    }





    .course-card-info p {


        font-size: 0.75rem;


        color: var(--text-muted);


        margin: 8px 0 12px 0;


        line-height: 1.4;


    }





    .course-card-status span {


        font-size: 0.7rem;


        font-weight: 700;


        text-transform: uppercase;


        letter-spacing: 0.5px;


    }





    .status-concluido {
        color: var(--success);
    }


    .status-bloqueado {
        color: var(--text-muted);
    }





    /* Status Classes para DinÃ¢micos (ANP) */


    .badge.status-aberto {
        background: rgba(234, 179, 8, 0.15);
        color: #eab308;
        border: 1px solid rgba(234, 179, 8, 0.3);
    }


    .badge.status-andamento {
        background: rgba(239, 68, 68, 0.15);
        color: #ef4444;
        border: 1px solid rgba(239, 68, 68, 0.3);
        animation: status-pulse 1.5s infinite alternate;
    }


    .badge.status-finalizado {
        background: rgba(16, 185, 129, 0.15);
        color: var(--primary-color);
        border: 1px solid rgba(16, 185, 129, 0.3);
    }





    @keyframes status-pulse {


        from {
            box-shadow: 0 0 5px rgba(239, 68, 68, 0.2);
        }


        to {
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
        }


    }





    .course-card-agent:hover {


        transform: translateY(-5px);


        border-color: var(--primary-color) !important;


        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);


    }





    .course-card-premium.unlocked::after {


        content: '';


        position: absolute;


        top: 0;
        right: 0;


        width: 40px;
        height: 40px;


        background: linear-gradient(135deg, transparent 50%, rgba(223, 184, 81, 0.1) 50%);


    }





    /* SugestÃµes e Participantes */


    .participant-tag {


        background: rgba(223, 184, 81, 0.15);


        border: 1px solid var(--primary-color);


        color: var(--primary-color);


        padding: 4px 10px;


        border-radius: 4px;


        font-size: 0.8rem;


        display: flex;


        align-items: center;


        gap: 8px;


        font-weight: 600;


    }


    .participant-tag .remove-pt {


        cursor: pointer;


        color: var(--danger);


        font-size: 0.9rem;


    }


    .suggestion-item {


        padding: 10px 15px;


        cursor: pointer;


        border-bottom: 1px solid rgba(255, 255, 255, 0.05);


        transition: var(--transition);


        display: flex;


        align-items: center;


        gap: 10px;


    }


    .suggestion-item:hover {


        background: rgba(223, 184, 81, 0.1);


        color: var(--primary-color);


    }


    .suggestion-item img {


        width: 24px;


        height: 24px;


        border-radius: 50%;


        object-fit: cover;


    }





    /* Status Labels no Detalhe */


    .op-status {


        padding: 4px 12px;


        border-radius: 4px;


        font-size: 0.75rem;


        font-weight: 800;


        text-transform: uppercase;


        letter-spacing: 1px;


    }





    /* ========= TAG FUNDADOR ESPECIAL ========= */


    .emblem-card.founder-special {


        background: linear-gradient(135deg, rgba(223, 184, 81, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%) !important;


        border: 1px solid var(--primary-color) !important;


        box-shadow: 0 0 15px rgba(223, 184, 81, 0.3) !important;


        position: relative;


        overflow: hidden;


        animation: founder-pulse 3s infinite ease-in-out;


    }





    .emblem-card.founder-special::before {


        content: '';


        position: absolute;


        top: -100%;


        left: -100%;


        width: 300%;


        height: 300%;


        background: linear-gradient(45deg,


                transparent 0%,


                rgba(255, 255, 255, 0) 45%,


                rgba(255, 255, 255, 0.4) 50%,


                rgba(255, 255, 255, 0) 55%,


                transparent 100%);


        transform: rotate(45deg);


        animation: founder-shimmer 4s infinite;


        pointer-events: none;


    }





    .emblem-card.founder-special i {


        text-shadow: 0 0 10px rgba(223, 184, 81, 0.8);


        animation: crown-float 3s infinite ease-in-out;


    }





    @keyframes founder-pulse {


        0%,
        100% {
            box-shadow: 0 0 15px rgba(223, 184, 81, 0.3);
            border-color: rgba(223, 184, 81, 0.4);
        }


        50% {
            box-shadow: 0 0 25px rgba(223, 184, 81, 0.7);
            border-color: var(--primary-color);
        }


    }





    @keyframes founder-shimmer {


        0% {
            transform: translateX(-100%) rotate(45deg);
        }


        100% {
            transform: translateX(100%) rotate(45deg);
        }


    }





    @keyframes crown-float {


        0%,
        100% {
            transform: translateY(0) scale(1.1);
        }


        50% {
            transform: translateY(-5px) scale(1.2);
        }


    }





    /* ========= TAG CAOP ESPECIAL ========= */


    .emblem-card.caop-special {


        background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%) !important;


        border: 1px solid #10b981 !important;


        box-shadow: 0 0 15px rgba(16, 185, 129, 0.3) !important;


    }





    .emblem-card.caop-special h4 {


        color: var(--text-main);


        line-height: 1.1;


        font-size: 0.85rem;


        margin-top: 5px;


        font-weight: 800;


        text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);


        white-space: normal;


    }





    .emblem-card.caop-special i {


        text-shadow: 0 0 10px rgba(16, 185, 129, 0.4);


    }





    /* SIP Paste Zone System */


    .sip-paste-zone {


        border: 2px dashed rgba(255, 255, 255, 0.1);


        border-radius: 8px;


        background: rgba(255, 255, 255, 0.02);


        min-height: 100px;


        display: flex;


        align-items: center;


        justify-content: center;


        cursor: pointer;


        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


        margin-top: 5px;


        position: relative;


        overflow: hidden;


    }





    .sip-paste-zone:hover {


        border-color: var(--primary-color);


        background: rgba(212, 175, 55, 0.05);


        box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);


    }





    .sip-paste-zone.active {


        border-color: var(--info);


        background: rgba(59, 130, 246, 0.1);


    }





    .sip-zone-content {


        text-align: center;


        pointer-events: none;


        transition: all 0.3s ease;


    }





    .sip-zone-content i {


        font-size: 1.8rem;


        color: rgba(255, 255, 255, 0.15);


        margin-bottom: 8px;


        display: block;


    }





    .sip-zone-content span {


        font-size: 0.75rem;


        color: rgba(255, 255, 255, 0.4);


        text-transform: uppercase;


        letter-spacing: 1px;


    }





    .sip-preview-img {


        width: 100%;


        height: 100%;


        object-fit: cover;


        position: absolute;


        inset: 0;


    }





    .btn-remove-sip-img {


        position: absolute;


        top: 5px;


        right: 5px;


        width: 22px;


        height: 22px;


        background: var(--danger);


        border: none;


        border-radius: 50%;


        color: #fff;


        font-size: 0.7rem;


        cursor: pointer;


        display: flex;


        align-items: center;


        justify-content: center;


        z-index: 10;


        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);


        transition: transform 0.2s;


    }





    .btn-remove-sip-img:hover {


        transform: scale(1.1);


    }





    .emblem-card.caop-special i {


        animation: caop-fly-pulse 2s infinite ease-in-out;


        display: inline-block;


    }





    @keyframes caop-fly-pulse {


        0%,
        100% {
            transform: scale(1.1) translateY(0);
        }


        50% {
            transform: scale(1.25) translateY(-5px);
            filter: drop-shadow(0 5px 15px rgba(16, 185, 129, 0.7));
        }


    }





    /* BIOGRAFIA DO PERFIL */


    .profile-bio {


        font-family: var(--font-main);


        color: var(--text-muted);


        font-style: italic;


        word-wrap: break-word;


        white-space: pre-wrap;


        transition: color 0.3s;


    }





    .profile-bio:hover {


        color: var(--text-main);


    }





    .bio-wrapper {


        margin-bottom: 20px;


        border-left: 2px solid rgba(223, 184, 81, 0.2);


        padding-left: 15px;


        margin-top: 10px;


    }





    /* ========= TAG DELEGADO GERAL ESPECIAL ========= */


    .emblem-card.delegado-special {


        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%) !important;


        border: 1px solid #ffd700 !important;


        box-shadow: 0 0 20px rgba(255, 215, 0, 0.4) !important;


        position: relative;


        overflow: hidden;


        animation: delegado-pulse 4s infinite ease-in-out;


    }





    .emblem-card.delegado-special::after {


        content: '';


        position: absolute;


        top: -100%;


        left: -100%;


        width: 300%;


        height: 300%;


        background: linear-gradient(45deg,


                transparent 0%,


                rgba(255, 255, 255, 0) 45%,


                rgba(255, 255, 255, 0.3) 50%,


                rgba(255, 255, 255, 0) 55%,


                transparent 100%);


        transform: rotate(45deg);


        animation: delegado-shimmer 5s infinite ease-in-out;


        pointer-events: none;


    }





    .emblem-card.delegado-special i {


        text-shadow: 0 0 15px rgba(255, 215, 0, 0.9);


        animation: star-glow 2.5s infinite alternate ease-in-out;


        color: #ffd700 !important;


    }





    .emblem-card.delegado-special h4 {


        color: #fff !important;


        text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);


    }





    @keyframes delegado-pulse {


        0%,
        100% {
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
            border-color: rgba(255, 215, 0, 0.5);
        }


        50% {
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
            border-color: #ffd700;
            transform: translateY(-2px);
        }


    }





    @keyframes delegado-shimmer {


        0% {
            transform: translate(-50%, -50%) rotate(45deg);
            opacity: 0;
        }


        20% {
            opacity: 1;
        }


        40% {
            transform: translate(20%, 20%) rotate(45deg);
            opacity: 0;
        }


        100% {
            opacity: 0;
        }


    }





    /* ========= TOAST NOTIFICATIONS ========= */


    #toast-container {


        position: fixed;


        bottom: 25px;


        right: 25px;


        z-index: 10000;


        display: flex;


        flex-direction: column;


        gap: 12px;


        pointer-events: none;


    }





    .toast {


        min-width: 300px;


        max-width: 450px;


        background: rgba(12, 14, 20, 0.95);


        backdrop-filter: blur(15px);


        border: 1px solid rgba(255, 255, 255, 0.1);


        border-radius: 12px;


        padding: 16px;


        display: flex;


        align-items: center;


        gap: 15px;


        color: var(--text-main);


        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);


        pointer-events: auto;


        animation: toastIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;


        position: relative;


        overflow: hidden;


    }





    .toast-icon {


        font-size: 1.4rem;


        flex-shrink: 0;


    }





    .toast-success .toast-icon {
        color: var(--success);
    }


    .toast-error .toast-icon {
        color: var(--danger);
    }


    .toast-info .toast-icon {
        color: var(--info);
    }


    .toast-warning .toast-icon {
        color: var(--primary-color);
    }





    .toast-message {


        font-size: 0.9rem;


        font-weight: 500;


        line-height: 1.4;


    }





    .toast-progress {


        position: absolute;


        bottom: 0;


        left: 0;


        height: 3px;


        width: 100%;


        background: var(--primary-color);


        transform-origin: left;


        animation: toastProgress linear forwards;


    }





    .toast-success .toast-progress {
        background: var(--success);
    }


    .toast-error .toast-progress {
        background: var(--danger);
    }


    .toast-info .toast-progress {
        background: var(--info);
    }


    .toast-warning .toast-progress {
        background: var(--primary-color);
    }





    @keyframes toastIn {


        from {
            transform: translateX(100%) scale(0.9);
            opacity: 0;
        }


        to {
            transform: translateX(0) scale(1);
            opacity: 1;
        }


    }





    @keyframes toastProgress {


        from {
            transform: scaleX(1);
        }


        to {
            transform: scaleX(0);
        }


    }





    .toast-leaving {


        animation: toastOut 0.4s ease forwards;


    }





    @keyframes toastOut {


        from {
            transform: translateX(0) scale(1);
            opacity: 1;
        }


        to {
            transform: translateX(50px) scale(0.9);
            opacity: 0;
        }


    }





    /* ========= BROADCAST SUPREMO EFFECTS ========= */


    .supreme-broadcast-overlay {


        position: fixed;


        inset: 0;


        z-index: 20000;


        background: rgba(0, 0, 0, 0.85);


        backdrop-filter: blur(10px);


        display: flex;


        align-items: center;


        justify-content: center;


        padding: 20px;


        animation: fadeIn 0.4s ease forwards;


        pointer-events: auto;


    }





    .supreme-alert-card {


        width: 100%;


        max-width: 700px;


        background: linear-gradient(135deg, #0f111a 0%, #050608 100%);


        border: 2px solid var(--danger);


        border-radius: 16px;


        padding: 40px;


        position: relative;


        overflow: hidden;


        box-shadow: 0 0 50px rgba(239, 68, 68, 0.3);


        animation: alertSlideIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, supremePulse 4s infinite;


    }





    .supreme-alert-card::before {


        content: '';


        position: absolute;


        inset: 0;


        background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));


        z-index: 2;


        background-size: 100% 2px, 3px 100%;


        pointer-events: none;


    }





    .supreme-header {


        display: flex;


        align-items: center;


        gap: 15px;


        margin-bottom: 25px;


        color: var(--danger);


        font-size: 1.5rem;


        font-weight: 800;


        letter-spacing: 3px;


        text-transform: uppercase;


        animation: glitch 1s infinite;


    }





    .supreme-body {


        font-size: 1.3rem;


        line-height: 1.6;


        color: var(--text-main);


        text-align: center;


        margin-bottom: 30px;


        font-family: 'monospace';


        text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);


    }





    .supreme-footer {


        display: flex;


        justify-content: center;


    }





    .btn-supreme-close {


        background: var(--danger);


        color: white;


        padding: 12px 30px;


        border-radius: 8px;


        font-weight: 800;


        letter-spacing: 1px;


        transition: var(--transition);


    }





    .btn-supreme-close:hover {


        background: #ff0000;


        box-shadow: 0 0 20px var(--danger);


        transform: scale(1.05);


    }





    /* Animations */


    @keyframes alertSlideIn {


        from {
            transform: scale(0.8) translateY(50px);
            opacity: 0;
        }


        to {
            transform: scale(1) translateY(0);
            opacity: 1;
        }


    }





    @keyframes supremePulse {


        0%,
        100% {
            border-color: var(--danger);
            box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
        }


        50% {
            border-color: #ff0000;
            box-shadow: 0 0 60px rgba(239, 68, 68, 0.5);
        }


    }





    @keyframes glitch {


        0% {
            transform: translate(0);
            text-shadow: -2px 0 red, 2px 0 blue;
        }


        20% {
            transform: translate(-2px, 2px);
        }


        40% {
            transform: translate(-2px, -2px);
            text-shadow: 2px 0 red, -2px 0 blue;
        }


        60% {
            transform: translate(2px, 2px);
        }


        80% {
            transform: translate(2px, -2px);
        }


        100% {
            transform: translate(0);
        }


    }





    .shake-screen {


        animation: screenShake 0.4s cubic-bezier(.36, .07, .19, .97) both;


    }





    @keyframes screenShake {


        10%,
        90% {
            transform: translate3d(-1px, 0, 0);
        }


        20%,
        80% {
            transform: translate3d(2px, 0, 0);
        }


        30%,
        50%,
        70% {
            transform: translate3d(-4px, 0, 0);
        }


        40%,
        60% {
            transform: translate3d(4px, 0, 0);
        }


    }











    @keyframes star-glow {


        from {
            filter: drop-shadow(0 0 2px #ffd700);
            transform: scale(1);
        }


        to {
            filter: drop-shadow(0 0 10px #ffd700) brightness(1.2);
            transform: scale(1.15);
        }


    }





    /* CHAT VIDEO EMBEDS */


    .video-embed-wrapper {


        transition: transform 0.2s ease-in-out, box-shadow 0.2s;


        max-width: 100%;


        overflow: hidden;


        background: rgba(0, 0, 0, 0.3);


        border-radius: 8px;


    }





    .video-embed-wrapper:hover {


        transform: scale(1.01);


        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);


    }








    /* CHAT DELETE BUTTON */


    .msg-delete-btn {


        opacity: 0.4;


        padding: 2px 5px;


        border-radius: 4px;


        visibility: hidden;


    }





    .chat-message:hover .msg-delete-btn {


        visibility: visible;


        opacity: 0.7;


    }





    .msg-delete-btn:hover {


        opacity: 1 !important;


        color: #ef4444 !important;


        background: rgba(239, 68, 68, 0.1);


        transform: scale(1.1);


    }





    /* FOUNDER PANEL PREMIUM STYLES */


    #panel-fundador {


        border-left: 2px solid var(--primary-color);


    }





    #panel-fundador .panel-header h2 {


        text-shadow: 0 0 10px rgba(223, 184, 81, 0.3);


    }





    .fun-content {


        animation: slideIn 0.3s ease-out;


    }





    #fun-agentes .input-group input:focus {


        border-color: var(--primary-color);


        box-shadow: 0 0 8px rgba(223, 184, 81, 0.2);


    }





    #btn-fun-search:hover {


        background: var(--primary-color);


        color: #000;


        transform: translateY(-2px);


        box-shadow: 0 5px 15px rgba(223, 184, 81, 0.4);


    }





    .founder-special {


        border: 1px solid #ffd700 !important;


        background: rgba(255, 215, 0, 0.1) !important;


        box-shadow: 0 0 15px rgba(255, 215, 0, 0.2) !important;


    }








    /* DEMOTION EFFECT */


    .demotion-overlay {


        position: fixed;


        inset: 0;


        background: rgba(255, 0, 0, 0.4);


        z-index: 100000;


        display: flex;


        flex-direction: column;


        align-items: center;


        justify-content: center;


        pointer-events: none;


        animation: demotionFlash 0.5s infinite alternate, demotionShake 0.1s infinite;


        opacity: 0;


        transition: opacity 0.5s ease;


    }





    .demotion-overlay.active {


        opacity: 1;


        pointer-events: all;


    }





    /* PROMOTION EFFECT */


    .promotion-overlay {


        position: fixed;


        inset: 0;


        background: rgba(0, 0, 0, 0.85);
        /* Dark background to make gold pop */


        z-index: 100000;


        display: flex;


        flex-direction: column;


        align-items: center;


        justify-content: center;


        pointer-events: none;


        opacity: 0;


        transition: opacity 0.5s ease;


        backdrop-filter: blur(10px);


    }


    .promotion-overlay.active {


        opacity: 1;


        pointer-events: all;


        animation: promoFloatUp 0.8s ease-out;


    }


    @keyframes promoFloatUp {


        0% {
            transform: translateY(50px);
            opacity: 0;
        }


        100% {
            transform: translateY(0);
            opacity: 1;
        }


    }








    .demotion-msg {


        color: white;


        font-size: 3rem;


        font-weight: 900;


        text-transform: uppercase;


        text-shadow: 0 0 20px black, 0 0 40px red;


        text-align: center;


        font-family: 'Arial Black', sans-serif;


    }





    @keyframes demotionFlash {


        from {
            background: rgba(255, 0, 0, 0.2);
        }


        to {
            background: rgba(255, 0, 0, 0.6);
        }


    }





    @keyframes demotionShake {


        0% {
            transform: translate(1px, 1px) rotate(0deg);
        }


        20% {
            transform: translate(-3px, 0px) rotate(1deg);
        }


        40% {
            transform: translate(3px, 2px) rotate(-1deg);
        }


        60% {
            transform: translate(-3px, 1px) rotate(0deg);
        }


        80% {
            transform: translate(3px, 1px) rotate(1deg);
        }


        100% {
            transform: translate(1px, -2px) rotate(-1deg);
        }


    }








    /* TACTICAL EMBLEM SPECIALS */


    .cot-special {


        border: 1px solid #2c3e50 !important;


        background: rgba(44, 62, 80, 0.05) !important;


    }





    .gpi-special {


        border: 1px solid #1b4f72 !important;


        background: rgba(27, 79, 114, 0.05) !important;


    }








    .gtm-special {


        border: 1px solid #d35400 !important;


        background: rgba(211, 84, 0, 0.05) !important;


    }





    .speed-special {


        border: 1px solid #c0392b !important;


        background: rgba(192, 57, 43, 0.05) !important;


    }





    .anp-special {


        border: 1px solid #8e44ad !important;


        background: rgba(142, 68, 173, 0.05) !important;


    }





    /* ========= PATRULHAMENTO & VIATURAS ========= */


    .patrol-card {


        background: rgba(16, 185, 129, 0.03);


        border: 1px solid rgba(16, 185, 129, 0.15);


        border-radius: 12px;


        padding: 15px;


        display: flex;


        flex-direction: column;


        gap: 10px;


        position: relative;


        overflow: hidden;


        transition: var(--transition);


    }


    .patrol-card:hover {


        background: rgba(16, 185, 129, 0.08);


        transform: translateY(-3px);


        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);


    }


    .patrol-badge {


        position: absolute;


        top: 10px;


        right: 10px;


        background: var(--success);


        color: #000;


        font-size: 0.6rem;


        font-weight: 900;


        padding: 2px 6px;


        border-radius: 4px;


        text-transform: uppercase;


        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);


    }





    .viatura-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }


    .viatura-icon {
        font-size: 1.8rem;
        color: var(--primary-color);
        opacity: 0.9;
    }


    .viatura-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-main);
    }





    .patrol-agents {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 5px;
    }


    .patrol-agent-tag {


        font-size: 0.72rem;


        background: rgba(255, 255, 255, 0.06);


        padding: 4px 10px;


        border-radius: 4px;


        color: var(--text-main);


        display: flex;


        align-items: center;


        gap: 6px;


        border: 1px solid rgba(255, 255, 255, 0.05);


    }





    .patrol-footer {


        margin-top: 10px;


        padding-top: 10px;


        border-top: 1px solid rgba(255, 255, 255, 0.05);


        display: flex;


        justify-content: space-between;


        align-items: center;


    }


    .patrol-time {
        font-family: monospace;
        font-size: 0.8rem;
        color: var(--primary-color);
        font-weight: bold;
    }





    /* Dashboard Mini Cards */


    .dash-patrol-card {


        padding: 12px;


        border-left: 3px solid var(--success);


        background: rgba(16, 185, 129, 0.03);


        border-radius: 6px;


        display: flex;


        flex-direction: column;


        gap: 5px;


        transition: var(--transition);


        cursor: pointer;


    }


    .dash-patrol-card:hover {
        background: rgba(16, 185, 129, 0.08);
        transform: translateX(3px);
    }


    .dash-patrol-viatura {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--text-main);
    }


    .dash-patrol-agents {
        font-size: 0.7rem;
        color: var(--text-muted);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }





    /* Image Upload Zone Styling */


    .image-upload-zone {


        background: rgba(255, 255, 255, 0.02);


        border-color: rgba(255, 255, 255, 0.1);


    }





    .image-upload-zone:hover {


        background: rgba(223, 184, 81, 0.05);


        border-color: var(--primary-color) !important;


    }





    .image-upload-zone i {


        transition: transform 0.3s ease, color 0.3s ease;


    }





    .image-upload-zone:hover i {


        transform: scale(1.1);


        color: var(--primary-color);


    }





    /* ========= HUD DE PATRULHAMENTO FLUTUANTE ========= */


    .patrol-hud {


        position: fixed;


        top: 100px;


        right: 30px;


        width: 260px;


        z-index: 10001;


        background: rgba(12, 14, 20, 0.85);


        backdrop-filter: blur(15px);


        border: 1px solid rgba(223, 184, 81, 0.3);


        border-radius: 14px;


        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(223, 184, 81, 0.1);


        overflow: hidden;


        user-select: none;


        animation: slideInHUD 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);


        transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;


    }





    .patrol-hud.minimized {


        width: 200px;


    }





    .patrol-hud.minimized .hud-body,


    .patrol-hud.minimized .hud-footer {


        display: none;


    }





    @keyframes slideInHUD {


        from {
            opacity: 0;
            transform: scale(0.9) translateX(30px);
        }


        to {
            opacity: 1;
            transform: scale(1) translateX(0);
        }


    }





    .hud-header {


        background: rgba(223, 184, 81, 0.15);


        padding: 12px 15px;


        display: flex;


        justify-content: space-between;


        align-items: center;


        cursor: grab;


        border-bottom: 1px solid rgba(223, 184, 81, 0.1);


    }


    .hud-header:active {
        cursor: grabbing;
    }


    .hud-header i {
        color: var(--primary-color);
    }


    .hud-header span {
        font-weight: 800;
        font-size: 0.75rem;
        letter-spacing: 1px;
        color: var(--primary-color);
    }





    .hud-body {


        padding: 20px;


        text-align: center;


    }





    .hud-timer {


        font-family: 'monospace';


        font-size: 2.2rem;


        font-weight: 800;


        color: var(--text-main);


        text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);


        margin-bottom: 5px;


    }





    .hud-agents {
        font-size: 0.72rem;
        color: var(--text-muted);
        margin-bottom: 5px;
        font-style: italic;
        display: none; /* Escondido pois usaremos a nova lista visual */
    }

    #hud-viatura-display img {
        filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    }

    .hud-agent-row {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.03);
        padding: 6px 10px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: 0.2s;
        margin-bottom: 2px;
    }

    .hud-agent-row:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(223, 184, 81, 0.2);
    }

    .hud-agent-avatar {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        color: #000;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.1);
        flex-shrink: 0;
    }

    .hud-agent-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hud-agent-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0px;
        overflow: hidden;
    }

    .hud-agent-name {
        font-size: 0.75rem;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .hud-agent-role {
        font-size: 0.55rem;
        color: var(--primary-color);
        font-weight: 800;
        text-transform: uppercase;
        opacity: 0.8;
    }

    #btn-hud-qta:hover {
        background: rgba(223, 184, 81, 0.1) !important;
        box-shadow: 0 0 10px rgba(223, 184, 81, 0.2);
        transform: translateY(-1px);
    }


        font-size: 0.72rem;


        color: var(--text-muted);


        margin-bottom: 15px;


        font-style: italic;


    }





    .hud-footer {


        background: rgba(0, 0, 0, 0.3);


        padding: 8px;


        font-size: 0.6rem;


        color: var(--success);


        font-weight: 900;


        text-transform: uppercase;


        letter-spacing: 2px;


        text-align: center;


        border-top: 1px solid rgba(255, 255, 255, 0.05);


    }





    #btn-hud-arrest:hover {


        box-shadow: 0 0 15px var(--danger);


        transform: translateY(-2px);


    }





    @keyframes pulseGlow {


        0% {
            box-shadow: 0 0 5px rgba(223, 184, 81, 0.2);
        }


        50% {
            box-shadow: 0 0 20px rgba(223, 184, 81, 0.5);
        }


        100% {
            box-shadow: 0 0 5px rgba(223, 184, 81, 0.2);
        }


    }








    /* ==========================================================================


   POWER BI - NEXUS OPERACIONAL


   ========================================================================== */


    .bi-kpi-grid {


        display: grid;


        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));


        gap: 15px;


        margin-bottom: 25px;


        margin-top: 15px;


    }





    .kpi-card {


        display: flex;


        align-items: center;


        gap: 15px;


        padding: 20px;


        transition: transform 0.3s ease;


    }





    .kpi-card:hover {


        transform: translateY(-5px);


    }





    .kpi-icon {


        font-size: 2rem;


        opacity: 0.2;


    }





    .kpi-data h3 {


        font-size: 1.8rem;


        margin: 5px 0;


        font-weight: 800;


    }





    .kpi-label {


        font-size: 0.75rem;


        text-transform: uppercase;


        letter-spacing: 1px;


        color: var(--text-muted);


    }





    .kpi-trend {


        font-size: 0.7rem;


        color: var(--success);


        font-weight: 600;


    }





    .bi-charts-grid {


        display: grid;


        grid-template-columns: 2fr 1fr;


        gap: 20px;


        margin-bottom: 25px;


    }





    .bi-details-grid {


        display: grid;


        grid-template-columns: 1fr 1fr 1fr;


        gap: 20px;


    }





    .bi-table table {


        font-size: 0.82rem;


    }





    .bi-table td {


        padding: 8px 10px;


    }





    .btn-bi-filter {


        background: rgba(255, 255, 255, 0.05);


        border: 1px solid rgba(255, 255, 255, 0.1);


        color: var(--text-muted);


        padding: 6px 15px;


        border-radius: 20px;


        font-size: 0.75rem;


        cursor: pointer;


        transition: all 0.3s ease;


    }





    .btn-bi-filter:hover {


        background: rgba(255, 255, 255, 0.1);


    }





    .btn-bi-filter.active {


        background: var(--primary-color);


        color: black;


        font-weight: bold;


        border-color: var(--primary-color);


    }





    @media (max-width: 1200px) {


        .bi-charts-grid,
        .bi-details-grid {


            grid-template-columns: 1fr;


        }


    }





    /* ==========================================================================


   ANP MANAGEMENT STYLES


   ========================================================================== */


    #anp-search-results .search-item:hover {


        background: rgba(223, 184, 81, 0.1) !important;


        color: var(--primary-color);


    }





    .anp-log-card {


        transition: all 0.3s ease;


        border: 1px solid transparent;


    }





    .anp-log-card:hover {


        background: rgba(255, 255, 255, 0.05) !important;


        border-color: rgba(223, 184, 81, 0.2);


        transform: translateX(5px);


    }





    #div-anp-mgmt input,
    #div-anp-mgmt select {


        background: rgba(0, 0, 0, 0.3);


        border: 1px solid rgba(255, 255, 255, 0.1);


        border-radius: 6px;


        padding: 10px;


        color: var(--text-main);


        font-family: var(--font-main);


    }





    #div-anp-mgmt input:focus {


        border-color: var(--primary-color);


        outline: none;


    }





    /* ==========================================================================


   FARDAMENTO & LOGISTICA STYLES


   ========================================================================== */


    .fardamento-card {


        background: rgba(255, 255, 255, 0.03);


        border-radius: 12px;


        overflow: hidden;


        border: 1px solid rgba(255, 255, 255, 0.05);


        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


    }





    .fardamento-card:hover {


        transform: translateY(-5px);


        border-color: var(--primary-color);


        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);


    }





    .fardamento-card img {


        transition: transform 0.5s ease;


    }





    .fardamento-card:hover img {


        transform: scale(1.05);


    }





    #btn-submit-fardamento:disabled {


        opacity: 0.7;


        cursor: not-allowed;


    }





    .copy-feedback {


        animation: toastIn 0.3s ease;


    }





    /* ===== TYPING INDICATOR ===== */


    @keyframes typingDot {


        0%,
        60%,
        100% {
            transform: translateY(0);
            opacity: 0.4;
        }


        30% {
            transform: translateY(-4px);
            opacity: 1;
        }


    }





    /* ===== DM QUICK REPLY PANEL ===== */


    #dm-quick-reply {


        position: fixed;


        bottom: 80px;


        right: 20px;


        width: 340px;


        background: rgba(10, 12, 18, 0.97);


        border: 1px solid rgba(59, 130, 246, 0.35);


        border-radius: 14px;


        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(59, 130, 246, 0.1);


        z-index: 99999;


        overflow: hidden;


        animation: slideInRight 0.3s ease;


        backdrop-filter: blur(16px);


    }


    #dm-quick-reply .dm-qr-header {


        padding: 12px 16px;


        background: rgba(59, 130, 246, 0.12);


        border-bottom: 1px solid rgba(59, 130, 246, 0.2);


        display: flex;


        align-items: center;


        justify-content: space-between;


        gap: 10px;


    }


    #dm-quick-reply .dm-qr-messages {


        max-height: 220px;


        overflow-y: auto;


        padding: 12px 14px;


        display: flex;


        flex-direction: column;


        gap: 8px;


    }


    #dm-quick-reply .dm-qr-bubble {


        padding: 8px 12px;


        border-radius: 10px;


        font-size: 0.82rem;


        line-height: 1.4;


        max-width: 90%;


    }


    #dm-quick-reply .dm-qr-bubble.me {


        align-self: flex-end;


        background: rgba(59, 130, 246, 0.2);


        border: 1px solid rgba(59, 130, 246, 0.3);


    }


    #dm-quick-reply .dm-qr-bubble.them {


        align-self: flex-start;


        background: rgba(255, 255, 255, 0.05);


        border: 1px solid rgba(255, 255, 255, 0.1);


    }


    #dm-quick-reply .dm-qr-input-area {


        padding: 10px 14px;


        border-top: 1px solid rgba(255, 255, 255, 0.06);


        display: flex;


        gap: 8px;


        align-items: center;


    }


    #dm-quick-reply .dm-qr-input-area input {


        flex: 1;


        background: rgba(255, 255, 255, 0.06);


        border: 1px solid rgba(255, 255, 255, 0.1);


        border-radius: 8px;


        padding: 8px 12px;


        color: var(--text-main);


        font-size: 0.82rem;


        font-family: var(--font-main);


        outline: none;


    }


    #dm-quick-reply .dm-qr-input-area button {


        background: var(--info);


        border: none;


        color: #fff;


        width: 34px;


        height: 34px;


        border-radius: 8px;


        cursor: pointer;


        font-size: 0.85rem;


        flex-shrink: 0;


        transition: 0.2s;


    }


    #dm-quick-reply .dm-qr-input-area button:hover {
        background: #1d4ed8;
    }





    /* ===== CHAT BG OPTIONS HOVER ===== */


    .chat-bg-option:hover {
        outline: 2px solid var(--primary-color);
        transform: scale(1.05);
        transition: 0.15s;
    }





    /* ===== BORDAS DE FOTO DE PERFIL ===== */


    .profile-pic-wrapper {
        border-radius: 50%;
        overflow: visible;
        transition: box-shadow 0.4s ease, border-color 0.4s ease;
    }





    .border-default {
        border: 3px solid rgba(255, 255, 255, 0.15);
        box-shadow: none;
    }





    .border-neon {
        border: 3px solid #00f5ff;
        box-shadow: 0 0 12px #00f5ff, 0 0 28px rgba(0, 245, 255, 0.4);
    }





    .border-gold {
        border: 3px solid #ffd700;
        box-shadow: 0 0 12px #ffd700, 0 0 28px rgba(255, 215, 0, 0.5);
    }





    .border-crimson {
        border: 3px solid #dc2626;
        box-shadow: 0 0 12px #dc2626, 0 0 28px rgba(220, 38, 38, 0.5);
    }





    .border-founder {


        border: 3px solid #ffd700;


        box-shadow: 0 0 8px #ffd700, 0 0 20px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 165, 0, 0.3);


        animation: founderPulse 2.5s ease-in-out infinite;


    }


    @keyframes founderPulse {


        0%,
        100% {
            box-shadow: 0 0 8px #ffd700, 0 0 20px rgba(255, 215, 0, 0.5);
        }


        50% {
            box-shadow: 0 0 18px #ffd700, 0 0 40px rgba(255, 215, 0, 0.9), 0 0 60px rgba(255, 165, 0, 0.4);
        }


    }





    .border-rainbow {


        border: 3px solid transparent;


        background-clip: padding-box;


        box-shadow: 0 0 0 3px transparent;


        animation: rainbowBorder 3s linear infinite;


        position: relative;


    }


    .border-rainbow::before {


        content: '';


        position: absolute;


        inset: -3px;


        border-radius: 50%;


        background: conic-gradient(#ff0000, #ffa500, #ffff00, #00ff00, #00bfff, #8a2be2, #ff0000);


        z-index: -1;


        animation: rainbowSpin 3s linear infinite;


    }


    @keyframes rainbowSpin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }





    .anp-curso-item:hover {


        background: rgba(255, 255, 255, 0.08) !important;


        border-color: rgba(255, 255, 255, 0.2) !important;


        transform: translateY(-1px);


    }


    .anp-curso-item.selected:hover {


        background: rgba(16, 185, 129, 0.25) !important;


        border-color: var(--success) !important;


    }





    /* Jitsi Minimization - Fixed */


    #jitsi-container {


        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);


        transform-origin: top center;


    }





    #jitsi-container.minimized {


        position: fixed !important;


        bottom: 20px !important;


        right: 20px !important;


        width: 340px !important;


        height: auto !important;


        z-index: 10000 !important;


        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.3) !important;


        border: 1px solid rgba(59, 130, 246, 0.4) !important;


        background: rgba(12, 14, 20, 0.95) !important;


        border-radius: 12px;


        overflow: hidden;


    }





    #jitsi-container.minimized iframe {


        height: 180px !important;


    }





    #jitsi-container.minimized .panel-header {


        padding: 8px 12px !important;


    }





    /* ========================================================


   TACTICAL DIVISION HUB (BENTO GRID TABS)


   ======================================================== */


    .divisao-tabs {


        display: grid !important;


        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;


        gap: 12px;


        background: transparent !important;


        border: none !important;


        box-shadow: none !important;


        padding: 0 !important;


        margin-top: 15px;


        margin-bottom: 25px;


    }





    .div-tab-btn {


        display: flex;


        flex-direction: column;


        align-items: center;


        justify-content: center;


        gap: 10px;


        background: rgba(255, 255, 255, 0.02);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 12px;


        padding: 20px 10px;


        color: var(--text-muted);


        font-size: 0.72rem;


        font-weight: 700;


        text-transform: uppercase;


        letter-spacing: 1px;


        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


        cursor: pointer;


        text-align: center;


        height: 100px;


        position: relative;


        overflow: hidden;


    }





    .div-tab-btn i {


        font-size: 1.8rem;


        color: var(--primary-color);


        opacity: 0.5;


        transition: all 0.3s ease;


    }





    .div-tab-btn:hover {


        background: rgba(223, 184, 81, 0.05);


        border-color: rgba(223, 184, 81, 0.2);


        transform: translateY(-4px);


        color: var(--text-main);


        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);


    }





    .div-tab-btn:hover i {


        opacity: 1;


        transform: scale(1.15);


        filter: drop-shadow(0 0 10px var(--primary-glow));


    }





    .div-tab-btn.active {


        background: linear-gradient(135deg, rgba(223, 184, 81, 0.15) 0%, rgba(223, 184, 81, 0.05) 100%);


        border-color: var(--primary-color);


        color: var(--primary-color);


        box-shadow: 0 0 15px rgba(223, 184, 81, 0.15);


    }





    .div-tab-btn.active i {


        opacity: 1;


        filter: drop-shadow(0 0 8px var(--primary-glow));


    }





    /* ========================================================


   ORION MARK II - AI VISUAL CORE


   ======================================================== */


    .orion-core {


        position: relative;


        width: 60px;


        height: 60px;


        display: flex;


        align-items: center;


        justify-content: center;


        border-radius: 50%;


        margin: 10px 0;


    }





    .orion-center {


        width: 20px;


        height: 20px;


        background: var(--primary-color);


        border-radius: 50%;


        box-shadow: 0 0 15px var(--primary-color);


        z-index: 3;


        transition: all 0.3s ease;


    }





    .orion-ring {


        position: absolute;


        border-radius: 50%;


        border: 1px solid transparent;


        transition: all 0.3s ease;


    }





    .ring-1 {


        width: 40px;


        height: 40px;


        border-color: rgba(223, 184, 81, 0.5);


        z-index: 2;


    }





    .ring-2 {


        width: 60px;


        height: 60px;


        border-color: rgba(223, 184, 81, 0.2);


        z-index: 1;


    }





    /* State: Idle */


    .state-idle .orion-center {


        opacity: 0.6;


        transform: scale(1);


        box-shadow: 0 0 10px rgba(223, 184, 81, 0.4);


        animation: orionBreathe 4s infinite ease-in-out;


    }


    .state-idle .ring-1,
    .state-idle .ring-2 {


        opacity: 0.3;


    }





    /* State: Thinking */


    .state-thinking .orion-center {


        opacity: 1;


        background: #ffd700;


        box-shadow: 0 0 25px #ffd700;


        animation: orionThink 1.5s infinite alternate;


    }


    .state-thinking .ring-1 {


        border-color: #ffd700;


        animation: orionSpin 2s linear infinite;


    }


    .state-thinking .ring-2 {


        border-color: rgba(255, 215, 0, 0.4);


        animation: orionSpinReverse 3s linear infinite;


    }





    /* State: Speaking */


    .state-speaking .orion-center {


        opacity: 1;


        background: #ff3333;


        box-shadow: 0 0 30px #ff3333;


        animation: orionSpeakCore 0.2s infinite alternate;


    }


    .state-speaking .ring-1 {


        border-color: #ff3333;


        animation: orionSpeakRing 0.3s infinite alternate;


    }


    .state-speaking .ring-2 {


        border-color: rgba(255, 51, 51, 0.6);


        animation: orionSpeakRing 0.4s infinite alternate-reverse;


    }





    @keyframes orionBreathe {


        0%,
        100% {
            transform: scale(1);
        }


        50% {
            transform: scale(1.1);
        }


    }


    @keyframes orionThink {


        border-color: var(--success) !important;


    }





    /* Jitsi Minimization - Fixed */


    #jitsi-container {


        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);


        transform-origin: top center;


    }





    #jitsi-container.minimized {


        position: fixed !important;


        bottom: 20px !important;


        right: 20px !important;


        width: 340px !important;


        height: auto !important;


        z-index: 10000 !important;


        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.3) !important;


        border: 1px solid rgba(59, 130, 246, 0.4) !important;


        background: rgba(12, 14, 20, 0.95) !important;


        border-radius: 12px;


        overflow: hidden;


    }





    #jitsi-container.minimized iframe {


        height: 180px !important;


    }





    #jitsi-container.minimized .panel-header {


        padding: 8px 12px !important;


    }





    /* ========================================================


   TACTICAL DIVISION HUB (BENTO GRID TABS)


   ======================================================== */


    .divisao-tabs {


        display: grid !important;


        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;


        gap: 12px;


        background: transparent !important;


        border: none !important;


        box-shadow: none !important;


        padding: 0 !important;


        margin-top: 15px;


        margin-bottom: 25px;


    }





    .div-tab-btn {


        display: flex;


        flex-direction: column;


        align-items: center;


        justify-content: center;


        gap: 10px;


        background: rgba(255, 255, 255, 0.02);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 12px;


        padding: 20px 10px;


        color: var(--text-muted);


        font-size: 0.72rem;


        font-weight: 700;


        text-transform: uppercase;


        letter-spacing: 1px;


        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);


        cursor: pointer;


        text-align: center;


        height: 100px;


        position: relative;


        overflow: hidden;


    }





    .div-tab-btn i {


        font-size: 1.8rem;


        color: var(--primary-color);


        opacity: 0.5;


        transition: all 0.3s ease;


    }





    .div-tab-btn:hover {


        background: rgba(223, 184, 81, 0.05);


        border-color: rgba(223, 184, 81, 0.2);


        transform: translateY(-4px);


        color: var(--text-main);


        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);


    }





    .div-tab-btn:hover i {


        opacity: 1;


        transform: scale(1.15);


        filter: drop-shadow(0 0 10px var(--primary-glow));


    }





    .div-tab-btn.active {


        background: linear-gradient(135deg, rgba(223, 184, 81, 0.15) 0%, rgba(223, 184, 81, 0.05) 100%);


        border-color: var(--primary-color);


        color: var(--primary-color);


        box-shadow: 0 0 15px rgba(223, 184, 81, 0.15);


    }





    .div-tab-btn.active i {


        opacity: 1;


        filter: drop-shadow(0 0 8px var(--primary-glow));


    }





    /* ========================================================


   ORION MARK II - AI VISUAL CORE


   ======================================================== */


    .orion-core {


        position: relative;


        width: 60px;


        height: 60px;


        display: flex;


        align-items: center;


        justify-content: center;


        border-radius: 50%;


        margin: 10px 0;


    }





    .orion-center {


        width: 20px;


        height: 20px;


        background: var(--primary-color);


        border-radius: 50%;


        box-shadow: 0 0 15px var(--primary-color);


        z-index: 3;


        transition: all 0.3s ease;


    }





    .orion-ring {


        position: absolute;


        border-radius: 50%;


        border: 1px solid transparent;


        transition: all 0.3s ease;


    }





    .ring-1 {


        width: 40px;


        height: 40px;


        border-color: rgba(223, 184, 81, 0.5);


        z-index: 2;


    }





    .ring-2 {


        width: 60px;


        height: 60px;


        border-color: rgba(223, 184, 81, 0.2);


        z-index: 1;


    }





    /* State: Idle */


    .state-idle .orion-center {


        opacity: 0.6;


        transform: scale(1);


        box-shadow: 0 0 10px rgba(223, 184, 81, 0.4);


        animation: orionBreathe 4s infinite ease-in-out;


    }


    .state-idle .ring-1,
    .state-idle .ring-2 {


        opacity: 0.3;


    }





    /* State: Thinking */


    .state-thinking .orion-center {


        opacity: 1;


        background: #ffd700;


        box-shadow: 0 0 25px #ffd700;


        animation: orionThink 1.5s infinite alternate;


    }


    .state-thinking .ring-1 {


        border-color: #ffd700;


        animation: orionSpin 2s linear infinite;


    }


    .state-thinking .ring-2 {


        border-color: rgba(255, 215, 0, 0.4);


        animation: orionSpinReverse 3s linear infinite;


    }





    /* State: Speaking */


    .state-speaking .orion-center {


        opacity: 1;


        background: #ff3333;


        box-shadow: 0 0 30px #ff3333;


        animation: orionSpeakCore 0.2s infinite alternate;


    }


    .state-speaking .ring-1 {


        border-color: #ff3333;


        animation: orionSpeakRing 0.3s infinite alternate;


    }


    .state-speaking .ring-2 {


        border-color: rgba(255, 51, 51, 0.6);


        animation: orionSpeakRing 0.4s infinite alternate-reverse;


    }





    @keyframes orionBreathe {


        0%,
        100% {
            transform: scale(1);
        }


        50% {
            transform: scale(1.1);
        }


    }


    @keyframes orionThink {


        from {
            transform: scale(0.9);
        }


        to {
            transform: scale(1.2);
        }


    }


    @keyframes orionSpin {


        from {
            transform: rotate(0deg) scale(1);
        }


        to {
            transform: rotate(360deg) scale(1.1);
        }


    }


    @keyframes orionSpinReverse {


        from {
            transform: rotate(360deg) scale(1);
        }


        to {
            transform: rotate(0deg) scale(1.05);
        }


    }


    @keyframes orionSpeakCore {


        0% {
            transform: scale(1);
        }


        100% {
            transform: scale(1.4);
        }


    }


    @keyframes orionSpeakRing {


        0% {
            transform: scale(1);
            border-width: 1px;
        }


        100% {
            transform: scale(1.3);
            border-width: 3px;
        }


    }





    /* =============================================


   ADMIN CONFIG âââ€š¬â€ SIDEBAR LAYOUT


   ============================================= */


    #adm-config {


        min-height: 700px;


    }





    .cfg-sidebar-menu {


        scrollbar-width: thin;


        scrollbar-color: rgba(255, 255, 255, 0.1) transparent;


    }


    .cfg-sidebar-menu::-webkit-scrollbar {
        width: 4px;
    }


    .cfg-sidebar-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 2px;
    }





    .cfg-sub-tab {


        display: flex;


        align-items: center;


        gap: 12px;


        width: 100%;


        padding: 11px 20px;


        background: transparent;


        border: none;


        border-radius: 0;


        color: rgba(255, 255, 255, 0.5);


        font-size: 0.82rem;


        font-weight: 500;


        text-align: left;


        justify-content: flex-start;


        transition: all 0.2s ease;


        position: relative;


        cursor: pointer;


        letter-spacing: 0.2px;


    }


    .cfg-sub-tab i {


        width: 18px;


        text-align: center;


        font-size: 0.9rem;


        opacity: 0.7;


        transition: opacity 0.2s;


    }


    .cfg-sub-tab:hover {


        background: rgba(255, 255, 255, 0.05);


        color: rgba(255, 255, 255, 0.85);


        transform: none;


    }


    .cfg-sub-tab:hover i {
        opacity: 1;
    }


    .cfg-sub-tab.active {


        background: rgba(59, 130, 246, 0.15);


        color: #fff;


        font-weight: 700;


        border-right: 3px solid var(--info);


    }


    .cfg-sub-tab.active i {


        opacity: 1;


        color: var(--info);


    }





    .cfg-content {


        animation: fadeInUp 0.25s ease;


    }





    /* =============================================


   EFEITO VISUAL: PUNIÃâ€¡ÃÃ†’O / ADVERTÃÃ… NCIA


   ============================================= */


    @keyframes punishFlash {


        0% {
            background: rgba(220, 38, 38, 0);
        }


        10% {
            background: rgba(220, 38, 38, 0.45);
        }


        20% {
            background: rgba(220, 38, 38, 0.1);
        }


        35% {
            background: rgba(220, 38, 38, 0.4);
        }


        50% {
            background: rgba(220, 38, 38, 0.08);
        }


        65% {
            background: rgba(220, 38, 38, 0.25);
        }


        80% {
            background: rgba(220, 38, 38, 0.05);
        }


        100% {
            background: rgba(220, 38, 38, 0);
        }


    }





    @keyframes punishModalIn {


        0% {
            opacity: 0;
            transform: scale(0.7) translateY(30px);
        }


        70% {
            transform: scale(1.03) translateY(-5px);
        }


        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }


    }





    @keyframes punishIconPulse {


        0% {
            box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4), 0 0 20px rgba(220, 38, 38, 0.3);
        }


        100% {
            box-shadow: 0 0 0 20px rgba(220, 38, 38, 0), 0 0 40px rgba(220, 38, 38, 0.6);
        }


    }








    /* Typing Dots Animation (Global) */


    .typing-dots {


        display: inline-flex;


        align-items: center;


        gap: 3px;


        margin-left: 5px;


    }





    .typing-dots span {


        width: 4px;


        height: 4px;


        background: var(--primary-color);


        border-radius: 50%;


        animation: typingBounce 1.4s infinite ease-in-out;


    }





    .typing-dots span:nth-child(1) {
        animation-delay: -0.32s;
    }


    .typing-dots span:nth-child(2) {
        animation-delay: -0.16s;
    }





    @keyframes typingBounce {


        0%,
        80%,
        100% {
            transform: scale(0);
            opacity: 0.3;
        }


        40% {
            transform: scale(1);
            opacity: 1;
        }


    }





    /* =============================================


   MOBILE RESPONSIVITY (v4.0 MOBILE ENGINE)


   ============================================= */





    @media (max-width: 1024px) {


        .dash-main-grid {


            grid-template-columns: 1fr 1fr !important;


        }


    }





    @media (max-width: 768px) {


        /* Layout Base */


        #dashboard-view {


            flex-direction: column;


        }





        .sidebar {


            position: fixed;


            top: 0;


            left: -280px;
            /* Escondido */


            width: 280px;


            height: 100vh;


            z-index: 10000;


            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);


            border-right: 1px solid var(--panel-border);


            box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);


        }





        .sidebar.mobile-active {


            transform: translateX(280px);


        }





        .sidebar-overlay {


            position: fixed;


            inset: 0;


            background: rgba(0, 0, 0, 0.7);


            backdrop-filter: blur(4px);


            z-index: 9998;


            display: none;
            /* ComeÃ§a escondido */


            animation: fadeIn 0.3s ease;


        }





        .sidebar-overlay.active {


            display: block !important;


        }





        .main-content {


            height: 100vh;


            width: 100vw;


        }





        .top-header {


            padding: 0 15px;


        }





        #btn-mobile-menu {


            display: flex !important;


        }





        /* --- OTIMIZAÃâ€¡ÃÃ†’O DO CHAT MOBILE --- */


        .chat-container {


            flex-direction: column;


            height: calc(100vh - 120px);


        }





        .chat-sidebar {


            width: 100% !important;


            height: 150px;


            border-right: none;


            border-bottom: 1px solid rgba(223, 184, 81, 0.2);


        }





        .chat-messages {


            padding: 10px;


        }





        .message {


            max-width: 90% !important;


        }





        .chat-input-area {


            padding: 10px;


        }





        .chat-input-area input {


            font-size: 16px;
            /* Evita zoom automÃ¡tico no iOS/Android */


        }





        /* --- OTIMIZAÃâ€¡ÃÃ†’O DO SIPAR / PRISÃ•ES --- */


        .sipar-grid,
        .form-grid {


            grid-template-columns: 1fr !important;


            gap: 15px;


        }





        .modal-content {


            width: 95% !important;


            padding: 15px;


            margin: 10px auto;


        }





        /* --- TABELAS RESPONSIVAS (MODO CARD) --- */


        .responsive-table thead {


            display: none;
            /* Esconde o cabeÃ§alho em telas muito pequenas */


        }





        .responsive-table tr {


            display: block;


            margin-bottom: 15px;


            border: 1px solid rgba(223, 184, 81, 0.3);


            border-radius: 8px;


            background: rgba(10, 12, 16, 0.5);


        }





        .responsive-table td {


            display: flex;


            justify-content: space-between;


            padding: 10px;


            text-align: right;


            border-bottom: 1px solid rgba(255, 255, 255, 0.05);


        }





        .responsive-table td::before {


            content: attr(data-label);


            font-weight: bold;


            color: #D4AF37;


            text-align: left;


        }





        .hide-mobile {


            display: none !important;


        }





        .content-area {


            padding: 15px;


        }





        /* Dashboard & Widgets */


        #dash-welcome-banner {


            flex-direction: column;


            text-align: center;


            gap: 20px;


            padding: 20px;


        }





        #dash-welcome-banner div {


            text-align: center !important;


            justify-content: center !important;


        }





        #dash-promo-bar {


            flex-direction: column;


            gap: 10px;


            text-align: center;


        }





        .stats-grid {


            grid-template-columns: 1fr !important;


        }





        .dash-main-grid {


            grid-template-columns: 1fr !important;


        }





        /* --- OTIMIZAÃâ€¡ÃÃ†’O DO CHAT MOBILE V2 --- */


        #panel-chat>div[style*="height: 600px"] {


            flex-direction: column !important;


            height: calc(100vh - 180px) !important;


            gap: 0 !important;


            display: flex !important;


        }





        .chat-container {


            flex: 1 !important;


            height: auto !important;


            display: flex !important;


            flex-direction: column !important;


            order: 1;


        }





        #chat-messages {


            flex: 1 !important;


            min-height: 300px !important;


        }





        /* Esconde a lista de online por padrÃ£o no mobile para priorizar o chat */


        .chat-container+.glass-panel {


            width: 100% !important;


            height: auto !important;


            order: 3;


            margin-top: 15px;


            max-height: 200px;


            overflow-y: auto;


        }





        .chat-input-area {


            padding: 10px !important;


            background: rgba(0, 0, 0, 0.2);


            order: 2;


        }





        #chat-input {


            font-size: 16px !important;


            height: 40px;


        }





        /* --- TABELAS PARA CARTÃ•ES NO MOBILE --- */


        .data-table,
        .data-table thead,
        .data-table tbody,
        .data-table th,
        .data-table td,
        .data-table tr {


            display: block !important;


        }





        .data-table thead {


            display: none !important;


        }





        .data-table tr {


            background: rgba(255, 255, 255, 0.03);


            border: 1px solid rgba(223, 184, 81, 0.2);


            border-radius: 10px;


            margin-bottom: 12px;


            padding: 10px;


        }





        .data-table td {


            display: flex;


            justify-content: space-between;


            align-items: center;


            padding: 8px 5px !important;


            border-bottom: 1px solid rgba(255, 255, 255, 0.05);


            text-align: right;


        }





        .data-table td::before {


            content: "âââ€š¬¢";


            font-weight: 800;


            color: var(--primary-color);


            margin-right: 10px;


        }





        /* --- FORMULÁRIOS E MODAIS --- */


        .input-group {


            width: 100% !important;


        }





        input,
        select,
        textarea {


            font-size: 16px !important;


        }





        .divisao-tabs {


            display: flex;


            overflow-x: auto;


            white-space: nowrap;


            padding: 10px !important;


            gap: 10px;


        }





        .div-tab-btn {


            flex: 0 0 auto;


            padding: 10px 15px !important;


        }





        /* --- GESTÃÃ†’O DE AGENTES MOBILE --- */


        #fun-agent-result>div {


            grid-template-columns: 1fr !important;


        }





        #fun-edit-foto {


            width: 100px !important;


            height: 100px !important;


            margin: 0 auto;


        }


    }





    /* Fix for very small screens */


    @media (max-width: 480px) {


        .login-header h1 {


            font-size: 1.4rem;


        }





        .breadcrumb {


            font-size: 1rem;


            white-space: nowrap;


            overflow: hidden;


            text-overflow: ellipsis;


            max-width: 120px;


        }





        .system-status span:last-child {


            display: none !important;


        }





        .panel-header {


            flex-direction: column !important;


            align-items: flex-start !important;


            gap: 15px !important;


        }





        .panel-header div {


            width: 100%;


            display: flex;


            flex-direction: column;


            gap: 10px;


        }





        .panel-header button {


            width: 100% !important;


        }


    }





    /* ============================================================


   DESIGN SYSTEM v3.2 - MODERN PREMIUM UI


   ============================================================ */





    /* Design de Cartões Premium */


    .glass-panel {


        background: var(--panel-bg);


        border: 1px solid rgba(255, 255, 255, 0.05);


        border-radius: 12px;


        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);


        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;


    }





    .glass-panel:hover {


        transform: translateY(-4px);


        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);


        border-color: rgba(223, 184, 81, 0.2);


    }





    /* Tipografia Distinta */


    .stat-card h3 {


        font-size: 0.75rem !important;


        text-transform: uppercase;


        letter-spacing: 1.5px;


        color: var(--text-muted) !important;


        margin-bottom: 12px !important;


        font-weight: 800 !important;


    }





    .stat-card .animated-counter {


        font-size: 2.5rem !important;


        font-weight: 900 !important;


        color: #fff !important;


        display: block;


        margin-top: 5px;


        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);


    }





    /* Ícones Vibrantes */


    .stat-card .card-icon-bg {


        position: absolute;


        top: 15px;


        right: 15px;


        font-size: 2.8rem;


        opacity: 0.15;


        transition: transform 0.3s ease, opacity 0.3s ease;


    }





    .stat-card:hover .card-icon-bg {


        transform: scale(1.1) rotate(5deg);


        opacity: 0.25;


    }





    /* Radar Pulsante para Estados Vazios */


    .radar-container {


        display: flex;


        flex-direction: column;


        align-items: center;


        justify-content: center;


        padding: 30px;


        text-align: center;


        color: var(--text-muted);


    }





    .radar-circle {


        width: 60px;


        height: 60px;


        border-radius: 50%;


        background: rgba(59, 130, 246, 0.1);


        border: 2px solid var(--info);


        display: flex;


        align-items: center;


        justify-content: center;


        margin-bottom: 15px;


        position: relative;


    }





    .radar-circle::after {


        content: " \;


            position: absolute;


        width: 100%;


        height: 100%;


        border-radius: 50%;


        border: 2px solid var(--info);


        animation: radarPulse 2s infinite;


    }





    @keyframes radarPulse {


        0% {
            transform: scale(1);
            opacity: 0.8;
        }


        100% {
            transform: scale(2.5);
            opacity: 0;
        }


    }





    /* Progress Bars de Ranking */


    .rank-progress-container {


        width: 100%;


        height: 6px;


        background: rgba(255, 255, 255, 0.05);


        border-radius: 10px;


        margin-top: 8px;


        overflow: hidden;


    }





    .rank-progress-fill {


        height: 100%;


        border-radius: 10px;


        transition: width 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);


    }





    @keyframes heartbeat {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.3);
        }

        100% {
            transform: scale(1);
        }
    }

    .heart-beating {
        animation: heartbeat 1s infinite;
        color: #ff3333;
    }

    .heart-dead {
        color: #666;
        transform: scale(0.9);
    }





    /* =============================================


   SIDEBAR RETRÁTIL (SMART MENU)


   ============================================= */


    .sidebar {


        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);


        overflow-x: hidden;


        flex-shrink: 0;


    }





    .sidebar.collapsed {


        width: 0px !important;


        padding: 0 !important;


        margin: 0 !important;


        border: none !important;


        opacity: 0;


        pointer-events: none;


    }





    /* Esconder elementos ao colapsar */


    .sidebar.collapsed .sidebar-logo-text,


    .sidebar.collapsed .user-info,


    .sidebar.collapsed .sidebar-xp-section,


    .sidebar.collapsed .nav-links span,


    .sidebar.collapsed .nav-section-title,


    .sidebar.collapsed .sidebar-footer button span,


    .sidebar.collapsed .sidebar-footer .btn-text,


    .sidebar.collapsed #nexus-version-badge,


    .sidebar.collapsed .sidebar-search-container {


        display: none !important;


    }





    /* Ajustes visuais no modo reduzido */


    .sidebar.collapsed .nav-links a {


        justify-content: center;


        padding: 15px;


        border-left: none;


    }





    .sidebar.collapsed .nav-links i {


        font-size: 1.25rem;


        margin: 0;


    }





    .sidebar.collapsed .user-profile {


        justify-content: center;


        padding: 15px 5px;


    }





    .sidebar.collapsed .sidebar-header {


        justify-content: center !important;


        padding: 20px 10px;


    }





    .sidebar.collapsed .sidebar-header div {


        gap: 0 !important;


    }





    .sidebar-toggle {


        background: rgba(255, 255, 255, 0.03);


        border: 1px solid rgba(255, 255, 255, 0.05);


        color: var(--text-muted);


        width: 32px;


        height: 32px;


        border-radius: 6px;


        display: flex;


        align-items: center;


        justify-content: center;


        cursor: pointer;


        transition: var(--transition);


    }





    .sidebar-toggle:hover {


        background: var(--primary-color);


        color: #000;


    }





    /* Badge fix no modo colapsado */


    .sidebar.collapsed .badge-pill {


        position: absolute;


        top: 5px;


        right: 5px;


        font-size: 0.6rem;


        padding: 2px 5px;


    }





    .sidebar.collapsed .nav-links li {


        position: relative;


    }








    /* ============================================================ */


    /* NEXUS RADIO UI (AGORA.IO)                                    */


    /* ============================================================ */


    #radio-container {


        position: fixed;


        bottom: 30px;


        right: 20px;


        width: 280px;


        min-height: 100px;


        height: auto;


        z-index: 11000;


        padding: 0;


        display: flex;


        flex-direction: column;





        /* Glassmorphism V4 - Premium Floating Window */


        background: rgba(15, 18, 25, 0.9);


        backdrop-filter: blur(20px) saturate(180%);


        -webkit-backdrop-filter: blur(20px) saturate(180%);


        border: 1px solid rgba(255, 255, 255, 0.12);


        border-radius: 18px;


        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(223, 184, 81, 0.05);





        animation: slideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;


        cursor: default;


    }





    #radio-container .radio-header {


        cursor: move;
        /* Indica que pode ser arrastado */


        padding: 12px 15px;


        border-bottom: 1px solid rgba(255, 255, 255, 0.05);


    }





    /* Animated Border Effect */


    #radio-container::before {


        content: '';


        position: absolute;


        inset: 0;


        border-radius: 16px;


        padding: 1.5px;
        /* Border thickness */


        background: linear-gradient(135deg,


                rgba(223, 184, 81, 0) 0%,


                rgba(223, 184, 81, 0.4) 50%,


                rgba(223, 184, 81, 0) 100%);


        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);


        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);


        -webkit-mask-composite: xor;


        mask-composite: exclude;


        z-index: -1;


        pointer-events: none;


        background-size: 200% 200%;


        animation: borderGradientMove 4s linear infinite;


    }





    @keyframes borderGradientMove {


        0% {
            background-position: 0% 50%;
        }


        50% {
            background-position: 100% 50%;
        }


        100% {
            background-position: 0% 50%;
        }


    }





    /* Glass Shine Effect */


    #radio-container::after {


        content: '';


        position: absolute;


        top: 0;


        left: -150%;


        width: 100%;


        height: 100%;


        background: linear-gradient(90deg,


                transparent,


                rgba(255, 255, 255, 0.05),


                transparent);


        transform: skewX(-20deg);


        animation: glassShine 8s infinite;


        pointer-events: none;


    }





    @keyframes glassShine {


        0% {
            left: -150%;
        }


        20% {
            left: 150%;
        }


        100% {
            left: 150%;
        }


    }





    #radio-container.minimized {


        width: 200px;


        height: 44px;


    }





    #radio-container.minimized .radio-body,


    #radio-container.minimized .radio-controls,


    #radio-container.minimized #radio-speakers-list {


        display: none;


    }





    .radio-header {


        background: rgba(0, 0, 0, 0.5);


        padding: 12px 18px;


        display: flex;


        justify-content: space-between;


        align-items: center;


        border-bottom: 1px solid rgba(255, 255, 255, 0.08);


        cursor: move;


        user-select: none;


    }





    .radio-header button {


        background: none;


        border: none;


        color: var(--text-muted);


        font-size: 0.8rem;


        padding: 5px;


    }





    .radio-header button:hover {


        color: var(--primary-color);


    }





    .radio-pulse {


        width: 10px;


        height: 10px;


        background: var(--danger);


        border-radius: 50%;


        position: relative;


    }





    .radio-pulse::after {


        content: '';


        position: absolute;


        top: 0;
        left: 0;


        width: 100%;
        height: 100%;


        border-radius: 50%;


        background: var(--danger);


        opacity: 0.5;


        animation: pulseTrans 1.5s infinite;


    }





    @keyframes pulseTrans {


        0% {
            transform: scale(1);
            opacity: 0.5;
        }


        100% {
            transform: scale(2.5);
            opacity: 0;
        }


    }





    .radio-body {


        padding: 15px;


        background: radial-gradient(circle at center, rgba(223, 184, 81, 0.05) 0%, transparent 80%);


    }





    .radio-section-title {


        padding: 8px 15px;


        font-size: 0.55rem;


        font-weight: 900;


        color: var(--primary-color);


        letter-spacing: 1px;


        background: rgba(0, 0, 0, 0.3);


        border-top: 1px solid rgba(255, 255, 255, 0.05);


        border-bottom: 1px solid rgba(255, 255, 255, 0.05);


    }





    .radio-users-list {


        max-height: 120px;


        overflow-y: auto;


        padding: 5px 0;


    }





    .radio-user-item {


        padding: 8px 15px;


        font-size: 0.7rem;


        display: flex;


        align-items: center;


        gap: 10px;


        color: #fff;


        border-bottom: 1px solid rgba(255, 255, 255, 0.03);


        transition: background 0.2s;


    }





    .radio-user-item:hover {


        background: rgba(255, 255, 255, 0.02);


    }





    .radio-user-avatar {


        width: 32px;


        height: 32px;


        border-radius: 6px;


        object-fit: cover;


        border: 1px solid rgba(255, 255, 255, 0.1);


    }





    .radio-user-details {


        flex: 1;


        display: flex;


        flex-direction: column;


    }





    .radio-user-name {


        font-weight: 700;


        font-size: 0.75rem;


    }





    .radio-user-rank {


        font-size: 0.55rem;


        color: var(--text-muted);


        text-transform: uppercase;


        font-weight: 800;


    }





    .radio-user-actions {


        display: flex;


        gap: 5px;


    }





    .radio-action-btn {


        width: 24px;


        height: 24px;


        border-radius: 4px;


        border: 1px solid rgba(255, 255, 255, 0.1);


        background: rgba(0, 0, 0, 0.3);


        color: var(--text-muted);


        display: flex;


        align-items: center;


        justify-content: center;


        font-size: 0.65rem;


        cursor: pointer;


        transition: all 0.2s;


    }





    .radio-action-btn:hover {


        background: var(--primary-color);


        color: #000;


        border-color: var(--primary-color);


    }





    .radio-action-btn.btn-kick:hover {


        background: var(--danger);


        color: #fff;


        border-color: var(--danger);


    }





    .radio-user-item i.status-dot {


        font-size: 0.4rem;


        color: #4CAF50;


    }





    .radio-frequency {


        text-align: center;


        margin-bottom: 15px;


        background: rgba(0, 0, 0, 0.4);


        padding: 12px;


        border-radius: 8px;


        border: 1px solid rgba(255, 255, 255, 0.03);


        display: flex;


        flex-direction: column;


    }





    #radio-channel-name {


        color: var(--primary-color);


        font-weight: 900;


        font-size: 0.95rem;


        letter-spacing: 1px;


    }





    #radio-hz {


        font-family: 'Courier New', Courier, monospace;


        font-size: 0.7rem;


        color: var(--text-muted);


        margin-top: 4px;


    }





    #radio-visualizer {


        display: flex;


        justify-content: center;


        align-items: center;


        gap: 3px;


        height: 50px;


        margin-bottom: 20px;


        background: rgba(0, 0, 0, 0.2);


        border-radius: 12px;


        padding: 0 10px;


    }





    .vis-bar {


        width: 5px;


        height: 8px;


        background: linear-gradient(to top, var(--primary-color), #fff);


        border-radius: 4px;


        opacity: 0.2;


        transition: height 0.08s ease, opacity 0.1s ease, box-shadow 0.1s ease;


        box-shadow: 0 0 5px rgba(223, 184, 81, 0);


    }





    #radio-visualizer.active .vis-bar {


        opacity: 0.8;


        box-shadow: 0 0 10px rgba(223, 184, 81, 0.4);


    }





    .vis-bar:nth-child(2) {
        animation-delay: 0.1s;
    }


    .vis-bar:nth-child(3) {
        animation-delay: 0.2s;
    }


    .vis-bar:nth-child(4) {
        animation-delay: 0.15s;
    }


    .vis-bar:nth-child(5) {
        animation-delay: 0.05s;
    }





    #radio-speaker-info {


        text-align: left;


        font-size: 0.7rem;


        color: var(--text-muted);


        font-weight: 700;


        display: flex;


        flex-direction: row;


        align-items: center;


        gap: 12px;


        padding: 10px 15px;


        background: rgba(255, 255, 255, 0.03);


        border-radius: 12px;


        margin: 0 10px 10px 10px;


    }





    #radio-user-photo {


        width: 38px !important;


        height: 38px !important;


        min-width: 38px !important;


        min-height: 38px !important;


        border-radius: 8px !important;


        border: 1.5px solid var(--primary-color) !important;


    }





    #radio-operator-label {


        font-size: 0.5rem !important;


        letter-spacing: 0.5px !important;


    }





    #radio-user-identity {


        font-size: 0.75rem !important;


    }





    .radio-controls {


        padding: 15px;


        background: rgba(0, 0, 0, 0.3);


        display: flex;


        align-items: center;


        gap: 15px;


    }





    .radio-btn-round {


        width: 44px;


        height: 44px;


        border-radius: 50%;


        background: rgba(223, 184, 81, 0.1);


        border: 1px solid var(--primary-color);


        color: var(--primary-color);


        display: flex;


        align-items: center;


        justify-content: center;


        font-size: 1.1rem;


        transition: all 0.2s;


    }





    .radio-btn-round:hover {


        background: var(--primary-color);


        color: #000;


        transform: scale(1.05);


    }





    .radio-btn-round.muted {


        border-color: var(--danger);


        color: var(--danger);


        background: rgba(239, 68, 68, 0.1);


    }





    .radio-slider {


        -webkit-appearance: none;


        width: 100%;


        height: 4px;


        background: rgba(255, 255, 255, 0.1);


        border-radius: 2px;


        outline: none;


    }





    .radio-slider::-webkit-slider-thumb {


        -webkit-appearance: none;


        width: 12px;


        height: 12px;


        border-radius: 50%;


        background: var(--primary-color);


        cursor: pointer;


        box-shadow: 0 0 10px var(--primary-glow);


    }





    #radio-speakers-list {


        max-height: 100px;


        overflow-y: auto;


        padding: 0 15px 15px 15px;


        display: flex;


        flex-direction: column;


        gap: 5px;


    }





    .speaking-agent {


        font-size: 0.65rem;


        background: rgba(16, 185, 129, 0.1);


        color: var(--success);


        padding: 4px 8px;


        border-radius: 4px;


        border: 1px solid rgba(16, 185, 129, 0.2);


        display: flex;


        align-items: center;


        gap: 5px;


        animation: fadeIn 0.3s ease;


    }





    @keyframes slideInRight {


        from {
            opacity: 0;
            transform: translateX(50px);
        }


        to {
            opacity: 1;
            transform: translateX(0);
        }


    }





    /* DASHBOARD PREMIUM POLISH */


    #dash-welcome-banner {


        background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(30, 41, 59, 0.4) 100%);


        backdrop-filter: blur(20px);


        border: 1px solid rgba(212, 175, 55, 0.2);


        border-radius: 18px;


        padding: 30px 40px;


        display: flex;


        justify-content: space-between;


        align-items: center;


        margin-bottom: 25px;


        position: relative;


        overflow: hidden;


        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.02);


    }





    #dash-welcome-banner::after {


        content: '';


        position: absolute;


        top: -50%;


        right: -10%;


        width: 300px;


        height: 300px;


        background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);


        pointer-events: none;


    }





    #dash-greeting {


        font-size: 2rem !important;


        font-weight: 800 !important;


        letter-spacing: -0.5px;


        color: var(--text-main) !important;


    }





    #dash-clock {


        font-size: 2.5rem !important;


        font-weight: 900 !important;


        color: #fff !important;


        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);


        animation: clockPulse 2s ease-in-out infinite;


    }





    @keyframes clockPulse {


        0%,
        100% {
            opacity: 1;
        }


        50% {
            opacity: 0.8;
        }


    }





    #global-announcement-container .announcement-banner {


        background: rgba(212, 175, 55, 0.1);


        backdrop-filter: blur(15px);


        border: 1px solid rgba(212, 175, 55, 0.3);


        border-left: 5px solid var(--primary-color);


        border-radius: 12px;


        padding: 15px 20px;


        margin-bottom: 20px;


        display: flex;


        align-items: center;


        gap: 15px;


        animation: slideInDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);


        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);


    }





    #global-announcement-container .announcement-banner i {


        font-size: 1.5rem;


        color: var(--primary-color);


        animation: pulse 2s infinite;


    }





    #global-announcement-container .announcement-banner .title {


        font-size: 0.7rem;


        font-weight: 900;


        text-transform: uppercase;


        letter-spacing: 2px;


        color: var(--primary-color);


        margin-bottom: 3px;


    }





    #global-announcement-container .announcement-banner .message {


        font-size: 0.9rem;


        color: var(--text-main);


        font-weight: 600;


    }





    #dash-promo-bar {


        padding: 22px 30px;


        margin-bottom: 25px;


        border-radius: 16px;


        background: rgba(255, 255, 255, 0.02);


        border: 1px solid rgba(255, 255, 255, 0.04);


    }





    .xp-bar-container {


        height: 12px;


        background: rgba(0, 0, 0, 0.3);


        border-radius: 20px;


        overflow: hidden;


        border: 1px solid rgba(255, 255, 255, 0.05);


        margin: 10px 0;


    }





    .xp-bar-fill {


        height: 100%;


        /* background: linear-gradient(90deg, var(--primary-color), var(--success)); */


        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);


        transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);


    }

    /* ========= HIERARQUIA BACKGROUND ========= */
    #hierarquia-tree {
        background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 70%),
                    url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 20px;
        padding: 40px 20px;
        position: relative;
    }

    #hierarquia-tree::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('logo-brasil.png') no-repeat center center;
        background-size: 400px;
        opacity: 0.03;
        pointer-events: none;
        filter: grayscale(1) brightness(2);
    }


    /* ========= AUSENCIA BADGE ANIMATION ========= */
    @keyframes absence-pulse {
        0% { box-shadow: 0 0 5px rgba(249, 115, 22, 0.2); }
        50% { box-shadow: 0 0 15px rgba(249, 115, 22, 0.5); }
        100% { box-shadow: 0 0 5px rgba(249, 115, 22, 0.2); }
    }

    #my-ausencia-badge, #pub-ausencia-badge {
        animation: absence-pulse 2s infinite ease-in-out;
    }
