/* ============================================
		استایل‌های اصلی - حفظ شده از نسخه قبلی
		============================================ */

/* کانتینر اصلی */
.easy-picker-complete {
		/*background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);*/
		background: #ffffff;
		border-radius: 24px;
		padding: 28px 10px;
		margin: 32px 0;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
		border: 1px solid rgba(5, 150, 105, 0.15);
		transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		contain: layout style;
}

.easy-picker-complete:hover {
		box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
		transform: translateY(-2px);
}

/* هدر */
.easy-picker-complete__header {
		margin-bottom: 24px;
		padding-bottom: 16px;
		border-bottom: 2px solid #e2e8f0;
		position: relative;
}

.easy-picker-complete__header::after {
		content: "";
		position: absolute;
		bottom: -2px;
		left: 0;
		width: 60px;
		height: 2px;
		background: linear-gradient(90deg, #059669, #34d399);
		border-radius: 2px;
}

.easy-picker-complete__title {
		font-size: 1.5rem;
		font-weight: 700;
		color: #1f2937;
		margin: 0;
		display: flex;
		align-items: center;
		gap: 12px;
		letter-spacing: -0.01em;
}

.easy-picker-complete__title::before {
		content: "📁";
		font-size: 1.75rem;
}

/* لیست فایل‌ها */
.easy-picker-complete__list {
		display: flex;
		flex-direction: column;
		gap: 14px;
		margin-bottom: 28px;
		/*max-height: 500px;*/
		/*overflow-y: auto;*/
		padding: 4px;
}

/* اسکرول بار سفارشی */
.easy-picker-complete__list::-webkit-scrollbar {
		width: 6px;
}

.easy-picker-complete__list::-webkit-scrollbar-track {
		background: #f1f1f1;
		border-radius: 10px;
}

.easy-picker-complete__list::-webkit-scrollbar-thumb {
		background: #cbd5e1;
		border-radius: 10px;
}

.easy-picker-complete__list::-webkit-scrollbar-thumb:hover {
		background: #059669;
}

/* آیتم هر فایل */
.easy-picker-complete__item {
		background: #fafaf9;
		border: 1px solid #e2e8f0;
		border-radius: 16px;
		transition: all 0.25s ease;
		position: relative;
		overflow: hidden;
		display: flex;
		align-items: center;
}

.easy-picker-complete__item::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 3px;
		background: #059669;
		transform: scaleY(0);
		transition: transform 0.25s ease;
}

/*.easy-picker-complete__item:hover {
		border-color: #cbd5e1;
		background: #fafaf9;
		transform: translateX(4px);
}

.easy-picker-complete__item:hover::before {
		transform: scaleY(1);
}*/

.easy-picker-complete__label {
		display: flex;
		align-items: center;
		gap: 14px;
		padding: 14px 18px;
		cursor: pointer;
		margin: 0;
		width: 100%;
}

.easy-picker-complete__checkbox {
		flex-shrink: 0;
		width: 20px;
		height: 20px;
		cursor: pointer;
		accent-color: #059669;
		transition: transform 0.1s;
		margin-right: 6px;
}

.easy-picker-complete__checkbox:active {
		transform: scale(0.95);
}

.easy-picker-complete__info {
		flex: 1;
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
		flex-wrap: wrap;
}

.easy-picker-complete__name {
		flex: 1;
		font-size: 0.95rem;
		font-weight: 500;
		color: #334155;
		line-height: 1.5;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		/*-webkit-box-orient: vertical;*/
		white-space: normal;
}

