/* UPCs.com Certificates — My Account tab styling */

.upcsc-intro {
	margin: 0 0 1.25em;
	color: #555;
}

table.upcsc-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.5em;
	font-size: 14px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
	border-radius: 6px;
	overflow: hidden;
}

table.upcsc-table th,
table.upcsc-table td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: middle;
	border: none;
	border-bottom: 1px solid #edf0f5;
}

table.upcsc-table thead th {
	background: #1f355c;
	color: #fff;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: .02em;
	border-bottom: none;
}

table.upcsc-table tbody tr:last-child td {
	border-bottom: none;
}

table.upcsc-table tbody tr:hover {
	background: #f7f9fc;
}

.upcsc-prefix {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	letter-spacing: 1px;
	color: #1f355c;
	font-weight: 600;
}

.upcsc-type {
	display: inline-block;
	padding: 2px 9px;
	border-radius: 3px;
	background: #eef1f6;
	color: #1f355c;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .03em;
}

button.upcsc-gen,
.upcsc-table button.upcsc-gen {
	background: #f39221;
	color: #fff;
	border: none;
	padding: 8px 18px;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	white-space: nowrap;
	transition: background .15s ease;
}

button.upcsc-gen:hover {
	background: #1f355c;
	color: #fff;
}

button.upcsc-gen[disabled] {
	opacity: .6;
	cursor: default;
}

/* Responsive: stack rows on small screens */
@media (max-width: 640px) {
	table.upcsc-table thead {
		display: none;
	}
	table.upcsc-table,
	table.upcsc-table tbody,
	table.upcsc-table tr,
	table.upcsc-table td {
		display: block;
		width: 100%;
	}
	table.upcsc-table tr {
		border-bottom: 2px solid #edf0f5;
		padding: 6px 0;
	}
	table.upcsc-table td {
		border: none;
		padding: 6px 16px;
		text-align: right;
	}
	table.upcsc-table td::before {
		content: attr(data-title);
		float: left;
		font-weight: 600;
		color: #1f355c;
	}
	button.upcsc-gen {
		width: 100%;
		margin-top: 6px;
	}
}
