.ct {
	min-height: 100vh;
	background-color: #fff;
	box-sizing: border-box;
}

* {
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
	font-family: montserrat;
}

.ct .cen-logo {
	max-width: 150px;
}

nav {
	display: none !important;
}

.ct * {
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
}

.ct a {
	text-decoration: none;
}

.action-btns a {
	position: absolute;
	left: 30px;
	background-color: #ff4c38;
	color: white;
	padding: 8px 16px;
	border-radius: 4px;
	font-weight: 600;
	font-family: montserrat;
	transition: background-color 0.3s ease;
	cursor: pointer;
}

.action-btns a:hover {
	background-color: #e03a28;
}

.edit-btn {
	bottom: 110px;
}

.solutions .edit-btn {
	bottom: 70px;
}

.delete-btn {
	bottom: 65px;
}

.solutions .delete-btn {
	bottom: 25px;
}

.edit-btn:hover {
	background-color: #e03a28;
}

.ct h1 {
	color: #ff4c38;
	font-size: 20px;
	line-height: 16px;
	margin-bottom: 120px;
	font-family: montserrat;
	max-width: 122px;
	font-weight: 900;
}

.ct .top {
	background-image: url("https://images.unsplash.com/photo-1741722604145-4e00cf5b2052?q=80&w=2448&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
	background-size: cover;
	background-position: center;
	height: 610px;
	width: 100%;
}

.ct .overlay {
	background: rgb(0, 0, 0);
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 1) 0%,
		rgba(16, 27, 57, 0) 100%
	);
	padding: 30px;
	height: 100%;
	position: relative;
}

.ct .carousel-container {
	width: 100%;
	overflow: hidden;
}

.ct .carousel {
	display: flex;
	white-space: nowrap;
	animation: scroll 35s linear infinite;
	gap: 20px;
}

