@font-face {
	font-family: "vazir-regular";
	src: url("/rscs/fonts/common/Vazirmatn-Regular.ttf");
	font-display: block;
}

@font-face {
	font-family: "vazir-bold";
	src: url("/rscs/fonts/common/Vazirmatn-Bold.ttf");
	font-display: block;
}

@font-face {
	font-family: "app-icons";
	src: url("/rscs/fonts/common/MaterialSymbolsOutlined-Medium.ttf");
	font-display: block;
}

/* name convention :
    file_name-(element type)-details_of_the_element for IDs
    file_name-class_name for Classes

/* Simple usage guide
  - Use primary for buttons, active tabs, links
  - Use secondary sparingly for highlights or success-like actions
  - Keep background very light for readability
  - Use surface for cards, modals, and sections
  - Use muted text for placeholders and less important labels 
*/

/* Brand
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-active: #5b21b6;
  --primary-soft: #ede9fe;

  --accent: #ec4899;
  --accent-hover: #db2777;
  --accent-active: #be185d;
  --accent-soft: #fce7f3;

  /* Neutrals */
/* --bg: #fafafb;
  --bg-soft: #f4f4f5;
  --surface: #ffffff;
  --surface-2: #f9fafb; */

/* Text */
/* --text: #111827;
  --text-soft: #6b7280;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff; */

/* Borders */
/* --border: #e5e7eb;
  --border-strong: #d1d5db; */

/* States */
/* --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #8b5cf6; */

/* Shadows */
/* --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.05);
  --shadow-md: 0 4px 12px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 10px 30px rgba(17, 24, 39, 0.12); */

/* Radius */
/* --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px; */

:root {
	/* new template */
	--night: #071A1F;
	--deep: #0B2A30;
	--line: #21606a;
	--gold: #FFC450;
	--cream: #F6EBD3;
	--mute: #AFC9C5;
	--beam: #FFD68C;
	--tint: #FFB561;

	/* Scale kept under the old "blue" names = WISAVA teal */
	--blue-50: #eef7f6;
	--blue-100: #d6eeec;
	--blue-200: #a9dcd9;
	--blue-500: #2fb5b2;
	--blue-600: #147f85;
	--blue-700: #106a70;
	--white: #ffffff;
	--black: #0a1f22;
	--gray-50: #fbfaf6;
	--gray-100: #f6f3eb;
	--gray-200: #e1e9e6;
	--gray-300: #c5d6d3;
	--gray-400: #8fa9a6;
	--gray-500: #5f7476;
	--gray-700: #2b4a4e;
	--gray-900: #103d42;
	--error: #c2413b;
	--success: #1a7f57;
	--warning: #b7862c;
	--info: #147f85;

	/* Brand */
	--primary: #147f85;
	--primary-hover: #106a70;
	--primary-active: #103d42;
	--primary-soft: #d6eeec;

	--accent: #8c6a38;
	--accent-hover: #74572d;
	--accent-soft: #f6ebd3;

	/* Neutrals */
	--bg: #f6f3eb;
	--bg-soft: #eeeae0;
	--surface: #ffffff;
	--surface-2: #fbfaf6;

	/* Text */
	--text: #103d42;
	--text-soft: #3e5a5d;
	--text-soft-brighter: #5f7476;
	--text-muted: #8fa9a6;
	--text-inverse: #ffffff;

	/* Borders */
	--border: #e1e9e6;
	--border-strong: #c5d6d3;

	/* Shadows */
	--shadow-sm: 0 0 2px rgba(15, 23, 42, 0.05);
	--shadow-md: 0 0 12px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 0 30px rgba(15, 23, 42, 0.12);

	/* Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;

	/* Spacing */
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 12px;
	--space-lg: 16px;
	--space-xl: 24px;

	/* fonst */
	--font-vazir: "vazir-regular";
	--font-vazir-bold: "vazir-bold";
	--font-icons: "app-icons";
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	overflow-y: scroll;
	user-select: none;
}

