body {
	font-family: 'Neue', Arial, sans-serif;
}

header {
	background-color: #FFF;
	padding: 10px;
}

main {
	padding: 0px;
}

#notification_bar {
	position: fixed;
	top: 20px;
	z-index: 10;
}

.show {
	display: block;
}

.text-outline {
	color: white;
	/*
		-webkit-text-stroke: 1px black;
	*/
	text-shadow:
	    -1px -1px 0 #000,
	     1px -1px 0 #000,
	    -1px  1px 0 #000,
	     1px  1px 0 #000;
}

#div_version {
	position: fixed; bottom:20px;
}

#main {
	width: 100%;
	height: 100%;
}

.sign-title {
	font-size: 24pt;
	/*color: #FCC57A;*/
}

.sign-title span:nth-of-type(1) {
	font-weight: bolder;
}

.sign-subtitle {
	padding-top: 0px;
	font-weight: 600;
}

.container {
	--bs-gutter-x: 0px;
}

.content {
	padding: 10px;
}

/* buttons */
.btn-primary {
	--bs-btn-color: #6B7AA7;
	--bs-btn-bg: white;
	--bs-btn-border-color: #6B7AA7;
	--bs-btn-hover-bg: white;
	--bs-btn-hover-border-color: #6B7AA7;
	--bs-btn-active-bg: white;
    --bs-btn-active-border-color: #6B7AA7;
    --bs-btn-padding-x: 10px;
}

.btn-primary:hover {
	color: #6B7AA7;
}

.btn-primary:focus {
	color: #6B7AA7;
}

.btn-social {
	--bs-btn-color: #57628F;
	--bs-btn-bg: #FFF;
	--bs-btn-border-color: #57628F;
	--bs-btn-hover-bg: #FFF;
	--bs-btn-hover-border-color: #57628F;
	--bs-btn-active-bg: #FFF;
    --bs-btn-active-border-color: #57628F;
    --bs-btn-padding-x: 10px;
}


.btn, .form-input {
  	border-radius: 20px;
}

.form-input {
	border-radius: 5px;
}

/* Pathched */
#login_enter:hover,
#button_cirql_edit_save:hover,
#button_cirql_edit_save:hover,
#button_profile_edit_save:hover {
	color: #6B7AA7;
}

#logo_text {
	font-weight: bold;
}

.row {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* Navbar */

.navbar-collapse {
	color: black;
	align-items: start;
}

.navbar a {
	color: black;
}

#logo_image {
	width: auto;
}

/* Colors */
.creator.highlight {
	color: #a151ff;
}

.creator.btn-primary {
	
}

.business.highlight {
	color: #9D0000;
}

.business.btn-primary {
	background-color: #9D0000;
}

.viewer.highlight {
	color: #ff9900;
}

.viewer.btn-primary {
	color: white;
	background-color: #fecf8b;
	border-color: #fecf8b;
}

.fg-black {
	color: black;
}

.fg-white {
	color: white;
}

/* Default */
.home > .spaced {
	margin-top: 30px;
	margin-bottom: 20px;	
}

nav.home {
	margin: 10px;
	border-radius: 40px;
	color: white;
}

main.home {
	margin: 20px;
}

footer.home {
	background-color: #3c006d;
	color: white;
	padding: 15px;
}

footer.home a {
	color: white;
	text-decoration: none;
}

footer.home a:hover {
	color: white;
	text-decoration: none;
}

footer.home img {
	width: auto;
}

p.home {
	color: white;
}

p.home span:first-child {
	color: white;
	font-size: 3rem;
	font-weight: bold;
}

p.home span:nth-of-type(2) {
	font-size: 1.2rem;
	font-weight: normal;
}

.home.btn {
	background-color: white;
}

.home.btn-primary {
	color: #a151ff;
}

.home.btn-secondary {
	color: #c50000;
}

.home.accordion .accordion-button {
	background-color: #b40000;
	color: white;
	border-radius: 15px;
}

.home.accordion .accordion-body {
	
}

.home.accordion .accordion-item {
	margin-top: 15px;
	margin-bottom: 15px;
	border-radius: 15px;
	background-color: #b40000;
	color: white;
	border: none;
}

.home img {
	width: 100%;
}

.home.engagements img {
	width: 160px;
}

/* Curators */
#curators {
	display: flex;
	flex-direction: row;   /* left → right */
	flex-wrap: wrap;      /* allow wrapping to next row */
	gap: 12px;            /* space between items (supported in modern browsers) */
	align-items: flex-start;
	color: white;
}

#curators div {
}