.ct .carousel p {
	color: #fff;
	font-size: 22px;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.ct .carousel:hover {
	animation-play-state: paused;
}

.ct .nav-row {
	display: flex;
	gap: 40px;
}

.ct .menu-btn {
	color: #fff;
	cursor: pointer;
	font-size: 40px;
}

.ct .bottom {
	display: flex;
	position: relative;
}

.ct .bottom .left {
	padding: 30px;
	width: 300px;
	min-width: 300px;
}

.ct .bottom .link {
	color: #000;
	text-decoration: none;
	font-size: 18px;
	font-family: montserrat;
	margin-bottom: 20px;
	display: block;
	font-weight: 600;
	min-width: fit-content;
}

.solutions-ct .link-color {
	color: #ff4c38;
	font-weight: 400;
	font-family: montserrat;
	font-size: 18px;
	text-decoration: none;
	width: fit-content
}

.ct .bottom .right .content {
	border-left: 1px solid #979797;
}

.ct .bottom .right {
	margin-top: -138px;
}

.ct .bottom h2 {
	color: #fff;
	font-size: 56px;
	line-height: 44px;
	margin-bottom: 50px;
	margin-left: 66px;
	font-family: "Playfair Display";
}

.visibility-label {
	color: #fff;
	background-color: rgba(0, 0, 0, 0.5);
	padding: 4px 10px;
	border-radius: 4px;
	display: inline-block;
	font-size: 14px;
	margin-left: 66px;
	margin-top: -40px;
	margin-bottom: 30px;
	font-weight: 600;
	text-transform: uppercase;
}

.visibility-label.draft {
	background-color: #6c757d;
}

.visibility-label.private {
	background-color: #ff4c38;	
}

.visibility-label.public {
	background-color: #28a745;
}

.visibility-label.pending {
	background-color: #ff7d05;
}

.visibility-label.approved {
	background-color: #28a745;
}

.toggle-status-btn {
	background-color: #5a6268;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 4px 12px;
	font-size: 14px;
	cursor: pointer;
	margin-left: 10px;
	font-weight: 600;
	font-family: montserrat;
	transition: background-color 0.2s;
	display: inline-block;
	vertical-align: middle;
}

.toggle-status-btn:hover {
	background-color: #ff4c38;
}

.ct .bottom .banner {
	padding: 41px 66px;
	background-color: #ff4c38;
}

.ct .bottom .banner p {
	font-family: montserrat;
	color: #fff;
	font-weight: 600;
	font-size: 36px;
	line-height: 36px;
}

.ct .bottom .text-ct {
	padding: 46px 66px;
}

.ct .heading {
	font-size: 42px;
	font-weight: 500;
	margin-bottom: 20px;
	margin-left: 20px;
	position: relative;
	font-family: "Playfair Display";
}

.ct .heading.small {
	font-size: 28px;

}

.ct .body {
	margin-bottom: 20px;
	font-family: montserrat;
	font-size: 18px;
	line-height: 1.4em;
	font-weight: 400;
	margin-left: 20px;
	position: relative;
}

.ct .body b {
	font-weight: 600;
}

.ct .body i {
	font-style: italic;
}

.ct hr {
	border: 1px solid #ccc;
	margin: 20px 0;
}

.ct .heading a,
.ct .body a {
	color: #ff4c38;
	text-decoration: none;
}

.ct .carousel-container.mobile {
	display: none;
}

.ct .menu-container {
	position: relative;
}

.ct .menu-content {
	position: absolute;
	right: 0;
	top: 35px;
	background-color: rgba(0, 0, 0, 0.8);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1000;
	padding: 10px 0;
	min-width: 120px;
	border-radius: 5px;
	text-align: end;
}

.ct .menu-container:hover .menu-content {
	opacity: 1;
	visibility: visible;
}

.ct .menu-content a {
	color: #fff;
	padding: 12px 20px;
	text-decoration: none;
	display: block;
	font-family: montserrat;
	font-weight: 600;
	transition: background-color 0.3s ease;
	min-width: fit-content;
}

.ct .menu-content a:hover {
	color: #ff4c38;
}

ul, ol {
	padding-left: 40px !important;
}

@media (max-width: 600px) {
	.ct .bottom {
		flex-direction: column;
	}

	.ct .bottom .right {
		margin-top: 0px;
	}

	.ct .top {
		height: 200px;
	}

	.ct .bottom h2 {
		font-size: 33px;
		line-height: 33px;
		margin-bottom: 20px;
		margin-left: 20px;
	}

	.visibility-label {
		margin-left: 20px;
		margin-top: -15px;
		margin-bottom: 20px;
		font-size: 12px;
		padding: 3px 8px;
	}

	.ct h1 {
		margin-bottom: 0px;
	}

	.ct .bottom a {
		font-size: 16px;
		margin-bottom: 15px;
	}

	.ct .bottom .left {
		padding: 20px;
	}

	.ct .bottom .banner {
		padding: 20px;
	}

	.ct .bottom .banner p {
		font-size: 28px;
		line-height: 28px;
	}

	.ct .bottom .text-ct {
		padding: 20px;
	}

	.ct .heading {
		font-size: 30px;
	}

	.ct .body {
		font-size: 18px;
	}

	.ct .carousel-container {
		display: none;
	}

	.ct .carousel-container.mobile {
		display: block;
		margin-top: 30px;
	}

	.ct .nav-row {
		justify-content: space-between;
	}
	
	.action-btns a {
		left: 20px;
		padding: 6px 12px;
		font-size: 12px;
		position: static;
	}

	.action-btns {
		margin-top: 12px;
	}
	
	.edit-btn {
		bottom: 100px;
	}
	
	.delete-btn {
		bottom: 60px;
	}
	
	.add-element-btn {
		bottom: 20px;
	}
	
	.solutions .edit-btn {
		bottom: 60px;
	}
	
	.solutions .delete-btn {
		bottom: 20px;
	}
}

/* Category Navigation */
.category-nav {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
}

.category-button {
	background-color: #333;
	color: white;
	padding: 0px 0px;
	height: 48px;
	border-radius: 8px;
	cursor: pointer;
	font-family: montserrat;
	text-align: center;
	font-weight: 600;
	transition: background-color 0.3s ease;
	border: none;
	font-size: 18px;
	width: 293px;
}

.button-row-2 {
	display: flex;
	gap: 15px;
	margin: 50px 0 20px 0;
	flex-wrap: wrap;
	border-top: 1px solid #bbb;
	padding-top: 20px;
}

.category-button:hover {
	background-color: #ff4c38;
}

/* Impact Sections */
.impact-section {
	margin-bottom: 60px;
}

.impact-section h2 {
	font-size: 42px;
	color: #000;
	margin-bottom: 30px;
	margin-left: 0;
	line-height: normal;
}

/* Cards Container */
.cards-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

/* Card */
.card {
	height: 121px;
	width: 440px;
	border-radius: 5px;
	overflow: hidden;
	position: relative;
	background-size: cover;
	background-position: center;
	cursor: pointer;
	transition: transform 0.3s ease;
	background-image: url("https://images.unsplash.com/photo-1741722604145-4e00cf5b2052?q=80&w=2448&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
	display: flex;
	align-items: center;
	padding-left: 30px;
	margin-bottom: 40px;
}

.page-ct {
	position: relative;
}

.card:hover {
	transform: translateY(-5px);
}

.card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.7) 0%,
		rgba(0, 0, 0, 0) 70%
	);
}

