/* Variáveis globais */
:root {
    --primary-color: #1a4b84;
    --secondary-color: #e6b54c;
    --dark-color: #0a2744;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header */
.main-header {
    background-color: var(--primary-color);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1030;
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-width: 125px;
    height: auto;
    margin-bottom: 15px !important;
    margin-top: 0px;
    border-radius: 25px;       /* ajuste o valor conforme o raio desejado */
    overflow: hidden;          /* garante que a imagem não “vaze” nos cantos */
     box-shadow: 0 6px 10px rgba(0, 0, 0, 0.6);
}

/* título moderno com gradiente */
.brand-title {
    font-family: "Poppins", sans-serif;   /* fonte limpa */
    font-size: 1.5rem;                    /* ajuste se precisar */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;

    /* gradiente animado */
    background: linear-gradient(90deg, #00c9ff, #92fe9d, #00c9ff);
    background-size: 200% auto;          /* largura dupla para a animação */
    animation: gradientMove 6s linear infinite;

    /* gradiente visível no texto */
    -webkit-background-clip: text;       /* Safari/Chrome */
    background-clip: text;               /* padrão → remove aviso do VS Code */
    -webkit-text-fill-color: transparent;

    /* profundidade leve */
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
/* keyframes para deslocar o gradiente */
@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    100% { background-position: -200% 50%; }
}

.brand-logo {
    display: flex
;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    height: 100%;
    overflow: hidden;
}

.brand-logo img {
    height: 60px;
    margin-right: 10px;
    max-height: 120px;
    width: auto;
    margin-left: 0px;
    margin-top: 0px;
}

/* novo bloco – coloca logo abaixo */
@media (max-width: 640px) {   /* ajuste o valor se usa outro breakpoint */
  .brand-heading {
    display: none !important; /* força a ocultação em celulares */
  }
}

/* título com gradiente claro animado */
.brand-heading {
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;               /* mais grosso */
    text-transform: uppercase;
    letter-spacing: 0.06em;

    background: linear-gradient(
        90deg,
        #ffffff,
        #918919,
        #ffffff
    );
    background-size: 300% auto;     /* área maior para animação */
    animation: gradientLight 8s linear infinite;

    -webkit-background-clip: text;  /* Safari/Chrome */
    background-clip: text;          /* padrão – evita alerta VSCode */
    -webkit-text-fill-color: transparent;

    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);  /* leve contraste */
}

/* desloca o gradiente para dar efeito de “brilho” contínuo */
@keyframes gradientLight {
    0%   { background-position: 0% 50%; }
    100% { background-position: -300% 50%; }
}

/* alinhamento do link (caso ainda não tenha) */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}


.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.user-panel {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-image {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
    max-width: 100%;
    max-height: 100%;
}

.user-info {
    color: white;
    font-size: 0.9rem;
}

.user-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 200px;
    display: none;
    z-index: 1040;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    transition: background-color var(--transition-speed);
}

.user-dropdown-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
}

.user-dropdown-item i {
    margin-right: 10px;
    color: var(--primary-color);
}

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 200px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1020;
    transition: all var(--transition-speed);
    overflow-y: auto;
}

.nav-sidebar {
    padding: 0;
    list-style: none;
    margin: 0;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #0b2c69;
    text-decoration: none;
    transition: all var(--transition-speed);
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-link.active {
    background-color: #f8f9fa;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.nav-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    font-size: 16px;
}

/* Conteúdo principal */
.content-wrapper {
    margin-left: 200px;
    margin-top: 60px;
    padding: 20px;
    min-height: calc(100vh - 60px);
    transition: all var(--transition-speed);
}

body.sidebar-collapsed .sidebar {
    width: 60px;
    overflow-x: hidden;
}

body.sidebar-collapsed .sidebar .nav-link span {
    display: none;
}

body.sidebar-collapsed .content-wrapper {
    margin-left: 60px;
}

body.sidebar-collapsed .sidebar .nav-link {
    justify-content: center;      /* alinha horizontalmente */
    padding: 12px 0 !important;   /* reduz o padding lateral */
  }

  body.sidebar-collapsed .sidebar .nav-link i {
    margin: 0 !important;         /* remove qualquer margem extra */
    display: block;               /* garante que ocupe largura total */
    text-align: center;           /* centraliza o ícone no bloco */
  }

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
    }

    .content-wrapper {
        margin-left: 0 !important;
        padding: 10px;
    }

    body.sidebar-mobile-open .sidebar {
        transform: translateX(0);
        box-shadow: 0 0 15px rgba(0,0,0,0.2);
        width: 180px;
    }

    body.sidebar-mobile-open .sidebar .nav-link span {
        display: inline-block;
    }

    body.sidebar-mobile-open .sidebar .nav-link i {
        margin-right: 10px;
    }

    body.sidebar-mobile-open .sidebar-overlay {
        display: block;
    }
}

