/**
 * Admin CSS
 *
 * @package     EDD\ConditionalEmails\CSS\Admin
 * @since       1.0.0
 */


/* General styles
-------------------------------------------------------------- */

p.submit,
.form-table {
	display: none;
}

.edd-editor__header {
	height: auto;
	border-bottom: 1px solid #e2e4e7;
	z-index: 30;
	position: sticky;
	top: 32px;
	margin-left: -20px;
	background: white;
}

.edd-form__email {
	background: #fff;
	border: 1px solid #e2e4e7;
	padding: 2em;
	max-width: 1440px;
}

@media screen and (min-width: 782px) {
	.edd-form__email .edd-form-group {
		display: grid;
		grid-template-columns: 200px 1fr;
		margin-bottom: 2em;
	}

	.edd-form__email .edd-editor__actions--test,
	.edd-form__email .edd-form-group > .description,
	.edd-form__email .notice,
	.edd-form__email .edd-conditional-email-tags-list {
		margin-left: 200px;
		grid-column-start: 1;
		grid-column-end: 3;
	}
}

.edd-editor__header--actions {
	padding: 4px 20px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 56px;
}

.edd-editor__actions--edit {
	display: flex;
	align-items: center;
}

.edd-editor__actions--edit p.submit {
	margin: 0;
	padding: 0;
}

.edd-no-items {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
	margin: 60px auto 0;
	max-width: 600px;
	text-align: center;
}

.edd-no-items img {
	width: 175px;
	height: auto;
}

.edd-no-items p {
	font-size: 16px;
	margin: 0 0 1.5em;
}
