html {
	scrollbar-width: none;
	height: 100dvh;
}

html::-webkit-scrollbar {
	display: none;
}

body.editor-open {
	position: fixed;
	height: 100%;
	overflow-y: hidden;
}

body {
	min-height: 100%;
	margin: 0;
	padding: 0;
	font-family: ui-sans-serif,-apple-system,system-ui,"Segoe UI",Helvetica,"Apple Color Emoji",Arial,sans-serif,"Segoe UI Emoji","Segoe UI Symbol";
	font-size: 16px;
	font-feature-settings: normal;
	font-variation-settings: normal;
	color: RGB(13, 13, 13);
}

/*
 * feedback-card.css
 * Styles for the post-comparison feedback card rendered by feedback_ui.go.
 * Drop this into your static assets and link it from any page that serves
 * the feedback card template.
 */
 
/* ── Card container ─────────────────────────────────────────────────────── */
 
.feedback-card {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9375rem;       /* 15px */
  line-height: 1.5;
  /* color: #1a1a1a; */
 
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
 
  max-width: 480px;
  padding: 0;
  overflow: hidden;
}
 
/* ── Immediate section (top half) ───────────────────────────────────────── */
 
.feedback-card__immediate {
  padding: 10 5 0 30;
}
 
.feedback-card__headline {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  padding: 5;
}
 
.feedback-card__impact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  /* color: #555; */
}
 
.feedback-card__impact-icon {
  font-size: 1rem;
  /* color: #888; */
  line-height: 1;
}
 
.feedback-card__impact-text {
  flex: 1;
}
 
/* ── Delta pill (shared between impact row and score row) ───────────────── */
 
.feedback-card__delta {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.1em 0.5em;
  border-radius: 999px;
  white-space: nowrap;
}
 
.feedback-card__delta--up {
  background: #e8f5e9;
  color: #2e7d32;
}
 
.feedback-card__delta--down {
  background: #fce4ec;
  color: #c62828;
}
 
/* ── Divider ─────────────────────────────────────────────────────────────── */
 
.feedback-card__divider {
  margin: 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}
 
/* ── Reliability section (bottom half) ──────────────────────────────────── */
 
.feedback-card__reliability {
  padding: 1rem 1.5rem 1.25rem;
  background: #fafafa;
}
 
.feedback-card__reliability-heading {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  /* color: #888; */
}
 
/* ── Score row ───────────────────────────────────────────────────────────── */
 
.feedback-card__score-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
 
.feedback-card__score {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  /* color: #1a1a1a; */
  line-height: 1;
}
 
.feedback-card__score--unknown {
  color: #bbb;
}
 
.feedback-card__percentile {
  font-size: 0.8125rem;
  font-weight: 500;
  /* color: #555; */
  margin-left: auto;    /* pushes percentile to the right */
  white-space: nowrap;
}
 
/* ── Text notes ──────────────────────────────────────────────────────────── */
 
.feedback-card__reliability-statement,
.feedback-card__consistency-note,
.feedback-card__progress-note {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  /* color: #444; */
}
 
.feedback-card__progress-note {
  /* color: #777; */
  font-style: italic;
}

#editor-backdrop {
	position: fixed;
	top: 0;
	height: 100dvh;
	background-color: rgba(255, 255, 255, 1); /* Semi-transparent white */
	z-index: 10;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	touch-action: none;
}

#editor-backdrop.active {
	opacity: 1;
	pointer-events: auto; /* Block interactions with background content */
}