.card h3 {
	color: white;
	font-size: 30px;
	font-weight: 600;
	font-family: montserrat;
	margin: 0;
	z-index: 1;
	line-height: 30px;
}

@media (max-width: 600px) {
	.category-nav {
		flex-direction: column;
		gap: 10px;
	}

	.cards-container {
		grid-template-columns: 1fr;
	}

	.impact-section h2 {
		font-size: 32px;
		margin-bottom: 20px;
	}

	.card h3 {
		font-size: 20px;
	}
}

/* Solutions and Ideas Section */
.ct .text-ct h2 {
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 20px;
	color: #000;
	font-family: montserrat;
}

.button-row {
	display: flex;
	gap: 15px;
	margin: 30px 0;
	flex-wrap: wrap;
}

.action-button {
	background-color: #333;
	color: white;
	padding: 15px 20px;
	border: none;
	border-radius: 4px;
	font-family: montserrat;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.action-button:hover {
	background-color: #ff4c38;
}

.solutions-wrapper {
	position: relative;
	margin: 30px 0;
}

.solutions-table {
	width: 100%;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	border-collapse: separate;
	border-spacing: 0;
	max-width: 900px;
}

.solutions-table th {
	background-color: #f5f5f5;
	padding: 15px;
	text-align: left;
	font-weight: 400;
	border-bottom: 1px solid #e0e0e0;
	font-size: 42px;
	min-width: 330px;
}

.solutions-table th:first-child {
	border-right: 1px solid #e0e0e0;
	min-width: 330px;
}

.solution-row {
	position: relative;
}

.solution-row td {
	border-bottom: 1px solid #e0e0e0;
	padding: 15px;
	vertical-align: top;
}

.solution-row:last-child td {
	border-bottom: none;
}

.solution-column {
	width: 33%;
	border-right: 1px solid #e0e0e0;
}

.description-column {
	width: 66%;
	position: relative;
}

tbody .description-column {
	font-family: montserrat;
}

.votes-item {
	position: absolute;
	right: -90px;
	top: 15px;
	text-align: left;
	text-decoration: underline;
}

.title {
	color: #ff4c38;
	margin-bottom: 5px;
	font-family: montserrat;
	font-size: 16px;
}

.title a {
	color: #ff4c38;
	margin-bottom: 5px;
	font-family: montserrat;
	font-size: 16px;
}

.approach,
.scale,
.status {
	color: #a2a2a2;
	font-size: 14px;
	font-family: montserrat;
	margin-bottom: 5px;
}

.status.pending {
	color: #ffb338;
}

.status.approved {
	color: #4db34d;
}

.vote-count,
.note-count {
	font-family: montserrat;
	font-size: 14px;
	color: #333;
	margin-bottom: 5px;
	display: block;
}

thead tr th {
	font-family: "Playfair Display";
}

@media (max-width: 768px) {
	.solutions-table {
		border: none;
	}

	.solutions-table thead {
		display: none;
	}

	.solutions-table,
	.solutions-table tbody,
	.solutions-table tr,
	.solutions-table td {
		display: block;
		width: 100%;
	}

	.solution-row {
		margin-bottom: 20px;
		border: 1px solid #e0e0e0;
		border-radius: 4px;
	}

	.solution-column {
		border-right: none;
		border-bottom: 1px solid #e0e0e0;
	}

	.description-column {
		border-bottom: 1px solid #e0e0e0;
	}

	.votes-item {
		position: static;
		text-align: left;
		width: 100%;
		margin-top: 10px;
	}

	.button-row {
		flex-direction: column;
	}

	.category-button {
		width: 100%;
	}
}

/* Add Element Button */
.add-element-btn {
	bottom: 20px;
}

/* Modal Styles */
.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: #fff;
	margin: 50px auto;
	padding: 0;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	width: 90%;
	max-width: 550px;
	animation: modalFadeIn 0.3s;
}

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

