@import url('disclaimer.css');
@import url('modal.css');
@import url('notice.css');

/* Parallax icon in plugin page title */
.wrap > h1 > .parallax-icon {
	vertical-align: middle;
	margin-right: 6px;
}

.category-batch-request-details-table-wrap .wp-list-table .column-current_meta_desc,
.category-batch-request-details-table-wrap .wp-list-table .column-current_desc,
.category-batch-request-details-table-wrap .wp-list-table .column-opt_meta_desc,
.category-batch-request-details-table-wrap .wp-list-table .column-opt_desc {
	max-width: 560px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.no-batch-requests-found-message {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
}

.no-batch-requests-found-message > div {
	background: #fff;
	padding: 2rem 3rem;
	border-radius: 8px;
	box-shadow: 0 2px 16px rgba(0,0,0,0.08);
	text-align: center;
}

#wc-parallax-batch-request {
	display: flex;
	justify-content: space-between;
	gap: 5rem;
}

.wc-parallax-batch-request__column {
	width: 50%;
}

.wc-parallax-batch-request__heading {
	margin-top: 1rem;
}

.wc-parallax-batch-request__subheading {
	margin-top: 0.5rem;
}

.wc-parallax-batch-request__meta {
	margin: 0.25rem 0;
}

.wc-parallax-batch-request__pre {
	background: #fff;
	padding: 12px;
	border: 1px solid #ccd0d4;
	max-height: 420px;
	overflow: auto;
	font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 12px;
	line-height: 1.5;
}

@media screen and (max-width: 960px) {
	#wc-parallax-batch-request {
		flex-direction: column;
		gap: 2rem;
	}

	.wc-parallax-batch-request__column {
		width: 100%;
	}
}

.wc-parallax-admin-table {
	position: relative;
}

.wc-parallax-admin-table .tablenav.top {
	position: absolute;
	top: -15px;
	right: 0;
}

.wp-core-ui .button.button-danger {
	background-color: #dc3232;
	border-color: #dc3232;
	color: #fff;
}

.wc-parallax-ajax-table-placeholder {
	border: 1px dashed #ccd0d4;
	border-radius: 4px;
	background: #fff;
	min-height: 140px;
	margin: 20px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wc-parallax-ajax-table-placeholder__inner {
	text-align: center;
	color: #555;
}

.wc-parallax-ajax-table-placeholder__inner .spinner {
	float: none;
	margin: 0 auto 8px;
	display: block;
}

.credits-notice-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top:1rem;
	padding-bottom:1rem;
}

.ai-content-by-parallax-log-container {
	background:#fff;
	border:1px solid #ccc;
	padding:16px;
	margin-top:16px;
	white-space:pre-wrap;
	font-family:monospace;
	max-height:400px;
	overflow:auto;
}

.batch-request-label {
	padding-top: 0.375rem;
	padding-right: 0.375rem;
	float: left;
}

.optimize-table-credits-submit-wrap {
	text-align: right;
	padding-right: 5rem;
	padding-bottom: 2.5rem;
	position: absolute;
	top: 0;
	right: 0;
}

.is-relative {
	position: relative;
}

.pb-1 {
	padding-bottom: 1rem;
}

.batch-id.copyable {
	cursor: pointer;
	color: #000;
	font-style: italic;
	font-weight: bold;
	text-decoration: underline;
}

.is-red {
	color: #dc3545;
}

.wc-parallax-ajax-table-placeholder--empty {
	display: none;
}
