@import "Styles/base.scss";

TutorialUI {
	position: absolute;
	right: 55px;
	top: 40px;
	font-family: Poppins;
	color: whitesmoke;
	backdrop-filter: blur(7px);

	.tutorial-content {
		border-radius: 4px;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 420px;
		background-color: rgb($background-primary, 0.75);
		gap: 1px;
		position: relative;
	}
	
	.tutorial-header {
		background-color: rgb($background-primary, 0.5);
		border-radius: 4px;
		padding: 1rem 2rem 0.5rem 2rem;
		display: flex;
		width: 100%;
		justify-content: space-between;
		align-items: center;

		.title {
			font-size: 30px;
			text-align: left;
		}

		.step-counter {
			align-items: center;
			height: 100%;
			font-size: 16px;
			font-weight: 500;
		}
	}

	.help-only {
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 10px;
		width: 60px;
	}

	.description {
		border-bottom: 1px solid rgba(0, 0, 0, 0.25);
		background-color: rgb($background-primary, 0.5);
		display: flex;
		align-items: center;
		padding: 8px 2rem 12px 2rem;
		width: 100%;
		font-size: 16px;
		color: #aaa;
		text-align: left;
	}

	.objective {
		padding: 0 2rem;
		flex-direction: column;
		font-size: 16px;
		font-weight: 400;
		margin: 12px 0;
		margin-bottom: 8px;
		text-align: left;
		width: 100%;
		white-space: pre;
		
		.header {
			color: $accent;
			font-weight: 600;
		}
	}

	.reward {
		padding: 0 2rem;
		width: 100%;
		display: flex;
		flex-direction: column;
		font-size: 16px;
		font-weight: 500;
		
		.header {
			color: #4caf50;
			font-weight: 600;
		}
	}

	.reward-claimed {
		color: gray;
		text-decoration: line-through;
		text-decoration-color: gray;
	}

	.glyphs {
		padding: 2.5rem 2rem 1rem 2rem;
		display: flex;
		justify-content: space-between;
		width: 100%;
	}

	.glyph {
		justify-content: center;
		align-items: center;
	}

	.glyph-locked {
		opacity: 0.25;
	}

	.glyph-content {
		gap: 4px;
		flex-direction: column;
		align-items: center;
	}

	.glyph-content Image {
		width: 32px;
		height: 32px;
		object-fit: contain;
	}

	.glyph-text {
		font-size: 14px;
	}

	.hold-bar {
		width: 40px;
		height: 3px;
		background-color: rgba(255, 255, 255, 0.15);
		border-radius: 2px;
		margin-top: 4px;
	}

	.hold-fill {
		height: 100%;
		background-color: #fff;
		border-radius: 2px;
	}
}
