.phrase-selected-project,
.phrase-source-content,
.phrase-translation-progress {
	flex-direction: column;
	align-items: flex-start;
}

.phrase-selected-project {
	margin-bottom: 25px;
}

.phrase-pull-push-source {
	flex-wrap: wrap;
	margin-bottom: 17px;

	.components-button {
		margin-bottom: 8px;
	}
}

.phrase-checkbox-skip-unverification {
	width: 100%;
	margin-bottom: 8px;
	display: flex;

	.components-checkbox-control__label {
		max-width: none;
		margin-right: 0;
	}

	.phrase-help-tooltip {
		margin-left: 5px;
	}
}

.phrase-translation-progress__title {
	display: flex;
	justify-content: space-between;
	width: 100%;

	.components-checkbox-control__label {
		margin: 0;
	}
}

.phrase-translation-progress__table {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border: 0;
	margin: 8px 0;

	thead tr {
		border-bottom: 1px solid #ccc;
	}

	th {
		color: #757575;
		font-weight: 400;
		padding-bottom: 4px;
	}

	td {
		padding: 3px 0;
		line-height: 2;
		vertical-align: top;
	}

	&-column--locale,
	&-column--update {
		text-align: left;
	}

	&-column--locale {
		width: 84px;
	}

	&-column--status {
		width: 55px;
		text-align: center;
	}

	&-column--update {
		width: 85px;
	}

	&-column--edit {
		width: 24px;
		line-height: 1 !important;

		.components-button.has-icon {
			min-width: 24px;
			height: 24px;
			padding: 0;
			color: #007cba;
			color: var( --wp-admin-theme-color );

			&:hover {
				color: #006ba1;
				color: var( --wp-admin-theme-color-darker-10 );
			}
		}
	}
}

.phrase-checkbox-control--small {
	.components-checkbox-control__input-container {
		margin-right: 6px;
	}

	.components-checkbox-control__input-container,
	.components-checkbox-control__input[type="checkbox"] {
		height: 16px;
		width: 16px;
	}

	svg.components-checkbox-control__checked {
		height: 20px;
		width: 20px;
		left: -2px;
		top: -2px;
	}
}

.phrase-checkbox-control--with-flag {
	.components-base-control__field {
		display: flex;
		align-items: center;
	}

	.components-checkbox-control__input-container {
		margin-right: 3px;
	}

	.phrase-locale-name-with-flag .phrase-locale-name {
		overflow: hidden;
		display: block;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.components-checkbox-control__label {
		margin-right: 0;
		max-width: calc( 100% - 16px - 3px );
	}
}

.components-button.phrase-pull-translation.has-text {
	width: 100%;
	justify-content: center;
}

.phrase-pre-conditions-modal {
	@media screen and ( min-width: 700px ) {
		min-width: 650px;
	}

	&__buttons {
		display: flex;
		justify-content: flex-end;
		margin-top: 15px;

		.components-button {
			margin-left: 5px;
		}
	}
}

.phrase-pre-conditions-check {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.components-base-control.phrase-pre-conditions-check__locale {
	flex-basis: 150px;
	flex-shrink: 0;
	margin-right: 15px;

	.components-base-control__field {
		display: flex;
		align-items: center;
		margin-bottom: 0;
	}
}

.phrase-pre-conditions-check__message {
	flex: 1;

	p {
		color: #f56e28;
		margin: 0;
		display: flex;
		align-items: center;

		+ p {
			margin-top: 4px;
		}
	}
}

.phrase-pre-conditions-check-icon {
	height: 16px;
	width: 16px;
	vertical-align: middle;
	fill: currentcolor;
	margin-right: 4px;
	transform: rotate( 180deg );
}

.components-button.is-tertiary.phrase-button--align-left {
	padding: 6px 1px;
	margin-left: -1px;

	&:hover,
	&:focus {
		box-shadow: none;
	}

	&:active,
	&:disabled {
		background: none;
	}

	> svg {
		margin-left: -4px;
	}
}

.components-button.phrase-button--extra-padding {
	padding-left: 20px;
	padding-right: 20px;
}
