/* Information systems page (views/apps.php) */

.apps-lead {
	max-width: 46rem;
	margin: -.25rem 0 1.25rem;
	color: #5c6b7a;
}

.apps-tools {
	margin-bottom: 1.5rem;
}

.apps-search {
	position: relative;
	max-width: 32rem;
	margin-bottom: .75rem;
}

.apps-search .fa-magnifying-glass {
	position: absolute;
	top: 50%;
	left: .875rem;
	color: #5c6b7a;
	transform: translateY(-50%);
	pointer-events: none;
}

.apps-search .form-control {
	padding-left: 2.5rem;
	border-radius: 999px;
}

.apps-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.apps-chip {
	padding: .3rem .875rem;
	border: 1px solid #cfd8e3;
	border-radius: 999px;
	background: #fff;
	color: var(--sci-navy);
	font-size: .9rem;
	line-height: 1.5;
}

.apps-chip:hover {
	border-color: var(--sci-navy);
}

.apps-chip.is-active {
	border-color: var(--sci-navy);
	background: var(--sci-navy);
	color: #fff;
}

.apps-status {
	margin: .75rem 0 0;
	color: #5c6b7a;
	font-size: .875rem;
}

.apps-section {
	margin-bottom: 2rem;
}

.apps-section .page-subtitle {
	padding-left: .75rem;
	border-left: 4px solid var(--sci-gold);
}

.apps-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.apps-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.apps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.apps-card {
	position: relative;
	display: flex;
	gap: .875rem;
	align-items: flex-start;
	padding: 1rem 2.75rem 1rem 1rem;
	border: 1px solid #e3e8ef;
	border-radius: 10px;
	background: #fff;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.apps-card:hover,
.apps-card:focus-within {
	border-color: rgba(var(--sci-navy-rgb), .35);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
	transform: translateY(-2px);
}

.apps-icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	background: var(--app-color, var(--sci-navy));
	color: #fff;
	font-size: 1.25rem;
}

.apps-body {
	min-width: 0;
}

.apps-title {
	display: block;
	color: var(--sci-navy);
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.apps-title::after {
	position: absolute;
	inset: 0;
	content: "";
	border-radius: 10px;
}

.apps-title:focus-visible {
	outline: none;
}

.apps-title:focus-visible::after {
	outline: 3px solid var(--sci-focus);
	outline-offset: 2px;
}

.apps-desc {
	margin: .25rem 0 .375rem;
	color: #4a5868;
	font-size: .9rem;
	line-height: 1.5;
}

.apps-host {
	color: #6b7785;
	font-size: .8rem;
	overflow-wrap: anywhere;
}

.apps-pin {
	position: absolute;
	z-index: 1;
	top: .5rem;
	right: .5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #a3adb8;
}

.apps-pin:hover {
	background: #f1f4f8;
	color: var(--sci-navy);
}

.apps-pin[aria-pressed="true"] {
	color: var(--sci-focus);
}

.apps-pin[aria-pressed="true"] i {
	transform: rotate(-30deg);
}

.apps-empty {
	color: #5c6b7a;
}
