@charset "UTF-8";
/* Layout Principal */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4fafe;
}

.layout-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Bar */
.topbar {
    background-color: #2c3e50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 60px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    margin-right: 15px;
}

.app-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-left: 15px;
}
/* botão de login*/
.menu-button {
    background-color: #3498db;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.menu-button:hover {
    background-color: #2980b9;
    cursor: pointer;
}

/* Menu Horizontal */
.menu-container {
    flex: 1;
    margin: 0 20px;
}

.main-menu  {
    background: transparent !important;
    border: none !important;
    
}

.ui-menuitem-text {
	color: white !important;
}

.ui-menuitem-icon {
	color: white !important;
	filter: brightness(0) invert(1); /* Garante que ícones pretos fiquem brancos */
}

.ui-menubar .ui-menuitem {
    margin: 0 5px !important;    
}

.ui-menubar .ui-menuitem-link {
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.ui-menubar .ui-menuitem-link:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #ecf0f1 !important;
}

.ui-menubar .ui-submenu-list {
    background: #34495e !important;
    border: none !important;
    padding: 5px 0;
}
/* Apenas o menubar principal (nível 1) */
.ui-menubar.root-level {
    background: transparent !important;
    border: none !important;
}
/* Submenus (níveis internos) com fundo escuro */
.ui-menu .ui-submenu .ui-menu-child {
    background-color: #34495e !important;
    border: none !important;
}
/* Submenus de qualquer nível - fundo escuro */
.ui-menu .ui-menu-list,
.ui-menu .ui-submenu-list,
.ui-menubar .ui-submenu-list,
.ui-menu .ui-menu-child {
    background-color: #34495e !important;
    border: none !important;
}


/* Conteúdo Principal */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: white;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: auto;
}

/* menu button*/
.menu-button {
    background: transparent !important;
    border: none !important;
    color: white !important;
}

/* menu button*/
.confirm-button {
    background-color: navy;
    border: none !important;
    color: white !important;
}

.logout-button {
    background-color: #e74c3c !important;
    border-color: #e74c3c !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .menu-container {
        margin: 10px 0;
        width: 100%;
    }
    
    .main-menu {
        width: 100% !important;
    }
}


.page-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c3e50;
    text-align: center;
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #3498db;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.evento-verde {
    background-color: #28a745 !important;
    border-color: #218838 !important;
    color: white !important;
}

.evento-vermelho {
    background-color: #f08080 !important;
    border-color: #218838 !important;
    color: white !important;
}

.texto-negrito {
	font-weight: bold;
}

.ui-toolbar {
	background-color: transparent !important;
	border:0px !important;
}

/* Header principal da tabela */
.ui-datatable .ui-datatable-header {
    background: linear-gradient(135deg, #f5f9ff 0%, #e0edff 50%, #F0F8FF 100%) !important;
    color: #2c3e50 !important;
    border: none !important;
    border-bottom: 2px solid #c6d9f0 !important;
    padding: 12px 15px !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

/* Cabeçalhos das colunas */
.ui-datatable thead th {
    background: linear-gradient(to bottom, #F8F8FF 0%, #F0F8FF 100%) !important;
    color: #34495e !important;
    border-right: 1px solid #d6e4f5 !important;
    border-bottom: 2px solid #c6d9f0 !important;
    padding: 10px 15px !important;
    transition: all 0.2s ease !important;
}

/* Efeito hover nos cabeçalhos */
.ui-datatable thead th:hover {
    background: linear-gradient(to bottom, #e6f1ff 0%, #cce0ff 100%) !important;
}

/* Células do corpo da tabela para contraste */
.ui-datatable tbody td {
    background-color: #ffffff !important;
    border-color: #e9f0f7 !important;
}

/* Linhas alternadas para melhor legibilidade */
.ui-datatable .ui-datatable-oddrow {
    background-color: #f9fbfe !important;
}

.ui-panel .ui-panel-titlebar  {
    background: #e3f2fd !important;  /* Azul bem clarinho */
    color: #34495e !important;       /* Azul escuro para contraste */
    border-radius: 4px 4px 0 0 !important;
}

.ui-panelgrid .ui-panelgrid-cell.ui-widget-header {
    background: linear-gradient(to bottom, #F8F8FF 0%, #F0F8FF 100%) !important;
    color: #34495e !important;
    border-right: 1px solid #d6e4f5 !important;
    border-bottom: 2px solid #c6d9f0 !important;
    padding: 10px 15px !important;
    transition: all 0.2s ease !important;
}

.form-group-formulario {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group-formulario label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-container {
    max-width: 80%;
    min-width: 400px; /* Esta regra será desativada em telas menores */
    margin: 0 auto;
    padding: 20px;
}

/* Aplica estas regras somente para telas com largura de até 768px */
@media (max-width: 768px) {
    .form-container {
        min-width: unset; /* Remove o valor mínimo de largura */
        max-width: 95%;   /* Opcional: Aumenta a largura máxima para preencher mais a tela */
        padding: 10px;    /* Opcional: Reduz o padding para economizar espaço */
    }
}

.form-container .ui-panel-content {
    background-color: #f9fbfe !important;
}

/* schedule cor dos dias
.fc th {
	background: #e9f0f7 !important;
}

/* Oculta no mobile (<= 768px) */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}


