.activity-log-confirm-dialog.dialog.card {
	text-align: center;
	max-width: 400px;
}

.activity-log-item__restore-confirm {
	.activity-log-item__card {
		padding-bottom: 8px;
		border-radius: 2px;
		box-shadow:
			0 0 0 1px rgba(var(--color-neutral-10), 0.5),
			0 2px 5px var(--color-neutral-10);
		white-space: normal;
	}
	.activity-log-item__activity-icon {
		background: var(--color-accent);
	}
}

.activity-log-confirm-dialog .dialog__content {
	color: var(--color-neutral-50);

	h1 {
		color: var(--color-neutral-70);
		font-size: $font-title-medium;
		height: 2em;
		line-height: 32px;
		margin-top: 0.5em;
		margin-bottom: 0.5em;
	}
}

.activity-log-confirm-dialog__title {
	font-size: $font-title-small;
	margin-bottom: 12px;
	line-height: 1;
}

.activity-log-confirm-dialog__highlight {
	margin-bottom: 24px;
}

.activity-log-confirm-dialog__notice {
	display: flex;
	flex-direction: column;
	position: relative;
	width: 100%;
	margin-bottom: 24px;
	margin-left: -4px;
	box-sizing: border-box;
	animation: appear 0.3s ease-in-out;

	@include breakpoint-deprecated( ">480px" ) {
		flex-direction: row;
	}

	.gridicons-notice {
		fill: var(--color-error);
		position: absolute;
		top: 0;
		left: 0;
		display: flex;
		-ms-flex-negative: 0;
		flex-shrink: 0;
		width: 18px;
		height: 18px;

		@include breakpoint-deprecated( ">480px" ) {
			position: relative;
			width: 24px;
			height: 24px;
		}
	}
}

.activity-log-confirm-dialog__notice-content {
	display: flex;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	padding-left: 24px;

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

.activity-log-confirm-dialog__line {
	padding: 14px 24px 14px 44px;
	text-align: left;
	font-size: $font-body-small;
	border-bottom: 1px solid var(--color-neutral-5);

	&:first-of-type {
		border-top: 1px solid var(--color-neutral-5);
	}

	.gridicon {
		float: left;
		width: 18px;
		height: 18px;
		margin-left: -28px;
	}
}

.activity-log-confirm-dialog__button-wrap {
	margin: 0 -24px;
	padding: 16px 24px 0;
	border-top: #eee 1px solid;
	display: block;

	@include breakpoint-deprecated( ">480px" ) {
		display: flex;
		justify-content: space-between;
		flex-direction: row-reverse;
	}

	button {
		margin: 0 0 8px 8px;

		@include breakpoint-deprecated( "<480px" ) {
			margin: 0 8px 0 0;
		}
	}
}

.activity-log-confirm-dialog__primary-actions {
	text-align: right;
	@include breakpoint-deprecated( "<480px" ) {
		margin-bottom: 8px;
		text-align: left;
	}
}

.button.activity-log-confirm-dialog__more-info-link {
	color: var(--color-neutral-30);
	padding: 8px 8px 0 0;
	display: inline-block;

	@include breakpoint-deprecated( "<480px" ) {
		margin-bottom: 4px;
		font-size: $font-body-extra-small;
	}

	.gridicon {
		float: left;
		top: 4px;
		width: 18px;
		height: 18px;
		margin-right: 6px;

		@include breakpoint-deprecated( ">480px" ) {
			top: 0;
			width: 24px;
			height: 24px;
			margin-right: 8px;
		}
	}
}

.activity-log-confirm-dialog__dialog__action-buttons {
	overflow: hidden;
	border-top: 1px solid var(--color-neutral-0);
	padding: 16px;
	margin: 0 -24px -24px;
	text-align: right;

	.button {
		margin-left: 10px;
		min-width: 80px;

		.is-left-aligned {
			float: left;
			margin-left: 0;
			margin-right: 10px;
		}
	}
}

.activity-log-confirm-dialog__secondary-actions {

	.external-link {
		display: inline-block;
		padding: 8px 8px 0 0;
		font-size: $font-body-small;
	}
}

.activity-log-confirm-dialog__partial-restore-settings {
	margin-bottom: 1.5rem;
}

.activity-log-confirm-dialog__partial-restore-settings .form-checkbox {
	margin-right: 0.5rem;
}
