/*
 * ❤ PROJECT NIRAK ❤ MMXXVI.I
 *
 * Copyright (c) 2026
 * Made with heart ❤ and much coffee ☕ by Project Nirak
 *
 * @version   Nirak 2026.1 - 2.0.1
 * @author    Project Nirak - Nikolaus Flamann <development@nirak.at>
 * @license   Nirak Custom License (NCL) v1.1 - https://nirak.at/license/ncl
 * @copyright Modification Copyright (c) OpenDXP (https://www.opendxp.ch)
 * @license   https://www.gnu.org/licenses/gpl-3.0.html  GNU General Public License version 3 (GPLv3)
 */

:root {
	/** no Dark and Light Mode Support yet
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	color-scheme: light dark;

	/** Global Font Settings
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	--nirak-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--nirak-brand-font-family: "Playfair Display", Georgia, "Times New Roman", serif;

	/** Global Color Settings Outside Menu, Content Area and Footer
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	--nirak-bg: rgb(0, 0, 0);
	--nirak-text: rgb(255, 255, 255);
	--nirak-link: rgb(150, 150, 150);
	--nirak-link-hover: rgb(85, 85, 85);

	/** All for the Header Menu
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	--nirak-header-bg: rgb(0, 0, 0);
	--nirak-header-text: rgb(151, 150, 150);
	--nirak-header-link: rgb(255, 255, 255);
	--nirak-header-active: rgb(180, 180, 180);
	--nirak-header-hover: rgb(177, 177, 177);
	--nirak-header-hover-bg: rgb(120, 120, 120);

	/** All for the Side Navigation Menu
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	--nirak-nav-aside-bg: rgba(34, 29, 29, 0.8);
	--nirak-nav-aside-text: rgb(230, 230, 230);
	--nirak-nav-aside-link: rgb(210, 210, 210);
	--nirak-nav-aside-active: rgb(200, 200, 200);
	--nirak-nav-aside-active-bg: rgb(67, 67, 67);
	--nirak-nav-aside-hover: rgb(130, 130, 130);
	--nirak-nav-aside-hover-bg: rgba(34, 29, 29, 0.9);

	/** All for the Content Area
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	--nirak-content-bg-transparent: rgba(209, 209, 209, 0.9); /** Content Transparent Background */
	--nirak-content-bg: rgb(255, 255, 255); /** Content Solid Background (only if flag is set) */
	--nirak-content-text: rgb(0, 0, 0);
	--nirak-content-link: rgb(0, 0, 0);
	--nirak-content-link-hover: rgb(255, 0, 0);

	--nirak-alert-border: rgb(0, 0, 0);

	--nirak-table-thead-bg: rgb(211, 211, 211);
	--nirak-table-odd: rgb(195, 195, 195);
	--nirak-table-even: rgb(211, 211, 211);
	--nirak-table-text: rgb(0, 0, 0);
	--nirak-table-border: rgb(0, 0, 0);

	--nirak-accordion-header-bg: rgb(211, 211, 211);
	--nirak-accordion-header-text: rgb(0, 0, 0);
	--nirak-accordion-body-bg: rgb(255, 255, 255);
	--nirak-accordion-body-text: rgb(0, 0, 0);
	--nirak-accordion-border: rgb(0, 0, 0);

	/** All for the Footer
	 * -----------------------------------------------------------------------------------------------------------------
	 */
	--nirak-footer-bg: rgba(0, 0, 0, 0.85);
	--nirak-footer-text: rgba(255, 255, 255, 0.80);
	--nirak-footer-link: rgba(255, 255, 255, 0.80);
}


/* Global Styles
 * ---------------------------------------------------------------------------------------------------------------------
 */

html {
	position: relative;
	min-height: 100%;
}

body {
	font-family: var(--nirak-font-family), serif;
	background: var(--nirak-bg);
	color: var(--nirak-text);
}

h1,
.navbar-brand {
	font-family: var(--nirak-brand-font-family), cursive;
	color: rgba(231, 231, 241, 0.99);
}

h1 small {
	font-family: var(--nirak-font-family), sans-serif;
	font-size: 1rem;
}

p {
	color: var(--nirak-text);
}

a {
	color: var(--nirak-link);
	text-decoration: none;
}

a:visited,
a:active {
	color: var(--nirak-link);
}

a:hover {
	text-decoration: underline;
}

pre {
	margin: 5px 0;
	width: 100%;
	display: flex;
}

pre span {
	color: #ff0080;
}

.watch {
	margin: 10px;
}

.text-center {
	text-align: center !important;
}

.nav-link {
	color: var(--nirak-link);
}

.nav-link:hover {
	color: var(--nirak-link-hover);
}

.nav-link:focus-visible {
	box-shadow: 0 0 0 0.1rem var(--nirak-link-hover);
}


/** Locked Page
 * ---------------------------------------------------------------------------------------------------------------------
 */

#locked {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.8;
	background: #f0f0f0;
}

#locked div {
	position: relative;
	margin: 0 auto;
	height: 100%;
	background: url(/bundles/niraksystem/img/locked.svg) top center;
}

@media screen and (max-height: 400px) {
	#locked div {
		margin: 3rem auto;
	}
}


/**
 * Worker Monitor
 */
#workerMonitor {
	position: fixed;
	right: 30px;
	bottom: 90px;
	padding: 10px;
	background: #1D1F21;
	color: #ffe8a1;
	font-size: 10px;
	width: 300px;
}


/** Single Login Page
 * ---------------------------------------------------------------------------------------------------------------------
 */
.centerLogin {
	margin: auto;
	position: absolute;
	top: 50%;
	left: 0;
	bottom: 0;
	right: 0;
	height: 25%;
	float: left;
	display: block;
}

.centerLogin .center {
	margin: 0 auto;
	display: table;
	top: -130%;
	position: relative;
	padding: 15px;
	background: #fff;
}

.centerLogin form {
	display: block;
	float: left;
	width: 100%;
}

