﻿@charset "UTF-8";












/* Header / Title block */
.pay-section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 35px;
	margin-bottom: 25px;
	width: 100%;
}

.pay-title-group {
	position: relative;
	display: inline-block;
}

.pay-title {
	font-size: 22px;
	font-weight: 700;
	color: #1e1b4b;
	margin: 0 0 8px 0;
	word-break: keep-all;
	white-space: nowrap;
}

.pay-title-line {
	width: 32px;
	height: 3px;
	background-color: #5C5199;
	border-radius: 2px;
}

.pay-subtitle-group {
	font-size: 14px;
	color: #64748B;
	font-weight: 500;
	margin-bottom: 4px;
}

/* Portfolio Grid */
.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
	width: 100%;
}

@media (min-width: 1024px) {
	.portfolio-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
	}
}

/* Card Component */
.card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(92, 81, 153, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	display: flex;
	flex-direction: column;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(92, 81, 153, 0.12);
	border-color: #C7D2FE;
}

.card-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background-color: #F1F5F9;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.card:hover .card-image {
	transform: scale(1.02);
}

.card-content {
	padding: 18px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.card-like-info {
	font-size: 14px;
	color: #64748B;
	font-weight: 700;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 4px;
}

.like-icon {
	color: #CBD5E1;
	font-size: 18px;
	margin-right: 2px;
	transition: color 0.25s ease, transform 0.2s ease;
	display: inline-block;
}

.like-icon.liked {
	color: #EF4444 !important;
	transform: scale(1.15);
	filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.3));
}

