@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%;
	}
}

.parallax-batch-datetime {
	white-space: nowrap;
}

.parallax-batch-time {
	color: #646970;
	font-size: 0.85em;
}

.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;
}

.is-green {
	color: #1a7f37;
}

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

.wc-parallax-import-selected {
	display: none;
	margin-left: 4px;
}

.wc-parallax-detail-row .wc-parallax-detail-cell {
	padding: 12px 16px;
	background: #f9f9f9;
	border-top: 1px solid #e1e1e1;
}

.wc-parallax-detail-panel h4 {
	margin: 0 0 8px;
}

.wc-parallax-detail-table {
	margin: 0;
}

.wc-parallax-detail-table td.wc-parallax-detail-value {
	max-width: 400px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: pre-wrap;
	font-size: 12px;
	line-height: 1.5;
}

a.wc-parallax-view-details.active {
	background: #ddd;
	border-color: #999;
}

.wc-parallax-detail-table .wc-parallax-tooltip {
	color: #646970;
	font-size: 16px;
	vertical-align: middle;
	cursor: help;
	border-radius: 50%;
}

.wc-parallax-detail-table .wc-parallax-tooltip:focus {
	outline: 2px solid #2271b1;
	outline-offset: 1px;
}

.wc-parallax-detail-table .wc-parallax-tooltip:focus:not(:focus-visible) {
	outline: none;
}

.wc-parallax-detail-score-table {
	margin-bottom: 12px;
}

.wc-parallax-detail-score-table th:first-child {
	width: 30%;
}

.wc-parallax-detail-rating-explanation td[colspan="2"] {
	font-style: italic;
}

.wc-parallax-detail-panel > p.wc-parallax-detail-edit-link {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0 0 12px;
}

.wc-parallax-detail-edit-link .button {
	text-decoration: none;
}

.wc-parallax-detail-panel > h4,
.wc-parallax-detail-panel > p {
	background: white;
	padding: 0.5rem 1rem;
	border: 1px solid #c3c4c7;
}

.wc-parallax-detail-panel > h4 {
	border-bottom: none;
	margin-bottom: 0;
}

.wc-parallax-detail-panel > p {
	border-top: none;
	margin-top: 0 !important;
}
