/* Loader and checkmark styles for cloud storage export */
.wcpdf-pro-cloud-storage-export {
	width: 200px;
	height: 150px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -75px 0 0 -100px;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI" ,Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #444;
}

.wcpdf-pro-cloud-storage-export #loader,
.wcpdf-pro-cloud-storage-export #check {
	display: block;
	margin: 10px auto 0;
}

/* Notice: Dropbox authorize box */
.wcpdf-pro-cloud-storage-notice .service-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 6px 0 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.wcpdf-pro-cloud-storage-notice .service-logo svg {
	width: auto;
	height: 24px;
	margin-right: 6px;
}

/* Connected cloud storage service box */
.wcpdf-cloud-service-connection {
	display: inline-block;
	box-sizing: border-box;
	margin: 0 0 20px;
	background-color: #f8f9fb;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
	max-width: 100%;
	line-height: 1.4;
}

.wcpdf-cloud-service-connection__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px;
	border-bottom: 1px solid #e2e4e7;
}

.wcpdf-cloud-service-connection .service-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.wcpdf-cloud-service-connection .service-logo svg {
	width: auto;
	height: 24px;
}

.wcpdf-cloud-service-connection .service-name {
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.wcpdf-cloud-service-connection .connected-badge {
	display: inline-flex;
	align-items: center;
	background: #e7f7ec;
	color: #0a7a29;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 11px;
	line-height: 1.4;
	white-space: nowrap;
}

.wcpdf-cloud-service-connection__body {
	border-radius: 0 0 6px 6px;
	overflow: hidden;
}

.wcpdf-cloud-service-connection__row {
	display: grid;
	grid-template-columns: 180px 1fr;
	padding: 8px 16px;
	font-size: 12px;
	color: #50575e;
	background: #ffffff;
	border-bottom: 1px solid #e2e4e7;
}

.wcpdf-cloud-service-connection__row:last-child {
	border-bottom: none;
}

.wcpdf-cloud-service-connection__label {
	font-weight: 600;
}

.wcpdf-cloud-service-connection span.account {
	font-size: 12px;
	color: #50575e;
}

.wcpdf-cloud-service-connection span.destination > code,
#wpo-wcpdf-settings.cloud_storage table.form-table .description code {
	font-size: 10px !important;
}

.wcpdf-cloud-service-connection span.token-expires {
	color: #646970;
	font-size: 12px;
}

.wcpdf-cloud-service-connection #unlink {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #50575e;
	margin-bottom: 8px;
}

.wcpdf-cloud-service-connection #unlink input[type="checkbox"] {
	margin: 0;
}

.wcpdf-cloud-service-connection a.button {
	font-size: 12px;
}

#wpo-wcpdf-settings.cloud_storage table.form-table > tbody > tr > td > label {
	display: block;
	margin-bottom: 5px;
}

#wpo-wcpdf-settings.cloud_storage table.form-table > tbody > tr.doc-order-status td {
	margin-bottom: 1em;
	padding-bottom: 0;
}

@media (max-width: 600px) {
	.wcpdf-cloud-service-connection__row {
		grid-template-columns: 1fr;
		row-gap: 4px;
	}
}