body.editor-focused {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.back-btn {
	width: 100px;
	background-color: rgb(85,108,244);
	color: white;
	border-radius: 15px;
	border: none;
	align-self: center;
	padding: 10px;
	margin-top: 20px;
	font-size: 16px;
}

.content-ref {
	text-decoration: none;
	color: inherit;
}

.knowledge-modal {
	display: none;
	visibility: hidden;
	opacity: 0;
	position: fixed;
	transform: translate(-50%, 0);
	z-index: 101;
	left: 50%;
	top: 5;
	width: 90%;
	padding: 10 30 10 0;
	background-color: #faf0e1ff;
	justify-content: center;
	align-items: center;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-out;
	border-radius: 15px;
	max-width: 750px;
}

.knowledge-modal.active {
	display: flex;
	visibility: visible;
	opacity: 0.95;
}

.modal-message {
	flex-grow: 1;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.invite {
	display: flex;
	border: solid 1px #eee;
	margin-right: 50;
}

textarea {
	width:100%;
	font-size:16px;
	resize:none;
	padding: 10 10 10 10;
	border-radius: 15px;
	border: solid 1px rgb(200, 200, 200);
}

textarea:focus {
	outline: none;
}

.user-prompt {
	background-color: #0af;
	color: white;
	border-radius: 15px;
	padding: 10;
	margin: 20 5 20 auto;
	width: 70%;
}

.user-prompt p {
	margin: 0
}

.model-label {
	background-color: #eee;
	border-radius: 15px;
	padding: 10;
	width: 40%;
	margin: 10 0 10 0;
}

.banner {
	display: flex;
	flex-direction: column;
	background-color: rgb(60,110,139);
	color: white;
	border-radius: 15px;
	padding: 20px;
	font-size: 2em;
	font-weight: 500;
}

.conv-start {
	background-color: #eee;
	margin: auto;
	width: 75%;
	padding: 5 0 5 20%;
}

.btn-modal-close {
	background-color: #faf0e1ff;
	color: black;
	border: none;
	margin-right: 8px;
	text-decoration: none;
	margin-bottom: auto;
	font-size: .8em;
	font-weight: 800;
}

.btn-invite {
	flex: 1;
	padding: 2 15 2 15;
	background-color: #fff846; \* #fea; *\
	color: #000;
	border: none;
	text-decoration: none;
	font-size: .8em;
	font-weight: 800;
}

.btn-invite-close {
	flex: 0;
	background-color: #fff846; \* #fea; *\
	color: #000;
	border: none;
	text-decoration: none;
	font-size: .8em;
	font-weight: 800;
}

.btn-detail-close {
	height: 50px;
	width: 50px;
	font-size: 2em;
	border: none;
	background-color: #eeec;
	color: #000;
	border-radius: 10px;
}

.sign-in-banner-wrapper {
	align-self: flex-end;
}

.sign-in-banner {
	padding: 8px 15px 8px 15px;
	background-color: #fef8a2;
	border-radius: 15px;
	border: none;
	margin-top: 15px;
	margin-left: auto;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	width: fit-content;
}


.toolbar {
	display: none; 
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	background: transparent;
	transition: opacity 0.2s ease;
}

.toolbar.visible {
	display: block;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	background: #fff;
}

.ql-spacer {
	flex: 1
}


.ql-container.ql-snow {

}

@keyframes fadeInOut {
	0% { opacity: 0; }
	10% { opacity: 1; }
	90% { opacity: 1; }
	100% { opacity: 0; }
}

#msg-assist {
	display: none;
	position: fixed;
	top: 200px;
	left: 50%;
	transform: translateX(-50%);
	border: 1px solid rgb(100, 100, 100);
	border-radius: 15px;
	background-color: white;
	padding: 20px;
	opacity: 0;
}

#msg-assist.animate {
	display: block;
	animation: fadeInOut 2s forwards;
}

.hidden {
	display: none;
}

.list-view {
	width: 70%;
	margin: auto;
	margin-top: 90px;
	max-width: 720px;
}

.list-view:first-child {
	padding-top: 80px;
}

.sidebar {
	position: fixed;
	background-color: #fafafafa; /* #fefbf5ff; */
	/* background-color: #ffef82ff; /* rgb(250, 250, 250); */ */
	top: 5;
	left: -70%;
	width: 65%;
	height: 80%;
	overflow-x: hidden;
	transition: 0.3s;
	padding-top: 15px;
	padding-left: 15px;
	z-index: 100;
	/* border-top: solid 1px #ffde00; */
	/* border-right: solid 1px #ffde00; */
	scrollbar-width: none;
	border: solid 1px #eeeeee;
}

.sidebar-item {
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: 600;
}

.hamburger {
	font-size: 1.5em;
	padding: 0 5 3 5;
	margin-right: 25px;
}

.hamburger.active {
	background-color: #eee;
}

