/*
* simplePress.css — A Lite CSS Framework
* Architect: Rafael Peres
* Version: 2.6 (2026 Edition - Alphabetized Order Refactored)
*/

:root {

	--alert-error:									#DC3545;
	--alert-success:								#28A745;
	--alert-warning:								#FFC107;
	--alert-overlay:								rgba(0, 0, 0, 0.6);

	--border-radius:								5px;
	--button-hover:									#333;
	--card-background:							#FFF;
	--card-shadow:									0 4px 6px rgba(0, 0, 0, 0.1);
	--container-max:								1640px;
	--gutter:												20px;
	--theme-background:							#FFF;
	--theme-body-background:				#F7F7F7;
	--theme-fields-background:			#FFF;
	--theme-sidebar-background:			#E3E3E3;
	--theme-sidebar-color:					#333;
	--theme-sidebar-icon:						#333;
	--theme-featured-background:		#E3E3E3;
	--theme-featured-border:				#333;
	--theme-featured-color:					#333;
	--theme-text:										#333;
	--theme-text-muted:							#666;
	--theme-tooltip-background:			#333;
	--theme-tooltip-text:						#FFF;
	--theme-grid-header-background:	#F3F3F3;
	--theme-grid-header-text-color:	#000;
	--theme-grid-text-color:				#333;

	/* columns */
	--col-1:  8.333333%;
	--col-2:  16.666667%;
	--col-3:  25%;
	--col-4:  33.333333%;
	--col-5:  41.666667%;
	--col-6:  50%;
	--col-7:  58.333333%;
	--col-8:  66.666667%;
	--col-9:  75%;
	--col-10: 83.333333%;
	--col-11: 91.666667%;
	--col-12: 100%;

	/* borders */
	--theme-border-color:							#DEDFDF;
	--theme-border-color-focus:				#666;
	--theme-border-color-hover:				#333;
	/* --theme-grid-border-color:				#C7C7C7; */
	--theme-grid-border-color:				#DEDFDF;

	--theme-grid-header-border-color: #C7C7C7;

	--theme-fields-border-radius: 5px;
	--theme-placeholder: #666;

	/* button-primary */
	--theme-button-primary-bg: #333;
	--theme-button-primary-bg-hover: #555;
	--theme-button-primary-border-color: #333;
	--theme-button-primary-border-color-hover: #555;
	--theme-button-primary-text: #FFF;
	--theme-button-primary-text-hover: #FFF;

	/* button-secondary */
	--theme-button-secondary-bg: #6C757D;
	--theme-button-secondary-bg-hover: #5A6268;
	--theme-button-secondary-border-color: #6C757D;
	--theme-button-secondary-border-color-hover: #545B62;
	--theme-button-secondary-text: #FFF;
	--theme-button-secondary-text-hover: #FFF;

	--theme-app-footer-background: #666;

}

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji');
}

.theme-dark {

	/* --alert-overlay: rgba(0, 0, 0, 0.8); */

	--card-background:				#252525;
	--card-shadow:						0 4px 12px rgba(0, 0, 0, 0.5);
	--theme-background:				#1A1A1A;
	--theme-body-background:	#2D2D2D;
	--theme-fields-background: #252525;
	--theme-sidebar-background: #252525;
	--theme-sidebar-color: #EEE;
	--theme-sidebar-icon: #EEE;
	--theme-featured-background: #252525;
	--theme-featured-border: #EEE;
	--theme-featured-color: #EEE;
	--theme-text: #EEE;
	--theme-text-muted: #EEE;
	--theme-tooltip-background: #9BA1A1;
	--theme-tooltip-text: #000;
	--theme-grid-header-background:		#222;
	--theme-grid-header-text-color:		#EEE;
	--theme-grid-text-color: #A9A9A9;

	--theme-border-color: #414141;
	--theme-border-color-hover: #888;
	--theme-grid-border-color: #686868;
	--theme-placeholder: #666;

	--theme-grid-header-border-color: #444;
	--theme-grid-border-color: #645D5D;

	/* button-primary styles*/
	--theme-button-primary-bg: #EEE;
	--theme-button-primary-bg-hover: #FFF;
	--theme-button-primary-border-color: #EEE;
	--theme-button-primary-border-color-hover: #FFF;
	--theme-button-primary-text: #1A1A1A;
	--theme-button-primary-text-hover: #000;

	/* button-secondary styles*/
	--theme-button-secondary-bg: #6C757D;
	--theme-button-secondary-bg-hover: #5A6268;
	--theme-button-secondary-border-color: #6C757D;
	--theme-button-secondary-border-color-hover: #545B62;
	--theme-button-secondary-text: #FFF;
	--theme-button-secondary-text-hover: #FFF;

	--theme-app-footer-background: #FF0000;

}

