.borderage-admin {
	max-width: 1200px;
}

.borderage-admin-title-wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
}

.borderage-logo-icon {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.borderage-logo-icon img {
	filter: brightness(0);
	display: block;
}

.borderage-title-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.borderage-admin-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 28px;
	margin: 0;
	line-height: 1.2;
}

.borderage-admin-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5e7eb;
}

.borderage-tagline {
	color: #6b7280;
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
}

.borderage-tabs {
	margin-bottom: 20px;
}

.borderage-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 20px;
}

.borderage-card h2 {
	margin-top: 0;
	margin-bottom: 8px;
	font-size: 18px;
	color: #1f2937;
}

.borderage-card-description {
	color: #6b7280;
	margin-bottom: 20px;
}

.borderage-toggle {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 24px;
}

.borderage-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.borderage-toggle-slider {
	position: absolute;
	cursor: pointer;
	inset: 0;
	background: #d1d5db;
	border-radius: 24px;
	transition: background 0.2s;
}

.borderage-toggle-slider::before {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	left: 3px;
	bottom: 3px;
	background: #fff;
	border-radius: 50%;
	transition: transform 0.2s;
}

.borderage-toggle input:checked+.borderage-toggle-slider {
	background: #6366f1;
}

.borderage-toggle input:checked+.borderage-toggle-slider::before {
	transform: translateX(24px);
}

.borderage-toggle-password {
	margin-left: 8px !important;
}

.borderage-pages-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.borderage-content-group h3 {
	margin: 0 0 12px 0;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #6b7280;
}

.borderage-checkbox-list {
	max-height: 300px;
	overflow-y: auto;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 8px;
}

.borderage-checkbox-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.15s;
}

.borderage-checkbox-item:hover {
	background: #f3f4f6;
}

.borderage-checkbox-item input {
	margin: 0;
}

.borderage-style-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

@media (max-width: 1024px) {
	.borderage-style-layout {
		grid-template-columns: 1fr;
	}
}

.borderage-shape-options {
	display: flex;
	gap: 16px;
}

.borderage-shape-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 16px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.borderage-shape-option:hover {
	background: #f9fafb;
}

.borderage-shape-option input {
	display: none;
}

.borderage-shape-option input:checked~.borderage-shape-preview {
	border-color: #6366f1;
	background: #eef2ff;
}

.borderage-shape-option input:checked~.borderage-shape-label {
	color: #6366f1;
	font-weight: 600;
}

.borderage-shape-preview {
	border: 2px solid #d1d5db;
	background: #f9fafb;
	transition: border-color 0.2s, background 0.2s;
}

.borderage-shape-rectangle {
	width: 80px;
	height: 50px;
	border-radius: 8px;
}

.borderage-shape-square {
	width: 60px;
	height: 60px;
	border-radius: 6px;
}

.borderage-shape-label {
	font-size: 13px;
	color: #6b7280;
}

.borderage-form-preview {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
	border-radius: 8px;
	padding: 30px 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 380px;
}

