.activity-log__threat-alert {
	padding: 8px 0;
	font-size: $font-body-small;
	box-shadow: 0 -1px 0 rbga(var(--color-neutral-10), 0.5);

	@include breakpoint-deprecated( ">480px" ) {
		font-size: $font-body-small;
	}

	.foldable-card__main {
		flex: unset;
		max-width: 100%;
		width: 100%;
	}

	.activity-log-item__activity-icon {
		margin-right: 16px;
		padding: 7px;
		width: 24px;

		@include breakpoint-deprecated( ">480px" ) {
			padding-left: 8px;
		}
	}

	.diff-viewer,
	.marked-lines {
		max-height: 300px;
		overflow-y: scroll;
	}
}

.foldable-card.is-compact.activity-log__threat-alert .foldable-card__header {
	padding: 16px 0;
}

.foldable-card.is-expanded.activity-log__threat-alert {
	margin: 0;

	.foldable-card__content {
		padding-left: 48px;

		@include breakpoint-deprecated( ">480px" ) {
			padding-left: 56px;
		}

		p:last-of-type {
			margin-bottom: 0;
		}
	}
}

.activity-log__threat-alert-header {
	color: var(--color-neutral-20);
	width: 100%;
}

.activity-log__threat-header-top {
	align-items: center;
	display: flex;
	justify-content: space-between;

	.split-button {
		white-space: pre;
	}
}

.activity-log__threat-alert-title {
	padding-right: 16px;
	font-weight: 600;
	color: var(--color-neutral-70);

	.activity-log__threat-alert-filename {
		padding: 0 2px;
		font-size: $font-body-small;
		font-weight: 600;
	}
}

.activity-log__threat-alert-slug {
	font-weight: 600;
}

.activity-log__threat-alert-signature {
	font-weight: 600;
}

.activity-log__threat-alert-filename {
	padding: 4px;
	font-size: $font-body-small;
	font-weight: 600;

	@include breakpoint-deprecated( ">480px" ) {
		font-size: $font-body-small;
	}
}

.activity-log__threat-alert-time-since {
	margin-left: 2px;
	padding-left: 4px;
	color: var(--color-neutral-20);
	font-weight: 400;

	&::before {
		// cdot three-per-em-space
		content: "\00b7\2004";
	}
}

.threat-alert__database-row {
	box-shadow: none;
	border-bottom: 1px solid #e1e2e2;
	padding: 1rem 0 1rem 3rem;
	margin-bottom: 0;
}

.threat-alert__database-row-icon {
	display: inline-block;
	float: left;
}

.threat-alert__database-row-content {
	display: inline-block;
}

.threat-alert__database-row-action {
	display: inline-block;
	float: right;
}

.threat-alert__database-row-list {
	margin: 1rem 0 0 1rem;
}

.threat-alert__database-row-info {
	display: inline-block;
	position: relative;
	left: 0.3rem;
	top: 0.15rem;
}

.activity-log__threat-alert-database .foldable-card__content {
	padding: 0 !important;
}
