:root {
	--e-global-color-primary: #C025FF;
	--e-global-color-secondary: #7732C5;
	--e-global-color-text: #999999;
	--e-global-color-accent: #FFC332;
	--e-global-color-e777cd9: #F0F0F0;
	--e-global-color-e9c5ff0: #0F0F0F;
	--e-global-color-e632858: #FFFFFF00;
	--e-global-color-9947692: #FFFFFFD1;
	--e-global-color-7e293d1: #22283170;
	--e-global-color-7c8e945: #E19AFF;
	--e-global-color-d5fbd0b: #3E3E3E;
	--e-global-color-1285cd4: #17161E;
	--e-global-typography-primary-font-family: "Plus Jakarta Sans";
	--e-global-typography-primary-font-size: 90px;
	--e-global-typography-primary-font-weight: 600;
	--e-global-typography-primary-line-height: 1em;
	--e-global-typography-primary-letter-spacing: 0px;
	--e-global-typography-secondary-font-family: "Plus Jakarta Sans";
	--e-global-typography-secondary-font-size: 27px;
	--e-global-typography-secondary-font-weight: 400;
	--e-global-typography-secondary-line-height: 1.5em;
	--e-global-typography-secondary-letter-spacing: 0px;
	--e-global-typography-text-font-family: "Plus Jakarta Sans";
	--e-global-typography-text-font-size: 18px;
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-text-line-height: 1.75em;
	--e-global-typography-text-letter-spacing: 0px;
	--e-global-typography-accent-font-family: "Plus Jakarta Sans";
	--e-global-typography-accent-font-size: 16px;
	--e-global-typography-accent-font-weight: 600;
	--e-global-typography-accent-text-transform: uppercase;
	--e-global-typography-accent-line-height: 1.5em;
	--e-global-typography-accent-letter-spacing: 0.15px;
	--e-global-typography-87350ce-font-family: "Plus Jakarta Sans";
	--e-global-typography-87350ce-font-size: 18px;
	--e-global-typography-87350ce-font-weight: 700;
	--e-global-typography-87350ce-line-height: 1em;
	--e-global-typography-87350ce-letter-spacing: 0.25px;
	--e-global-typography-784143b-font-family: "Plus Jakarta Sans";
	--e-global-typography-784143b-font-size: 16px;
	--e-global-typography-784143b-font-weight: 600;
	--e-global-typography-784143b-letter-spacing: 0.25px;
	--e-global-typography-8352cd5-font-family: "Plus Jakarta Sans";
	--e-global-typography-8352cd5-font-size: 72px;
	--e-global-typography-8352cd5-font-weight: 600;
	--e-global-typography-8352cd5-line-height: 1.1em;
	--e-global-typography-8352cd5-letter-spacing: 0px;
	--e-global-typography-4353ebc-font-family: "Plus Jakarta Sans";
	--e-global-typography-4353ebc-font-size: 58px;
	--e-global-typography-4353ebc-font-weight: 600;
	--e-global-typography-4353ebc-line-height: 1.1em;
	--e-global-typography-4353ebc-letter-spacing: 0px;
	--e-global-typography-d4f69a8-font-family: "Plus Jakarta Sans";
	--e-global-typography-d4f69a8-font-size: 46px;
	--e-global-typography-d4f69a8-font-weight: 600;
	--e-global-typography-d4f69a8-line-height: 1.2em;
	--e-global-typography-d4f69a8-letter-spacing: 0px;
	--e-global-typography-326df42-font-family: "Plus Jakarta Sans";
	--e-global-typography-326df42-font-size: 36px;
	--e-global-typography-326df42-font-weight: 600;
	--e-global-typography-326df42-line-height: 1.2em;
	--e-global-typography-326df42-letter-spacing: 0px;
	--e-global-typography-49ea2e1-font-family: "Plus Jakarta Sans";
	--e-global-typography-49ea2e1-font-size: 30px;
	--e-global-typography-49ea2e1-font-weight: 600;
	--e-global-typography-49ea2e1-line-height: 1.3em;
	--e-global-typography-49ea2e1-letter-spacing: 0px;
	--e-global-typography-6524214-font-family: "Plus Jakarta Sans";
	--e-global-typography-6524214-font-size: 24px;
	--e-global-typography-6524214-font-weight: 600;
	--e-global-typography-6524214-line-height: 1.4em;
	--e-global-typography-6524214-letter-spacing: 0px;
	--e-global-typography-aa06a68-font-family: "Plus Jakarta Sans";
	--e-global-typography-aa06a68-font-size: 17px;
	--e-global-typography-aa06a68-font-weight: 400;
	--e-global-typography-aa06a68-line-height: 1.75em;
	--e-global-typography-aa06a68-letter-spacing: 0px;
	--e-global-typography-4497e08-font-family: "Plus Jakarta Sans";
	--e-global-typography-4497e08-font-size: 16px;
	--e-global-typography-4497e08-font-weight: 400;
	--e-global-typography-4497e08-line-height: 1.75em;
	--e-global-typography-4497e08-letter-spacing: 0px;
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	line-height: var(--e-global-typography-text-line-height);
	letter-spacing: var(--e-global-typography-text-letter-spacing);
}

/* עיצוב רקע מסך הטעינה */
#loading-screen p {
	margin: 0;
	font-size: 24px;
	margin-bottom: 10px;
}

/* מסך טעינה ראשוני */
#loadingScreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #27293d;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	transition: opacity 0.5s ease;
}