/* .sidebar a { */
/* 	display: block; */
/* 	padding: 10px 20px; */
/* 	text-decoration: none; */
/* } */

.sidebar.active {
	left: 0
}

#main {
	transition: margin-left 0.3s;
	padding: 20px;
}

.list {
	margin: 0 15px 30% 15px;
	min-height: 100%;
}

.content-wrapper {
	/* margin: 0 15px 0 15px; */
	height: 100%;
}

@-moz-document url-prefix() {
	.list {
		scrollbar-width: thin;
		scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.05);
	}
}

.list > div:not(.btn) {
	border-bottom: 1px solid #ddd;
}

.list::-webkit-scrollbar {
	width: 3px;
}

.list::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 2px;
}

.list::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.05);
	border-radius: 2px;
}

.answers-container {
	position: relative;
}

.active-answer {
	background-color: rgb(248, 248, 248);
	border-radius: 15px;
	padding: 1 10;
}

.questions {
	/* display: flex; */
	/* flex-direction: column; */
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 16px;
	/* padding: 16px; */
}

.answers {
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 16px;
	/* padding: 16px; */
	/* flex-direction: column; */
	/* margin-bottom: 100px; */
}

/* .answers > div.item-container:not(:last-of-type)::after { */
/* 	content: ""; */
/* 	position: absolute; */
/* 	top: 15px; */
/* 	bottom: 15px; */
/* 	right: 0; */
/* 	border-right: 1px solid #ddd; */
/* } */

.answer-rank {
	display: flex;
	margin-top: 15px;
	margin-bottom: 25px;
	font-size: .8em;
	font-weight: 800;
	color: #555;
}

.answer-rank-high {
	color: #34aa18;
}

.answer-rank-low {
	color: #cd0e0e;
}


/* .answers > .item-container:first-of-type .answer-rank { */
/* 	color: #3c3; */
/* } */

.detail {
	position: absolute;
	background-color: white;
	z-index: 100;
	top: 50;
	margin-top: 8%;
	margin-inline: auto;
	min-height: 50%;
	opacity: 0;
}

.detail.show {
	opacity: 1;
}

#loading {
	display: none;
	background-color: RGBA(0,255,255,0.5);
	border-radius: 50%;
	border-color: aqua;
	width: 50px;
	height: 40px;
	text-align: center;
	padding-top: 5px;
}

.container {
	font-size: 1em;
	padding: 5px 0 5px 0;
	background-color: RGB(255, 255, 255);
	min-width: var(--min-width) - 10;
	max-width: var(--max-width) - 10;
}

.item-container {
	position: relative;
	background-color: white;
	min-width: 300px;
	/* width: 100%; */
	flex: 1;
	margin-top: 15px;
	/* min-width: 350px; */
	/* padding: 0 5 0 5; */
}

.swipe-wrapper {
	background-color: rgb(250,121,121);
	border-radius: 8px;
	display: block;
}

.item-container:has(#assist) {
	/* swipe */
	touch-action: pan-y; /* Allows vertical scrolling but captures horizontal swipes */
	transition: transform 0.1s ease-out; /* Smooth follow-up */
	will-change: transform; /* Tells the browser to optimize for moving this element */

	cursor: grab;
	/* Prevent the "ghosting" preview image */
	user-select: none;
	-webkit-user-drag: none;
}

.item-container:has(#assist):active {
	cursor: grabbing;
}

.item-container img {
	max-width: 100%;
	/* max-height: 500px; */
	height: auto;
	object-fit: contain;
	aspect-ration: 16/9;
	border-radius: 15px;
}

.message {
}

.message.abbr {
	-webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 50%, transparent 100%);

}

.tab-bar {
	position: fixed;
	z-index: 99;
	background-color: RGBA(255, 255, 255, .95);
	top: 50;
	width: 100%;
	width: 70%;
	display:flex;
	justify-content:space-evenly;
	max-width: 720px;
}

.tab-btn.tab-active {
	border-bottom: 3px solid #fa1; /* #8fa; */
	font-weight: 700;
}

.tab-inactive {
	color: #555;
}

/* .tab-btn.tab-pending{ */
/* 	border-bottom: 3px solid #f8a;  */
/* } */

