/* GDPR HTML Export Document Styles
 * Used by GdprHtmlRenderer to build standalone downloadable HTML pages.
 * These styles are embedded in the exported document, not injected into WordPress pages.
 */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #333; background: #f8f9fa; padding: 20px; }
.container { max-width: 900px; margin: 0 auto; background: white; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); overflow: hidden; }

.header { background: #fff; border-bottom: 1px solid #e9ecef; color: #333; padding: 30px; text-align: center; }
.header h1 { font-size: 2em; margin-bottom: 10px; font-weight: 600; color: #2c3e50; }
.header .subtitle { font-size: 1em; color: #6c757d; margin-bottom: 15px; }
.header .actions { margin-top: 20px; text-align: center; }
.print-button { background: #007cba; color: white; border: none; padding: 12px 24px; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s ease; display: inline-flex; align-items: center; gap: 8px; }
.print-button:hover { background: #005a87; }
.print-button:active { background: #004c6d; }

.user-info { background: #f8f9fa; padding: 20px 30px; border-bottom: 1px solid #e9ecef; display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.user-info-item { text-align: center; }
.user-info-label { font-size: 0.9em; color: #6c757d; margin-bottom: 5px; }
.user-info-value { font-weight: 600; color: #495057; }

.privacy-notice { background: #fff3cd; border: 1px solid #ffeaa7; padding: 20px 30px; margin: 0; }
.privacy-notice h3 { color: #856404; margin-bottom: 10px; font-size: 1.1em; }

.content { padding: 0 30px 30px; }
.section { margin-bottom: 25px; background: #f8f9fa; border-radius: 6px; overflow: hidden; border: 1px solid #e9ecef; }
.section h2 { background: #fff; border-bottom: 1px solid #e9ecef; color: #495057; margin: 0; padding: 15px 20px; font-size: 1.2em; font-weight: 600; }
.section-content { padding: 20px; }

.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.data-item { background: white; border-radius: 4px; padding: 15px; border: 1px solid #e9ecef; }
.data-label { font-weight: 600; color: #495057; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; font-size: 0.9em; }
.data-value { background: #f8f9fa; padding: 10px 12px; border-radius: 3px; border-left: 3px solid #007cba; word-wrap: break-word; font-family: "SF Mono", Monaco, "Cascadia Code", monospace; font-size: 0.85em; line-height: 1.4; }

.array-value { background: #f8f9fa; padding: 12px; border-radius: 3px; border-left: 3px solid #28a745; }
.array-item { margin-bottom: 8px; padding: 8px 10px; background: white; border-radius: 3px; border: 1px solid #dee2e6; display: flex; justify-content: space-between; align-items: center; }
.array-item:last-child { margin-bottom: 0; }
.array-key { font-weight: 600; color: #495057; font-size: 0.85em; }
.empty-notice { text-align: center; color: #6c757d; font-style: italic; padding: 15px; }

.footer { background: #2c3e50; color: white; padding: 25px 30px; text-align: center; margin-top: 30px; }
.footer h3 { margin-bottom: 10px; font-weight: 400; font-size: 1.1em; }
.footer p { margin-bottom: 8px; opacity: 0.8; font-size: 0.9em; }
.footer-links { display: flex; justify-content: center; gap: 15px; margin-top: 15px; flex-wrap: wrap; }
.footer-link { color: #3498db; text-decoration: none; padding: 6px 12px; border-radius: 4px; background: rgba(255,255,255,0.1); font-size: 0.85em; transition: background 0.2s ease; }
.footer-link:hover { background: rgba(255,255,255,0.2); text-decoration: none; }

@media (max-width: 768px) {
	body { padding: 10px; }
	.header h1 { font-size: 1.8em; }
	.user-info { flex-direction: column; gap: 15px; }
	.data-grid { grid-template-columns: 1fr; }
	.footer-links { flex-direction: column; align-items: center; }
}

@media print {
	body { background: white; padding: 0; }
	.container { box-shadow: none; border-radius: 0; max-width: none; }
	.header .actions { display: none; }
	.footer-links { display: none; }
	.print-button { display: none; }
}