@import "styles/buttons.css";
@import "styles/colors.css";
@import "styles/combobox.css";
@import "styles/fonts.css";
@import "styles/inputs.css";
@import "styles/navigation.css";
@import "styles/shapes.css";
@import "styles/modals.css";
@import "styles/table.css";
@import "styles/cards.css";
@import "styles/progressbars.css";
@import "styles/layout.css";
@import "styles/badges.css";
@import "styles/pagination.css";
@import "styles/responsive.css";
/*
Breakpoints

Extra small: <576px
Small: ≥576px
Medium: ≥768px
Large: ≥992px
Extra large: ≥1200px
Extra extra large: ≥1400px
*/

html {
  overflow: hidden;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  transition: all var(--animation-duration) ease-in-out;
}

.main-layout {
  display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

.page-header {
  display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Separator */
.separator {
	display: flex;
	align-items: center;
	text-align: center;
}

.separator::before,
.separator::after {
	content: "";
	flex: 1;
	border-bottom: 1px solid white;
}

.separator:not(:empty)::before {
	margin-right: 0.25em;
}

.separator:not(:empty)::after {
	margin-left: 0.25em;
}

/* Alpine.js directive that hides an HTML element until the framework has fully initialized,
	preventing a "flash" of uninitialized content on page load
*/
[x-cloak] {
  display: none !important;
}

/* CSP-friendly replacement for Alpine's x-show, which sets inline `display: none` */
.sr-hidden {
  display: none !important;
}

#content {
  overflow-y: auto;
  overflow-x: hidden;
  height: calc(100vh - var(--navbar-height));
  margin-top: var(--navbar-height);
  background-color: var(--background-color);
  transition: margin var(--animation-duration) ease-in-out;
}

.content-container-spacing {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 2rem;
	max-width: 1400px;
	margin: 0 auto;
}


.header-font-size {
  font-family: "Space Grotesk", sans-serif;
  font-size: var(--header-font-size);
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  color: var(--text-color);
}

.content-expanded {
  margin: 0;
}

.content-retracted {
  margin-left: var(--sidebar-width);
}

.content-mid-retracted {
  margin-left: var(--retracted-sidebar-width);
}

.cursor-pointer {
  cursor: pointer;
}

.cursor-default {
  cursor: default;
}


.toast-container {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	z-index: 1090;
}

.sr-toast {
	min-width: 320px;
	max-width: 420px;
	border-radius: 6px;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
	color: #fff;
}

.sr-toast-content {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.9rem;
	padding: 1rem;
}

.sr-toast-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	font-size: var(--font-size-sm);
	flex: 0 0 auto;
}

.sr-toast-copy {
	min-width: 0;
}

.sr-toast-title {
	font-family: "Space Grotesk", sans-serif;
	font-size: var(--font-size-4xs);
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
	margin-bottom: 0.45rem;
	text-transform: uppercase;
}

.sr-toast-message {
	font-family: "Inter", sans-serif;
	font-size: var(--font-size-md);
	font-weight: 600;
	line-height: 1.35;
}

.sr-toast-close {
	opacity: 0.55;
	padding: 0.25rem;
}

.sr-toast-close:hover {
	opacity: 0.9;
}

.sr-toast-success {
	background: #1f4b2b;
}

.sr-toast-success .sr-toast-icon {
	background: #42e85f;
	color: #083d17;
}

.sr-toast-success .sr-toast-title {
	color: #42e85f;
}

.sr-toast-danger {
	background: #5a2228;
}

.sr-toast-danger .sr-toast-icon {
	background: #f25c6a;
	color: #4a1118;
}

.sr-toast-danger .sr-toast-title {
	color: #ff8d98;
}

.sr-toast-info,
.sr-toast-primary {
	background: #173e56;
}

.sr-toast-info .sr-toast-icon,
.sr-toast-primary .sr-toast-icon {
	background: #54c7f4;
	color: #0a3348;
}

.sr-toast-info .sr-toast-title,
.sr-toast-primary .sr-toast-title {
	color: #76d8ff;
}

.sr-toast-warning {
	background: #5a4519;
}

.sr-toast-warning .sr-toast-icon {
	background: #ffd35a;
	color: #4c3708;
}

.sr-toast-warning .sr-toast-title {
	color: #ffe08a;
}
