/** General parms **/
:root {
  color-scheme: light only;
}

body {
	margin : 0px;
}

.loading{	
	margin-top : 0.35rem;
	width: 1rem;
	visibility: hidden;	
}


/** Login Structure **/

#centered-box{	
	position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -10rem;
    margin-top: -6rem;
    width: 20rem;
    height: 12rem;
	background-color : white;
	
	box-shadow: rgba(0, 0, 0, 0.16) 0em 0.188em 0.375em, rgba(0, 0, 0, 0.23) 0px 0.188em 0.375em;
}

.login-form{
	padding : 1.5rem;	
}


/** Basic Structure **/
#top_menu_tab {
	background-color: white;
	height: 40px;
	padding-left:10px;
	padding-right:10px;
	padding-top:10px;
}

#page_tab {
	height: calc(800px - 45px);
	width: 100%;
	padding:10px;
}

#content_tab {
	background-color: white;
	padding:10px;
}

#menu_tab {
	background-color: white;
	width:200px;
	padding-bottom:10px;
	padding-right:10px;
	padding-top:10px;
}

#menu {
	height: 100%;
	width: 100%;
}

/* Responsive utilitaires */
.list-item {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
.list-item:hover { background: #f7f7f7; }

@media (max-width: 768px) {
  #menu_tab { width: 100%; }
  #page_tab { padding: 6px; }
  .cell { border-radius: 12px; }
}

/** Inside bordered radius **/

.cell {
	background-color: white;
	border: 1px solid #ccc;
    border-radius: 16px;
    height : 100%;
    padding : 5px;
}



/** Vis Hypermenu **/

#contextMenu1 {	display: none;}
#contextMenu2 {	display: none;}
#contextMenu3 {	display: none;}
#contextMenu4 {	display: none;}
#contextMenu5 {	display: none;}
#contextMenu6 {	display: none;}

.context-menu{
	width: auto;
	min-width: 200px;
	padding-left : 5px;
	padding-right : 5px;
	height: auto;
	box-shadow: 0 0 20px 0 #ccc;
	position: absolute;
	
	z-index : 10;
	background: #fff;
}

.context-menu ul{
	list-style: none;
	padding: 5px 0px 5px 0px;
	margin : 0px;
}

.context-menu ul li:not(.separator){
	padding: 10px 5px 10px 5px;
	border-left: 4px solid transparent;
	cursor: pointer;
}

.context-menu ul li:hover{
	background: #eee;
	border-left: 4px solid #666;
}


/** Vis Details **/
#loading_pct{
	display: none;
}
	

#test1{
	
	z-index : 0; 
	position: absolute;
	
	top : 1em; 
	left : 1em;
    width : calc(25% - 1.5em);
    height : 14em;
    
    border: 1px solid #aaa;
    border-style : dashed;
}
	
#test2{
	
	z-index : 0; 
	position: absolute;
		
	top : 1em; 
	left : calc(25% + 0.5em );

    width : calc(25% - 1.5em);
    height : 14em;
    
    border: 1px solid #aaa;
    
    border-style : dashed;
}
	
#logo{

	z-index : 0; 
	position: relative;
	
	width : 50%;
	
	top : 25%;
	left : 25%;
	
}
	
	
#logo2{

	z-index : 0; 
	position: absolute;
	
	width : 10%;
	
	top : 	20em;
	left : 30em;
	
}
	
/* Landing page */
.landing{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg,#f7f9fc 0%, #ffffff 100%);
}
.landing-card{
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 32px 28px;
  width: min(560px, 92%);
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}
.hero-title{ font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.hero-sub{ color: #666; margin-bottom: 16px; }
.hero-actions .btn{ padding: 10px 18px; }


/* Tiles navigation */
.tile-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
}
.tile{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  padding: 20px 10px;
  text-decoration: none;
  color: #222;
  transition: box-shadow .2s ease, transform .1s ease;
}
.tile:hover{
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.tile-icon{ font-size: 28px; margin-bottom: 8px; }
.tile-title{ font-weight: 600; text-align: center; }

@media (max-width: 992px){ .tile-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px){ .tile-grid{ grid-template-columns: repeat(2, 1fr); } }
	