/* Estilos para o Ícone de Catraca (Settings Icon) */
.settings-icon {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: #EA4B71;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    border-radius: 10px 0 0 10px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.settings-icon:hover {
    background-color: #d43d5f;
}

/* Área de hover na borda direita */
.sidebar-trigger {
    position: fixed;
    right: 0;
    top: 0;
    width: 20px;
    height: 100vh;
    z-index: 999;
    cursor: pointer;
}

/* Estilos para o Menu Lateral (Sidebar) */
.sidebar {
    position: fixed;
    top: 100px;
    right: -300px;
    width: 300px;
    height: calc(100% - 100px);
    background-color: #040506;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.sidebar.open,
.sidebar:hover {
    right: 0;
}

.sidebar-trigger:hover ~ .sidebar,
.settings-icon:hover ~ .sidebar {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #EA4B71; /* Borda rosa */
    padding-bottom: 10px;
}

.sidebar-header h3 {
    margin: 0;
    color: #ecf0f1; /* Título claro */
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #ecf0f1; /* Texto claro */
    line-height: 1;
}

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

.sidebar-menu li {
    margin-bottom: 10px;
}

.sidebar-menu a {
    color: #ecf0f1; /* Texto claro */ /* Cor do texto do link */
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #ecf0f1; /* Texto claro */
    background-color: #1a1a1c; /* Fundo escuro para o item do menu */
    border-radius: 5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-weight: 500;
}

.sidebar-menu a:hover {
    background-color: #EA4B71;
    color: white;
}

.sidebar-menu a i {
    color: #EA4B71; /* Ícones com a cor primária */
    margin-right: 10px;
    font-size: 18px;
}



/* Estilos de sobreposição para garantir que o ícone de catraca não seja coberto pelo sidebar */
.sidebar.open + .settings-icon {
    right: 300px; /* Move o ícone junto com o sidebar (opcional, mas bom para UX) */
}