* {
	box-sizing: border-box;
}

.switch {
	background-color: #CCC;
	border-radius: 20px;
	cursor: pointer;
	display: inline-block;
	height: 24px;
	position: relative;
	transition: background-color 0.3s ease;
	width: 50px;
}

	.switch::before {
		background-color: #FFF;
		border-radius: 50%;
		bottom: 4px;
		content: '';
		height: 16px;
		left: 4px;
		position: absolute;
		transition: transform 0.3s ease;
		width: 16px;
	}

/* Dark mode switch 'hack' */
#dark-mode-check {
	display: none;
}

#dark-mode-check:checked ~ .theme-wrapper {
	--alert-overlay:									rgba(0, 0, 0, 0.8);
	--card-background:								#252525;
	--card-shadow:										0 4px 12px rgba(0, 0, 0, 0.5);
	--theme-background:								#1A1A1A;
	--theme-border-color:							#414141;
	--theme-border-color-hover:				#888;
	--theme-body-background:					#2D2D2D;
	--theme-fields-background:				#252525;
	--theme-sidebar-background:				#252525;
	--theme-sidebar-color:						#EEE;
	--theme-sidebar-icon:							#EEE;
	--theme-featured-background: #252525;
	--theme-featured-border: #EEE;
	--theme-featured-color: #EEE;
	--theme-text-muted: #A9A9A9;
	--theme-tooltip-background: #CACACA;
	--theme-tooltip-text: #000;
	--theme-grid-header-background: #222;
	--theme-grid-header-border-color: #444;
	--theme-grid-border-color: #444;
	--theme-grid-header-text-color: #EEE;
	--theme-grid-text-color: #A9A9A9;
	--theme-placeholder: #666;
	--theme-text: #EEE;
	background-color: var(--theme-background);
	color: var(--theme-text);
}

	#dark-mode-check:checked ~ .theme-wrapper .tab-nav {
		border-bottom-color: var(--theme-border-color);
	}

	#dark-mode-check:checked ~ .theme-wrapper .tab-label {
		color: var(--theme-placeholder);
	}

	#dark-mode-check:checked ~ .theme-wrapper #tab-1:checked ~ .tab-nav label[for="tab-1"],
	#dark-mode-check:checked ~ .theme-wrapper #tab-2:checked ~ .tab-nav label[for="tab-2"],
	#dark-mode-check:checked ~ .theme-wrapper #tab-3:checked ~ .tab-nav label[for="tab-3"] {
		border-bottom-color: var(--theme-button-primary-bg);
		color: var(--theme-button-primary-bg);
	}

	#dark-mode-check:checked ~ .theme-wrapper .switch {
		background-color: var(--button-hover);
	}

		#dark-mode-check:checked ~ .theme-wrapper .switch::before {
			transform: translateX(26px);
		}

.tab-state {
	display: none;
}

.tab-nav {
	border-bottom: 2px solid var(--theme-border-color);
	display: flex;
	gap: 10px;
}

.tab-label {
	border-bottom: 2px solid transparent;
	cursor: pointer;
	margin-bottom: -2px;
	padding: 15px 25px;
	transition: color 0.3s ease, border-color 0.3s ease;
}