.modal-header {
	padding: 20px;
	border-bottom: 1px solid #eee;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-header h3 {
	margin: 0;
	font-weight: 600;
	font-size: 20px;
	color: #333;
}

.modal-body {
	padding: 20px;
}

.close {
	color: #aaa;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.close:hover {
	color: #555;
}

/* Form Styles */
.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	color: #333;
}

.form-group input[type="text"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group select,
.form-group textarea,
.form-input {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	font-family: montserrat;
}

.form-group textarea {
	resize: vertical;
	min-height: 100px;
}

.form-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 30px;
}

.btn {
	padding: 10px 20px;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	cursor: pointer;
	font-family: montserrat;
	font-size: 16px;
}

.btn-primary {
	background-color: #ff4c38;
	color: white;
}

.btn-primary:hover {
	background-color: #e03a28;
}

.btn-secondary {
	background-color: #6c757d;
	color: white;
	margin-right: 10px;
}

.btn-secondary:hover {
	background-color: #5a6268;
}

.btn-danger {
	background-color: #dc3545;
	color: white;
}

.btn-danger:hover {
	background-color: #c82333;
}

.form-errors {
	background-color: #ffebee;
	border: 1px solid #ffcdd2;
	border-radius: 4px;
	padding: 10px 15px;
	margin-bottom: 20px;
}

.error-message {
	color: #d32f2f;
	font-size: 14px;
	margin-bottom: 5px;
}

/* Loading spinner */
.loading-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s linear infinite;
	margin-right: 10px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 600px) {
	.add-element-btn {
		left: 20px;
		bottom: 60px;
	}

	.modal-content {
		width: 95%;
		margin: 5% auto;
	}
}

.image {
	max-width: 100%;
	margin-bottom: 40px;
	position: relative;
}

.element-icons-container {
	position: absolute;
	left: -70px;	
	top: 0;
	display: flex;
	align-items: center;
	gap: 2px;
}

.heading .element-icons-container {
	top: 15px;
}

.heading.small .element-icons-container {
	top: 5px;
}

.image-ct .element-icons-container,
.page-ct .element-icons-container,
.pages-list-ct .element-icons-container {
	top: 0px;
	flex-direction: column;
	left: -30px;
	gap: 5px;
}

.edit-icon {
	cursor: pointer;
	color: #aaa;
}

.edit-icon:hover {
	color: #ff4c38;
}

.edit-icon span {
	font-size: 20px;
}

.delete-icon {
	cursor: pointer;
	color: #aaa;
}

.delete-icon:hover {
	color: #ff4c38;
}

.delete-icon span {
	font-size: 20px;
}

.image-ct {
	position: relative;
}

.drag-handle {
	cursor: grab;
	color: #aaa;
}

.drag-handle:hover {
	color: #ff4c38;
}

.drag-handle span {
	font-size: 20px;
}

.dragging {
	opacity: 0.5;
}

.solutions-ct {
	padding: 30px 30px;
}

/* Upvote form styling */
.upvote-modal .info-text {
	color: #797979;
	font-size: 13px;
	display: block;
	margin-top: 2px;
	margin-bottom: 8px;
}

.upvote-modal .form-input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 6px;
	box-sizing: border-box;
	font-size: 1em;
}

