/* HubSpot Contact Viewer Styles - Version 1.3.0 */
.hubspot-contact-data {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.hubspot-contact-data th,
.hubspot-contact-data td {
	padding: 12px;
	text-align: left;
	border: 1px solid #ddd;
}

.hubspot-contact-data th {
	background-color: #f5f5f5;
	font-weight: 600;
}

.hubspot-contact-data td {
	font-size: 14px;
}

.hubspot-contact-data th:first-child,
.hubspot-contact-data td:first-child {
	white-space: nowrap;
}

.hubspot-contact-data tr:nth-child(even) {
	background-color: #f9f9f9;
}

.hubspot-contact-data tr:hover {
	background-color: #f0f0f0;
}

/* Mobile accordion styles */
.hubspot-policies-mobile {
	display: none;
}

.hubspot-accordion {
	width: 100%;
	margin: 20px 0;
}

.hubspot-accordion-item {
	border: none;
	border-radius: 0;
	margin-bottom: 0;
	background-color: #fff;
	width: 100%;
	box-sizing: border-box;
}

.hubspot-accordion-header {
	width: 100%;
	padding: 16px;
	text-align: left;
	background-color: #d32f2f;
	color: #ffffff;
	border: none;
	border-radius: 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.2s;
	box-sizing: border-box;
}

.hubspot-accordion-header:hover {
	background-color: #b71c1c;
}

.hubspot-accordion-header[aria-expanded="true"] {
	background-color: #b71c1c;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.hubspot-accordion-title {
	flex: 1;
	text-align: left;
	color: #ffffff;
}

.hubspot-accordion-icon {
	font-size: 20px;
	font-weight: bold;
	transition: transform 0.3s;
	width: 24px;
	text-align: center;
	color: #ffffff;
}

.hubspot-accordion-header[aria-expanded="true"] .hubspot-accordion-icon {
	transform: rotate(45deg);
}

.hubspot-accordion-content {
	display: none;
}

.hubspot-accordion-header[aria-expanded="true"] + .hubspot-accordion-content {
	display: block;
}

.hubspot-accordion-body {
	padding: 16px;
}

.hubspot-accordion-field {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.hubspot-accordion-field:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.hubspot-accordion-label {
	font-weight: normal;
	font-size: 12px;
	font-style: italic;
	color: #999;
	margin-bottom: 6px;
}

.hubspot-accordion-value {
	font-size: 16px;
	color: #333;
	word-break: break-word;
}

/* Responsive: Show table on desktop, accordion on mobile and tablet */
@media screen and (max-width: 1024px) {
	.hubspot-policies-desktop {
		display: none !important;
	}
	
	.hubspot-policies-mobile {
		display: block !important;
	}
}

@media screen and (min-width: 1025px) {
	.hubspot-policies-desktop {
		display: block;
	}
	
	.hubspot-policies-mobile {
		display: none !important;
	}
}

