/* Importar uma fonte */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* Variáveis CSS */
:root {
    --azul-plastcor-escuro: #003366;
    --azul-plastcor-claro: #007bff;
    --cinza-claro-fundo: #f4f7f6;
    --cinza-texto: #333;
    --branco: #ffffff;
    --sombra-leve: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos gerais */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--cinza-claro-fundo);
    color: var(--cinza-texto);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Estilos do cabeçalho */
header {
    background-color: var(--azul-plastcor-escuro);
    color: var(--branco);
    padding: 1rem 0;
    text-align: center;
    box-shadow: var(--sombra-leve);
}

/* Estilos do rodapé */
footer {
    background-color: var(--azul-plastcor-escuro);
    color: var(--branco);
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
    width: 100%;
}

/* Estilos de links */
a {
    color: var(--azul-plastcor-claro);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Estilos básicos de formulários */
input[type="text"],
input[type="password"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button,
.botao {
    background-color: var(--azul-plastcor-claro);
    color: var(--branco);
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover,
.botao:hover {
    background-color: #0056b3;
}

/* Estilos Específicos para a Tela de Login */
.login-container {
    max-width: 400px;
    width: 90%;
    margin: 3rem auto;
    padding: 2rem;
    background-color: var(--branco);
    border-radius: 8px;
    box-shadow: var(--sombra-leve);
    text-align: center;
}

.login-container h2 {
    margin-bottom: 1.5rem;
    color: var(--azul-plastcor-escuro);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.login-container button {
    width: 100%;
    padding: 0.8rem;
}

.login-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* Estilo para a nossa caixa de mensagem de erro */
.mensagem-erro {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
}

/* Estilos para o novo cabeçalho */
.container-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-area h1 {
    font-size: 1.5rem;
    margin-left: 15px;
}

.info-usuario {
    font-size: 0.9rem;
}

.info-usuario span {
    margin-right: 15px;
}

.link-sair {
    color: var(--branco);
    background-color: var(--azul-plastcor-claro);
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.link-sair:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Estilos para a barra de navegação de setores */
.nav-setores {
    background-color: #e9ecef;
    padding: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.nav-setores ul {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    list-style-type: none;
}

.nav-setores ul li a {
    display: block;
    padding: 1rem;
    text-decoration: none;
    color: var(--cinza-texto);
    font-weight: bold;
    border-bottom: 3px solid transparent;
}

.nav-setores ul li a:hover {
    background-color: #dee2e6;
    color: var(--azul-plastcor-escuro);
}

.nav-setores ul li a.ativo {
    color: var(--azul-plastcor-escuro);
    border-bottom: 3px solid var(--azul-plastcor-claro);
}

/* Contêiner principal que vai segurar o menu lateral e o conteúdo */
.page-container {
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    flex-grow: 1; 
}

/* O menu lateral (sidebar) */
.sidebar {
    flex: 0 0 250px; 
}

/* A área de conteúdo principal */
.main-content {
    flex-grow: 1;
    background-color: var(--branco);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--sombra-leve);
     display: flex; 
    flex-direction: column; 
}

/* Estilo para os botões do menu lateral */
.sidebar-button {
    display: block; 
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #e9ecef;
    color: var(--cinza-texto);
    text-align: left;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-button:hover, .sidebar-button.ativo {
    background-color: var(--azul-plastcor-claro);
    color: var(--branco);
    transform: translateX(5px); 
}
/* Estilos para o formulário de projeto */
.form-projeto fieldset {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.form-projeto legend {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0 0.5rem;
    color: var(--azul-plastcor-escuro);
}
.form-row {
    display: flex;
    gap: 1.5rem;
}
.form-row .form-group {
    flex: 1;
}
.mensagem-sucesso {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

/* Estilos para a grade de projetos */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.project-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: var(--sombra-leve);
    display: flex;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
}
.project-card:hover {
    transform: translateY(-5px);
}
.card-sidebar {
    width: 10px;
    flex-shrink: 0;
    background-color: #28a745; 
}
.card-content {
    padding: 1rem;
    width: 100%;
}
.card-content h3 {
    margin-top: 0;
    font-size: 1.1rem;
}
.card-content p {
    font-size: 0.9rem;
    margin: 0.5rem 0;
    color: #6c757d;
}
.progress-bar-container {
    background-color: #e9ecef;
    border-radius: 10px;
    height: 10px;
    margin-top: 1rem;
}
.progress-bar {
    height: 100%;
    border-radius: 10px;
}
.progress-bar.vermelho { background-color: #dc3545; }
.progress-bar.laranja { background-color: #fd7e14; }
.progress-bar.verde { background-color: #28a745; }

.card-content span {
    font-size: 0.8rem;
    font-weight: bold;
    float: right;
}
.botao-secundario {
    background-color: #6c757d;
    color: white;
    margin-right: 1rem;
}
.botao-secundario:hover {
    background-color: #5a6268;
}
.passo {
    position: relative;
}
.botao-remover {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background-color: #dc3545;
    color: white;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.botao-remover:hover {
    background-color: #c82333;
}
/* Estilos para o passo de reunião */
.passo.reuniao {
    border-color: var(--azul-plastcor-claro);
}
select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
}
/* Cores para a barra lateral de urgência do card */
.card-sidebar.cinza { background-color: #adb5bd; }
.card-sidebar.verde { background-color: #28a745; }
.card-sidebar.laranja { background-color: #fd7e14; }
.card-sidebar.vermelho { background-color: #dc3545; }
.card-sidebar.roxo { background-color: #6f42c1; } /* Roxo para vencido */

/* Transforma o card em um link sem sublinhado e com cor herdada */
a.project-card-link {
    text-decoration: none;
    color: inherit;
}

/* Estilos para a tabela de etapas */
.tabela-etapas {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.9rem;
}
.tabela-etapas th, .tabela-etapas td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
    vertical-align: middle;
}
.tabela-etapas th {
    background-color: #f8f9fa;
    font-weight: bold;
}
.tabela-etapas tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}
.botao-pequeno {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 4px;
}
hr {
    border: 0;
    border-top: 1px solid #dee2e6;
    margin: 1.5rem 0;
}
/* Estilos para a caixa de histórico */
.historico-container {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.historico-container h3 {
    margin-top: 0;
    color: var(--azul-plastcor-escuro);
}
.historico-container ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
.historico-container li {
    background-color: var(--branco);
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #495057;
}
.historico-container li:last-child {
    border-bottom: none;
}
/* Estilos para a caixa de histórico */
.historico-container {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.historico-container h3 {
    margin-top: 0;
    color: var(--azul-plastcor-escuro);
}
.historico-container ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}
.historico-container li {
    background-color: var(--branco);
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #495057;
}
.historico-container li:last-child {
    border-bottom: none;
}

/* Estilos para o Calendário */
.calendar-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}
.calendar-table {
    width: 100%;
    height: 100%; 
    border-collapse: collapse;
    table-layout: fixed;
}
.calendar-table th {
    background-color: #f8f9fa;
    padding: 0.75rem;
    text-align: center;
    border: 1px solid #dee2e6;
}
.calendar-table td {
    border: 1px solid #dee2e6;
    vertical-align: top;
    padding: 5px;
}
.calendar-table td.empty {
    background-color: #f8f9fa;
}
.day-number {
    font-weight: bold;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: right;
    margin-bottom: 5px;
}
.event {
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.8rem;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

/* Estilo para agendamentos cancelados/inativos */
.event.inativo {
    background-color: #adb5bd; 
    color: #495057;
    text-decoration: line-through; 
    border: 1px solid #6c757d;
}

.event.concluida {
    text-decoration: line-through;
    opacity: 0.7;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(0,0,0,0.05),
        rgba(0,0,0,0.05) 5px,
        transparent 5px,
        transparent 10px
    );
}

/* Estilos para o Modal (Pop-up) da Visão do Dia */
.modal-overlay {
    position: fixed; /* Fica fixo na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 1000; 
}
.modal-conteudo {
    background-color: var(--branco);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 600px;
}
.modal-conteudo h3 {
    margin-top: 0;
    color: var(--azul-plastcor-escuro);
}
#modal-dia-lista {
    list-style-type: none;
    padding: 0;
    margin: 1.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}
#modal-dia-lista li {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}
#modal-dia-lista li:last-child {
    border-bottom: none;
}

#modal-dia-lista li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.acoes-modal a {
    font-size: 0.8rem;
    margin-left: 1rem;
    font-weight: bold;
}
.acoes-modal a.link-excluir {
    color: #dc3545;
}

.gantt-container {
    width: 100%;
    margin-top: 1.5rem;
    overflow-x: auto;
}

.gantt-chart {
    display: grid;
    grid-template-columns: 150px 1fr; 
    grid-auto-rows: 45px; 
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
}

.gantt-header {
    background-color: #f8f9fa;
    padding: 0.75rem;
    font-weight: bold;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gantt-header-days {
    display: grid;
    width: 100%;
    text-align: center;
}

.gantt-task-row {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.gantt-timeline-row {
    display: grid;
    grid-template-columns: repeat(30, 1fr); 
    border-bottom: 1px solid #dee2e6;
    position: relative;
}

.gantt-task-bar {
    grid-row: 1; 
    background-color: var(--azul-plastcor-claro);
    color: var(--branco);
    border-radius: 4px;
    border: 1px solid var(--azul-plastcor-escuro);
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    overflow: hidden;
}
.gantt-project-selector ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1.5rem 0; 
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.gantt-project-selector ul li {
    margin: 0;
    padding: 0;
}

.gantt-project-selector ul li a {
    display: block;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--cinza-texto);
    background-color: #e9ecef;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    transition: background-color 0.2s ease;
    border: 2px solid transparent;
    border-bottom: none;
}

.gantt-project-selector ul li a:hover {
    background-color: #dee2e6;
}

.gantt-project-selector ul li a.ativo {
    background-color: var(--branco);
    color: var(--azul-plastcor-claro);
    border-color: #dee2e6;
    position: relative;
    top: 2px; 
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1px;
    background-color: #003366; /* Cor da borda/gap */
    border: 1px solid #003366;
    margin-bottom: 2rem;
    padding: 0;
}
.info-block {
    background-color: #f4f7f6;
    padding: 1rem;
}
.info-header {
    background-color: #003366;
    color: white;
    padding: 0.5rem 1rem;
    font-weight: bold;
    text-align: center;
}
.info-content {
    padding-top: 0.5rem;
    min-height: 60px;
    word-wrap: break-word; 
}

.financeiro-tabela {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.financeiro-tabela td {
    border: 1px solid #ccc;
    padding: 0.75rem;
}
.financeiro-tabela td:first-child {
    font-weight: bold;
    background-color: #e9ecef;
}

@media (max-width: 1024px) {
    .page-container {
        padding: 0 1rem; 
    }
}

@media (max-width: 768px) {
    .page-container {
        flex-direction: column; 
        gap: 1rem;
    }

    .sidebar {
        flex-basis: auto; 
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .sidebar-button {
        flex-grow: 1; 
        margin-bottom: 0;
        text-align: center;
    }

    .logo-area h1 {
        display: none; 
    }

    .container-header {
        padding: 0 1rem;
    }

    .form-row {
        flex-direction: column; 
        gap: 0;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem; 
    }

    .project-grid {
        
        grid-template-columns: 1fr; 
    }

    .info-usuario span {
        display: none; 
    }
}

.nav-setores ul::-webkit-scrollbar {
    height: 8px;
}
.nav-setores ul::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.nav-setores ul::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.nav-setores ul {
    scrollbar-width: thin;
    scrollbar-color: #ccc #f1f1f1;
}

@media (hover: none) and (pointer: coarse) {
    .nav-setores ul::-webkit-scrollbar {
        display: none;
    }
    .nav-setores ul {
        scrollbar-width: none; /* Firefox */
    }
    
}

.filtros-grafico {
    display: flex;
    gap: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 2px;
}

.filtros-grafico a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--azul-plastcor-escuro);
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.filtros-grafico a:hover {
    background-color: #e9ecef;
}

.filtros-grafico a.ativo {
    background-color: var(--azul-plastcor-escuro);
    color: white;
}

.gantt-task-bar.finalizado {
    background-color: #28a745; 
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h2,
.calendar-header h4 {
    margin: 0;
    color: #333;
}

.month-nav {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--azul-plastcor-escuro);
    padding: 0 1rem;
    font-weight: bold;
}

.month-nav:hover {
    color: var(--azul-plastcor-claro);
}

.container-selecao-unidade {
    max-width: 1000px; 
    margin: 4rem auto; 
    padding: 3rem;
    background-color: #ffffff; 
    border-radius: 8px;
    box-shadow: var(--sombra-leve);
}

.titulo-selecao {
    text-align: center;
    margin-bottom: 3rem;
}

.titulo-selecao h2 {
    font-size: 2rem;
    color: var(--azul-plastcor-escuro);
}

.cards-unidades-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem; 
}

.unidade-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    width: 250px;
    text-align: center;
    text-decoration: none;
    color: var(--cinza-texto);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.unidade-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.10);
}

.unidade-pin {
    background-color: var(--azul-plastcor-claro);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    overflow: hidden; 
}

.unidade-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.unidade-card h3 {
    color: var(--azul-plastcor-escuro);
    font-weight: 600;
}

.botao-selecionar {
    display: inline-block;
    margin-top: 1rem;
    background-color: #e9ecef;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.unidade-card:hover .botao-selecionar {
    background-color: var(--azul-plastcor-claro);
    color: white;
}


.event.tarefa-fabrica-1 {
    background-color: #007bff; /* Azul */
    color: white;
    border: 1px solid #0056b3;
}
.event.tarefa-fabrica-2 {
    background-color: #28a745; /* Verde */
    color: white;
    border: 1px solid #1e7e34;
}
.event.tarefa-fabrica-3 {
    background-color: #ffc107; /* Amarelo */
    color: #212529;
    border: 1px solid #d39e00;
}
.event.tarefa-neutra {
    background-color: #6c757d; /* Cinza Escuro */
    color: white;
    border: 1px solid #545b62;
}

.event i {
    margin-right: 6px;
    font-size: 0.9em;
}

.event.prazo {
    background-color: #9c7dd6; 
    color: #212529;
    border: 1px solid #000000;
}

.event.agendamento {
    background-color: #08f1d2; 
    color: #212939; 
    border: 1px solid #08f1d2;
}

/* Estilo para cada item do evento no modal */
.modal-event-item {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Título do evento */
.modal-event-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 8px;
}

/* Detalhes (horário, sala, solicitante) */
.modal-event-details {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
    padding-left: 10px;
    border-left: 3px solid #007bff;
}

/* Ações (botões) */
.modal-event-actions {
    margin-top: 10px;
}

.form-filters fieldset {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.form-filters legend {
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 0.5rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.filter-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
} 

/* ============================================== */
/* ### INÍCIO - ESTILOS DO NOVO LOGIN MODERNO ### */
/* ============================================== */

/* Removemos o estilo antigo para não dar conflito */
.login-container {
    display: none;
}

/* Contêiner principal para centralizar o card na tela */
.login-modern-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

/* O card branco que segura as duas colunas */
.login-modern-container {
    width: 100%;
    max-width: 900px; /* Largura máxima do card */
    background: var(--branco);
    border-radius: 12px;
    box-shadow: var(--sombra-leve);
    display: grid;
    grid-template-columns: 1fr 1fr; /* Duas colunas de tamanho igual */
    overflow: hidden; /* Para o border-radius funcionar na imagem */
}

/* Coluna 1: Formulário */
.login-form-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--azul-plastcor-escuro);
    margin: 0;
}

.login-subtitle {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 0.5rem;
    display: block;
}

/* Novo estilo para os inputs (linha inferior) */
.login-form input[type="text"],
.login-form input[type="password"] {
    border: none;
    border-bottom: 2px solid #dee2e6;
    border-radius: 0;
    padding: 0.5rem 0.2rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: var(--azul-plastcor-claro);
}

/* Opções (Lembrar-me e Senha) */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.login-options a {
    color: var(--azul-plastcor-claro);
    font-weight: 700;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
}

/* Botão de Entrar (estilo da imagem 2) */
.login-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background-color: #ffc107; /* Amarelo/Dourado da imagem */
    color: var(--azul-plastcor-escuro);
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #e0a800; /* Amarelo mais escuro */
}

/* Coluna 2: Imagem/Ilustração */
.login-image-section {
    background-color: #f8f9fa; /* Um fundo leve para a imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-image-section svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Responsividade para Celulares */
@media (max-width: 768px) {
    .login-modern-container {
        /* As colunas ficam uma em cima da outra */
        grid-template-columns: 1fr;
    }
    
    .login-image-section {
        /* Escondemos a imagem em telas muito pequenas para focar no login */
        display: none;
    }

    .login-form-section {
        padding: 2rem;
    }

    .login-modern-wrapper {
        padding: 1rem;
    }
}
/* ============================================= */
/* ### INÍCIO - ATUALIZAÇÃO VISUAL (VERSÃO 2) ### */
/* ============================================= */

/* 1. REVERTENDO O CABEÇALHO PARA O AZUL ESCURO ORIGINAL */
header {
    background-color: var(--azul-plastcor-escuro); /* Original */
    color: var(--branco);                         /* Original */
    padding: 1rem 0;
    text-align: center;
    box-shadow: var(--sombra-leve);
    border-bottom: none; /* Removendo a borda desnecessária */
}

/* Garante que o texto dentro do header volte a ser branco */
.logo-area h1 {
    color: var(--branco);
}
.info-usuario {
    color: var(--branco);
}

/* 2. REVERTENDO A BARRA DE SETORES PARA O CINZA ORIGINAL */
.nav-setores {
    background-color: #e9ecef; /* Original */
    padding: 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06); /* Original */
    border-bottom: none; /* Removendo a borda desnecessária */
}

/* 3. MANTENDO A SIDEBAR ESCURA (ISSO FUNCIONOU) */
.sidebar {
    flex: 0 0 250px;
    background-color: #2f353a; /* A cor escura da inspiração */
    /* Se preferir, pode usar: var(--azul-plastcor-escuro) */
}

/* 4. MANTENDO OS BOTÕES INATIVOS DA SIDEBAR */
.sidebar-button {
    display: block; 
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: transparent;
    color: #adb5bd; /* Texto cinza claro */
    text-align: left;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* 5. MUDANDO O BOTÃO ATIVO PARA AZUL ESCURO (SEU PEDIDO) */
.sidebar-button.ativo {
    background-color: var(--azul-plastcor-escuro); /* DE: --azul-plastcor-claro */
    color: var(--branco);
    transform: translateX(5px); 
}

/* 6. AJUSTANDO O HOVER PARA NÃO CONFLITAR COM O NOVO ATIVO */
.sidebar-button:hover {
     background-color: #3a4149; /* Um cinza-escuro sutil no hover */
     color: var(--branco);
     transform: translateX(5px); 
}

/* Garante que o ativo (agora escuro) sobreponha o hover */
.sidebar-button.ativo:hover {
    background-color: var(--azul-plastcor-escuro);
    color: var(--branco);
}

/* ============================================= */
/* ### INÍCIO - Estilos Modernos Solicitações ### */
/* ============================================= */

/* Ajusta o card base (o project-card que já existe) */
.project-card {
    border-radius: 12px; /* Cantos mais arredondados */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* Sombra mais suave */
    min-height: 150px; /* Altura mínima */
    position: relative; /* Necessário para o ícone */
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Remove a antiga barra lateral colorida */
.project-card .card-sidebar {
    display: none;
}

/* Estilo para o NOVO card "Nova Solicitação" */
.project-card.card-nova-solicitacao {
    background-color: #e0eaff; /* Azul claro (cor da imagem) */
    color: var(--azul-plastcor-escuro); /* Azul escuro (Plastcor) */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #b0c4ff; /* Borda tracejada */
    padding: 1.5rem;
    box-sizing: border-box; /* Garante que o padding não quebre o layout */
}

.project-card.card-nova-solicitacao i.fas.fa-plus {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.project-card.card-nova-solicitacao h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--azul-plastcor-escuro);
}

.project-card.card-nova-solicitacao:hover {
    background-color: #d0e0ff;
}

/* Estilo base para os cards de status */
.project-card.card-status {
    padding: 1.5rem;
    flex-direction: column;
    color: #333;
}

.project-card.card-status .card-content {
    padding: 0; /* Remove o padding interno */
}

/* Posição do Ícone de status */
.project-card .card-status-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1rem;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Cores dos cards de status (baseado na imagem 2) */

/* Aprovado (Verde) */
.project-card.card-status-aprovado {
    background-color: #e6f7eb; /* Verde claro */
}
.project-card.card-status-aprovado .card-status-icon {
    background-color: #28a745; /* Verde (sucesso) */
}

/* Pendente (Amarelo/Laranja) */
.project-card.card-status-pendente {
    background-color: #fff8e1; /* Amarelo claro */
}
.project-card.card-status-pendente .card-status-icon {
    background-color: #fd7e14; /* Laranja (aviso) */
}

/* Reprovado (Vermelho) */
.project-card.card-status-reprovado {
    background-color: #fde8e8; /* Vermelho claro */
}
.project-card.card-status-reprovado .card-status-icon {
    background-color: #dc3545; /* Vermelho (perigo) */
}

/* Ajustes no texto do card */
.project-card.card-status h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 40px; /* Dá espaço para o ícone */
    color: #222;
}

.project-card.card-status p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
    color: #555;
    padding-left: 40px; /* Dá espaço para o ícone */
}

.project-card.card-status p strong {
    color: #333;
}

/* =========================================== */
/* ### FIM - Estilos Modernos Solicitações ### */
/* =========================================== */