#video-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

video {
	height: 70%;
	width: 800px;
	overflow: hidden;
	object-fit: cover;
	border-radius: 15px;
	background-color: black;
}

.camera-preview {
	height: 100%;
	width: 100%;
}

.camera {
	position: fixed;
	top: 60px;
	left: 10px;
	width: 95%;
	height: 89%;
	z-index: 102;
}

.camera-controls-wrapper {
	display: flex;
	position: fixed;
	align-items: center;
	justify-content: space-evenly;
	width: 95%;
	bottom: 20px;
}

@media (min-width: 1024px) {
	.hamburger {
		display: none; /* Hide the menu button */
	}

	.sidebar {
		left: 0;  /* Ensure sidebar is visible */
		width: 20%;
	}

	/* .knowledge-modal { */
	/* 	left: 87%; */
	/* } */

	/* .answers { */
	/*  flex-direction: row; */
	/* } */
}

@media screen and (max-width: 600px) {
	:root {
		--min-width: 350px;
		--max-width: 350px;
	}
}

@media screen and (min-width: 800px) {
}

@media screen and (min-width: 480px) {
	#icon {
		display: flex;
	}
}

.label-container {
	display: flex;
	/* flex: 2; */
	justify-content: space-between;
	width: 100%;
}

.label.label-user {
	font-weight: 400;
	font-size: .8em;
	text-align: left;
	text-transform: uppercase;
	margin-left: 15px;
	margin-top: 5px;
}

.label-timestamp {
	font-size: .65em;
	color: #888;
	margin-top: 5px;
	/* margin-left: auto; */
	/* margin-right: 15px; */
}

.profile-name {
	font-weight: 500;
	font-size: 1.5em;
	margin-left: 10px;
}

.profile-added {
	font-size: .65em;
	margin-left: 10px;
	color: #333;
}

.profile-section {
	display: flex;
	top: 80px;
	z-index: 99;
	/* height: 100px; */
	padding: 10px 10px 10px 10px;
	/* background-color: #fdb; */
	/* background-color: #fecc70; */
	background-color: #fafafafa; /* #fefbf5ff; */
	/* border: solid 1px #ffa800; */
	/* background-color: #ffbe00; */
	/* border: solid 1px #ffa800; */
	border-end-end-radius: 15px;
	border-end-start-radius: 15px;
	border: solid 1px #eeeeee;
}

.profile-close {
	position: absolute;
	top: 5px;
	left: 5px;
}

.profile-back {
	margin-top: 5px;
}

.profile-info {
	display: flex;
	align-items: center;
}

.profile-image {
	border-radius: 50%;
	border: solid 1px #bababa;
}

.title {
	background-color: RGBA(255, 255, 255, .95);
	z-index: 99;
	position: fixed;
	top: 0px;
	height: 50px;
	min-width: 720px;
	align-items: center;
	justify-content: center;
}

.title-input {
	display: none;
	font-size: 1.8em;
	font-style: italic;
	width: 100%;
	border-left: solid 1px #bbb;
	border-right: solid 1px #bbb;
	border-top: none;
	border-bottom: none;
	padding: 8px;
	text-transform: capitalize;
}

.content-title {
	font-weight: 700;
	font-size: 16px;
	margin-top: 10px;
}

.title-input.active {
	display: block;
}

.sign-in {
	text-decoration: none;
	margin-left: auto;
}

.sign-in-btn {
	padding: 8px 15px 8px 15px;
	background-color: #55f;
	color: white;
	border: solid 1px #eee;
	border-radius: 15px;
	font-size: .8em;
}

.tab-btn {
	padding: 0 5px 0 5px;
	background-color: rgba(0,0,0,0);
	color: rgb(0, 0, 0);
	border: none;
	margin-left: auto;
	text-decoration: none;
	font-size: 1em;
}

p {
	line-height: 1.6;
	font-weight: 400;
	font-size: 16px;
}

.editor-wrapper {
	/* overflow-y: auto; */
	/* overscroll-behavior: contain; */
}

.editor {
	max-height: 100dvh;
	border-top: none;
	border: 1px solid white !important;
	background: #fff;
	/* overflow-y: overlay; */
	/* overscroll-behavior: contain; */
}

