:root{
	--c-dark: #0097D6;
	--c-blue: #0097D6;
	--c-blue-light: #3BB8E5;
	--c-orange: #F39200;
	--c-black: #000;
	--podium-1: #FFB600;
	--podium-2: #EC820F;
	--podium-3: #0097D6;
}

h1{
	font-size: 40px;
	font-weight: 900;
	color: var(--c-black);
}

h2{
	font-size: 26px;
	font-weight: 900;
	color: var(--c-blue);
}

a{
	text-decoration: none;
	color: var(--c-orange);
}

img{display: block;}

.c-blue{
	color: var(--c-blue);
}
.c-blue-light{
	color: var(--c-blue-light);
}
.c-dark{
	color: var(--c-black);
}
.c-orange{
	color: var(--c-orange);
}
.c-white{
	color: #fff;
}

.c-green{
	color: #01803a;
}
.c-red{
	color: #bb0000;
}
.c-gray{
	color: #7a7a7a;
}

.bg-blue{
	background-color: var(--c-blue);
}
.bg-blue-light{
	background-color: var(--c-blue-light);
}
.bg-dark{
	background-color: var(--c-dark);
}
.bg-orange{
	background-color: var(--c-orange);
}

.text-center{
	text-align: center;
}

.d-block{
	display: block;
}

.mt-5{
	margin-top: 5px;
}
.mt-10{
	margin-top: 10px;
}
.mt-15{
	margin-top: 15px;
}
.mt-20{
	margin-top: 20px;
}
.mt-30{
	margin-top: 30px;
}
.mt-40{
	margin-top: 40px;
}
.mt-50{
	margin-top: 50px;
}

.pt-10{
	padding-top: 10px;
}
.pt-20{
	padding-top: 20px;
}
.pt-30{
	padding-top: 30px;
}
.pb-10{
	padding-bottom: 10px;
}
.pb-20{
	padding-bottom: 20px;
}
.pb-30{
	padding-bottom: 30px;
}

.fs-075{
	font-size: 0.75rem;
}
.fs-085{
	font-size: 0.85rem;
}

.fs-1{
	font-size: 1rem;
}
.fs-12{
	font-size: 1.25rem;
}
.fs-15{
	font-size: 1.5rem;
}
.fs-17{
	font-size: 1.75rem;
}

.fs-20{
	font-size: 2rem;
}
.fs-25{
	font-size: 2.5rem;
}
.fs-30{
	font-size: 3rem;
}

.bold{
	font-weight: bold;
}
.black{
	font-weight: 900;
}
.light{
	font-weight: 300;
}

.italic{
	font-style: italic;
}

.lb{
	border-bottom: 1px solid #0000001a;
}

.btn{
	display: block;
	width: 100%;
	padding: 10px 20px;
	border-radius: 5px;
	border: none;
	font: normal normal normal 16px/25px Poppins;
}

.btn-small{
	width: auto;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
	line-height: 1.2;
}

.btn-ghost{
	background: #fff;
	color: var(--c-blue);
	border: 1px solid #0000001a;
	box-shadow: 0 2px 4px 1px #0000001a;
}

