/* ************************************************************************************ */
/* (C) Pan Aero LLC																		*/
/*	2026-09-29																			*/
/* ************************************************************************************ */

#dashContainer{
    width: 75%;
	height: calc(100% - 20px);
    margin-left: auto;
    margin-top: 10px;
    margin-right: auto;
    align-content: center;
    display: none;
	flex-wrap: wrap;
}

#dashboard{
	background-color: rgba(85, 80, 80, 0.62);
	border-radius: 16px;
    width: 100%;
    display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-top:50px;
	padding-bottom:50px;
}

#dashboard > div
{
	cursor: pointer;
    width: 180px;
    height: 180px;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 8px;
    color:#F0F0F0;
}

#dashboard > div:hover
{
    /*background-color: #f0f0f0;*/
    filter: brightness(110%);
    color:white;
}

.dashboardItemImg
{
    width:128px;
	height:auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
}


.dashboardItemName
{
    font-size: 16px;
    padding-top: 4px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
	line-height: 1 !important;
}

.dashboardItemName_Selected
{
    background-color: gray;
    border-color: black;
    color:white;
}


.dashboardItemInfo
{
    width:100%;
    height:18px;
    position: absolute;
    bottom: 0;
    color:white;
    background-color: gray;
    padding:1px;
    text-align: center;
    font-size: 12px;
}

/* 2026-10-20: arranging the icons (long press) - they wiggle, are dragged to their place, "Done" keeps the order */
@keyframes dashWiggle { 0% { transform:rotate(-1.5deg); } 50% { transform:rotate(1.5deg); } 100% { transform:rotate(-1.5deg); } }
.dashEditing > div.dashItem			{ animation:dashWiggle 0.28s ease-in-out infinite; cursor:grab; outline:1px dashed rgba(255,255,255,0.45); outline-offset:-4px; }
.dashEditing > div.dashItem:nth-child(2n)	{ animation-delay:-0.14s; }
.dashEditing > div.dashDragging		{ opacity:0.4; }
.dashDoneBtn						{ position:sticky; bottom:8px; align-self:flex-end; margin:8px; padding:6px 16px; border:none; border-radius:16px; background:#0088ce; color:#fff; font-weight:bold; cursor:pointer; z-index:5; }