#curators > div:nth-child(1) {
	background-color: #a151ff;
	border-radius: 15px;
	width: 270px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center; /* horizontal */
	align-items: center;     /* vertical */
}

#curators div:nth-child(1) img:nth-child(1) {
	width: auto;
	margin-left: auto;
}

#curators div:nth-child(1) img:nth-child(2) {
	width: 200px;
}

/* the white line */
#curators div:nth-child(1) div:nth-child(3) {
	width: 100px;
	border-top: 1px solid white; 
	margin: 10px auto;  
}

#curators div:nth-child(1) div:nth-child(4) {
	display: flex;
	flex-direction: row;
}

#curators div:nth-child(1) div:nth-child(4) img {
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
}

#curators > div:nth-child(2) {
	background-color: #6e7aa3;
	border-radius: 15px;
	width: 65px;
	padding: 20px;
	flex-direction: column;
	justify-content: center; /* horizontal */
	align-items: center;     /* vertical */
	margin-top: 300px;
	transform: translateX(60%);
}

#curators > div:nth-child(2) img {
	width: auto;
}

#curators > div:nth-child(3) {
	background-color: #ff9900;
	border-radius: 15px;
	width: 140px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center; /* horizontal */
	align-items: center;     /* vertical */
	color: white;
	transform: translateX(-25%);
}

#curators div:nth-child(3) img:nth-child(1) {
	width: auto;
	margin-left: auto;
}

#curators div:nth-child(3) img:nth-child(2) {
	width: 100px;
}

#curators > div:nth-child(4) {
	background-color: #b50000;
	border-radius: 15px;
	width: 195px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center; /* horizontal */
	align-items: center;     /* vertical */
	color: white;
}

/* the white line */
#curators div:nth-child(4) div:nth-child(3) {
	width: 100px;
	border-top: 1px solid white; 
	margin: 10px auto;  
}

#curators div:nth-child(4) div:nth-child(4) {
	display: flex;
	flex-direction: row;
}

#curators div:nth-child(4) div:nth-child(4) img {
	width: auto;
	margin-left: 20px;
	margin-right: 20px;
}

#curators div:nth-child(4) img:nth-child(1) {
	width: auto;
	margin-left: auto;
}

/* Role split */
.role_split_card {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
	gap: 1rem;                             /* space between columns */
	align-items: center;                   /* align content at top */
	background-color: #FFF;
	border-radius: 5px;
	border-color: #EAEDF8;
	border-style: solid;
	border-width: 1px;
	cursor: pointer;
}

/* Role split: images */
.role_split_card img {
	padding: 20px;
}

/* Role split: ">" column */
.role_split_card div:nth-child(3) {
  	width: 10%;
}

/* Role split: titles */
.role_split_card div > span:nth-child(1) {
	font-size: 16pt;
}

/* Role split: text */
.role_split_card div > span:nth-child(5) {
	font-size: 8pt;
	color: black;
	line-height: 1.2;
}

/* Sign-up */

#login_view {
	width: auto;
}

#sign_logo div {
	cursor: pointer;
}

.content.setup.viewer {
	background-color: #fdf3e5;
}

.content.setup.viewer .sign-title.highlight {
	color: #ff9900;
}

.content.creator {
	background-color: #efe9f7;
}

.content.business {
	background-color: #F6E1E1;
}

.content.viewer {
	background-color: #FCF0DE;
}

/* Setup */
.setup-subtitle {
	font-weight: bold;
}

#span_username {
	color: black;
	font-weight: normal;
	font-size: 16pt;
}


.btn-outline-primary.creator {
	--bs-btn-bg: white;
	--bs-btn-color: #6B7AA7;	
	--bs-btn-border-color: #6B7AA7;
	--bs-btn-active-border-color: #6B7AA7;
}

.signup .btn-outline-primary,
.signin .btn-outline-primary  {
	--bs-btn-bg: white;
	--bs-btn-color: #6B7AA7;	
	--bs-btn-border-color: #6B7AA7;
	--bs-btn-active-border-color: #6B7AA7;
}

.viewer .btn-outline-primary {
	--bs-btn-bg: white;
	--bs-btn-color: #6B7AA7;	
	--bs-btn-border-color: #6B7AA7;
	--bs-btn-active-border-color: #6B7AA7;
}

.viewer .btn-primary {
	--bs-btn-bg: #ff9900;
	--bs-btn-color: white;	
	--bs-btn-border-color: #ff9900;
	--bs-btn-active-border-color: #ff9900;
}

#setup_continue.creator {
	background-color: #8E2DFF;
}

/* Cirql */
.cirql-link {
	color: #6B7AA7;
	cursor: pointer;
}

