/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
	margin: 0;
	min-height: 100vh;
}

.scroll-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	padding: 0;
	margin: 0;
	background-color: #000;
	width: 35px;
	height: 35px;
	border: 0;
	border-radius: 0.375rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 180ms ease, transform 180ms ease;
	z-index: 1000;
	cursor: pointer;
}

.scroll-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.scroll-to-top svg {
	padding: 0;
	margin: auto;
	width: 20px;
	height: 20px;
	color: #fff;
}

.scroll-to-top:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
