.modal-comments {
	height: 300px;
	overflow: scroll;
}

:root {
	--muted: lab(15.204% 0 -.00000596046);
	--muted-foreground: lab(66.128% -.0000298023 .0000119209);
}

.left-menu {
	z-index: 9 !important;
}

/* .header {
	margin-left: 0px !important;
} */

.page-home-content {
	padding: 0px !important
}


body {
	/* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
	min-height: 100vh;
	position: relative;
	/* background: linear-gradient(180deg, #0a0a12 0%, #1a1a2e 50%, #16213e 100%); */
	color: #fff;
}

/* Stars */
.ny-stars {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.ny-star {
	position: absolute;
	background: #fff;
	border-radius: 50%;
	animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {

	0%,
	100% {
		opacity: 0.3;
		transform: scale(1);
	}

	50% {
		opacity: 1;
		transform: scale(1.2);
	}
}

/* Aurora */
.ny-aurora {
	position: fixed;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
	z-index: 0;
}

.ny-aurora-1 {
	top: 0;
	left: 25%;
	width: 300px;
	height: 300px;
	background: radial-gradient(ellipse, rgba(34, 197, 94, 0.4) 0%, transparent 70%);
	animation: aurora1 8s ease-in-out infinite;
}

.ny-aurora-2 {
	top: 80px;
	right: 25%;
	width: 250px;
	height: 250px;
	background: radial-gradient(ellipse, rgba(239, 68, 68, 0.4) 0%, transparent 70%);
	animation: aurora2 10s ease-in-out infinite;
}

.ny-aurora-3 {
	bottom: 20%;
	left: 10%;
	width: 200px;
	height: 200px;
	background: radial-gradient(ellipse, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
	animation: aurora1 12s ease-in-out infinite;
}

@keyframes aurora1 {

	0%,
	100% {
		opacity: 0.3;
		transform: translateX(0) scale(1);
	}

	50% {
		opacity: 0.5;
		transform: translateX(30px) scale(1.1);
	}
}

@keyframes aurora2 {

	0%,
	100% {
		opacity: 0.2;
		transform: translateX(0) scale(1);
	}

	50% {
		opacity: 0.4;
		transform: translateX(-20px) scale(1.05);
	}
}

/* Snowflakes */
.ny-snowflake {
	position: fixed;
	color: #fff;
	pointer-events: none;
	z-index: 1;
	animation: snowfall linear infinite;
}

@keyframes snowfall {
	0% {
		transform: translateY(-10vh) rotate(0deg);
	}

	100% {
		transform: translateY(110vh) rotate(360deg);
	}
}

/* Header */
.ny-header {
	position: relative;
	z-index: 10;
	text-align: center;
	padding: 40px 20px 30px;
}

.ny-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 8px;
}

.ny-title h1 {
	font-size: 36px;
	font-weight: 700;
	background: linear-gradient(90deg, #ef4444, #facc15, #22c55e);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin: 0;
}

.ny-title span {
	font-size: 40px;
}

.ny-subtitle {
	color: #9ca3af;
	font-size: 16px;
	margin: 0;
}

/* Stats */
.ny-stats {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.ny-stat {
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 10px 20px;
}

.ny-stat-value {
	font-size: 28px;
	font-weight: 700;
}

.ny-stat-value.green {
	color: #4ade80;
}

.ny-stat-value.red {
	color: #f87171;
}

.ny-stat-value.blue {
	color: #60a5fa;
}

.ny-stat-label {
	color: #9ca3af;
	font-size: 14px;
	margin-left: 8px;
}

/* Add button */
.ny-add-btn-wrap {
	position: relative;
	z-index: 10;
	text-align: center;
	margin-bottom: 30px;
}

.ny-add-btn {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ny-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
}

/* Form */
.ny-form {
	position: relative;
	z-index: 10;
	max-width: 700px;
	margin: 0 auto 30px;
	padding: 0 20px;
	display: none;
}

.ny-form.active {
	display: block;
}

.ny-form-inner {
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 24px;
}

.ny-form textarea {
	width: 100%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	padding: 16px;
	color: #fff;
	font-size: 15px;
	resize: none;
	outline: none;
	transition: border-color 0.3s;
}

.ny-form textarea::placeholder {
	color: #6b7280;
}

.ny-form textarea:focus {
	border-color: rgba(34, 197, 94, 0.5);
}

.ny-form-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
}

.ny-form-counter {
	color: #6b7280;
	font-size: 14px;
}

.ny-form-buttons {
	display: flex;
	gap: 8px;
}

.ny-form-cancel {
	background: transparent;
	color: #9ca3af;
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
}

.ny-form-cancel:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.ny-form-submit {
	background: linear-gradient(90deg, #16a34a, #22c55e);
	color: #fff;
	font-weight: 500;
	border: none;
	padding: 10px 24px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
}

.ny-form-submit:hover {
	opacity: 0.9;
}

.ny-form-submit:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Masonry Grid */
.ny-greetings {
	position: relative;
	z-index: 10;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px 60px;
	columns: 3;
	column-gap: 20px;
}

@media (max-width: 1000px) {
	.ny-greetings {
		columns: 2;
	}
}

@media (max-width: 600px) {
	.ny-greetings {
		columns: 1;
	}
}

/* Greeting card */
.ny-card {
	background-color:
		color-mix(in oklab, var(--muted) 50%, transparent);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 20px;
	break-inside: avoid;
	transition: all 0.3s;
}
/* 
.ny-card:hover {
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: 0 0 25px rgba(239, 68, 68, 0.2), 0 0 50px rgba(34, 197, 94, 0.1);
	transform: translateY(-3px);
} */
 

/* Featured card */
.ny-card.featured {
	background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
	border-color: rgba(234, 179, 8, 0.3);
	padding: 24px;
}

.ny-card.featured .ny-card-text {
	font-size: 17px;
}

.ny-card.featured .ny-card-avatar {
	width: 52px;
	height: 52px;
	font-size: 26px;
}

.ny-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.ny-card-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(34, 197, 94, 0.3));
	border: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	flex-shrink: 0;
}

.ny-card-avatar img {
    width: 100%;
    height: 100%;

    border-radius: 50%;
}

.ny-card-info {
	flex: 1;
	min-width: 0;
}

.ny-card-author {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ny-card-time {
	color: #6b7280;
	font-size: 12px;
}

.ny-card-badge {
	background: rgba(234, 179, 8, 0.2);
	color: #facc15;
	font-size: 11px;
	padding: 4px 10px;
	border-radius: 12px;
	border: 1px solid rgba(234, 179, 8, 0.3);
	white-space: nowrap;
	flex-shrink: 0;
}

.ny-card-text {
	color: #e5e7eb;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 16px;
}

/* Image in card */
.ny-card-image {
	width: 100%;
	border-radius: 12px;
	margin-bottom: 16px;
}

/* Actions */
.ny-card-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ny-like-btn {
height: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: #9ca3af;
    /* padding: 8px 14px; */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-width: 40px;
    padding-left: 6px;
    padding-right: 8px;
    height: 30px;
}

.ny-like-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #f87171;
}

.ny-like-btn.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.ny-like-btn.liked {
	background: rgba(239, 68, 68, 0.2);
	border-color: rgba(239, 68, 68, 0.3);
	color: #f87171;
}

.ny-like-btn .heart {
	font-size: 16px;
	transition: transform 0.3s;
}

.ny-like-btn.liked .heart {
	animation: heartPulse 0.3s ease-in-out;
}

@keyframes heartPulse {

	0%,
	100% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.3);
	}
}