#tab-1:checked ~ .tab-nav label[for="tab-1"],
#tab-2:checked ~ .tab-nav label[for="tab-2"],
#tab-3:checked ~ .tab-nav label[for="tab-3"] {
	border-bottom-color: var(--theme-button-primary-bg);
	color: var(--theme-button-primary-bg);
	font-weight: bold;
}

.tab-content-wrapper {
	margin-top: 20px;
	min-height: 150px;
	position: relative;
}

.tab-panel {
	left: 0;
	opacity: 0;
	position: absolute;
	top: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
	visibility: hidden;
	width: 100%;
}

#tab-1:checked ~ .tab-content-wrapper #content-1,
#tab-2:checked ~ .tab-content-wrapper #content-2,
#tab-3:checked ~ .tab-content-wrapper #content-3 {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

.container-fluid, .container {
	margin: 0 auto;
	padding: 0 var(--gutter);
	width: 100%;
}

.container {
	max-width: var(--container-max);
}

.row {
	--gutter-x: var(--gutter);
	--gutter-y: 0px;
	display: flex;
	flex-wrap: wrap;
	margin-left: calc(var(--gutter-x) * -0.5);
	margin-right: calc(var(--gutter-x) * -0.5);
	margin-top: calc(var(--gutter-y) * -1);
}

.row > * {
	box-sizing: border-box;
	flex-shrink: 0;
	margin-top: var(--gutter-y);
	max-width: 100%;
	padding-left: calc(var(--gutter-x) * 0.5);
	padding-right: calc(var(--gutter-x) * 0.5);
	width: 100%;
}

.g-0, .gx-0 {
	--gutter-x: 0px;
}

.g-0, .gy-0 {
	--gutter-y: 0px;
}

.col {
	flex: 1 0 0%;
}

.col-auto {
	flex: 0 0 auto;
	width: auto;
}

.col-1		{	width: var(--col-1);	}
.col-2		{	width: var(--col-2);	}
.col-3		{	width: var(--col-3);	}
.col-4		{	width: var(--col-4);	}
.col-5		{	width: var(--col-5);	}
.col-6		{	width: var(--col-6);	}
.col-7		{	width: var(--col-7);	}
.col-8		{	width: var(--col-8);	}
.col-9		{	width: var(--col-9);	}
.col-10		{	width: var(--col-10);	}
.col-11		{	width: var(--col-11);	}
.col-12		{	width: var(--col-12);	}

@media (min-width: 576px) {
	.container	{ max-width: 540px; }
	.col-sm-1		{ width: var(--col-1); }
	.col-sm-2		{ width: var(--col-2); }
	.col-sm-3		{ width: var(--col-3); }
	.col-sm-4		{ width: var(--col-4); }
	.col-sm-5		{ width: var(--col-5); }
	.col-sm-6		{ width: var(--col-6); }
	.col-sm-7		{ width: var(--col-7); }
	.col-sm-8		{ width: var(--col-8); }
	.col-sm-9		{ width: var(--col-9); }
	.col-sm-10	{ width: var(--col-10); }
	.col-sm-11	{ width: var(--col-11); }
	.col-sm-12	{ width: var(--col-12); }
}

@media (min-width: 768px) {
	.container	{ max-width: 720px; }
	.col-md-1		{ width: var(--col-1); }
	.col-md-2		{ width: var(--col-2); }
	.col-md-3		{ width: var(--col-3); }
	.col-md-4		{ width: var(--col-4); }
	.col-md-5		{ width: var(--col-5); }
	.col-md-6		{ width: var(--col-6); }
	.col-md-7		{ width: var(--col-7); }
	.col-md-8		{ width: var(--col-8); }
	.col-md-9		{ width: var(--col-9); }
	.col-md-10	{ width: var(--col-10); }
	.col-md-11	{ width: var(--col-11); }
	.col-md-12	{ width: var(--col-12); }
}

