/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/* Sticky footer: garde le footer en bas sur les pages courtes. */
html,
body {
	min-height: 100%;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#app {
	flex: 1 0 auto;
}

.nk-footer {
	margin-top: auto;
}

/* Espace vertical pour les pages auth entre navbar et footer. */
.auth-page-spacer {
	min-height: clamp(360px, 52vh, 620px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: clamp(10px, 2vh, 20px);
	padding-bottom: clamp(12px, 3vh, 28px);
}

@media (max-width: 991px) {
	.auth-page-spacer {
		min-height: auto;
		justify-content: flex-start;
		padding-top: 10px;
		padding-bottom: 14px;
	}
}

/* Post comments */
.gg-comments {
	--gg-border: rgba(255, 255, 255, 0.08);
	--gg-bg: linear-gradient(180deg, #2b3140 0%, #252b38 100%);
}

.gg-comment-card {
	padding: 18px 20px;
	margin-bottom: 14px;
	background: var(--gg-bg);
	border: 1px solid var(--gg-border);
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.gg-comment-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--gg-border);
}

.gg-comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.gg-comment-avatar {
	object-fit: cover;
	border-radius: 50%;
	border: 2px solid rgba(221, 22, 59, 0.35);
	flex: 0 0 52px;
}

.gg-comment-name {
	margin: 0;
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gg-comment-date {
	margin-top: 2px;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.58);
}

.gg-comment-body {
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.92);
	word-break: break-word;
}

.gg-comment-empty {
	padding: 24px 20px;
	margin-bottom: 14px;
	text-align: center;
	background: #252b38;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	border-radius: 8px;
}

.gg-comment-empty-icon {
	display: block;
	margin-bottom: 8px;
	font-size: 1.5rem;
	color: #dd163b;
}

.gg-comment-empty p {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
}

.gg-comment-form-wrap {
	padding: 18px 20px;
	background: var(--gg-bg);
	border: 1px solid var(--gg-border);
	border-radius: 8px;
}

.gg-comment-textarea {
	background-color: rgba(18, 22, 30, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	resize: vertical;
	min-height: 130px;
}

.gg-comment-textarea:focus {
	background-color: rgba(18, 22, 30, 0.95);
	border-color: rgba(221, 22, 59, 0.8);
	box-shadow: 0 0 0 0.2rem rgba(221, 22, 59, 0.18);
	color: #fff;
}

.gg-comment-textarea::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 575px) {
	.gg-comment-head {
		align-items: flex-start;
	}

	.gg-comment-head .nk-btn {
		margin-top: 2px;
	}
}