/* Make sure we're not interfering with existing modal styles */
#upvoteModal.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 1000;
	overflow-y: auto;
	padding: 50px 0;
}

#upvoteModal .modal-content {
	max-width: 500px;
	margin: 30px auto;
	background: white;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#upvoteModal .modal-header {
	padding: 15px 20px;
	border-bottom: 1px solid #e9ecef;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#upvoteModal .modal-body {
	padding: 20px;
}

/* Ensure these styles only apply to our specific buttons */
#upvoteForm .form-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
}

#upvoteForm .btn {
	padding: 8px 16px;
	border-radius: 4px;
	border: none;
	cursor: pointer;
	font-weight: bold;
	transition: background-color 0.2s;
}

#upvoteForm .btn-primary {
	background-color: #007bff;
	color: white;
}

#upvoteForm .btn-secondary {
	background-color: #6c757d;
	color: white;
}

#upvoteForm .btn-primary:hover {
	background-color: #0069d9;
}

#upvoteForm .btn-secondary:hover {
	background-color: #5a6268;
}

#upvoteFormErrors {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 20px;
}

#upvoteFormErrors p {
    color: #d32f2f;
    font-size: 14px;
    margin-bottom: 5px;
    font-family: montserrat;
}

/* Verification Modal Styles */
#verificationCodeModal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-in-out;
}

#verificationCodeModal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#verificationCodeModal .modal-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#verificationCodeModal .modal-body {
    padding: 20px;
}

#verificationCodeModal .modal-body > p {
    margin-bottom: 20px;
}

#verificationForm .form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    gap: 10px;
}

#verificationForm .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: montserrat;
    font-weight: 500;
}

#verificationForm .btn-primary {
    background-color: #007bff;
    color: white;
}

#verificationForm .btn-primary:hover {
    background-color: #0069d9;
}

#verificationFormErrors {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 20px;
}

#verificationFormErrors p {
    color: #d32f2f;
    font-size: 14px;
    margin-bottom: 5px;
    font-family: montserrat;
}

.verification-success-modal.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-in-out;
}

.verification-success-modal .modal-content {
    background-color: #fff;
    margin: 10% auto;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Upvote count display */
.upvote-counters-container,
.notes-counters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
}

.upvote-count-display,
.note-count-display {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: montserrat;
    font-weight: 600;
    font-size: 16px;
    color: #333;
	width: fit-content;
}

.note-count-display {
	cursor: default;
}

#unverifiedNoteDisplay {
	cursor: pointer;
}

.upvote-count-display span.material-icons-round {
    color: #ff4c38;
    margin-right: 8px;
}

.upvote-count-display:hover {
    color: #ff4c38;
}

/* Note count display */
.note-count-display span.material-icons-round {
    color: #4caf50;
    margin-right: 8px;
}

/* Admin unverified upvotes */
.upvote-count-display.admin-upvotes {
    margin-top: 0;
}

.upvote-count-display.admin-upvotes span.material-icons-round {
    color: #ffa726;
    margin-right: 8px;
}

.upvote-count-display.admin-upvotes:hover {
    color: #ffa726;
}

/* Admin pending notes */
.note-count-display.admin-notes span.material-icons-round {
    color: #ffa726;
    margin-right: 8px;
}

.note-count-display.admin-notes:hover {
    color: #ffa726;
}

/* Upvoters list styles */
.upvoters-modal .upvoter-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-family: montserrat;
}

.upvoters-modal .upvoter-item:last-child {
    border-bottom: none;
}

.upvoters-modal .upvoter-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.upvoters-modal .upvoter-email {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.upvoters-modal .no-upvoters {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    font-family: montserrat;
}

.upvoters-modal .upvoters-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffa726;
    font-family: montserrat;
    padding: 0 10px;
}

.upvoters-modal .upvoter-item.unverified {
    background-color: #fff8e1;
    border-left: 3px solid #ffa726;
}