@media (min-width: 992px) {
	.container	{ max-width: 960px; }
	.col-lg-1		{ width: var(--col-1); }
	.col-lg-2		{ width: var(--col-2); }
	.col-lg-3		{ width: var(--col-3); }
	.col-lg-4		{ width: var(--col-4); }
	.col-lg-5		{ width: var(--col-5); }
	.col-lg-6		{ width: var(--col-6); }
	.col-lg-7		{ width: var(--col-7); }
	.col-lg-8		{ width: var(--col-8); }
	.col-lg-9		{ width: var(--col-9); }
	.col-lg-10	{ width: var(--col-10); }
	.col-lg-11	{ width: var(--col-11); }
	.col-lg-12	{ width: var(--col-12); }
}

@media (min-width: 1200px) {
	.container	{ max-width: 1140px; }
	.col-xl-1		{ width: var(--col-1); }
	.col-xl-2		{ width: var(--col-2); }
	.col-xl-3		{ width: var(--col-3); }
	.col-xl-4		{ width: var(--col-4); }
	.col-xl-5		{ width: var(--col-5); }
	.col-xl-6		{ width: var(--col-6); }
	.col-xl-7		{ width: var(--col-7); }
	.col-xl-8		{ width: var(--col-8); }
	.col-xl-9		{ width: var(--col-9); }
	.col-xl-10	{ width: var(--col-10); }
	.col-xl-11	{ width: var(--col-11); }
	.col-xl-12	{ width: var(--col-12); }
}

@media (min-width: 1400px) {
	.container  { max-width: var(--container-max); }
	.col-xxl-1	{ width: var(--col-1); }
	.col-xxl-2	{ width: var(--col-2); }
	.col-xxl-3	{ width: var(--col-3); }
	.col-xxl-4	{ width: var(--col-4); }
	.col-xxl-5	{ width: var(--col-5); }
	.col-xxl-6	{ width: var(--col-6); }
	.col-xxl-7	{ width: var(--col-7); }
	.col-xxl-8	{ width: var(--col-8); }
	.col-xxl-9	{ width: var(--col-9); }
	.col-xxl-10	{ width: var(--col-10); }
	.col-xxl-11	{ width: var(--col-11); }
	.col-xxl-12	{ width: var(--col-12); }
}

.mt-20        { margin-top: 20px; }
.pt-20        { padding-top: 20px; }
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-upper   { text-transform: uppercase; }

.card {
	background-color: var(--card-background);
	border: 1px solid var(--theme-border-color) !important;
	border-radius: var(--border-radius);
	box-shadow: none;
	color: var(--theme-text);
	display: flex;
	flex-direction: column;
	margin: 40px 0 0 !important;
	overflow: hidden;
	padding: 20px;
}

.alert-state {
	display: none;
}

.alert-overlay {
	align-items: center;
	background-color: var(--alert-overlay);
	display: flex;
	height: 100%;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	visibility: hidden;
	width: 100%;
	z-index: 9999;
}

	.alert-state:checked + .alert-overlay {
		opacity: 1;
		visibility: visible;
	}

.alert-modal {
	background-color: var(--card-background);
	border-radius: var(--border-radius);
	max-width: 450px;
	padding: 40px;
	text-align: center;
	transform: translateY(20px);
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	width: 90%;
}

.alert-state:checked + .alert-overlay .alert-modal {
	transform: translateY(0);
}

.alert-icon {
	align-items: center;
	border: 3px solid;
	border-radius: 50%;
	display: flex;
	font-weight: bold;
	height: 80px;
	justify-content: center;
	margin: 0 auto 20px;
	width: 80px;
}

	.alert-icon span {
		font-size: 40px;
	}

	.alert-icon.alert-success {
		border-color: var(--alert-success);
		color: var(--alert-success);
	}

	.alert-icon.alert-warning {
		border-color: var(--alert-warning);
		color: var(--alert-warning);
	}

	.alert-icon.alert-error {
		border-color: var(--alert-error);
		color: var(--alert-error);
	}