.ny-comments-count {
	color: #6b7280;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Decorative elements */
.ny-card-decor {
	position: absolute;
	font-size: 60px;
	opacity: 0.1;
	right: 10px;
	bottom: 10px;
	pointer-events: none;
}

/* Comments preview */
.ny-card-comments-preview {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ny-comment-mini {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 8px;
}

.ny-comment-mini:last-child {
	margin-bottom: 0;
}

.ny-comment-mini-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	flex-shrink: 0;
}

.ny-comment-mini-text {
	color: #9ca3af;
	font-size: 13px;
	line-height: 1.4;
}

.ny-comment-mini-text strong {
	color: #d1d5db;
	font-weight: 500;
}

.ny-show-comments {
	color: #60a5fa;
	font-size: 13px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-top: 8px;
}

.ny-show-comments:hover {
	color: #93c5fd;
}

.tox.tox-silver-sink.tox-tinymce-aux {
	position: fixed !important;
	z-index: 99999999999999999 !important;
}

.tox .tox-menu {
	width: 300px !important;	
}

.modal-post {
	max-height: 600px;
    overflow-y: scroll;
    padding-right: 20px;
    font-size: 14px;
    padding-top: 20px;
}

#editGreeting, #publishGreeting {
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
    border: none;
    height: 40px;
    border-radius: 8px;
    width: 300px;
    margin: 20px auto 0;
    cursor: pointer; 
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

#editGreeting:hover, #publishGreeting:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.tox-tinymce {
    height: 400px !important;
}
