/* assets/banner.css */
#uscc-container {
	position: fixed;
	z-index: 999999;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	transition: opacity 0.3s ease-in-out;
}

#uscc-container.uscc-pos-bottom-left { bottom: 20px; left: 20px; }
#uscc-container.uscc-pos-bottom-right { bottom: 20px; right: 20px; }

#uscc-logo-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	outline: none;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	transition: transform 0.2s, opacity 0.3s;
}

#uscc-logo-btn:hover {
	transform: scale(1.1);
}

.uscc-hidden {
	display: none !important;
}

#uscc-banner {
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	width: calc(100vw - 40px);
	max-width: 450px;
	padding: 24px;
	color: #333333;
	border: 1px solid #eaeaea;
	animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
	from { transform: translateY(20px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

#uscc-title {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 12px 0;
	color: #111;
}

#uscc-desc {
	font-size: 14px;
	line-height: 1.5;
	margin: 0 0 20px 0;
	color: #555;
}

.uscc-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.uscc-btn {
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 10px 16px;
	border-radius: 6px;
	cursor: pointer;
	border: none;
	transition: background 0.2s, color 0.2s;
	width: 100%;
}

.uscc-btn-primary {
	background: #000000;
	color: #ffffff;
}

.uscc-btn-primary:hover {
	background: #333333;
}

.uscc-btn-secondary {
	background: #f0f0f0;
	color: #333333;
}

.uscc-btn-secondary:hover {
	background: #e4e4e4;
}

.uscc-btn-text {
	background: transparent;
	color: #555555;
	text-decoration: underline;
}

.uscc-btn-text:hover {
	color: #111111;
}

/* Preferences List */
#uscc-prefs-view h3 {
	font-size: 16px;
	margin: 0 0 16px 0;
	color: #111;
}

.uscc-prefs-list {
	max-height: 300px;
	overflow-y: auto;
	margin-bottom: 20px;
	padding-right: 8px;
}

.uscc-pref-item {
	margin-bottom: 16px;
	border-bottom: 1px solid #f0f0f0;
	padding-bottom: 16px;
}
.uscc-pref-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.uscc-pref-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 6px;
}

.uscc-pref-desc {
	font-size: 13px;
	color: #666;
	margin: 0;
	line-height: 1.4;
}

/* Toggle Switch */
.uscc-toggle {
	position: relative;
	display: inline-block;
	width: 44px;
	height: 24px;
}

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

.uscc-slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #ccc;
	transition: .2s;
	border-radius: 24px;
}

.uscc-slider:before {
	position: absolute;
	content: "";
	height: 18px; width: 18px;
	left: 3px; bottom: 3px;
	background-color: white;
	transition: .2s;
	border-radius: 50%;
}

input:checked + .uscc-slider {
	background-color: #000;
}

input:focus + .uscc-slider {
	box-shadow: 0 0 1px #000;
}

input:checked + .uscc-slider:before {
	transform: translateX(20px);
}

.uscc-disabled .uscc-slider {
	background-color: #000;
	cursor: not-allowed;
	opacity: 0.6;
}

#uscc-powered-by {
	display: block;
	width: 100%;
	text-align: right;
	font-size: 12px;
	margin-top: 30px;
	color: #888;
}

#uscc-powered-by a {
color: #555;
text-decoration: none;
}

#uscc-powered-by a:hover {
text-decoration: underline;
}

