:root {
	--iv1-primary: #234DA1;
	--iv1-primary-dark: #0a58ca;
	--iv1-bg: #f4f7fb;
	--iv1-card: #ffffff;
	--iv1-text: #1f2937;
	--iv1-muted: #6b7280;
	--iv1-border: #dbe4f0;
	--iv1-success: #198754;
	--iv1-danger: #dc3545;
	--iv1-warning: #f59e0b;
}	

html, body {
	height: 100%;
}
	
body {
	background: #f4f7fb;
	color: #1f2937;
	min-height: 100vh;
	display: flex;
	flex-direction: column;	
}

.card-title {
	font-weight: 600;
}

pre.log-box {
	background: #10151c;
	color: #9ef7b1;
	border-radius: .75rem;
	padding: 1rem;
	min-height: 320px;
	max-height: 520px;
	overflow: auto;
	white-space: pre-wrap;
	word-break: break-word;
	margin-bottom: 0;
	font-size: .9rem;
}

code.key-box {
	display: inline-block;
	background: #f1f3f5;
	color: #212529;
	padding: .35rem .6rem;
	border-radius: .5rem;
	word-break: break-all;
}

.table > :not(caption) > * > * {
	vertical-align: middle;
}

.action-btns .btn {
	min-width: 150px;
}

.dataTables_wrapper .dataTables_filter input {
	margin-left: .5rem;
}

.copy-feedback {
	display: none;
}

.page-header {
	background: #ffffff;
	color: #333333;
	border-radius: 16px;
	padding: 2rem;
}

.card {
	background: var(--iv1-card);
	border: 1px solid var(--iv1-border);
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}	
		
.card {
	border: 1px solid #dbe4f0;
	border-radius: 16px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.btn-primary {
	background-color: #0b5ed7;
	border-color: #0b5ed7;
}

.btn-primary:hover {
	background-color: #0a58ca;
	border-color: #0a58ca;
}

.btn-outline-primary {
	color: #0b5ed7;
	border-color: #0b5ed7;
}

.btn-outline-primary:hover {
	background-color: #0b5ed7;
	border-color: #0b5ed7;
}	

.iv1-sticky-top {
	position: sticky;
	top: 0;
	z-index: 1020;
	backdrop-filter: blur(10px);
}

.iv1-header-bar {
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid #dbe4f0;
}		
		
.iv1-footer {
	margin-top: 60px;
	padding: 20px 0;
	border-top: 1px solid #dbe4f0;
	background: #f8fafc;
	font-size: 0.9rem;
}

.iv1-footer-brand {
	font-weight: 600;
	color: #0b5ed7;
}

.iv1-footer-meta {
	color: #6b7280;
}

.iv1-footer-links a {
	color: #0b5ed7;
	text-decoration: none;
}

.iv1-footer-links a:hover {
	text-decoration: underline;
}		

.clients-count {
	display: inline-flex;
	align-items: center;
	padding: .45rem .85rem;
	border-radius: .6rem;
	background: #eef4ff;
	color: #0b5ed7;
	font-weight: 600;
	border: 1px solid #cfe0ff;
	font-size: .875rem;
}

.iv1-btn-outline {
	color: #234DA1;
	border: 1px solid #234DA1;
	background: #fff;
	border-radius: .6rem;
	padding: .4rem .85rem;
	font-weight: 500;
}

.iv1-btn-outline:hover {
	background: #234DA1;
	color: #fff;
}		

/* Confirm Modal */

#confirmModal .modal-content {
	border-radius: 14px;
	border: 1px solid #dbe4f0;
	box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

#confirmModal .modal-header {
	background: #f5f8ff;
	border-bottom: 1px solid #dbe4f0;
}

#confirmModal .modal-title {
	font-weight: 600;
	color: #0b5ed7;
}

#confirmModal .modal-body {
	font-size: 0.95rem;
	color: #374151;
}

#confirmModal .modal-footer {
	border-top: 1px solid #eef2f7;
}

/* Buttons */

#confirmModal .btn-primary {
	background: #0b5ed7;
	border-color: #0b5ed7;
}

#confirmModal .btn-primary:hover {
	background: #0a58ca;
	border-color: #0a58ca;
}

#confirmModal .btn-light {
	background: #f1f5f9;
	border: 1px solid #dbe4f0;
}

#confirmModal .btn-light:hover {
	background: #e5eaf2;
}

.modal.fade .modal-dialog {
	transform: translateY(-20px);
	transition: transform .25s ease-out;
}

.modal.show .modal-dialog {
	transform: translateY(0);
}		

.copy-btn-fixed {
	min-width: 280px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.copy-btn-label {
	display: inline-block;
	white-space: nowrap;
}

.copy-btn-spinner {
	flex: 0 0 auto;
}

.health-box { min-height: 110px; }
.log-box {
	background: #0f172a;
	color: #e2e8f0;
	border-radius: 0.75rem;
	padding: 1rem;
	min-height: 260px;
	max-height: 380px;
	overflow: auto;
	white-space: pre-wrap;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.85rem;
}
.cursor-pointer { cursor: pointer; }

a {
    color: #234DA1;
    text-decoration: none;
}

a:hover {
    color: #234DA1;
}

a:visited {
    color: #234DA1;
}

a:active {
    color: #234DA1;
}

.page-link {
    color: #234DA1;
}

.page-item.active .page-link {
    background-color: #234DA1;
    border-color: #234DA1;
}