html,
body {
	height: 100dvh;
	width: 100vw;
}

body {
	background-color: var(--deep);
}

/* buttons */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 5px 16px;
	border-radius: var(--radius-md);
	border: 0;
	font-family: var(--font-vazir-bold);
}

.btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.btn-primary {
	background: var(--primary);
	color: var(--text-inverse);
}

.btn-secondary {
	background: var(--surface);
	color: var(--primary);
	border-color: var(--border);
}

.btn-secondary:hover {
	background: var(--bg-soft);
}

.btn-accent {
	background: var(--accent);
	color: var(--text-inverse);
}

.btn-accent:hover {
	background: var(--accent-hover);
}

.btn-link {
	background: none;
	color: var(--primary);
	border: none;
	-webkit-tap-highlight-color: transparent;
}

.divider {
	height: 1px;
	width: 90%;
	margin-left: auto;
	margin-right: auto;
	background: linear-gradient(to right, transparent 0%, var(--primary) 50%, transparent 100%);
}

/* list entry with settings style */
/* .settings-setting_menu_entry {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	direction: rtl;
	margin-bottom: 16px;
} */

/* .settings-setting_menu_entry_text {
	flex-grow: 1;
	padding-right: 10px;
} */

/* .settings-setting_menu_entry_icon {
	color: var(--text-inverse);
	font-family: var(--font-icons);
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50% 50%;
	align-self: flex-start;
} */

/* .settings-setting_menu_entry_icon_normal {
	background-color: var(--info);
} */

/* .settings-setting_menu_entry_text_name {
	direction: rtl;
	color: var(--text);
	font-family: var(--font-vazir);
	font-size: 20px;
} */

/* .settings-setting_menu_entry_text_detail {
	direction: rtl;
	color: var(--text-soft);
	font-family: var(--font-vazir);
	font-size: 14px;
} */

.common_styles-timer_label {
	/* Required for width/min-width to work on a span */
	min-width: 4ch;
	/* Adjust '4' to match max character count (e.g., "00:00" is 5ch) */
	text-align: center;
	/* Keeps the numbers centered as they change */
	font-variant-numeric: tabular-nums;
	/* keeps numbers perfectly aligned */
	padding: 0;
}

.common_styles-shadow_card {
	background-color: white;
	box-shadow: 0 8px 8px rgba(80, 80, 80, 0.4);
	border: 1px solid var(--gray-200);
	border-radius: 12px;
}

.common_styles-side_by_side_text_icon_wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
}

.common_styles-side_by_side_text_icon_text {
	direction: rtl;
	text-align: justify;
	flex-grow: 1;
}

.common_styles-side_by_side_text_icon_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	flex-shrink: 0;
	align-self: flex-start;
}

img.splash_logo {
	display: block;
	position: fixed;
}

img.splash_logo_emerging {
	top: 45%;
	width: 60%;
	left: 20%;
	animation:
		fadeIn 1200ms ease-in-out;
}

img.splash_logo_movig_up {
	animation:
		moveUp 1200ms ease-in-out forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes moveUp {
	from {
		top: 45%;
		width: 60%;
		left: 20%;
	}

	to {
		top: 16px;
		width: calc(30% - 9px);
		left: calc(35% + 4.5px);
	}
}

/* infinitely scrollable list*/
/* .infinite_scroll_list-entry {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--gray-300);
	box-shadow: 0 8px 8px rgba(125, 125, 125, 0.4);
	border-radius: 12px;
	margin-bottom: 12px;
} */

/* @media(max-width: 380px) {
	.settings-setting_menu_entry_icon {
		font-size: 22px;
		width: 38px;
		height: 38px;
	}

	.settings-setting_menu_entry_text_name {
		font-size: 18px;
	}

	.settings-setting_menu_entry_text {
		padding-right: 8px;
	}

	.settings-setting_menu_entry_text_detail {
		font-size: 14px;
	}
} */