.cirql-link:hover {
	color: #6B7AA7;
}


.title.creator {
	color: #652296;
	font-weight: bold;
}

.circle {
  	width: 50px;              /* circle size */
  	height: 50px;             /* must be equal to width */
  	border: 1px solid #2C3E50; /* border color */
  	border-radius: 50%;        /* makes it a circle */
}

#img_cover {
	width: 80px;
	height: 80px;
	border-radius: 50%;        /* makes it a circle */
	cursor: pointer;
}

/* Profile */
.profile-link {
	color: #6B7AA7;
	cursor: pointer;
}

.profile-link:hover {
	color: #6B7AA7;
}

#image_avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	cursor: pointer;
}

.content.profile.creator {
	background-color: #F2F2F3;
}

/* Media */
.media_thumbnail {
	width: 25px;
	height: 25px;
	border-radius: 5px;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: cover;
}

#div_media_thumbnail {
	width: 250px;
	height: 250px;
	border-radius: 5px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}


/* Feed */
.feed-item-head {
	width: 140px;
	height: 140px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	border-radius: 50%;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.feed-item-title {
	font-weight: bold;
	color: black;	
}

.feed-item-bio {
	font-style: italic;
	color: gray;	
}

.feed-item-link {
	color: black;
	text-decoration: none;
}

.feed-item-link:hover {
	color: black;
}

.feed-item-cirql {
	width: 75px;
	height: 75px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	
	color: white;
	/*
		-webkit-text-stroke: 1px black;
	*/
	text-shadow:
	    -1px -1px 0 #000,
	     1px -1px 0 #000,
	    -1px  1px 0 #000,
	     1px  1px 0 #000;
}

a:has(div.feed-item-cirql) {
  text-decoration: none;
}

.feed-item-theme {

}

#feed-scroll-container {
  overflow-y: auto;             /* Enable vertical scroll */
  border: 1px solid #ddd;
}

.feed-item {
  padding-top: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 0rem;
  margin: .5rem;
  background: #e9ecef;
  border-radius: .5rem;
}

.feed-item img {
	/* border-radius: 10px; */
}

.feed-item.container .row {
	flex-wrap: nowrap !important;
}

img.feed-item-head {
	width: 95px;
	border-radius: 50%;
	object-fit: cover;
}

.feed-item-cirql.half {
	clip-path: inset(0 50% 0 0);
}


img.feed-item-theme {
	width: 110px;
	border-radius: 8px;
}

span.feed-item-theme {
	border-radius: 8px;
	padding: 10px;
	margin: 2px;
	
	color: white;
/*
	-webkit-text-stroke: 1px black;
*/
	text-shadow:
	    -1px -1px 0 #000,
	     1px -1px 0 #000,
	    -1px  1px 0 #000,
	     1px  1px 0 #000;
}

.feed-item-theme.half {
	clip-path: inset(0 50% 0 0);
}

.feed-item-footer {
	background-color: white;	
	border-bottom-left-radius: .5rem;
	border-bottom-right-radius: .5rem;
	margin-left: -16px;
	margin-right: -16px;
}

.half img {
    object-fit: cover;
}

/* Tags */
.btn.tag {
	width: 120px;
	margin: 2px;
}

#input_tag {
	padding-top: 0px;
}

/* Misc */
:root{
  --label-border: #000;          /* black border */
  --label-bg: #fff;             /* white background (unchecked) */
  --label-text: #000;           /* black text (unchecked) */
  --label-checked-bg: #000;     /* background when checked */
  --label-checked-text: #fff;   /* text when checked */
  --label-hover-bg: #f7f7f7;    /* hover background when unchecked */
  --label-focus-outline: 3px solid rgba(0,123,255,0.25); /* focus ring */
  --item-gap: 6px;
}

/* Container: vertical list, 1 item per line, scrollable */
.check-list {
  max-height: 120px;        /* adjust height as needed */
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: var(--item-gap);
}

/* Remove default bootstrap form-check spacing and position */
.check-item {
  display: block;           /* make label a block (full width) */
  width: 100%;
  cursor: pointer;
  user-select: none;
}

/* Visually hide native checkbox but keep it accessible */
.check-item input[type="checkbox"] {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  border: 0;
  padding: 0;
}

/* The visible "card-like" label */
.check-item .check-body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--label-border);
  background: var(--label-bg);
  color: var(--label-text);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: background-color .15s ease, color .15s ease, border-color .12s ease, transform .06s;
}

/* Hover effect (only for unchecked items) */
.check-item:not(.checked) .check-body:hover {
  background: var(--label-hover-bg);
}