.borderage-form-preview .preview-container {
	background: var(--preview-bg, #fff);
	color: var(--preview-text, #1f2937);
	border-radius: 16px;
	text-align: left;
	width: 100%;
	max-width: 260px;
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.borderage-form-preview .preview-container[data-shape="square"] {
	border-radius: 6px;
	aspect-ratio: 1;
	max-width: 240px;
}

.borderage-form-preview .preview-container[data-shape="square"] .preview-title {
	font-size: 12px;
	margin-bottom: 6px;
}

.borderage-form-preview .preview-container[data-shape="square"] .preview-description {
	font-size: 9px;
	margin-bottom: 8px;
}

.borderage-form-preview .preview-container[data-shape="square"] .preview-feature {
	font-size: 9px;
	gap: 6px;
}

.borderage-form-preview .preview-container[data-shape="square"] .preview-feature span:first-child {
	font-size: 12px;
}

.borderage-form-preview .preview-container[data-shape="square"] .preview-actions {
	padding: 10px 12px;
}

.borderage-form-preview .preview-container[data-shape="square"] .preview-btn-secondary,
.borderage-form-preview .preview-container[data-shape="square"] .preview-btn-primary {
	padding: 6px 8px;
	font-size: 9px;
}

.borderage-form-preview .preview-content {
	padding: 20px 16px;
	flex: 1;
}

.borderage-form-preview .preview-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
	line-height: 1.3;
	padding: 16px 14px 0;
}

.borderage-form-preview .preview-description {
	font-size: 10px;
	opacity: 0.7;
	margin-bottom: 12px;
	line-height: 1.4;
	padding: 0 14px;
}

.borderage-form-preview .preview-features {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 0 14px 14px;
}

.borderage-form-preview .preview-feature {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 10px;
	font-weight: 500;
}

.borderage-form-preview .preview-feature span:first-child {
	font-size: 14px;
}

.borderage-form-preview .preview-actions {
	display: flex;
	gap: 8px;
	padding: 12px 14px;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	margin-top: auto;
}

.borderage-form-preview .preview-btn-secondary {
	flex: 1;
	padding: 8px 10px;
	font-size: 10px;
	font-weight: 600;
	border: 2px solid var(--preview-primary, #6366f1);
	color: var(--preview-primary, #6366f1);
	border-radius: 8px;
	text-align: center;
}

.borderage-form-preview .preview-btn-primary {
	flex: 1;
	padding: 8px 10px;
	font-size: 10px;
	font-weight: 600;
	background: var(--preview-primary, #6366f1);
	color: #fff;
	border-radius: 8px;
	text-align: center;
}

.borderage-stats-layout {
	width: 100%;
}

.borderage-stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.borderage-stat-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 24px;
	text-align: center;
}

.borderage-stat-icon {
	font-size: 28px;
	margin-bottom: 8px;
}

.borderage-stat-value {
	font-size: 32px;
	font-weight: 700;
	color: #1f2937;
	line-height: 1.2;
}

.borderage-stat-label {
	font-size: 13px;
	color: #6b7280;
	margin-top: 4px;
}

.borderage-stat-period {
	font-size: 12px;
	color: #9ca3af;
	margin-top: 8px;
}

.borderage-stat-warning-badge {
	padding: 6px 12px;
	background: #fef3c7;
	color: #92400e;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
}

.borderage-stat-success {
	border-color: #10b981;
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.borderage-stat-warning {
	border-color: #f59e0b;
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.borderage-stat-danger {
	border-color: #ef4444;
	background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
}

.borderage-notice-card {
	text-align: center;
	padding: 48px 24px;
}

.borderage-notice-card h2 {
	color: #6b7280;
}

.borderage-notice-card p {
	margin-bottom: 20px;
}

.borderage-permalink-warning {
	background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
	border: 1px solid #ef4444;
	border-left: 4px solid #ef4444;
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: #991b1b;
}

.borderage-permalink-warning .dashicons {
	color: #ef4444;
	font-size: 24px;
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.borderage-permalink-warning strong {
	display: block;
	margin-bottom: 4px;
}

.borderage-permalink-warning p {
	margin: 0;
	font-size: 13px;
}

.borderage-permalink-warning a {
	color: #dc2626;
	font-weight: 500;
}

.borderage-debug-banner {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border: 1px solid #f59e0b;
	border-left: 4px solid #f59e0b;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #92400e;
}

.borderage-debug-banner .dashicons {
	color: #f59e0b;
}

.borderage-card-debug {
	border-color: #fcd34d;
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.borderage-debug-info {
	margin-top: 12px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	font-size: 13px;
}

.borderage-debug-info ul {
	margin: 8px 0 0 20px;
	list-style: disc;
}

.borderage-debug-info li {
	margin-bottom: 4px;
}

.borderage-debug-info code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: monospace;
}

.borderage-const-badge {
	display: inline-block;
	background: #dbeafe;
	color: #1d4ed8;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	margin-left: 8px;
	text-transform: uppercase;
}

.borderage-coming-soon-badge {
	display: inline-block;
	background: #fef3c7;
	color: #92400e;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 500;
	margin-left: 8px;
}

.borderage-debug-actions {
	margin-top: 12px;
}

.borderage-card-callback {
	border-color: #6366f1;
	border-left: 4px solid #6366f1;
}

.borderage-callback-intro {
	background: #f0f9ff;
	border: 1px solid #bae6fd;
	border-radius: 6px;
	padding: 12px 16px;
	margin-bottom: 20px;
}

.borderage-callback-intro p {
	margin: 0;
	color: #0369a1;
	font-size: 13px;
	line-height: 1.5;
}

.borderage-callback-steps {
	margin-bottom: 20px;
}

.borderage-callback-steps h3 {
	font-size: 14px;
	margin: 0 0 12px 0;
	color: #374151;
}

.borderage-callback-steps ol {
	margin: 0 0 0 20px;
	padding: 0;
}

.borderage-callback-steps li {
	margin-bottom: 8px;
	font-size: 13px;
	color: #4b5563;
}

.borderage-callback-steps a {
	color: #6366f1;
	font-weight: 500;
}

.borderage-callback-url-wrapper {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.borderage-callback-url-wrapper label {
	display: block;
	font-weight: 600;
	font-size: 13px;
	margin-bottom: 8px;
	color: #374151;
}

.borderage-callback-url-field {
	display: flex;
	gap: 8px;
}

.borderage-callback-url-field input {
	flex: 1;
	font-family: monospace;
	font-size: 12px;
	background: #fff;
}

.borderage-callback-url-field button {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.borderage-callback-url-field button .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.borderage-callback-url-wrapper .description {
	margin-top: 8px;
	font-size: 12px;
	color: #6b7280;
}

.borderage-callback-action {
	text-align: center;
	padding-top: 8px;
}

.borderage-callback-action .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.borderage-callback-action .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.borderage-copy-success {
	color: #10b981 !important;
	border-color: #10b981 !important;
}

.borderage-stat-disabled {
	opacity: 0.6;
	filter: grayscale(0.5);
	position: relative;
}

.borderage-stat-disabled .borderage-stat-value {
	color: #9ca3af;
}

.borderage-stat-disabled .borderage-coming-soon-badge {
	margin-top: 12px;
}

.borderage-logs-filters {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.borderage-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: flex-end;
}

.borderage-filter-row label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
}

.borderage-filter-row select,
.borderage-filter-row input[type="date"] {
	padding: 6px 10px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 13px;
	min-width: 140px;
}

.borderage-logs-table {
	margin-top: 16px;
}

.borderage-logs-table .column-date {
	width: 160px;
}

.borderage-logs-table .column-user-type {
	width: 100px;
}

.borderage-logs-table .column-user-id {
	width: 180px;
}

.borderage-logs-table .column-result {
	width: 120px;
}

.borderage-logs-table code {
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: monospace;
	font-size: 11px;
}

.borderage-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.borderage-badge-success {
	background: #d1fae5;
	color: #065f46;
}

.borderage-badge-warning {
	background: #fef3c7;
	color: #92400e;
}

.borderage-badge-error {
	background: #fee2e2;
	color: #991b1b;
}

.borderage-badge-wp {
	background: #dbeafe;
	color: #1e40af;
}

.borderage-badge-visitor {
	background: #e0e7ff;
	color: #3730a3;
}

.borderage-no-logs {
	text-align: center;
	padding: 40px 20px;
	color: #6b7280;
	font-style: italic;
}

.borderage-export-section {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.borderage-export-section button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.borderage-guide-section {
	margin-bottom: 32px;
}

.borderage-guide-section h3 {
	font-size: 16px;
	color: #1f2937;
	margin: 0 0 12px 0;
	padding-bottom: 8px;
	border-bottom: 2px solid #6366f1;
	display: inline-block;
}

.borderage-guide-section p {
	color: #4b5563;
	line-height: 1.6;
	margin-bottom: 12px;
}

.borderage-guide-section ul,
.borderage-guide-section ol {
	margin: 12px 0 12px 24px;
	color: #4b5563;
}

.borderage-guide-section li {
	margin-bottom: 8px;
	line-height: 1.5;
}

.borderage-flow-diagram {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 24px;
	margin: 20px 0;
}

.borderage-flow-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: center;
}

.borderage-flow-step {
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	padding: 12px 16px;
	text-align: center;
	min-width: 140px;
}

.borderage-flow-step-icon {
	font-size: 24px;
	margin-bottom: 4px;
}

.borderage-flow-step-label {
	font-size: 12px;
	font-weight: 600;
	color: #374151;
}

.borderage-flow-arrow {
	font-size: 20px;
	color: #9ca3af;
}

.borderage-info-box {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid #3b82f6;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 16px 0;
}

.borderage-info-box p {
	margin: 0;
	color: #1e40af;
}

.borderage-info-box strong {
	display: block;
	margin-bottom: 4px;
}

.borderage-warning-box {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-left: 4px solid #f59e0b;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 16px 0;
}

.borderage-warning-box p {
	margin: 0;
	color: #92400e;
}

.borderage-faq-item {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}

.borderage-faq-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.borderage-faq-item h4 {
	font-size: 14px;
	color: #1f2937;
	margin: 0 0 8px 0;
}

.borderage-faq-item p {
	font-size: 13px;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

.borderage-alert-preview {
	margin-top: 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
}

.borderage-alert-preview-header {
	background: #f3f4f6;
	padding: 12px 16px;
	border-bottom: 1px solid #e5e7eb;
}

.borderage-alert-preview-field {
	padding: 12px 16px;
	border-bottom: 1px solid #e5e7eb;
}

.borderage-alert-preview-field:last-of-type {
	border-bottom: none;
}

.borderage-alert-preview-field label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 4px;
	font-weight: 600;
}

.borderage-alert-preview-field span {
	color: #1f2937;
	font-size: 14px;
}

.borderage-alert-preview-field pre {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	padding: 12px;
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	white-space: pre-wrap;
	color: #374151;
}

.borderage-alert-preview-actions {
	padding: 12px 16px;
	background: #f3f4f6;
	display: flex;
	align-items: center;
	gap: 12px;
}

.borderage-status-success {
	color: #059669;
	font-weight: 500;
}

.borderage-status-error {
	color: #dc2626;
	font-weight: 500;
}

.borderage-credits-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
}

.borderage-banner-warning {
	background: linear-gradient(135deg, #fef3c7, #fde68a);
	border: 1px solid #f59e0b;
}

.borderage-banner-error {
	background: linear-gradient(135deg, #fee2e2, #fecaca);
	border: 1px solid #ef4444;
}

.borderage-banner-icon {
	font-size: 20px;
	flex-shrink: 0;
}

.borderage-banner-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.borderage-banner-content strong {
	font-size: 14px;
	color: #1f2937;
}

.borderage-banner-content span {
	font-size: 13px;
	color: #4b5563;
}

.borderage-banner-action {
	flex-shrink: 0;
	padding: 6px 12px;
	background: #1f2937;
	color: #fff;
	border-radius: 4px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: background 0.2s;
}

.borderage-banner-action:hover {
	background: #374151;
	color: #fff;
}

.borderage-banner-contact {
	background: transparent;
	color: #1f2937;
	padding: 0;
}

.borderage-banner-contact:hover {
	background: transparent;
}

.borderage-banner-contact a {
	color: #4f46e5;
	text-decoration: underline;
}

.borderage-debug-page {
	max-width: 100%;
}

.borderage-debug-header {
	margin-bottom: 20px;
}

.borderage-debug-header h2 {
	margin: 0 0 8px 0;
	font-size: 20px;
}

.borderage-debug-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 16px;
}

.borderage-debug-toggle {
	display: flex;
	align-items: center;
	gap: 12px;
}

.borderage-debug-toggle-label {
	font-weight: 500;
	color: #374151;
	cursor: pointer;
}

.borderage-debug-actions {
	display: flex;
	gap: 8px;
}

.borderage-debug-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	padding: 12px 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 16px;
}

.borderage-stat-total {
	font-weight: 600;
	color: #374151;
	padding-right: 12px;
	border-right: 1px solid #d1d5db;
	margin-right: 4px;
}

.borderage-stat-level {
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.15s;
}

.borderage-stat-level:hover {
	opacity: 0.8;
}

.borderage-stat-level.active {
	box-shadow: 0 0 0 2px #1f2937;
}

.borderage-stat-level.borderage-level-info {
	background: #dbeafe;
	color: #1e40af;
}

.borderage-stat-level.borderage-level-warning {
	background: #fef3c7;
	color: #92400e;
}

.borderage-stat-level.borderage-level-error {
	background: #fee2e2;
	color: #991b1b;
}

.borderage-stat-level.borderage-level-api {
	background: #e0e7ff;
	color: #3730a3;
}

.borderage-stat-level.borderage-level-callback {
	background: #d1fae5;
	color: #065f46;
}

.borderage-stat-clear {
	color: #6b7280;
	font-size: 12px;
	text-decoration: underline;
}

.borderage-debug-notice {
	text-align: center;
	padding: 48px 24px;
	background: #f9fafb;
	border: 1px dashed #d1d5db;
	border-radius: 8px;
	color: #6b7280;
}

.borderage-debug-logs table {
	background: #fff;
}

.borderage-debug-logs .column-timestamp {
	width: 160px;
}

.borderage-debug-logs .column-level {
	width: 90px;
}

.borderage-debug-logs .column-context {
	width: 120px;
}

.borderage-debug-logs code {
	font-size: 11px;
	background: #f3f4f6;
	padding: 2px 6px;
	border-radius: 3px;
}

.borderage-debug-logs details {
	cursor: pointer;
}

.borderage-debug-logs details summary {
	color: #6366f1;
	font-size: 12px;
	font-weight: 500;
}

.borderage-debug-logs details pre {
	margin-top: 8px;
	padding: 8px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 4px;
	font-size: 11px;
	max-width: 300px;
	overflow-x: auto;
	white-space: pre-wrap;
	word-break: break-word;
}

.borderage-log-row.borderage-level-error {
	background: #fef2f2 !important;
}

.borderage-log-row.borderage-level-warning {
	background: #fffbeb !important;
}

.borderage-muted {
	color: #9ca3af;
}

.borderage-badge-info {
	background: #dbeafe;
	color: #1e40af;
}

.borderage-badge-api {
	background: #e0e7ff;
	color: #3730a3;
}

.borderage-badge-callback {
	background: #d1fae5;
	color: #065f46;
}

.borderage-debug-truncated {
	text-align: center;
	padding: 12px;
	color: #6b7280;
	font-size: 13px;
	background: #f9fafb;
	border-top: 1px solid #e5e7eb;
}

.borderage-dev-tools {
	max-width: 900px;
	margin-top: 20px;
}

.borderage-dev-tools h2 {
	margin-bottom: 10px;
}

.borderage-dev-tools .badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 12px;
	border-radius: 3px;
	margin-left: 10px;
}

.borderage-dev-tools .badge-warning {
	background: #ffc107;
	color: #000;
}

.borderage-dev-tools .description {
	margin-top: 0;
	color: #666;
	font-size: 14px;
}

.borderage-dev-tools .card {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.borderage-dev-tools .card h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 16px;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
}

.borderage-dev-tools .user-status {
	background: #f9f9f9;
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 15px;
}

.borderage-dev-tools .status-item {
	display: flex;
	justify-content: space-between;
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.borderage-dev-tools .status-item:last-child {
	border-bottom: none;
}

.borderage-dev-tools .status-item .label {
	font-weight: 600;
}

.borderage-dev-tools .status-item .value {
	font-family: monospace;
}

.borderage-dev-tools .status-item .value.status-success {
	color: #46b450;
}

.borderage-dev-tools .status-item .value.status-error {
	color: #dc3232;
}

.borderage-dev-tools .actions {
	margin-top: 15px;
}

.borderage-dev-tools .actions-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}

.borderage-dev-tools .action-link {
	display: flex;
	align-items: center;
	padding: 15px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	color: #333;
	transition: all 0.2s;
}

.borderage-dev-tools .action-link:hover {
	background: #e0e0e0;
	transform: translateY(-2px);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.borderage-dev-tools .action-link .icon {
	font-size: 24px;
	margin-right: 10px;
}

.borderage-dev-tools .action-link .text {
	font-weight: 500;
}

.borderage-dev-tools .card-warning {
	background: #fff3cd;
	border-color: #ffc107;
}

.borderage-dev-tools .card-warning h3 {
	color: #856404;
}

.borderage-dev-tools .card-danger {
	background: #fff5f5;
	border-color: #dc3232;
}

.borderage-dev-tools .card-danger h3 {
	color: #dc3232;
}

.borderage-dev-tools pre {
	background: #f5f5f5;
	padding: 10px;
	border-radius: 4px;
	overflow-x: auto;
}

.borderage-dev-tools code {
	font-family: monospace;
	font-size: 13px;
}