.card-title {
	font-size: 16.5px;
	font-weight: 700;
	color: #1E293B;
	margin: 0 0 6px 0;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.card-user {
	font-size: 13.5px;
	color: #64748B;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 4px;
	font-weight: 500;
}

.card-review {
	font-size: 13.5px;
	color: #475569;
	line-height: 1.55;
	background-color: #F8FAFC;
	border: 1px solid #F1F5F9;
	padding: 10px 12px;
	border-radius: 10px;
	height: 82px;
	overflow-y: auto;
	box-sizing: border-box;
	word-break: break-word;
}

.card-review::-webkit-scrollbar {
	width: 4px;
}

.card-review::-webkit-scrollbar-track {
	background: #F1F5F9;
	border-radius: 2px;
}

.card-review::-webkit-scrollbar-thumb {
	background: #CBD5E1;
	border-radius: 2px;
}

.card-review::-webkit-scrollbar-thumb:hover {
	background: #94A3B8;
}

/* Pagination Area */
#page-container-wrap,
#pageContainer,
.pay-pagination-area {
	width: 100% !important;
	text-align: center !important;
	margin-top: 20px !important;
	margin-bottom: 30px !important;
}

#pageContainer a,
#pageContainer span,
.pay-pagination-area a,
.pay-pagination-area span {
	display: inline-block !important;
	margin: 0 2px !important;
	padding: 2px 2px !important;
	font-size: 14px !important;
	text-decoration: none !important;
	box-shadow: none !important;
	min-width: auto !important;
	height: auto !important;
	background: transparent !important;
}

.pagination_wrap {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	width: 100% !important;
	margin-top: 20px !important;
	margin-bottom: 30px !important;
	/*gap: 6px !important;*/
	clear: both !important;
}

.pagination_wrap a,
.pagination_wrap span {
	display: inline-block !important;
	min-width: auto !important;
	height: auto !important;
	padding: 0 3px !important;
	margin: 0 2px !important;
	border-radius: 0 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

/* Inactive Page Link (Blue text) */
.pagination_wrap a {
	color: #0076FF !important;
	background: transparent !important;
	border: none !important;
}

.pagination_wrap a:hover {
	color: #0056b3 !important;
	text-decoration: underline !important;
}

/* Active Page Span (Bold Black text) */
.pagination_wrap span {
	color: #111111 !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.pagination_wrap span b {
	font-size: 16px !important;
	font-weight: 800 !important;
	color: #111111 !important;
}
.card {
	/*border-radius: 20px !important;*/
}

/* Prev/Next Icon Image */
.pagination_wrap a img {
	width: auto !important;
	height: auto !important;
	max-width: 20px !important;
	max-height: 20px !important;
	vertical-align: middle !important;
	display: inline-block !important;
	opacity: 1 !important;
	border: none !important;
}

/* Modern Image Detail Modal Container */
.img-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	justify-content: center;
	align-items: center;
	padding: 20px;
	box-sizing: border-box;
	animation: fadeInModal 0.25s ease;
	overscroll-behavior: contain;
}

.modal-dialog-container {
	position: relative;
	background: #FFFFFF;
	width: 100%;
	max-width: 620px;
	max-height: 88vh;
	border-radius: 20px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: zoomInModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid #E2E8F0;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	background-color: #FFFFFF;
	border-bottom: 1px solid #F1F5F9;
	flex-shrink: 0;
}

.modal-header-title {
	font-size: 16px;
	font-weight: 700;
	color: #1E293B;
	display: flex;
	align-items: center;
}

.close-btn {
	background: #F1F5F9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	color: #64748B;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.2s ease;
}

.close-btn:hover {
	background-color: #E2E8F0;
	color: #0F172A;
}

.modal-body {
	padding: 20px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	background-color: #F8FAFC;
}

.modal-img-wrap {
	width: fit-content;
	max-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #FFFFFF;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #E2E8F0;
}

.modal-content {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 55vh;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	transition: opacity 0.15s ease-in-out;
}

.modal-caption {
	width: 100%;
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	/*border-radius: 12px;*/
	padding: 14px 16px;
	color: #334155;
	font-size: 14.5px;
	line-height: 1.6;
	word-break: break-word;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
	box-sizing: border-box;
}

.modal-caption::-webkit-scrollbar {
	width: 6px;
}

.modal-caption::-webkit-scrollbar-track {
	background: #F1F5F9;
	border-radius: 3px;
}

.modal-caption::-webkit-scrollbar-thumb {
	background: #CBD5E1;
	border-radius: 3px;
}

.modal-caption::-webkit-scrollbar-thumb:hover {
	background: #94A3B8;
}

@keyframes fadeInModal {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes zoomInModal {
	from { transform: scale(0.92); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

/* Loading Overlay */
#loading-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.6);
	z-index: 9998;
}

.loading-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	margin-left: -24px;
	border: 4px solid #E2E8F0;
	border-top: 4px solid #6964DB;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	z-index: 9999;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Responsive Queries */
@media screen and (max-width: 900px) {
	.pay-section-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 8px !important;
		margin-top: 25px !important;
		margin-bottom: 20px !important;
	}
	.pay-title {
		font-size: 24px !important;
	}
}

@media screen and (max-width: 768px) {
	
	
	
	.pay-title {
		font-size: 22px !important;
	}
	.modal-dialog-container {
		max-width: 92vw;
		max-height: 85vh;
		border-radius: 16px;
	}
	.modal-header {
		padding: 14px 16px;
	}
	.modal-body {
		padding: 16px;
	}
	.modal-content {
		max-height: 40vh;
	}
}

/* Stat Hero Banner Standardized Styles */
.stat-hero-banner {
	position: relative;
	width: 100%;
	height: 260px;
	border-radius: 0px;
	background-size: cover;
	background-position: center;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 0;
	box-sizing: border-box;
}

.stat-hero-banner > .container {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.stat-hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(41, 56, 70, 0.50) !important;
	z-index: 1;
}

.stat-hero-content {
	position: relative;
	z-index: 2;
	color: #ffffff;
	padding: 0;
	margin: 0;
}

.stat-hero-title {
	font-size: 38px;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #ffffff;
	letter-spacing: -1px;
	line-height: 1.2;
}

.stat-hero-desc {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	line-height: 1.5;
	letter-spacing: normal;
	word-break: keep-all;
}

@media screen and (max-width: 768px) {
	.stat-hero-banner {
		height: 180px !important;
		min-height: 180px !important;
		padding: 0 !important;
		/*border-radius: 20px !important;*/
	}
	.stat-hero-content {
		padding: 0 !important;
		margin: 0 !important;
	}
	.stat-hero-title {
		font-size: 28px !important;
		font-weight: 700 !important;
		margin: 0 0 8px 0 !important;
		color: #ffffff !important;
		letter-spacing: -1px !important;
		line-height: 1.2 !important;
	}
	.stat-hero-desc {
		font-size: 14px !important;
		color: rgba(255, 255, 255, 0.85) !important;
		margin: 0 !important;
		line-height: 1.5 !important;
		letter-spacing: normal !important;
		word-break: keep-all !important;
	}
}