/* Checked state — using sibling selector: input:checked + .check-body */
.check-item input[type="checkbox"]:checked + .check-body {
  background: var(--label-checked-bg);
  color: var(--label-checked-text);
  border-color: var(--label-checked-bg);
}

/* Provide a subtle pressed effect */
.check-item input[type="checkbox"]:active + .check-body {
  transform: translateY(1px);
}

/* Focus-visible for keyboard users */
.check-item input[type="checkbox"]:focus + .check-body,
.check-item .check-body:focus {
  outline: none;
  box-shadow: var(--label-focus-outline);
}

/* Small checkbox square at the end (custom visual) */
.check-item .check-indicator {
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid currentColor;
  background: transparent;
  flex: 0 0 auto;
}

/* Tick mark when checked (using pseudo element) */
.check-item input[type="checkbox"]:checked + .check-body .check-indicator {
  background: currentColor; /* uses the label text color (which becomes white when checked) */
  border-color: currentColor;
}

.check-item input[type="checkbox"]:checked + .check-body .check-indicator::after {
  content: "✓";
  font-size: 12px;
  color: var(--label-checked-text);
  line-height: 1;
}

/* Sortable  */
@keyframes wiggle {
  0%   { transform: rotate(-1deg) } /* scale(1.05); */
  50%  { transform: rotate(1deg)  } /* scale(1.05); */
  100% { transform: rotate(-1deg) } /* scale(1.05); */
}

.drag-target.ui-sortable-helper {
	transform: { scale(5.10); }
}

.drag-target {
  animation: wiggle 240ms infinite linear;
}

/* =========================
   Upload Form
   ========================= */

#upload_form {
	max-width: 420px;
	margin: 0 auto;
	padding: 16px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #EAEDF8;
}

/* Info card */
#upload_form .card {
	border-radius: 12px;
	border: 1px solid #EAEDF8;
	background: #F7F8FC;
}

#upload_form .card-title {
	font-weight: 700;
	color: #6B7AA7;
}

#upload_form .card ul {
	padding-left: 18px;
	margin-bottom: 0;
}

#upload_form .card li {
	font-size: 0.9rem;
	color: #333;
}

/* Labels */
#upload_form label {
	font-weight: 600;
	margin-bottom: 6px;
	display: inline-block;
	color: #333;
}

/* File input */
#upload_form input[type="file"] {
	width: 100%;
	padding: 10px 14px;
	border-radius: 10px;
	border: 1px dashed #6B7AA7;
	background: #FAFBFF;
	cursor: pointer;
	font-size: 0.9rem;
}

#upload_form input[type="file"]::file-selector-button {
	border: none;
	background: #6B7AA7;
	color: white;
	padding: 6px 14px;
	border-radius: 20px;
	margin-right: 10px;
	cursor: pointer;
}

#upload_form input[type="file"]::file-selector-button:hover {
	opacity: 0.9;
}

/* Upload button */
#upload_form input[type="button"] {
	margin-top: 12px;
	padding: 10px 16px;
	border-radius: 20px;
	border: 1px solid #6B7AA7;
	background: white;
	color: #6B7AA7;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
}

#upload_form input[type="button"]:hover {
	background: #F2F4FF;
}

/* File info */
#fileinfo {
	margin-top: 12px;
	font-size: 0.85rem;
	color: #444;
}

#fileinfo div {
	margin-top: 4px;
}

/* Errors & warnings */
#upload_error,
#upload_error2,
#upload_abort,
#upload_warnsize {
	display: none;
	margin-top: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 0.85rem;
}

#upload_error,
#upload_error2,
#upload_abort {
	background: #FDECEC;
	color: #9D0000;
	border: 1px solid #F5B5B5;
}

#upload_warnsize {
	background: #FFF4E5;
	color: #8A5A00;
	border: 1px solid #FFD8A8;
}

/* Progress container */
#progress_info {
	margin-top: 14px;
	font-size: 0.8rem;
	color: #333;
}

/* Progress bar */
#upload_progress {
	width: 100%;
	height: 8px;
	background: #E6E9F5;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 6px;
}

#upload_progress::before {
	content: "";
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(
		90deg,
		#6B7AA7,
		#8E2DFF
	);
	border-radius: 10px;
	transition: width 0.2s ease;
}

/* Progress text layout */
#upload_progress_percent {
	font-weight: 600;
}

#upload_speed,
#upload_remaining,
#upload_b_transfered {
	color: #666;
}

/* Mobile spacing */
@media (max-width: 420px) {
	#upload_form {
		padding: 12px;
	}

	#upload_form input[type="file"] {
		font-size: 0.85rem;
	}
}