/* Overlay para mobile */
.sidebar-overlay {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1015;
    display: none;
}

/* Divisor */
.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    overflow: hidden;
    background-color: #e9ecef;
}
.sidebar-toggle-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color var(--transition-speed);
}

.sidebar-toggle-btn:hover {
    background-color: rgba(255, 255, 255, 0.432);
}

/* Estilos para a página meta_vendas.php */

/* Badges de nível */
.nivel-badge {
    font-size: 0.9rem;
    padding: 0.5rem;
}

/* Barras de progresso */
.progress-bar-container {
    height: 25px;
    margin-top: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    text-align: center;
    line-height: 25px;
    color: white;
    transition: width 0.6s ease;
}

/* Contêiner do gráfico */
.chart-container {
    position: relative;
    height: 350px;
    margin-bottom: 20px;
}

/* Título tecnológico */
.title-tech {
    background: linear-gradient(135deg, #1e5799 0%,#2989d8 50%,#207cca 51%,#7db9e8 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.title-tech h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.title-tech p {
    margin: 10px 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.title-tech .icon-overlay {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.2;
    z-index: 1;
}

.title-tech .circuit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/meta_vendas/circuit-pattern.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.title-tech .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.title-tech .particle {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background-color: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: float 3s infinite ease-in-out;
}

/* Cabeçalhos de cards com melhor contraste */
.card-header-vendas {
    background: linear-gradient(to right, #343a40, #495057);
    color: white;
    padding: 15px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-weight: 600;
}

.card-header-vendas h5 {
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.card-header-vendas i {
    margin-right: 8px;
    color: #ffc107;
}

/* Animação para partículas flutuantes */
@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 1; }
    50% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
    100% { transform: translateY(0) translateX(0); opacity: 1; }
}

/* Estilos para cards com sombras */
.card-vendas {
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-vendas:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.sp-replacer {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    background: white;
}
.sp-preview {
    width: 30px;
    height: 30px;
    border: none;
}
.sp-dd {
    padding: 2px 0;
    height: 16px;
    line-height: 16px;
    font-size: 10px;
}
/* Estilo para a amostra de cor */
.color-sample {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    margin-top: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}
/* Estilo para o switch de ativo/inativo */
.toggle-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.toggle-label {
    cursor: pointer;
    display: inline-block;
    position: relative;
    width: 60px;
    height: 30px;
    background-color: #ccc;
    border-radius: 15px;
    transition: all 0.3s;
}
.toggle-label:after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: white;
    top: 2px;
    left: 2px;
    transition: all 0.3s;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #28a745;
}
.toggle-checkbox:checked + .toggle-label:after {
    left: 32px;
}

/* Estilos para o formulário */
.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.card-header {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
    font-weight: 500;
}
.form-group {
    margin-bottom: 1rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-success:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}
.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}

/* Estilos adicionais para o color picker */
.sp-container {
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.sp-palette-container {
    border-right: 1px solid #f0f0f0;
}
.sp-palette .sp-thumb-el {
    border: 2px solid transparent;
    border-radius: 4px;
}
.sp-palette .sp-thumb-el:hover, 
.sp-palette .sp-thumb-el.sp-thumb-active {
    border-color: #0056b3;
}
.sp-picker-container {
    border-left: none;
}

/* Esconder completamente o campo de entrada de texto */
.sp-input-container {
    display: none !important;
}

.sp-replacer.sp-light{
    margin: 0;
    overflow: hidden;
    cursor: pointer;
    padding: 4px;
    display: inline-block;
    border: solid 1px #91765d;
    background: #eee;
    color: #333;
    vertical-align: top;
}

.fc-direction-ltr .fc-daygrid-event.fc-event-end{
    margin-right: 2px;
    border-color: white !important;
}

  .month-selector .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .month-selector select {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-weight: 500;
  }
  
  .card-data {
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .card-data:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  #mesCards {
    min-width: 200px;
  }

/* Estilos para badges de níveis de instrutores*/
.badge-nivel {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    margin-top: 5px;
}

/* Cores para cada nível - serão aplicadas dinamicamente */
.badge-nivel-recon {
    color: #fff;
    background-color: #6c757d;
}

.badge-nivel-operador {
    color: #fff;
    background-color: #28a745;
}

.badge-nivel-comandante {
    color: #fff;
    background-color: #007bff;
}

.badge-nivel-comandante-ii {
    color: #fff;
    background-color: #dc3545;
}

    /* Estilos para os níveis de instrutores */
        .nivel-badge {
            display: inline-flex;
            align-items: center;
            padding: 3px 8px;
            border-radius: 12px;
            color: white;
            font-size: 0.85rem;
            margin-top: 5px;
            margin-bottom: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        .nivel-badge i {
            margin-right: 5px;
            font-size: 0.9em;
        }
        
        /* Estilo para o seletor de cores */
        .color-picker-wrapper {
            position: relative;
            overflow: hidden;
            height: calc(1.5em + 0.75rem + 2px);
            border-radius: 0.25rem;
        }
        
        .color-picker {
            position: absolute;
            top: -5px;
            left: -5px;
            width: 120%;
            height: 120%;
            cursor: pointer;
        }
        
        /* Estilo para campos de entrada monetária */
        .money-mask {
            text-align: right;
        }
        
        /* Estilo para os cards de equipe */
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.75rem 1.25rem;
        }
        
        .card-header .header-title {
            display: flex;
            align-items: center;
            font-weight: 500;
        }

        .mb-2 {
            margin-bottom: -0.0rem !important;
        }
        
        /* Estilo para ícones circulares */
        .icon-circle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 12px;
            color: white;
            transition: all 0.3s ease;
        }
        
        /* Badge estilizado */
        .badge.rounded-pill {
            padding: 0.35em 0.65em;
            border-radius: 50rem;
        }
        
        /* Botão de ação circular */
        .btn-circle {
            width: 32px;
            height: 32px;
            padding: 6px 0;
            border-radius: 50%;
            text-align: center;
            font-size: 12px;
            line-height: 1.42;
            margin-left: 5px;
            transition: all 0.2s ease;
        }
        
        .btn-circle:hover {
            transform: scale(1.1);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        
        /* Estilo para o seletor de cores */
        .pickr {
            width: 100%;
            margin-top: 0.5rem;
        }
        
        /* Prévia dos ícones */
        .icone-preview {
            margin-right: 10px;
            width: 20px;
            display: inline-block;
            text-align: center;
        }
        
        /* Ações na lista de membros */
        .acoes-membro {
            opacity: 0.7;
            transition: opacity 0.2s ease;
        }
        
        .acoes-membro:hover {
            opacity: 1;
        }
        
        .acoes-membro .btn-circle {
            width: 28px;
            height: 28px;
            font-size: 11px;
        }
        
        /* Destaque para o título */
        .circuit-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.1;
            background-image: 
                linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
                linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
                linear-gradient(30deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
                linear-gradient(150deg, #ffffff 12%, transparent 12.5%, transparent 87%, #ffffff 87.5%, #ffffff),
                linear-gradient(60deg, #ffffff 25%, transparent 25.5%, transparent 75%, #ffffff 75%, #ffffff),
                linear-gradient(60deg, #ffffff 25%, transparent 25.5%, transparent 75%, #ffffff 75%, #ffffff);
            background-size: 40px 70px;
            background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
        }
        
        .particles .particle {
            position: absolute;
            width: 3px;
            height: 3px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
        }
        
        .icon-overlay {
            position: absolute;
            right: 25px;
            bottom: 10px;
            font-size: 5rem;
            opacity: 0.15;
        }

 /* PERSONALIZAÇÃO PÁGINA DETALHES INSTRUTOR -------------------------------------------------------------------------------------------------------------*/
    .nav-link:hover {
        color:#0a2744;
    }
    
    .nav-tabs .nav-link {
        border-radius: 0;
        border-top: 3px solid transparent;
        font-weight: 400;
    }

        /* coloque no seu estilo global (ex: /includes/css/estilo.css) */
        .title-tech .circuit-bg,
        .title-tech .particles,
        .title-tech .icon-overlay {
            pointer-events: none;       /* <—  impede que recebam cliques */
        }
        /* Estilos para elementos específicos desta página */
        .title-tech {
            position: relative;
            overflow: hidden;
        }
        
        .circuit-bg {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
            z-index: 0;
        }
        
        .particles .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            animation: particle-float 15s infinite linear;
        }
        
        @keyframes particle-float {
            0% { transform: translateY(0) translateX(0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(-30px) translateX(30px); opacity: 0; }
        }
        
        .icon-overlay {
            position: absolute;
            right: 30px;
            bottom: 10px;
            font-size: 5rem;
            opacity: 0.1;
            transform: rotate(-10deg);
        }
        
        .nivel-badge {
            display: inline-flex;
            align-items: center;
            padding: 0.35em 0.65em;
            font-size: 0.75em;
            font-weight: 700;
            line-height: 1;
            text-align: center;
            white-space: nowrap;
            vertical-align: baseline;
            border-radius: 0.25rem;
            color: #fff;
            margin-right: 5px;
        }
        
        .nivel-badge i {
            margin-right: 5px;
        }
        
        /* Design militar para cards */
        .military-card {
            border: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }
        
        .military-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(to right, #27ae60, #2ecc71);
        }
        
        .military-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }
        
        .military-card .card-header {
            background-color: #2c3e50;
            color: white;
            font-weight: bold;
            border-bottom: 2px solid #27ae60;
        }
        
        .military-card .card-body {
            background-color: #f9f9f9;
        }
        
        /* Barras de progresso personalizadas */
        .skill-progress {
            height: 10px;
            background-color: #e9ecef;
            border-radius: 5px;
            margin-bottom: 1rem;
            overflow: hidden;
            position: relative;
        }
        
        .skill-progress .progress-bar {
            border-radius: 5px;
            position: relative;
            overflow: hidden;
            transition: width 1s ease;
        }
        
        .skill-progress .progress-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: linear-gradient(
                -45deg, 
                rgba(255, 255, 255, 0.2) 25%, 
                transparent 25%, 
                transparent 50%, 
                rgba(255, 255, 255, 0.2) 50%, 
                rgba(255, 255, 255, 0.2) 75%, 
                transparent 75%, 
                transparent
            );
            background-size: 50px 50px;
            animation: progress-animation 2s linear infinite;
            z-index: 1;
        }
        
        @keyframes progress-animation {
            0% {
                background-position: 0 0;
            }
            100% {
                background-position: 50px 0;
            }
        }
        
        /* Estilo para abas */
        
        
        .nav-tabs .nav-link.active {
            border-top: 3px solid #27ae60;
        }
        
        .nav-tabs .nav-link i {
            margin-right: 5px;
        }
        
        /* Estilo para ícones nos selects */
        .competencia-select {
            padding-left: 2.5rem;
            background-position: 10px center;
            background-repeat: no-repeat;
            background-size: 18px;
        }
        
        /* Canvas do gráfico radar */
        #radar-container {
            position: relative;
            height: 350px;
            margin-bottom: 20px;
        }
        
        /* Drones flutuantes */
        .floating-drone {
            position: absolute;
            font-size: 20px;
            animation: float 6s ease-in-out infinite;
            color: rgba(0, 0, 0, 0.15);
        }
        
        .floating-drone:nth-child(1) {
            top: 10%;
            right: 10%;
            animation-delay: 0s;
        }
        
        .floating-drone:nth-child(2) {
            top: 30%;
            left: 15%;
            animation-delay: 2s;
        }
        
        .floating-drone:nth-child(3) {
            bottom: 20%;
            right: 20%;
            animation-delay: 4s;
        }
        
        @keyframes float {
            0% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-15px) rotate(5deg);
            }
            100% {
                transform: translateY(0px) rotate(0deg);
            }
        }
        
        /* Estilo para o valor e porcentagem */
        .value-display {
            position: relative;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 10px;
            text-align: center;
            transition: all 0.3s;
            overflow: hidden;
        }
        
        .value-display::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            height: 4px;
            width: 100%;
            background: linear-gradient(to right, #27ae60, #2ecc71);
        }
        
        .value-display:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .value-display .display-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #2c3e50;
        }
        
        /* Criei classes específicas para estilização militar */
        .military-box {
            border: 1px solid #516071;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #1b2835 0%, #2c3e50 100%);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        
        .military-box-header {
            background: linear-gradient(90deg, #27ae60 0%, #2ecc71 100%);
            color: white;
            padding: 10px 15px;
            position: relative;
            z-index: 2;
        }
        
        .military-box-body {
            padding: 15px;
            position: relative;
            z-index: 2;
        }
        
        .military-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"%3E%3Cg fill="rgba(255, 255, 255, 0.05)"%3E%3Cpolygon points="0,0 20,0 20,20" /%3E%3C/g%3E%3C/svg%3E');
            background-size: 10px 10px;
            opacity: 0.3;
            z-index: 1;
        }
      
       /* CSS PARA PÁGINA DAS PROMISSÓRIAS --------------------------------------------------------------------------------------------------------------------------------*/
        .title-tech .particle {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            width: 8px;
            height: 8px;
        }
        .card-actions {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
         /* Badges arredondados */
         .badge-pill {
            border-radius: 20px;
            padding-left: 12px;
            padding-right: 12px;
            font-weight: 500;
        }
         /* Estilos específicos para esta página */
         .dashboard-card {
            transition: all 0.3s ease;
            border-left: 4px solid;
        }
        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .dashboard-card.border-success {
            border-left-color: #28a745;
        }
        .dashboard-card.border-danger {
            border-left-color: #dc3545;
        }
        .dashboard-card.border-info {
            border-left-color: #17a2b8;
        }
        .dashboard-card.border-warning {
            border-left-color: #ffc107;
        }
        .dashboard-card .card-body {
            position: relative;
            padding-left: 80px;
        }
        .dashboard-card .icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 3rem;
            opacity: 0.6;
        }
        .progress {
            height: 25px;
        }
        .progress-bar {
            font-size: 14px;
            font-weight: bold;
        }
        .badge-status {
            font-size: 85%;
        }       
        /* Cores para status de promissórias */
        .status-Pago {
            background-color: #28a745;
        }
        .status-Pendente {
            background-color: #ffc107;
        }
        .status-Adiantado {
            background-color: #17a2b8;
        }
        /* Estilos para inputs melhorados */
        .form-input {
            border-radius: 5px;
            border: 1px solid #ced4da;
            padding: 8px 12px;
            width: 100%;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        .form-input:focus {
            border-color: #80bdff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }
        #graficoEvolucaoPagamentos,
        #graficoPizzaStatus {
            height: 300px !important;   /* altura fixa */
            max-width: 400px; 
        }
        /* Aumentar o tamanho padrão do .container-fluid ---------------------------------------------------------------------------------------------------------> */
        .container-fluid{
            width: 90%;
            padding-right: 5px;
            padding-left: 15px;
            margin-right: auto;
            margin-left: auto;
            min-height: auto !important;
        }

         @media (max-width: 768px) {
            .container-fluid{
            width: 100%;
            padding-right: 5px;
            padding-left: 5px;
            margin-right: auto;
            margin-left: auto;
            min-height: auto !important;
        }
            
         }

        .sidebar {
            position: fixed;
            top: 60px;
            left: 0;
            bottom: 0;
            width: 200px;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            z-index: 1020;
            transition: all var(--transition-speed);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
        }
        
        .nav-sidebar {
            flex-grow: 1;
            padding: 0;
            list-style: none;
            margin: 0;
        }
        
        .sidebar-footer {
            margin-top: auto;
            border-top: 1px solid #e9ecef;
        }
        
        /* Ajustes para modo colapsado */
        body.sidebar-collapsed .sidebar-footer {
            width: 60px;
        }
        
        /* Ajustes para mobile */
        @media (max-width: 768px) {
            body.sidebar-mobile-open .sidebar-footer {
                width: 180px;
            }
        }

        /* Estilos para o breadcrumb tecnológico */
        .tech-breadcrumb-container {
            background: linear-gradient(90deg, rgba(26,75,132,0.05) 0%, rgba(26,75,132,0.1) 100%);
            border-radius: 8px;
            margin-bottom: 20px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .tech-breadcrumb-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            z-index: 1;
        }

        .tech-breadcrumb {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            list-style: none;
            margin: 0;
            position: relative;
            z-index: 2;
        }

        .tech-breadcrumb-item {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            font-weight: 500;
            color: #555;
            position: relative;
        }

        .tech-breadcrumb-item:not(:last-child) {
            margin-right: 30px;
        }

        .tech-breadcrumb-item:not(:last-child)::after {
            content: '';
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            width: 10px;
            height: 10px;
            border-top: 2px solid rgba(26,75,132,0.3);
            border-right: 2px solid rgba(26,75,132,0.3);
            transform: translateY(-50%) rotate(45deg);
        }

        .tech-breadcrumb-item a {
            color: var(--primary-color);
            text-decoration: none;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
        }

        .tech-breadcrumb-item a:hover {
            color: var(--secondary-color);
        }

        .tech-breadcrumb-item i {
            margin-right: 8px;
            font-size: 1rem;
            color: var(--primary-color);
            transition: all 0.3s ease;
        }

        .tech-breadcrumb-item.active {
            color: var(--dark-color);
            font-weight: 600;
        }

        .tech-breadcrumb-item.active i {
            color: var(--secondary-color);
        }

        .tech-breadcrumb-circuit {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%231a4b84' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
            opacity: 0.5;
            z-index: 0;
        }

        /* Estilos para os drones voando */
        .tech-breadcrumb-drone {
            position: absolute;
            width: 24px;
            height: 24px;
            z-index: 1;
            opacity: 0.9;
            background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgNjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iNjAiPgogIDwhLS0gQ29ycG8gZG8gZHJvbmUgLS0+CiAgPHBhdGggZD0iTTQwLDI1IEw2MCwyNSBMNjUsMzAgTDM1LDMwIFoiIGZpbGw9IiNlNmI1NGMiIC8+CiAgCiAgPCEtLSBCcmHDp29zIGRvIGRyb25lIC0tPgogIDxsaW5lIHgxPSIzNSIgeTE9IjI4IiB4Mj0iMTUiIHkyPSIyMCIgc3Ryb2tlPSIjZTZiNTRjIiBzdHJva2Utd2lkdGg9IjMiIC8+CiAgPGxpbmUgeDE9IjY1IiB5MT0iMjgiIHgyPSI4NSIgeTI9IjIwIiBzdHJva2U9IiNlNmI1NGMiIHN0cm9rZS13aWR0aD0iMyIgLz4KICA8bGluZSB4MT0iMzUiIHkxPSIyOCIgeDI9IjE1IiB5Mj0iMzUiIHN0cm9rZT0iI2U2YjU0YyIgc3Ryb2tlLXdpZHRoPSIzIiAvPgogIDxsaW5lIHgxPSI2NSIgeTE9IjI4IiB4Mj0iODUiIHkyPSIzNSIgc3Ryb2tlPSIjZTZiNTRjIiBzdHJva2Utd2lkdGg9IjMiIC8+CiAgCiAgPCEtLSBIw6lsaWNlcyAtLT4KICA8Y2lyY2xlIGN4PSIxNSIgY3k9IjIwIiByPSI1IiBmaWxsPSIjZTZiNTRjIiAvPgogIDxjaXJjbGUgY3g9Ijg1IiBjeT0iMjAiIHI9IjUiIGZpbGw9IiNlNmI1NGMiIC8+CiAgPGNpcmNsZSBjeD0iMTUiIGN5PSIzNSIgcj0iNSIgZmlsbD0iI2U2YjU0YyIgLz4KICA8Y2lyY2xlIGN4PSI4NSIgY3k9IjM1IiByPSI1IiBmaWxsPSIjZTZiNTRjIiAvPgogIAogIDwhLS0gQ8OibWVyYSAtLT4KICA8cmVjdCB4PSI0NSIgeT0iMzAiIHdpZHRoPSIxMCIgaGVpZ2h0PSI4IiBmaWxsPSIjZTZiNTRjIiAvPgogIDxyZWN0IHg9IjQ3IiB5PSIzOCIgd2lkdGg9IjYiIGhlaWdodD0iNCIgZmlsbD0iI2U2YjU0YyIgLz4KPC9zdmc+Cg==");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

        /* Animações para os drones */
        @keyframes flyDrone1 {
            0% { transform: translate(0, 0) rotate(5deg); }
            25% { transform: translate(20px, -10px) rotate(-5deg); }
            50% { transform: translate(40px, 5px) rotate(10deg); }
            75% { transform: translate(20px, 15px) rotate(-10deg); }
            100% { transform: translate(0, 0) rotate(5deg); }
        }

        @keyframes flyDrone2 {
            0% { transform: translate(0, 0) rotate(-8deg); }
            30% { transform: translate(-25px, 15px) rotate(8deg); }
            60% { transform: translate(-50px, -10px) rotate(-5deg); }
            100% { transform: translate(0, 0) rotate(-8deg); }
        }

        @keyframes flyDrone3 {
            0% { transform: translate(0, 0) rotate(0deg); }
            20% { transform: translate(15px, 20px) rotate(10deg); }
            40% { transform: translate(30px, 0px) rotate(-5deg); }
            60% { transform: translate(15px, -20px) rotate(5deg); }
            80% { transform: translate(-15px, -10px) rotate(-10deg); }
            100% { transform: translate(0, 0) rotate(0deg); }
        }

        @keyframes flyDrone4 {
            0% { transform: translate(0, 0) rotate(-5deg); }
            33% { transform: translate(-30px, -20px) rotate(10deg); }
            66% { transform: translate(20px, -30px) rotate(-10deg); }
            100% { transform: translate(0, 0) rotate(-5deg); }
        }

        @keyframes flyDrone5 {
            0% { transform: translate(0, 0) rotate(8deg); }
            25% { transform: translate(40px, 10px) rotate(-8deg); }
            50% { transform: translate(20px, 30px) rotate(5deg); }
            75% { transform: translate(-20px, 20px) rotate(-5deg); }
            100% { transform: translate(0, 0) rotate(8deg); }
        }

        .tech-breadcrumb-drone:nth-child(1) {
            top: 20%;
            left: 10%;
            animation: flyDrone1 15s infinite ease-in-out;
        }

        .tech-breadcrumb-drone:nth-child(2) {
            top: 70%;
            left: 30%;
            animation: flyDrone2 18s infinite ease-in-out;
        }

        .tech-breadcrumb-drone:nth-child(3) {
            top: 30%;
            left: 50%;
            animation: flyDrone3 20s infinite ease-in-out;
        }

        .tech-breadcrumb-drone:nth-child(4) {
            top: 60%;
            left: 70%;
            animation: flyDrone4 17s infinite ease-in-out;
        }

        .tech-breadcrumb-drone:nth-child(5) {
            top: 40%;
            left: 85%;
            animation: flyDrone5 19s infinite ease-in-out;
        }

        /* Responsividade do breadcrumb */
        @media (max-width: 768px) {
            .tech-breadcrumb {
                padding: 10px;
            }
            
            .tech-breadcrumb-item {
                font-size: 0.8rem;
            }
            
            .tech-breadcrumb-item:not(:last-child) {
                margin-right: 20px;
            }
            
            .tech-breadcrumb-item:not(:last-child)::after {
                right: -15px;
                width: 8px;
                height: 8px;
            }
            
            .tech-breadcrumb-item i {
                margin-right: 5px;
                font-size: 0.9rem;
            }

            .tech-breadcrumb-drone {
                width: 18px;
                height: 18px;
            }
        }

        /* Cabeçalho do card de equipamentos com melhor contraste */
        /* Cards de equipamentos */
        .equipment-header {
            background: linear-gradient(to right, #4e73df, #224abe);
            color: white;
            padding: 1rem;
            border-radius: 4px 4px 0 0;
        }

        .equipment-header h5 {
            margin-bottom: 0;
            font-weight: 600;
        }

        .equipment-card {
            transition: all 0.2s ease;
            border: 1px solid #dee2e6;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
        }

        .equipment-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
        }

        .equipment-card.selected {
            border-color: #4e73df;
            background-color: #f8f9ff;
        }

        .equipment-icon {
            font-size: 1.5rem;
            color: #4e73df;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f0f4ff;
            border-radius: 50%;
            margin-right: 12px;
        }

        .bonus-badge {
            font-size: 0.8rem;
            padding: 0.4rem 0.6rem;
            font-weight: normal;
        }

        .bonus-progress {
            height: 20px;
            border-radius: 10px;
            overflow: hidden;
        }

        .bonus-progress .progress-bar {
            transition: width 0.5s ease-in-out;
            font-weight: bold;
        }

        .equipment-title {
            font-size: 1.1rem;
            line-height: 1.2;
        }