input:-webkit-autofill {
	-webkit-box-shadow: 0 0 0 30px var(--theme-fields-background) inset !important;
	-webkit-text-fill-color: var(--theme-text) !important;
}

.button {
	border: 1px solid transparent;
	border-radius: var(--border-radius);
	cursor: pointer;
	display: inline-block;
	font-size: 15px;
	font-weight: 500;
	padding: 20px;
	text-align: center;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	user-select: none;
	vertical-align: middle;
	width: 100%;
}

.button-primary {
	background-color: var(--theme-button-primary-bg);
	border-color: var(--theme-button-primary-border-color);
	color: var(--theme-button-primary-text);
}

	.button-primary:hover {
		background-color: var(--theme-button-primary-bg-hover);
		border-color: var(--theme-button-primary-border-color-hover);
		color: var(--theme-button-primary-text-hover);
	}

/* Secondary Button Style */
.button-secondary {
	background-color: var(--theme-button-secondary-bg);
	border-color: var(--theme-button-secondary-border-color);
	color: var(--theme-button-secondary-text);
}

	.button-secondary:hover {
		background-color: var(--theme-button-secondary-bg-hover);
		border-color: var(--theme-button-secondary-border-color-hover);
		color: var(--theme-button-secondary-text-hover);
	}

.code-example {
	border: 1px solid var(--theme-border-color);
	border-radius: var(--border-radius);
	margin-top: 20px;
	padding: 40px 20px 20px;
	position: relative;
}

.copy-btn {
	align-items: center;
	background: none;
	border: none;
	color: var(--theme-placeholder);
	cursor: pointer;
	display: flex;
	font-size: 12px;
	gap: 8px;
	position: absolute;
	right: 10px;
	top: 5px;
	transition: color 0.2s ease;
}

.copy-btn:hover {
	color: var(--theme-text);
}

.copy-btn svg {
	opacity: 0.7;
}

.d-none				{	display: none !important;		}
.d-flex				{	display: flex !important;		}
.d-block			{	display: block !important;	}
.w-100				{	width: 100% !important;			}
.flex-grow-1	{	flex-grow: 1 !important;		}

.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }

.gap-8 { gap: 8px !important; }
.gap-12 { gap: 12px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-20 { margin-bottom: 20px !important; }
.mr-1 { margin-right: 4px !important; }
.mr-3 { margin-right: 16px !important; }
.p-0 { padding: 0 !important; }

#overlay {
	backdrop-filter: blur(2px);
	background-color: var(--alert-overlay);
	display: none;
	height: 100vh;
	left: 0;
	opacity: 0;
	position: fixed;
	top: 0;
	transition: opacity 0.3s ease;
	width: 100vw;
	z-index: 1040;
}

	#overlay.active {
		display: block;
		opacity: 1;
	}

.drawer-panel {
	background-color: var(--card-background);
	box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
	color: var(--theme-text);
	height: 100vh;
	max-width: 480px;
	overflow-y: auto;
	padding: 24px;
	position: fixed;
	right: -480px;
	top: 0;
	transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
	z-index: 1050;
}

	.drawer-panel.active, .drawer-panel.open {
		right: 0;
	}

	.drawer-header {
		align-items: flex-start;
		border-bottom: 1px solid var(--theme-border-color);
		display: flex;
		justify-content: space-between;
		margin-bottom: 20px;
		padding-bottom: 16px;
	}

.table-container {
	width: 100%;
}

.table tbody tr.selected-row {
	border: 1px solid #FF0000 !important;
}

.table-custom tbody tr.row-fade-in {
	animation: fadeInRow 0.4s ease-in-out forwards;
}

@keyframes fadeInRow {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Empty State */
.empty-state {
	color: var(--theme-placeholder);
	padding: 48px 16px;
	text-align: center;
}

.empty-icon {
	display: block;
	font-size: 2.5rem;
	margin-bottom: 12px;
	opacity: 0.4;
}