/* Note Modal Styles */
.note-modal textarea {
    resize: vertical;
    min-height: 120px;
    font-family: montserrat;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.note-modal .info-text {
    color: #797979;
    font-size: 13px;
    display: block;
    margin-top: 2px;
    margin-bottom: 8px;
}

.note-modal .form-errors {
    display: none;
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 10px 15px;
    margin-bottom: 20px;
}

.note-modal .form-errors p {
    color: #d32f2f;
    font-size: 14px;
    margin-bottom: 5px;
    font-family: montserrat;
}

/* PagesList Styles */
.pages-selection {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.available-pages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.page-option {
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.page-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.page-option input[type="checkbox"] {
    margin-top: 2px;
}

.page-title {
    font-weight: 600;
    color: #333;
}

.page-subtitle {
    font-size: 14px;
    color: #666;
    margin-left: 22px;
    display: block;
}

.selected-pages h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.selected-page-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f5f5f5;
    margin-bottom: 5px;
}

.drag-handle-pages {
    cursor: grab;
    color: #999;
    font-weight: bold;
    user-select: none;
}

.drag-handle-pages:active {
    cursor: grabbing;
}

.page-info {
    flex: 1;
    line-height: 1.4;
}

.page-info strong {
    color: #333;
}

.page-info small {
    color: #666;
}

.remove-page {
    background: #ff4c38;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-page:hover {
    background: #e03a28;
}

.no-selection,
.no-pages,
.error,
.loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.dragging-page {
    opacity: 0.5;
}

/* Frontend PagesList Display */
.pages-list-ct {
    margin: 20px 0;
		position: relative;
}

.pages-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.pages-list .card {
	margin-bottom: 0;
}

.page-list-item {
    display: block;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.page-list-item:hover {
    background-color: #f0f0f0;
    border-color: #ff4c38;
    text-decoration: none;
    color: #333;
}

.page-list-item h4 {
    margin: 0 0 8px 0;
    color: #ff4c38;
    font-size: 18px;
    font-weight: 600;
}

.page-list-item p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.pages-list-loading,
.pages-list-empty,
.pages-list-error {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

@media (max-width: 600px) {
    .pages-selection {
        max-height: 150px;
    }
    
    .selected-page-item {
        padding: 8px;
        gap: 8px;
    }
    
    .page-info {
        font-size: 14px;
    }
    
    .page-list-item {
        padding: 12px;
    }
    
    .page-list-item h4 {
        font-size: 16px;
    }
}

/* Notes Styles */

.notes-container {
    margin-top: 20px;
    margin-bottom: 30px;
}

.note-item {
    display: flex;
    padding: 30px 0;
    border-bottom: 1px solid #bbb;
}

.note-item:last-child {
    border-bottom: none;
}

.note-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    margin-right: 25px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
}

.note-content {
    flex: 1;
}

.note-name-assoc {
    margin-bottom: 10px;
}

.note-name {
    color: #ff4c38;
    font-weight: 600;
    font-family: montserrat;
}

.note-assoc {
    color: #333;
    font-family: montserrat;
}

.note-text {
    color: #333;
    font-family: montserrat;
    line-height: 1.5;
    margin-bottom: 8px;
		max-width: 700px;
		font-size: 16px;
}

.show-more-btn {
    color: #ff4c38;
    text-decoration: none;
    font-family: montserrat;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
}

.show-more-btn:hover {
    text-decoration: underline;
}

.no-notes {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
    font-family: montserrat;
}

/* Notes List Modal */
.notes-list-modal .upvoters-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #4caf50;
    font-family: montserrat;
    padding: 0 10px;
}

.notes-list-modal .note-list-item {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-family: montserrat;
}

.notes-list-modal .note-list-item.pending {
    background-color: #fff8e1;
    border-left: 3px solid #ffa726;
}

.notes-list-modal .note-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.notes-list-modal .note-name {
    font-weight: 600;
}

.notes-list-modal .note-email {
    color: #666;
    font-size: 0.9em;
}

.notes-list-modal .note-affiliation {
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.notes-list-modal .note-content {
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    white-space: pre-wrap;
		border: 1px solid #d3d3d3;
}

.notes-list-modal .note-date {
    color: #666;
    font-size: 0.8em;
    text-align: right;
}

.found-by {
	color: #ff4c38;
}