.easy-picker-complete__price {
		flex-shrink: 0;
		font-weight: 700;
		color: #059669;
		background: linear-gradient(135deg, #ecfdf5, #d1fae5);
		padding: 6px 14px;
		border-radius: 40px;
		font-size: 0.875rem;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		letter-spacing: -0.2px;
}

.easy-picker-complete__price::before {
		content: "💰";
		font-size: 0.75rem;
}

/* بخش خلاصه */
.easy-picker-complete__summary {
		background: linear-gradient(135deg, #f8fafc, #f1f5f9);
		border-radius: 20px;
		padding: 24px;
		border: 1px solid #e2e8f0;
}

.easy-picker-complete__stats {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 20px;
		flex-wrap: wrap;
		gap: 12px;
}

.easy-picker-complete__count {
		background: #ffffff;
		padding: 8px 18px;
		border-radius: 40px;
		font-size: 0.875rem;
		font-weight: 500;
		color: #1f2937;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
		display: inline-flex;
		align-items: center;
		gap: 8px;
}

.easy-picker-complete__count::before {
		content: "📊";
		font-size: 0.9rem;
}

.easy-picker-complete__count-num {
		font-weight: 800;
		color: #059669;
		font-size: 1.1rem;
		margin: 0 4px;
}

.easy-picker-complete__total {
		background: #ffffff;
		padding: 16px 20px;
		border-radius: 16px;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-bottom: 20px;
		border: 1px solid #e2e8f0;
		font-weight: 600;
		font-size: 1rem;
}

.easy-picker-complete__total span:first-child {
		color: #475569;
		display: flex;
		align-items: center;
		gap: 8px;
}

.easy-picker-complete__total span:first-child::before {
		content: "💰";
}

.easy-picker-complete__total-amount {
		font-size: 1.25rem;
		font-weight: 800;
		color: #059669;
		background: linear-gradient(135deg, #059669, #10b981);
		background-clip: text;
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
}

/* دکمه اصلی */
.easy-picker-complete__submit {
		width: 100%;
		background: #94a3b8;
		color: white;
		border: none;
		padding: 14px 28px;
		border-radius: 60px;
		font-size: 1rem;
		font-weight: 700;
		cursor: pointer;
		transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		position: relative;
		overflow: hidden;
		margin-top: 16px;
}

/*.easy-picker-complete__submit::before {
		content: "🛒";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0;
		height: 0;
		background: rgba(255, 255, 255, 0.2);
		border-radius: 50%;
		transform: translate(-50%, -50%);
		transition: width 0.5s, height 0.5s;
}*/

.easy-picker-complete__submit:hover::before {
		width: 200%;
		height: 200%;
}

.easy-picker-complete__submit.active {
		background: linear-gradient(135deg, #059669, #10b981);
		box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.easy-picker-complete__submit.active:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

/* پیام‌ها */
.easy-picker-complete__message {
		margin-top: 16px;
		padding: 12px 18px;
		border-radius: 14px;
		font-size: 0.875rem;
		font-weight: 500;
		display: none;
		animation: slideIn 0.3s ease;
}

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

.easy-picker-complete__message.success {
		display: flex;
		align-items: center;
		gap: 10px;
		background: #d1fae5;
		color: #065f46;
		border: 1px solid #a7f3d0;
}

.easy-picker-complete__message.error {
		display: flex;
		align-items: center;
		gap: 10px;
		background: #fee2e2;
		color: #991b1b;
		border: 1px solid #fecaca;
}

/* لودینگ */
.easy-picker-complete__loading {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		padding: 16px;
		background: rgba(5, 150, 105, 0.1);
		border-radius: 14px;
		margin-top: 16px;
}

.easy-picker-complete__spinner {
		width: 24px;
		height: 24px;
		border: 3px solid #e2e8f0;
		border-top-color: #059669;
		border-radius: 50%;
		animation: spin 0.6s linear infinite;
}

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

/* دکمه شناور */
.easy-picker-floating {
		/*position: fixed;
		bottom: 24px;
		right: 24px;
		z-index: 9999;
		display: flex;
		gap: 12px;
		animation: fadeInUp 0.3s ease;*/
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #fafaf9;
		padding: 15px 20px;
		box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
		z-index: 1000;
		text-align: center;
}

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

.easy-picker-floating__btn {
		background: linear-gradient(135deg, #10b981, #059669);
		color: white;
		border: none;
		padding: 14px 28px;
		border-radius: 60px;
		font-size: 0.95rem;
		font-weight: 600;
		cursor: pointer;
		box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

/* فرم فال بک */
.easy-picker-fallback {
		margin-top: 24px;
		padding: 20px;
		background: #fef3c7;
		border-radius: 16px;
		border: 1px solid #fde68a;
}

/* ریسپانسیو */
@media (max-width: 768px) {
		.easy-picker-complete {
				padding: 20px 8px;
				margin: 20px 0;
		}
		.easy-picker-complete__title {
				font-size: 1.25rem;
		}
		.easy-picker-complete__label {
				padding: 12px 14px;
		}
		.easy-picker-complete__info {
				flex-direction: column;
				align-items: flex-start;
				gap: 8px;
		}
		.easy-picker-complete__price {
				align-self: flex-start;
		}
		.easy-picker-complete__summary {
				padding: 18px;
		}
		.easy-picker-complete__total {
				flex-direction: column;
				gap: 8px;
				text-align: center;
		}
}

/* دارک مود */
/*@media (prefers-color-scheme: dark) {
		.easy-picker-complete {
				background: linear-gradient(135deg, #1f2937, #111827);
				border-color: #374151;
		}
		.easy-picker-complete__header {
				border-bottom-color: #374151;
		}
		.easy-picker-complete__title {
				color: #f3f4f6;
		}
		.easy-picker-complete__item {
				background: #374151;
				border-color: #4b5563;
		}
		.easy-picker-complete__item:hover {
				background: #4b5563;
		}
		.easy-picker-complete__name {
				color: #f3f4f6;
		}
		.easy-picker-complete__summary {
				background: linear-gradient(135deg, #111827, #1f2937);
				border-color: #374151;
		}
		.easy-picker-complete__count {
				background: #374151;
				color: #f3f4f6;
		}
		.easy-picker-complete__total {
				background: #1f2937;
				border-color: #374151;
		}
		.easy-picker-complete__total span:first-child {
				color: #d1d5db;
		}
}*/

/* دسترسی‌پذیری */
.screen-reader-text {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		border: 0;
}

@media (prefers-reduced-motion: reduce) {
		.easy-picker-complete,
		.easy-picker-complete__item,
		.easy-picker-complete__submit {
				transition: none;
		}
}
.easy-picker-complete__checkbox:checked {
		accent-color: #059669;
}

.easy-picker-complete__item:has(.easy-picker-complete__checkbox:checked) {
		background: linear-gradient(135deg, #ecfdf5, #fff);
		border-color: #059669;
}

.easy-picker-complete__item:has(.easy-picker-complete__checkbox:checked)::before {
		transform: scaleY(1);
		background: #059669;
}

/* group */
.easy-picker-group__title::before {
		content: "📂";
		font-size: 0.75rem;
}
.easy-picker-group__title {
		font-size: 1rem;
		font-weight: 600;
		color: #1f2937;
		display: flex;
		align-items: center;
		gap: 8px;
}

div.zarinpalpaiddownloads_terms {
		height: 120px;
		overflow: scroll;
		border: 2px solid #888;
		line-height: 18px;
		font-size: 13px;
		font-family: tahoma;
		padding: 3px;
}
