body {
	background-color: #f6f6f6;
}
.site-name { font-weight: 600; }
.site-name a { color: #007bff; text-decoration: none; }
.site-name a:hover { color: #0056b3; }
.disnone {display:none; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

#copy-notice {
	float:left;
	position: relative;
	background: #28b62c;
	border: 1px solid #23a127;
	margin-left:15px;
	padding:10px;
	margin-top:3px;
	color:#fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#copy-notice:after, #copy-notice:before {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}
#copy-notice:after {
	border-color: rgba(162, 213, 170, 0);
	border-right-color: #28b62c;
	border-width: 10px;
	top: 50%;
	margin-top: -10px;
}
#copy-notice:before {
	border-color: rgba(81, 156, 101, 0);
	border-right-color: #23a127;
	border-width: 12px;
	top: 50%;
	margin-top: -12px;
}
.qr-label {
	padding-top: 20px;
}

.table-results {
	background-color: #fff;
}

/* Ad container styles */
.ad-container {
	text-align: center;
	overflow: hidden;
	min-height: 90px;
	margin: 20px 0;
	padding: 5px;
	background: transparent;
	border: 1px dashed transparent;
}

.ad-container.adsense-loaded,
.ad-container.has-ad {
	min-height: auto;
}

.sidebar-ad {
	position: sticky;
	top: 20px;
}

/* Page content for static pages */
.page-content {
	line-height: 1.7;
	font-size: 1rem;
}

.page-content h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #007bff;
	font-size: 1.4rem;
}

.page-content p {
	margin-bottom: 1rem;
}

.page-content ul {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.page-content a {
	color: #007bff;
	text-decoration: underline;
}

/* settings form styles */
.settings-section {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 20px;
}

.settings-section h3 {
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #007bff;
	font-size: 1.2rem;
	color: #333;
}

.settings-section h4 {
	margin-top: 20px;
	margin-bottom: 15px;
	color: #555;
}

.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
}

.form-col {
	flex: 1;
}

.form-group {
	margin-bottom: 15px;
}

.form-input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

.form-input:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.form-textarea {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
	font-family: monospace;
	box-sizing: border-box;
	resize: vertical;
}

.form-textarea:focus {
	border-color: #007bff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.form-hint {
	font-size: 12px;
	color: #666;
	margin: 4px 0 8px;
}

.form-hint code {
	background: #eee;
	padding: 1px 4px;
	border-radius: 3px;
	font-size: 11px;
}

.form-actions {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #dee2e6;
	text-align: right;
}

.btn-save {
	background: #007bff;
	color: #fff;
	border: none;
	padding: 12px 40px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-save:hover {
	background: #0069d9;
}

@media (max-width: 768px) {
	.form-row {
		flex-direction: column;
		gap: 0;
	}
}

/* Footer styles */
footer[role="contentinfo"] {
	background: #e9ecef;
	padding: 20px 0;
	margin-top: 40px;
	font-size: 0.9rem;
	color: #555;
}

footer nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

footer nav ul li {
	display: inline-block;
	margin-right: 15px;
}

footer nav ul li a {
	color: #555;
	text-decoration: none;
}

footer nav ul li a:hover {
	text-decoration: underline;
}

/* Interstitial ad styles */
.interstitial-banner {
	text-align: center;
	margin: 10px 0 20px;
	min-height: 90px;
}

.interstitial-ad {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 90px;
}

/* Blog card styles */
.blog-content {
	line-height: 1.8;
	font-size: 1.05rem;
}

.blog-content img {
	max-width: 100%;
	height: auto;
}

.blog-content h2, .blog-content h3 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

/* Abuse report form */
.report-form .form-control {
	margin-bottom: 10px;
}

.report-form label {
	font-weight: 600;
	color: #333;
}

/* Abuse report link in redirect */
.card-footer .text-danger {
	font-size: 0.85rem;
}