@import url('../fonts/ubuntu_mono.css');

* {
	font-family: 'Ubuntu Mono', 'Courier New', monospace;
	/* font-family: monospace; */
	box-sizing: border-box;
}


html {
	font-size: 16px;
}

@media (max-width: 480px) {
	html {
		font-size: 28px;
	}
}

body {
	padding: .5rem;
	line-height: 1.6;
}

pre {
	white-space: pre-wrap;
	word-wrap: break-word;
}

a {
	text-decoration: underline !important;
}

hr {
	margin: 1em 0 !important;
}

.tip {
	font-size: .8rem;
}

h1 {
	font-size: 2.5rem;
	margin-left: .5rem;
	margin-bottom: .5rem;
}

.bordered-fieldset {
	border: 1px solid #fff3;
	padding: .5rem;
	padding-top: 0.8rem;
	border-radius: .5rem;
}

.table :where(th, td) {
	padding-left: 0 !important;
	padding-right: 0.5rem !important;
	padding-top: 0.2rem !important;
	padding-bottom: 0.2rem !important;
}


input::placeholder,
textarea::placeholder {
	color: oklch(var(--bc) / 0.5);
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
	color: oklch(var(--bc) / 0.5);
}

input::-moz-placeholder,
textarea::-moz-placeholder {
	color: oklch(var(--bc) / 0.5);
	opacity: 1;
}

.modal-glow {
	box-shadow:
		0 0 30px rgba(119, 171, 255, 0.4);
	backdrop-filter: blur(10px);
}





.arbi-gradient-bg {
	background: linear-gradient(135deg, rgb(74, 77, 95) 0%, rgb(33, 29, 38) 100%);
}



.arbi-modal-box {
	overflow-y: auto;
	max-height: 90vh;
	padding: 1rem;
	color: white;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.arbi-modal-header {
	text-align: center;
	margin-bottom: 1rem;
}

.arbi-modal-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	margin-top: 1rem;
}

.arbi-custom-btn {
	padding: 0.5rem 1.5rem;
	border-radius: 6px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	font-size: 0.875rem;
}

.arbi-custom-btn:hover {
	transform: translateY(-1px);
}

.arbi-card-header {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	/* padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.arbi-modal-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.arbi-modal-subtitle {
	font-size: 0.875rem;
}

.arbi-fb-logo {
	background: #1877f2;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: white;
	box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}






.account-field-select {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 4px;
	padding: 0.375rem;
	color: white;
	font-size: calc(0.75rem * var(--font-scale));
}

.account-field-select:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.4);
}

.account-field-select option {
	background: #1f2937;
	color: white;
}

/* ========================================
   STANDARDIZED BUTTON SYSTEM
   ======================================== */

/* Base button styles - shared properties */
.arbi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-weight: 500;
	font-size: 0.875rem;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	text-decoration: none;
	/* white-space: nowrap; */
	box-sizing: border-box;
}

.arbi-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
}

/* Primary Button - Blue background, white text, lifts on hover */
.arbi-btn-primary {
	background: rgba(59, 130, 246, 0.8);
	color: white;
	border: 1px solid rgba(59, 130, 246, 0.5);
}

.arbi-btn-primary:hover:not(:disabled) {
	background: rgba(59, 130, 246, 1);
	border-color: rgba(59, 130, 246, 0.7);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.arbi-btn-primary:active:not(:disabled) {
	transform: translateY(0);
}

/* Success Button - Green background, white text, lifts on hover */
.arbi-btn-success {
	background: rgba(34, 197, 94, 0.8);
	color: white;
	border: 1px solid rgba(34, 197, 94, 0.5);
}

.arbi-btn-success:hover:not(:disabled) {
	background: rgba(34, 197, 94, 1);
	border-color: rgba(34, 197, 94, 0.7);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.arbi-btn-success:active:not(:disabled) {
	transform: translateY(0);
}

/* Accent Button - Dashboard style, green tinted, lifts on hover */
.arbi-btn-accent {
	background: rgba(34, 197, 94, 0.15);
	color: rgba(34, 197, 94, 0.9);
	border: 1px solid rgba(34, 197, 94, 0.3);
}

.arbi-btn-accent:hover:not(:disabled) {
	background: rgba(34, 197, 94, 0.25);
	border-color: rgba(34, 197, 94, 0.5);
	transform: translateY(-1px);
}

.arbi-btn-accent:active:not(:disabled) {
	transform: translateY(0);
}

/* Ghost Button - Subtle transparent background, lifts on hover */
.arbi-btn-ghost {
	align-items: center;
	gap: 0.375rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	transition: all 0.2s;
	background: #fff1;
	border-radius: 0.5rem;
}

.arbi-btn-ghost:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-1px);
}

.arbi-btn-ghost:active:not(:disabled) {
	transform: translateY(0);
}

/* Danger Button - Red background, white text, lifts on hover */
.arbi-btn-danger {
	background: rgba(239, 68, 68, 0.8);
	color: white;
	border: 1px solid rgba(239, 68, 68, 0.5);
}

.arbi-btn-danger:hover:not(:disabled) {
	background: rgba(239, 68, 68, 1);
	border-color: rgba(239, 68, 68, 0.7);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.arbi-btn-danger:active:not(:disabled) {
	transform: translateY(0);
}

/* Size variants */
.arbi-btn-sm {
	padding: 0.25rem 0.75rem;
	font-size: 0.75rem;
	gap: 0.25rem;
}

.arbi-btn-lg {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
	gap: 0.5rem;
}

.arbi-btn-xs {
	padding: 0.1rem 0.5rem;
	font-size: 0.7rem;
	gap: 0.2rem;
}

/* Icon-only button variants */
.arbi-btn-icon {
	padding: 0.5rem;
	min-width: 2.5rem;
	justify-content: center;
}

.arbi-btn-icon.arbi-btn-sm {
	padding: 0.25rem;
	min-width: 2rem;
}

.arbi-btn-icon.arbi-btn-lg {
	padding: 0.75rem;
	min-width: 3rem;
}