.wrapper-add-content {
	position: fixed;
	display: none;
	top: 10px;
	height: 100dvh;
	width: 100%;
	max-width: 720px;
	left: 50%;
	transform: translateX(-50%);
	touch-action: none;

	background-color: white;
	z-index: 99;

	box-sizing: border-box;
}

.wrapper-add-content-reply {
	position: fixed;
	display: none;
	height: 60%;
	touch-action: none;
	overscroll-behavior: contain; 
	left: 50%;
	transform: translateX(-50%); /* Keeps the wrapper centered */

	bottom: 0;
	margin-bottom: -1px;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5px);

	width: 100%;
	max-width: 720px;
	background-color: white;
	z-index: 99;
	/* min-height: 85px;  */

	box-sizing: border-box;
	border: solid 1px #f5f5f5;
}

.wrapper-add-content-answer {
	position: fixed;
	height: 15%;
	touch-action: none;
	overscroll-behavior: contain; 
	left: 50%;
	transform: translateX(-50%); /* Keeps the wrapper centered */

	bottom: 0;
	margin-bottom: -1px;
	padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 5px);

	width: 100%;
	max-width: 720px;
	background-color: white;
	z-index: 99;
	/* min-height: 85px;  */

	box-sizing: border-box;
    border: solid 1px #eee;
}

.wrapper-add-content-answer.wrapper-active {
	height: 30%;
}

.btn-cancel {
	background-color: rgb(240, 240, 240);
	padding: 5 20;
	border-radius: 15px;
}

.btn-save {
	background-color: rgb(240, 240, 240);
	padding: 5 20;
	border-radius: 15px;
}

.btn-send {
	background-color: rgb(0, 152, 236);
	color: white;
	padding: 5 20;
	border-radius: 15px;
}

.add-btn {
	position: sticky;
	margin-left: auto;
	margin-right: 40px;
	bottom: 25px;

	height: 50px;
	width: 50px;
	z-index: 101;
	background-color: #555555;
	/* background-color: #ffbe00; */
	border: solid 1px #000000; /* #ffa800; */
	/* background-color: #eee; */
	/* border: solid 1px #ddd; */
	border-radius: 50px;
	display: flex;
	align-items: center;
}

.add-content {
}

.add-content.show {
	top: 5px;
	opacity: 1;
	border-bottom: 1px solid #ddd;
}

.search {
	display: flex; 
	z-index: 100; 
	margin-top: 20px;
	border: 1px solid #ddd;
	border-radius: 10px;
	padding: 5px;
	outline: 0px solid transparent;
	background-color: white; 
	font-size: .8em;
}

.topics-wrapper {
	display: flex; 
}

.topic-layer {
	display: flex;
	overflow-x: scroll; 
	scrollbar-width: none;
	scroll-padding-left: 16px;
	/* max-width: 95%; */
	/* min-width: 95%; */
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

.topic-layer::-webkit-scrollbar {
	display: none;
}

/* .topic { */
/* 	font-size: 14px; */
/* 	font-weight: 500; */
/* 	height: 40px; */
/* 	margin: 5px; */
/* 	-webkit-user-select: none; */
/* 	user-select: none; */
/* 	color: #555; */
/* 	background-color: #eee; */
/* 	border: 1px solid #ccc; */
/* 	border-radius: 10px; */
/* } */

.topic {
	font-size: 14px;
	font-weight: 500;
	height: 40px;
	margin: 10px; /* Increased margin for better "floating" spacing */
	padding: 0 15px; /* Added horizontal padding for text breathing room */
	display: inline-flex; /* Centers text vertically and horizontally */
	align-items: center;
	justify-content: center;

	-webkit-user-select: none;
	user-select: none;

	color: #555;
	background-color: #f5f5f5; /* Slightly lighter gray for a cleaner look */
	border: none; /* Removed the border to soften the edges */
	border-radius: 12px; /* Slightly softer curve */

	/* The "Floating" Effect */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic.active {
	margin: 10px;
	-webkit-user-select: none;
	user-select: none;
	color: #fff;
	background-color: #333;
	border: 1px solid #333;
	border-radius: 10px;
}

.ql-tooltip {
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
}

/* .ql-container { */
/* 	background-color: #f0f0f0;  */
/* } */

.ql-editor {
	font-size: 16px;
	padding-bottom: 200px !important;
	/* overscroll-behavior: contain; */
	/* min-height: 100px !important; */
	/* max-height: 500px !important; */
}

.search-text {
	flex: 1;
	font-size: 1em;
	margin-top: 8px;
	border: 1px solid RGB(200, 200, 200);
	border-radius: 10px;
	padding: 5px;
	outline: 0px solid transparent;
	width: 100%;
}

.btn.subscribe {
	color: white;
	background-color: RGB(100, 100, 255);
	max-width: 90px;
}

.btn.subscribed {
	color: white;
	background-color: RGB(100, 100, 100);
	max-width: 90px;
}

.edit-text {
	flex-basis: 100%;
	background: white;
	color: black;
	border-radius: 10px;
	font-size: 1em;
	padding: 10px;
	margin: 3px 3px 0 3px;
	height: 45px;
	overflow-y: scroll;
	border: solid 1px rgb(200, 200, 200);
}

#video-controls {
	display: flex;
}

#video-record-controls {
	display: flex;
	flex: 1
}

