/* ========================================================================
   Nejat Card Check Lists Widget
   ======================================================================== */

/* Root container — section spacing */
.nejat-card-check-lists {
	padding-top: var(--nejat-section-pad-v);
	padding-bottom: var(--nejat-section-pad-v);
}

/* Inner container — horizontal gutter & max width */
.nejat-card-check-lists__inner {
	max-width: var(--nejat-max-width);
	margin: 0 auto;
	padding-left: var(--nejat-gutter);
	padding-right: var(--nejat-gutter);
}

/* ========================================================================
   Grid Layout
   ======================================================================== */

.nejat-card-check-lists__grid {
	display: grid;
	gap: 30px;
}

/* Desktop columns */
.nejat-card-check-lists__grid--cols-1 {
	grid-template-columns: 1fr;
}

.nejat-card-check-lists__grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.nejat-card-check-lists__grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

/* Single card layout - constrain width */
.nejat-card-check-lists__grid.nejat-card-check-lists--single {
	max-width: 100%;
}

.nejat-card-check-lists__grid.nejat-card-check-lists--single .nejat-card-check-lists__card {
	max-width: none;
	width: 100%;
}

/* ========================================================================
   Card Component
   ======================================================================== */

.nejat-card-check-lists__card {
	background: #ffffff;
	padding: 30px;
	border-radius: var(--nejat-radius);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	border: 2px solid #e0e0e0;
	border-style: solid;
}

.nejat-card-check-lists__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
	border-color: #4ab3c8;
}

/* ========================================================================
   Card Title
   ======================================================================== */

.nejat-card-check-lists__title {
	font-size: 1.5rem;
	color: #2c3e50;
	margin: 0 0 20px 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	line-height: 1.2;
}

/* ========================================================================
   Icon
   ======================================================================== */

.nejat-card-check-lists__icon {
	width: 24px;
	height: 24px;
	background: linear-gradient(45deg, #4ab3c8, #31bcc8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 14px;
	flex-shrink: 0;
}

.nejat-card-check-lists__icon i {
	font-size: 14px;
}

.nejat-card-check-lists__icon svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}

/* ========================================================================
   Checklist
   ======================================================================== */

.nejat-card-check-lists__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nejat-card-check-lists__list-item {
	padding: 10px 30px !important;
	border-bottom: 1px solid #f0f0f0;
	position: relative;
	padding-left: 30px;
	font-size: 1rem;
	transition: all 0.3s ease;
}

.nejat-card-check-lists__list-item:last-child {
	border-bottom: none;
}

.nejat-card-check-lists__list-item:before {
	content: '✓';
	position: absolute;
	left: 8px;
	top: 10px;
	color: #4ab3c8;
	font-weight: bold;
}

.nejat-card-check-lists__list-item:hover {
	padding-left: 35px;
	background-color: #f0fafb;
}

/* ========================================================================
   Responsive Design
   ======================================================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
	.nejat-card-check-lists__grid--cols-tablet-1 {
		grid-template-columns: 1fr !important;
	}

	.nejat-card-check-lists__grid--cols-tablet-2 {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.nejat-card-check-lists__grid--cols-tablet-3 {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

/* Tablet Small (max-width: 768px) */
@media (max-width: 768px) {
	.nejat-card-check-lists__grid--cols-tablet-1 {
		grid-template-columns: 1fr !important;
	}

	.nejat-card-check-lists__grid--cols-tablet-2 {
		grid-template-columns: 1fr !important;
	}

	.nejat-card-check-lists__grid--cols-tablet-3 {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.nejat-card-check-lists__card {
		padding: 25px;
	}

	.nejat-card-check-lists__title {
		font-size: 1.3rem;
	}
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
	.nejat-card-check-lists__grid--cols-mobile-1,
	.nejat-card-check-lists__grid--cols-mobile-2,
	.nejat-card-check-lists__grid--cols-mobile-3 {
		grid-template-columns: 1fr !important;
	}

	/* Force all cards to stack on mobile */
	.nejat-card-check-lists__grid {
		grid-template-columns: 1fr !important;
		gap: 20px;
	}

	.nejat-card-check-lists__card {
		padding: 20px;
	}

	.nejat-card-check-lists__title {
		font-size: 1.2rem;
	}

	.nejat-card-check-lists__list-item {
		padding: 8px 25px !important;
		font-size: 0.95rem;
	}
}