.actions-load-more{
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.teams-admin-list{
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.team-edit-row{
	display: flex;
	gap: 10px;
	align-items: center;
}

.team-edit-name{
	flex: 1;
}

.team-edit-name.editing{
	border: 2px solid var(--c-orange);
	box-shadow: 0 0 0 2px #f3920033;
}

.input-field{
	display: block;
	width: 100%;
	padding: 10px 20px;
	border: none;
	border-radius: 5px;
	background-color: rgba(0,0,0,0.07);
	font: normal normal normal 16px/25px Poppins;
}

.input-field:focus{
	outline: none;
}

.pos-bottom{
	position: absolute;
	bottom: 40px;
	width: calc(100% - 40px);
}

.w-100{
	width: 100%;
}

.flex{
	display: flex;
	justify-content: space-between;
}

.flex-column{
	flex-direction: column;
}

.flex.center{
	justify-content: center;
}

.flex.left{
	justify-content: flex-start;
}

.flex.v-center{
	align-items: center;
}

div::-webkit-scrollbar, section::-webkit-scrollbar, main::-webkit-scrollbar {
	display: none;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body{
	font-family: 'Poppins', sans-serif;
	width: 768px;
	max-width: 100%;
	margin: 0 auto;
	font-size: 16px;
	padding: 0 20px;
}
header{
	position: fixed; 
	top: 0; 
	left: 0;
	width: 100%; 
	height: 100px;
	background-color: #fff;
	z-index: 7;
	box-shadow: 0 2px 4px 1px #0000001a;
}

main.mt-100{
	margin-top: 100px !important;
}
main.mt-160{
	margin-top: 160px !important;
}

.full-page{
	margin: 0 -20px;
	padding: 20px;
}

.dashboard section{
	padding: 15px;
	background-color: #fff;
	border-radius: 5px;
	width: 100%;
	position: relative;
}

.section-row{
	display: flex;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.section-half{
	flex-basis: calc(50% - 5px);
	flex-grow: 1;
}


.header-logo, .login-logo{
	height: 100px;
	width: 100%;
	display: flex;
}

.login-logo{
	height: 160px;
	margin-top: 0;
	position: relative;
}

.header-logo img, .login-logo img{
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	padding: 10px 0;
	margin: 0 auto;
	justify-content: center;
	align-items: center;
}

.login-logo img{
	padding: 10px 20px;
}

.login-sponsors{
	display: flex;
	gap: 24px;
	justify-content: space-between;
	align-items: center;
	margin-top: auto;
	padding: 24px 10px 10px;
}

.login-sponsor{
	height: 42px;
	width: auto;
	object-fit: contain;
}

.login-title{
	font-size: 50px;
	line-height: 1.05;
	color: var(--c-black);
}

.login-subtitle{
	font-size: 35px;
	line-height: 1.15;
}

.login-page{
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.login-content{
	flex: 0 0 auto;
}

@media (max-height: 730px){
	.login-sponsors{
		margin: 60px 0;
	}
}

/* Home */

.dashboard{
	min-height: calc(100vh - 100px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.icon-home{
	width: 30px;
	height: auto;
	object-fit: contain;	
}

.icon-home.size-1{
	width: 25px;
}
.icon-home.size-2{
	width: 45px;
}
.icon-home.size-3{
	width: 60px;
}
.icon-arrow{
	width: 12px;
	height: auto;
	object-fit: contain;
	margin-left: auto;
	margin-right: 5px;
}

.reverse{
	transform: rotate(180deg);
}

.arrow-back{
	position: absolute; 
	left: 5px;
	padding: 15px;
}

.arrow-down{
	transform: rotate(90deg);
	transition: transform 0.2s ease-in-out;
}

.dashboard section:not(.section-half):not(#ranking) .icon-home{
	flex-basis: 10%;
	margin-right: 15px;
}
.user-info{
	margin-right: 10px;
}

.logout-link{
	margin-left: auto;
	align-self: center;

}

#user{
	align-items: stretch;
}

#logout{
	justify-self: flex-end;
	margin-left: auto;
	margin-right: 0;
}

nav{
	background-color: #fff;
	box-shadow: 0 2px 4px 1px #0000001a;
	height: 60px;
	margin: 0 -20px;
	padding: 0 20px;
	position: fixed;
	width: 100%;
	max-width: 768px;
	top: 100px;
	z-index: 6;
}
.teams-list{
	padding-bottom: 180px;
}

.team-tab {
	height: 80px;
	border-bottom:  1px solid #0000001a;
}

.team-name{
	margin-left: 10px;
}

.team-members{
	height: 0;
	overflow: hidden;
	transition: height 0.2s ease-in-out;
}

.team-members.active{
	height: 380px;
	overflow-y: auto;
}

.team-member{
	padding: 10px 0;
}
.team-member p{
	margin-left: 10px;
}
.team-member .user-icon{
	margin-left: 3px;
}

.active .arrow-down{
	transform: rotate(270deg);
}

.ranking-list{
	width: 100%;
}

.ranking-team{
	width: 100%;
	padding: 10px 0;
	border-bottom: 1px solid #0000001a;
}
.ranking-team:first-child{
	border-top: 1px solid #0000001a;
}

.ranking-number{
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: var(--c-dark);
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 10px;
}

.podium .ranking-number{
	background-color: var(--c-blue);
}
.podium .ranking-number.pos-1{ background-color: var(--podium-1); }
.podium .ranking-number.pos-2{ background-color: var(--podium-2); }
.podium .ranking-number.pos-3{ background-color: var(--podium-3); }
.podium .ranking-number:not(.myteam):not(.pos-1):not(.pos-2):not(.pos-3){ background-color: var(--c-black); }

.ranking-number.myteam{
	background-color: var(--podium-2);
}

.ranking-link{
	padding-top: 25px;
	padding-left: 5px;
	padding-bottom: 15px;
}

.ranking-link .icon-arrow{
	margin-left: auto;
}

.ranking-page .ranking-team{
	padding: 25px 0;
}

.ranking-page .ranking-number{
	width: 45px;
	height: 45px;
	font-size: 1.25rem;
	margin-right: 15px;
}

.ranking-page .ranking-list{
	padding-bottom: 150px;
}

.ranking-page .ranking-team:first-child{
	border-top: none;
}

.team-score{
	margin-left: auto;
}
.ranking-page .ranking-number:not(.myteam) {
	background-color: var(--c-black);
}
.ranking-page .myteam .team-score{
	color: var(--podium-2);
}

.ranking-page .ranking-team:not(.myteam) .ranking-number.pos-1{ background-color: var(--podium-1); }
.ranking-page .ranking-team:not(.myteam) .ranking-number.pos-2{ background-color: var(--podium-2); }
.ranking-page .ranking-team:not(.myteam) .ranking-number.pos-3{ background-color: var(--podium-3); }
.ranking-page .myteam .ranking-team-name{ color: var(--podium-2); }
.ranking-page .myteam .team-score{ color: var(--podium-2); }

/* ADMIN */

#admin-panel{
	background-color: var(--c-orange);
	color: #fff;
}
#admin-panel img{
	filter: brightness(0) invert(1);
}

#main-admin{
	display: flex;
	flex-direction: column;
	/* justify-content: center; */
	align-items: center;
	background-color: var(--c-orange);
	min-height: calc(100vh - 160px);
	gap: 10px;
}

#main-admin section{
	border-radius: 5px;
	background-color: #fff;
}

.admin-section{
	position: relative;
	width: 100%;
}

.log-container{
	border-bottom: 1px solid #0000001a;
	padding-bottom: 5px
}

.log{
	padding: 10px 0;
}

.actions-scroll{
	max-height: 250px;
	padding: 0 10px;
	padding-bottom: 30px;
	overflow: auto;
	box-shadow: 0 2px 4px 1px #0000001a;
	position: relative;
}

.overlay-scroll{
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 5;
	height: 50px;
	background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	border-radius: 0 0 5px 5px;
	overflow: hidden;
	pointer-events: none;
}

.card-title{
	padding: 10px;
	border-bottom: 1px solid #0000001a;
	font-weight: bold;
	color: var(--c-dark);
}

.a-list{
	padding: 10px;
	max-height: 250px;
	overflow: auto;
	padding-bottom: 30px;
}

.a-list .user, .a-list .event{
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #0000001a;
}

.a-list .user:hover, .a-list .event:hover {
	color: var(--c-orange);
	cursor: pointer;
}

.filter-admin{
	display: block;
	width: 100%;
	padding: 10px 20px;
	border: none;
	background-color: rgba(0,0,0,0.07);
	font: normal normal normal 16px/25px Poppins;
	color: var(--c-dark);
	box-shadow: inset 0 0px 4px 1px #0000001a;	
}

.filter-admin:focus{
	outline: none;
}


.event-mups{
	margin-left: 10px;
}

.step-hide{
	display: none;
}


.step-show{
	animation: fade-in 0.5s ease-in-out;
}
@keyframes fade-in {
	from{
		opacity: 0;
		transform: translateX(100%);

	}
	to{
		opacity: 1;
		transform: translateX(0);
	}
	
}

.log-bar{
	display: flex;
	justify-content: space-between;
}

.trash{
	width: 16px;
	height: auto;
	object-fit: contain;
	margin: 0 5px;
}
.delete-container{
	display: flex;
}
.delete-action{
	background-color: #e30000;
	border-radius: 5px;
	color: #fff;
	margin-right: 5px;
	display: flex;
	justify-content: center;
	width: 0;
	visibility: hidden;
	pointer-events: none;
	transition: width 0.3s ease;
}
.delete-action.visible{
	width: 100px;
	visibility: visible;
	pointer-events: all;
}

.back-reg-action{
	color: var(--c-orange);
	padding: 2px 10px;
	margin-right: 10px;
	border: 1px solid var(--c-orange);
	border-radius: 5px;
}

.back-reg-action:hover{
	background-color: var(--c-orange);
	color: #fff;
	cursor: pointer;
}

.new-data-badge, .ranking-info{
	padding: 5px 15px;
	border-radius: 500px;
	background-color: #fff;
	color: var(--c-blue);
	margin-bottom: 5px;
	box-shadow: 0 2px 4px 1px #0000001a;
	cursor: pointer;
	user-select: none;
	text-align: center;
}

.ranking-info{
	margin-top: 5px;
}

.ranking-info.not-updated{
	background-color: var(--c-dark);
	color: #fff;
	box-shadow: 0 1px 4px 4px #0e245c1a;
}

.ranking-info.updated{
	pointer-events: none;
	box-shadow: none;
}



.new-data-badge:active, .ranking-info:active{
	box-shadow: inset 0 0px 4px 1px #00000038;
}

.img-mups{
	height: 105px;
	width: auto;
	margin-left: 40px;
}

.bm_arrow{
	position: relative;
}

.bm_arrow p {
	width: 43px;
	position: absolute;
	right: 11px;
	top: 35px;
	color: #fff;
	font-weight: bold;
	font-size: 1.1rem;
	text-align: center;
}

.bm_arrow p span{
	display: block;	
	font-weight: 300;
	font-size: 0.75em;
}

.bm_arrow.down p{
	top: 23px;
}


#btn-admin-ranking{
background-color:  #fff;	
}