.btn.prefer {
	background-color: #555555;
	color: white;
}

.btn.preferred {
	background-color: #0c0;
	color: white;
}

.btn.incorrect {
	background-color: RGB(50, 50, 50);
	color: white;
}

.topic-scroll-hint {
	position: sticky;
	margin-top: 20px;
	right: 0;
	color: rgba(0, 0, 0, 0.5);
}

/* .topic-scroll-right { */
/* 	margin-left: auto; */
/* } */

.scroll-hint {
	position: absolute;
	top: 50%;
	left: 90%;
	color: rgba(0, 0, 0, 0.5);
}

.scroll-hint.right {
	right: 0;
}

/* .post-control { */
/* 	margin-left: 30px; */
/* 	padding-bottom: 15px; */
/* } */

.topiclist-answer {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 15 0;
}

.topiclist {
	display: flex;
	flex-wrap: wrap;
	margin: 15 0 0 0;
}

.btn.content-topic {
	font-size: 10px;
	font-weight: 400;
	height: 25px;
	margin: 3px;
	padding: 0 5px;
	display: inline-flex; /* Centers text vertically and horizontally */
	align-items: center;
	justify-content: center;

	-webkit-user-select: none;
	user-select: none;

	color: #555;
	background-color: #f5f5f5; /* Slightly lighter gray for a cleaner look */
	border: none; /* Removed the border to soften the edges */
	border-radius: 12px; /* Slightly softer curve */

	/* The "Floating" Effect */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* .topic { */
/*     font-size: .7em; */
/*     font-weight: 300; */
/* } */
/**/
/* .btn.topic { */
/*     background-color: RGB(250, 250, 250); */
/* } */

.btn-container {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
}

.btn {
	--flex: 1;
	font-size: 16px;
	border: solid 1px RGB(200, 200, 200);
	text-align: center;
	width: 85px;
	border-radius: 15px;
	padding: 8px 5px 8px 5px;
	margin: 5px;
	color: black;
	background-color: rgb(255, 255, 255);
}

.btn-follow {
	margin-top: 8px;
	margin-left: 10px;
	padding: 5px 10px;
	border: none;
	border-radius: 15px;
	background-color: rgb(45, 45, 45);
	color: white;
	font-size: 12px;
	font-weight: 700;
}

.btn-small {
	border: solid 1px #ccc;
	background-color: #eee;
	border-radius: 15px;
	padding: 10px 10px 10px 10px;
}

.btn.interest {
	width: auto;
	background-color: #fe1;
	border: solid 1px #fd5;
}

.btn-remove-topic {
	background-color: #555555;
	color: white;
	border: none;
	padding: 0 8 0 8;
	border-radius: 15px;
	margin: 1 0 1 0;
	height: 16px;
}

.wrapper-interest {
	display: flex;
	margin: 8 0 8 0;
	align-items: center;
}

.camera-control-btn {
	flex: 1;
	font-size: 0.8em;
	border: none;
	text-align: center;
	width: 85px;
	border-radius: 15px;
	padding: 8px 5px 8px 5px;
	margin: 5px;
	background-color: #ddd;
}

.btn-active {
	border-bottom: solid 5px RGB(100, 200, 250);
	padding: 15px 15px 10px 15px;
}

.btn-pending-task {
	background-color: rgb(0, 250, 250);
}

.btn-container-video {
	position: relative;
	top: 300px;
	margin: 0 auto;
	opacity: 0.8;
	width: 100px;
}

.btn-container-play-video {
	position: absolute;
	bottom: 108px;
	left: 25px;
	opacity: 0.8;
}

.btn-container-play-preview {
	position: relative;
	bottom: 50px;
	left: 20px;
	opacity: 0.8;
}

.btn-video {
	background-color: rgba(100, 100, 50, 0.5);
	color: white;
	border: none;
	padding: 10px 20px;
	font-size: 16px;
	border-radius: 25px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 80px;
	height: 34px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: rgb(150,200,200);
}

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

.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.label {
	color: #888;
	font-size: 0.7em;
	margin-left: 5px;
}

.label-review {
	margin-left: auto;
	margin-right: 5px;
}

.label-reviewed {
	color: green;
}

.label-notreviewed {
	color: red;
}

#loading {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 99;
}

.modal {
	position: fixed;
	font-size: 1em;
	z-index: 99;
	top: 50%;
	left: 50%;
	transform: translate(-50%, 0);
	width: 600px;
	height: 100px;

	color: RGB(70, 70, 70);
	background-color: RGBA(230, 230, 230, .80);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(5px);

	border-radius: 15px;
	border: solid 3px white;
	transition: opacity 3s;
	opacity: 0;
	padding: 15px;
}

.modal.show {
	/*display: block;*/
	opacity: 1;
	z-index: 1;
}

.answer {
	border-radius: 30px;
	border: solid 1px RGB(200, 200, 200);
	padding: 15px;
}

.content {
	/* min-height: 50px; */
	flex: 1;
	outline: 0px solid transparent;
	margin-top: 15px;
	margin-left: 15px;
}

.content:empty:before {
	content: attr(data-placeholder);
	color: gray;
	pointer-events: none;
}

.post-question {
	display: none;
}

/* .preview { */
/* 	position: absolute; */
/* 	font-size: 1em; */
/* 	z-index: 100; */
/* 	top: -150%; */
/* 	left: 50%; */
/* 	transform: translate(-50%, 0%); */
/* 	min-width: 90%; */
/* 	min-height: 85vh; */
/**/
/* 	color: RGB(70, 70, 70); */
/* 	background-color: RGB(255, 255, 255); */
/**/
/* 	border-radius: 15px; */
/* 	border: solid 3px white; */
/* 	transition: top 1s; */
/* 	padding: 15px; */
/* } */
/**/
/* .preview.show { */
/* 	top: 5px; */
/* } */

.modal-background {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 98;
	pointer-events: none;
	background-color: RGBA(90, 90, 90, .80);
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s;
}

.modal-background.show {
	opacity: 1;
}

.btn-add {
	--flex: 1;
	--width: 100px;
	z-index: 101;
}

.btn-close {
	--flex: 1;
	--width: 100px;
}

.add-control {
	background-color: rgba(180, 180, 180, 0.8);
	border-color: rgb(180, 180, 180);
	border-radius: 50%;
	width: 35px;
	height: 25px;
}

.add-control.active {
	background-color: rgba(50, 50, 50, 0.8);
	border-color: rgb(50, 50, 50);
}

@media (max-width: 600px) {
	.list-view {
		width: 98%;
	}

	/* .wrapper-add-content { */
	/* 	width: 99%; */
	/* } */

	.title {
		min-width: 98%;
	}

	.tab-bar {
		width: 98%;
	}
}

@media(pointer: coarse) {
	.add-btn {
		bottom: 20px;
	}
}

@media (orientation: landscape) {
	.add-control {
	}
}

@media (orientation: portrait) {
	.add-control {
	}
	.list-view:first-child {
		padding-top: 35px;
	}
}

.content-img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	margin: 0 auto;
}
