/**
 * Styles for the system information wrapper.
 */
.qtpm-system-info-container {
	align-items: stretch;
	display: flex;
	gap: 0px 20px;
	flex-wrap: wrap;
}

#qtpm-get-latest-info {
	margin-bottom: 20px;
}

.qtpm-system-info-wrapper {
	box-shadow: 0px 0px 1px 0px #000000;
	flex-direction: column;
	flex-grow: 1;
	flex-basis: 0;
	padding: 10px 15px 15px;
	margin-bottom: 20px;

	.qtpm-system-info-title {
		font-size: 15px;
		font-weight: bold;
		margin: 5px 0px 10px;
	}

	/**
	 * Styles for the system information table wrapper.
	 */
	.qtpm-system-info-table-wrapper {
		table {
			width: 100%;
			border-collapse: collapse;
			background-color: unset;

			thead {
				position: sticky;
				top: -1px;
				z-index: 999;
			}

			tr:nth-child(odd) {
				background-color: #ffffff;
			}

			td,
			th {
				overflow-wrap: anywhere;
				padding-left: 10px;
				position: relative;
				vertical-align: middle;
			}

			th:first-child {
				font-weight: bold;
				text-align: left;
				white-space: nowrap;
				width: 1%;
			}

			td:before {
				content: ":";
				position: absolute;
				left: 2px;
				top: calc(50% - 10px);
			}
		}
	}
}

/**
 * Styles for the system information plugin.
 */
#qtpm-system-info-plugin,
#qtpm-system-info-cron {
	.qtpm-system-info-table-wrapper {
		max-height: 400px;
		overflow: auto;

		table {
			tr:nth-child(odd) {
				background-color: #ffffff;
			}

			th {
				font-weight: unset;
				text-align: left;
				width: auto;
			}

			td:before {
				content: unset;
			}
		}
	}
}

#qtpm-system-info-cron {
	.dashicons {
		height: 18px;
		width: 18px;
		font-size: 18px;
		margin-right: 5px;
	}

	.qtpm-cron-callback {
		font-size: 12px;
	}
}