/* =========================
   Filter Bar
   ========================= */

#div_filter {
	background: #FFFFFF;
	border: 1px solid #EAEDF8;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 16px;
}

/* Align items neatly */
#div_filter .row {
	align-items: flex-end;
	gap: 8px;
}

/* Column labels */
#div_filter .col {
	font-size: 0.85rem;
	font-weight: 600;
	color: #333;
}

/* Space between label and control */
#div_filter .col > div,
#div_filter .col > button {
	margin-top: 6px;
}

/* =========================
   Date inputs
   ========================= */

#div_filter .input-group {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #D7DBF0;
	background: #FAFBFF;
}

#div_filter .form-control {
	border: none;
	box-shadow: none;
	font-size: 0.85rem;
	padding: 8px 10px;
	background: transparent;
}

#div_filter .form-control::placeholder {
	color: #999;
}

/* Calendar icon area */
#div_filter .input-group-addon {
	background: transparent;
	border: none;
	padding: 0 10px;
	display: flex;
	align-items: center;
	color: #6B7AA7;
}

/* =========================
   Dropdowns
   ========================= */

#div_filter .dropdown button {
	width: 100%;
	text-align: left;
	border-radius: 20px;
	border: 1px solid #6B7AA7;
	background: white;
	color: #6B7AA7;
	font-size: 0.85rem;
	padding: 8px 14px;
}

#div_filter .dropdown button:hover {
	background: #F2F4FF;
}

#div_filter .dropdown-menu {
	border-radius: 12px;
	border: 1px solid #EAEDF8;
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	font-size: 0.85rem;
}

/* =========================
   Refresh button
   ========================= */

#button_refresh {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid #6B7AA7;
	background: white;
	color: #6B7AA7;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

#button_refresh:hover {
	background: #F2F4FF;
}

#button_refresh i {
	font-size: 18px;
}


@media (max-width: 768px) {
	#div_filter .row {
		gap: 12px;
	}

	#button_refresh {
		width: 100%;
		border-radius: 20px;
	}
}

/* Mobile */
@media (max-width: 420px) {
  .btn, .form-input { width: 100%; }	
  .check-item .check-body { padding: 10px 12px; }
}

/* Desktop */
@media (min-width: 992px) {
  	.navbar.workspace {
    	height: 100vh;
    	width: 250px;
   		flex-direction: column;
    	align-items: flex-start;
    	justify-content: flex-start;
    	position: fixed;
    	top: 0;
    	left: 0;
    	border-right: 1px solid #ddd;
    	padding-top: 1rem;
  	}

  	.navbar-collapse.workspace {
    	display: flex !important;
    	flex-direction: column;
    	width: 100%;
  	}

  	.navbar-nav.workspace {
    	flex-direction: column;
    	width: 100%;
  	}

  	.navbar-nav .nav-link {
    	width: 100%;
  	}

 	body {
    	margin-left: 250px; 
		margin-right: 250px;   
	}
	
	#logo_image {
		width: auto !important;
	}
	
	footer {
		border-top-left-radius: 15px;
		border-top-right-radius: 15px;
	}
	
	.btn, .form-input {
		width: 100%;
		margin-left: 0%;	/* Remove centering if not needed */
	 }
	
	.home img {
		width: 400px !important;
	}
	
	.home.engagements img {
		width: 160px !important;
	}
	
	#curators div:nth-child(1) img:nth-child(1) {
		width: auto !important;
	}
	
	#curators div:nth-child(1) img:nth-child(2) {
		width: 200px !important;
	}
	
	#curators div:nth-child(1) div:nth-child(4) img {
		width: auto  !important;
	}
	
	#curators > div:nth-child(2) img {
		width: auto  !important;
	}
	
	#curators div:nth-child(3) img:nth-child(1) {
		width: auto !important;
	}
	
	#curators div:nth-child(3) img:nth-child(2) {
		width: 100px !important;
	}
	
	#curators div:nth-child(4) img:nth-child(1) {
		width: auto !important;
	}
	
	#curators > div:nth-child(4) > img:nth-child(2) {
		width: 100% !important;
	}
	
	#curators div:nth-child(4) div:nth-child(4) img {
		width: auto !important;
	}
	
	footer.home img {
		width: auto !important;
	}
}

/* Charts */
#div_charts iframe {
	height: 600px;
}

/* Fonts */
@font-face {
  font-family: 'Neue';
  src: url('/wr/fonts/HelveticaNeueBlack.otf') format('otf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue';
  src: url('/wr/fonts/HelveticaNeueBold.otf') format('otf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
