/*
Theme Name: WeTheme Child
Template: We-Theme
Version: 1.0
*/
.wc-color-helper-widget{
	margin: 18px 0 20px;
	direction: rtl;
}

.wc-color-helper-trigger{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 18px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(37, 117, 252, 0.22);
	transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.wc-color-helper-trigger:hover{
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(37, 117, 252, 0.28);
}

.wc-color-helper-trigger:active{
	transform: translateY(0);
}

.wc-color-helper-trigger:focus-visible{
	outline: 3px solid rgba(37, 117, 252, 0.22);
	outline-offset: 3px;
}

.wc-color-helper-trigger-icon{
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.wc-color-helper-trigger-text{
	display: inline-block;
}

.wc-color-helper-modal{
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 14px;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(7px);
	-webkit-backdrop-filter: blur(7px);
}

.wc-color-helper-modal[hidden]{
	display: none !important;
}

.wc-color-helper-dialog{
	position: relative;
	width: min(90vw, 520px);
	max-height: 85vh;
	overflow: hidden;
	background: #ffffff;
	border-radius: 24px;
	padding: 24px 22px 20px;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.22);
	animation: wcColorHelperModalUp .28s ease;
	direction: rtl;
	text-align: right;
	display: flex;
	flex-direction: column;
}

.wc-color-helper-close{
	position: absolute;
	top: 12px;
	left: 12px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 12px;
	background: #f3f4f6;
	color: #111827;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background-color .2s ease, transform .2s ease;
	z-index: 2;
}

.wc-color-helper-close:hover{
	background: #e5e7eb;
	transform: scale(1.04);
}

.wc-color-helper-close:focus-visible{
	outline: 3px solid rgba(37, 117, 252, 0.22);
	outline-offset: 2px;
}

.wc-color-helper-header{
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	padding-left: 44px;
	flex: 0 0 auto;
}

.wc-color-helper-emoji{
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	flex: 0 0 auto;
}

.wc-color-helper-heading{
	flex: 1 1 auto;
}

.wc-color-helper-heading h3{
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.8;
	color: #111827;
}

.wc-color-helper-status-badge{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.wc-color-helper-status-badge.is-open{
	background: #dcfce7;
	color: #166534;
}

.wc-color-helper-status-badge.is-closed{
	background: #fee2e2;
	color: #991b1b;
}

.wc-color-helper-body{
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	color: #374151;
	overflow: hidden;
}

.wc-color-helper-content{
	flex: 0 0 auto;
}

.wc-color-helper-body p{
	margin: 0;
	font-size: 14px;
	line-height: 2;
	color: #374151;
}

.wc-color-helper-footer{
	margin-top: auto;
	padding-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	border-top: 1px solid #e5e7eb;
}

.wc-color-helper-tip{
	padding: 12px 14px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	font-size: 13px;
	line-height: 1.9;
	color: #475569;
}

.wc-color-helper-actions{
	margin-top: 4px;
}

.wc-color-helper-call-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-width: 0;
	padding: 12px 18px;
	border-radius: 14px;
	background: #111827;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.wc-color-helper-call-btn:hover{
	background: #1f2937;
	transform: translateY(-1px);
	box-shadow: 0 14px 30px rgba(17, 24, 39, 0.22);
	color: #ffffff;
	text-decoration: none;
}

.wc-color-helper-call-btn:focus-visible{
	outline: 3px solid rgba(17, 24, 39, 0.18);
	outline-offset: 3px;
}

body.color-helper-modal-open{
	overflow: hidden;
}

@keyframes wcColorHelperModalUp{
	from{
		opacity: 0;
		transform: translateY(18px) scale(0.98);
	}
	to{
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 767px){
	.wc-color-helper-modal{
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	.wc-color-helper-widget{
		margin: 14px 0 16px;
	}

	.wc-color-helper-trigger{
		font-size: 14px;
		padding: 13px 16px;
		border-radius: 14px;
		gap: 8px;
	}

	.wc-color-helper-trigger-icon{
		font-size: 17px;
	}

	.wc-color-helper-dialog{
		width: 100vw;
		height: 60vh;
		max-height: 60vh;
		min-height: 60vh;
		max-width: 100vw;
		margin: 0;
		padding: 18px 16px 16px;
		border-radius: 18px 18px 0 0;
		overflow: hidden;
	}

	.wc-color-helper-close{
		top: 10px;
		left: 10px;
		width: 36px;
		height: 36px;
		font-size: 22px;
		border-radius: 10px;
	}

	.wc-color-helper-header{
		align-items: flex-start;
		gap: 10px;
		margin-bottom: 14px;
		padding-left: 38px;
	}

	.wc-color-helper-emoji{
		width: 42px;
		height: 42px;
		font-size: 22px;
		border-radius: 12px;
	}

	.wc-color-helper-heading h3{
		font-size: 16px;
		line-height: 1.7;
		margin-bottom: 5px;
	}

	.wc-color-helper-status-badge{
		font-size: 11px;
		padding: 5px 9px;
	}

	.wc-color-helper-body p{
		font-size: 13px;
		line-height: 2;
	}

	.wc-color-helper-footer{
		padding-top: 16px;
		gap: 12px;
	}

	.wc-color-helper-tip{
		font-size: 12.5px;
		line-height: 1.9;
		padding: 11px 12px;
		border-radius: 12px;
	}

	.wc-color-helper-call-btn{
		font-size: 13px;
		padding: 11px 14px;
		border-radius: 12px;
	}
}

@media (min-width: 768px){
	.wc-color-helper-dialog{
		width: min(90vw, 520px);
		max-height: 85vh;
		border-radius: 24px;
	}
}

@media (min-width: 1200px){
	.wc-color-helper-dialog{
		width: 520px;
		padding: 26px 24px 22px;
	}
}
