/**
 * PIN Display Styles
 *
 * @package TriangleNation
 */

.tn-user-pins__notice {
	padding: 20px;
	background: #f8f9fa;
	border-left: 4px solid #C9A227;
	border-radius: 4px;
	color: #333;
	font-size: 16px;
	margin: 20px 0;
}

.tn-user-pins__header {
	margin-bottom: 20px;
}

.tn-user-pins__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--tn-text, #ffffff);
	margin: 0 0 10px;
}

.tn-user-pins__subtitle {
	font-size: 14px;
	color: var(--tn-muted, #9aa1a9);
	margin: 0;
	line-height: 1.5;
}

.tn-user-pins__table-wrapper {
	overflow-x: auto;
	margin-bottom: 15px;
}

.tn-user-pins__table {
	width: 100%;
	border-collapse: collapse;
}

.tn-user-pins__table thead th {
	background: rgba(201, 162, 39, 0.1);
	color: var(--tn-accent, #C9A227);
	font-weight: 600;
	font-size: 14px;
	text-align: left;
	padding: 12px 16px;
	border-bottom: 2px solid rgba(201, 162, 39, 0.3);
}

.tn-user-pins__table tbody tr {
	border-bottom: 1px solid var(--tn-line, #23262b);
	transition: background-color 0.2s ease;
}

.tn-user-pins__table tbody tr:hover {
	background: rgba(255, 255, 255, 0.02);
}

.tn-user-pins__cell {
	padding: 16px;
	color: var(--tn-text, #ffffff);
	font-size: 15px;
}

.tn-user-pins__cell--pin {
	font-family: 'Courier New', monospace;
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 12px;
}

.tn-user-pins__pin-text {
	letter-spacing: 2px;
	color: var(--tn-accent, #C9A227);
}

.tn-user-pins__copy-btn {
	background: var(--tn-accent, #C9A227);
	color: var(--tn-black, #111);
	border: none;
	padding: 6px 14px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.tn-user-pins__copy-btn:hover {
	background: var(--tn-accent-d, #B38F1F);
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(201, 162, 39, 0.3);
}

.tn-user-pins__copy-btn:active {
	transform: translateY(0);
}

.tn-user-pins__cell--type,
.tn-user-pins__cell--note {
	color: var(--tn-muted, #9aa1a9);
}

.tn-user-pins__feedback {
	background: var(--tn-success, #06d6a0);
	color: var(--tn-black, #111);
	padding: 12px 18px;
	border-radius: 8px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	margin-top: 15px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.tn-user-pins__feedback.is-visible {
	opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
	.tn-user-pins__table {
		font-size: 14px;
	}

	.tn-user-pins__cell {
		padding: 12px 8px;
	}

	.tn-user-pins__cell--pin {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.tn-user-pins__copy-btn {
		width: 100%;
	}
}