/* מסך "מתחבר מחדש" */
#reconnectMessage {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #27293d;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 9997;
	transition: opacity 0.5s ease;
	display: none;
}

/* אנימציית טעינה */
.loader {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: conic-gradient(var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%, var(--e-global-color-accent) 100%);
	animation: spin 1s linear infinite;
	mask: radial-gradient(circle, transparent 48%, black 60%);
	-webkit-mask: radial-gradient(circle, transparent 48%, black 60%);
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

html { 
	height: 100%;
	margin: 0;
}

body {
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
	background: linear-gradient(#1e1e2f, #1e1e24);
	background-attachment: fixed;
	background-size: cover;
	color: #ffffff;
	margin-top: 100px;
    padding-bottom: 30px;
}

.header {
	border-top: 2px solid var(--e-global-color-primary);
	position: fixed;
	width: 100%;
	top: 0px;
	background: #0000005e;
	z-index: 999;
}

.header-logo {
	width: 200px;
	height: auto;
}

.card {
	border: none;
	border-radius: 20px;
	width: 32%;
	background: #27293d;
	box-shadow: 0 1px 20px 0px rgba(0, 0, 0, 0.1);
}

.btn-close.btn-close-white,
.btn-close {
	margin: 0px !important;
}

.modal-content {
	background: #27293d !important;
}

.modal-header {
	border-color: var(--e-global-color-primary);
}

.card-header,
.card-body {
	color: #ffffff;
}

.form-control,
.btn {
	border-radius: 5px;
}

.table-dark {
	--bs-table-bg: #27293d;
	--bs-table-striped-bg: #27293d;
}

.form-container {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
	background: var(--e-global-color-primary);
	background-color: var(--e-global-color-primary);
	background-image: -webkit-linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%);
	background-image: -o-linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%);
	background-image: -moz-linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%);
	background-image: linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%) !important;
	color: #FFF;
	border-color: var(--e-global-color-primary);
	box-shadow: 0px 10px 30px 0px rgba(218.41545368620038, 59.315217391304344, 255, 0.4);
}

.nav-tabs .nav-link {
	color: var(--e-global-color-primary);
	border-color: var(--e-global-color-primary);
	background: transparent;
}

.nav-tabs {
	border: none;
	padding: 0px;
}

.form-control {
	color: #fff;
	background-color: #fff0;
	border: var(--bs-border-width) solid #3e3e3e;
}

.form-control::placeholder {
	color: rgba(255, 255, 255, 0.75);
}

.form-control:focus {
	background-color: #fff0;
	color: #fff;
	border: var(--bs-border-width) solid var(--e-global-color-primary);
}

.nav-tabs .nav-link {
	color: #FFF;
	margin-left: 10px;
	border-radius: 10px;
}

.btn-primary {
	background: var(--e-global-color-primary);
	background-color: var(--e-global-color-primary);
	background-image: -webkit-linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%);
	background-image: -o-linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%);
	background-image: -moz-linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%);
	background-image: linear-gradient(145deg, var(--e-global-color-accent) 0%, var(--e-global-color-primary) 60%) !important;
	box-shadow: none;
	box-shadow: 0px 10px 30px 0px rgba(218.41545368620038, 59.315217391304344, 255, 0.4);
	color: #ffffff;
	border: none;
}

.btn-secondary {
	background-color: transparent;
	fill: var(--e-global-color-e777cd9);
	color: #C025FF;
	background-image: linear-gradient(180deg, var(--e-global-color-e9c5ff0) 0%, var(--e-global-color-e9c5ff0) 100%);
	border-style: solid;
	border-width: 1px 1px 3px 1px;
	border-color: var(--e-global-color-primary);
	box-shadow: 0px 10px 30px 0px rgba(145.3234375, 44.54479279891305, 137.68869168931184, 0.5);
}

.mt-5 {
	margin-top: 2rem !important;
	margin-bottom: 3rem;
}

.m-0 {
	font-size: 24px;
}

.modal-content {
	z-index: 99999;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
}


table {
	width: 100%;
	margin-bottom: 20px;
	color: #FFF;
	font-size: 14px;
	table-layout: fixed;
}

th,
td {
	vertical-align: middle;
	padding: 0;
	height: 30px;
	line-height: 30px;
}

td input {
	height: 28px;
	line-height: 28px;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

@media (max-width: 992px) {
	.card {
		width: 48%;
	}
}

@media (max-width: 768px) {
	.header-logo {
		width: 150px;
	}

	.header-title {
		font-size: 18px;
	}

	.nav-tabs {
		justify-content: center;
	}

	.card {
		width: 100%;
	}

	table {
		font-size: 12px !important;
	}

	.table>tbody {
		font-size: 11px;
	}

	.form-control {
		font-size: 11px;
	}

	th,
	td {
		padding: 5px !important;
	}

	input {
		/*width: 100% !important;*/
		max-width: none;
	}

	button {
		font-size: 12px !important;
	}

	td input {
		/*width: 100% !important;*/
		max-width: none !important;
	}

	td {
		width: auto !important;
		max-width: none !important;
	}

}


/* שמירת גלילה והסתרת בר הגלילה */
html, body {
    overflow: auto; /* שמירת אפשרות לגלילה */
    scrollbar-width: none; /* הסתרת בר הגלילה ב-Firefox */
    -ms-overflow-style: none; /* הסתרת בר הגלילה ב-IE וב-Edge ישנים */
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none; /* הסתרת בר הגלילה ב-Chrome, Edge, ו-Safari */
}
