/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.gift-added-msg {
    display: inline-block;
    background: #4caf50;
    color: #fff;
    padding: 6px 12px;
    margin-top: 6px;
    border-radius: 5px;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}

.gift-error-msg {
    display: inline-block;
    background: #ff4d4d;
    color: #fff;
    padding: 6px 12px;
    margin-top: 6px;
    border-radius: 5px;
    font-size: 14px;
    animation: fadeIn 0.4s ease;
}

/* New Reduced-Variable CSS */

/* :root { */
	/* --brand-main: #8200db;   Replaces purple/pink variations */
	/* --brand-accent: #2563eb; Replaces blue variations */
/* } */

/* Original black/gray colors remain unchanged */

.wps-par_claim-wrap {
	border: 2px solid var(--brand-main);
	border-radius: 20px;
	padding: 20px;
	max-width: 800px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	background: linear-gradient(to right, #eff6ff, #faf5ff);
	cursor: pointer;
}

.wps-par_form {
	margin: 0 0 30px;
}

.wps-par_claim-wrap:hover {
	box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.2);
}

.wps-par_claim-box {
	justify-content: space-between;
	align-items: center;
	display: flex;
}

.wps-par-claim-box-wrap {
	background: #ffffff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wps-par_claim-box-text {
	align-items: center;
	display: flex;
	gap: 20px;
}

.wps-par_claim-box-reward,
.wps-par_claim-box-gift {
	color: var(--brand-main);
	width: 24px;
	height: 24px;
}

.wps-par_claim-box-content h3 {
	font-size: 16px;
	color: var(--brand-main);
	font-weight: 400;
}

.wps-par_claim-box-content p {
	color: var(--brand-main);
	font-size: 16px;
}

.wps-par-form-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 99999;
}

.wps-par_form-wrap {
	background: #ffffff;
	padding: 30px 20px;
	max-width: 530px;
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 99999;
	max-height: 60vh;
	overflow-y: auto;
	transform: translate(-50%, -50%);
	width: calc(100% - 30px);
}

.wps-par_form-box {
	display: flex;
	align-items: center;
	gap: 20px;
}

.wps-par_form-box-wrap {
	background: linear-gradient(to right, #eff6ff, #faf5ff);
	padding: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

svg.wps-par-form-gift {
	color: var(--brand-main);
}

.wps-par_form-box-content h2 {
	font-size: 24px;
	font-weight: 600;
}

.wps-par_form-box-content p {
	font-size: 16px;
}

.wps-par_form-select-btn {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 20px;
	border: 2px solid #ebe6e7;
	border-radius: 20px;
	cursor: pointer;
	margin: 20px 0;
}

.wps-par_form-select-btn h4 {
	color: #101828;
	font-weight: 600;
	font-size: 16px;
}

.wps-par_form-select {
	margin-top: 20px;
}

.wps-par_form-select-btn p {
	color: #4a5565;
	font-weight: 500;
	font-size: 14px;
}

.wps-par_form-select-btn:hover {
	border-color: var(--brand-main);
	background: #fbf9fa;
}

.wps-par-form-select-one-gift,
.wps-par-form-select-two-box-wrap {
	background: #ffffff;
	height: 40px;
	width: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
}

.wps-par_form-select-btn:active {
	background: #faf5ff;
}

.wps-par-form-select-two-reward {
	color: var(--brand-main);
}

.wps-par-form-button-wrap {
	color: white;
	background: linear-gradient(to right, var(--brand-main), var(--brand-main));
	padding: 10px;
	border-radius: 5px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin: 10px 0 0;
}

.wps-par-form-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.wps-par-form-select-two-content-span {
	color: var(--brand-main);
}

.wps-par-gift-wrapper,
.wps-par-form-button {
	flex-direction: column;
	gap: 20px;
	animation: fadeIn 0.3s ease-in;
	display: none;
}

.wps-par-gift-wrapper.active-box,
.wps-par-form-button.active-box {
	display: block;
}

.wps-par-gift-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 20px 0;
}

.wps-par-gift-count {
	background: #f1f1f1;
	padding: 4px 8px;
	font-size: 12px;
	border-radius: 6px;
	font-weight: 500;
}

.wps-par-gift-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: flex-start;
}

@media (min-width: 768px) {
	.wps-par-gift-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.wps-par-gift-card {
	background: #fff;
	border: 2px solid #eaeaea;
	border-radius: 14px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: 0.3s ease;
}

.wps-par-gift-card:hover {
	border-color: var(--brand-main);
	box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
}

.wps-par-gift-img-box {
	position: relative;
}

.wps-par-gift-img-box img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 10px;
}

.wps-par-gift-badge {
	position: absolute;
	top: 8px;
	right: 8px;
	background: var(--brand-main);
	padding: 4px 8px;
	font-size: 12px;
	border-radius: 6px;
	color: white;
}

.wps-par-gift-title {
	margin: 0;
	font-weight: normal;
	font-size: 16px;
	color: #000000;
}

.wps-par-gift-desc {
	font-size: 14px;
	color: #666;
	margin: 0;
}

.wps-par-gift-btn {
	background: linear-gradient(to right, var(--brand-main), var(--brand-accent));
	color: white;
	padding: 8px 12px;
	border-radius: 8px;
	width: 100%;
	border: none;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: center;
	transition: 0.3s;
}

.wps-par-gift-btn:hover {
	background: linear-gradient(to right, var(--brand-main), var(--brand-accent));
}

.wps-par-gift-btn svg {
	width: 18px;
	height: 18px;
}

.wps-par-gift-header h3 {
	font-size: 18px;
	font-weight: unset;
}

.wps-par_form-select-btn.active-selected {
	border: 2px solid var(--brand-main);
	background: #faf5ff;
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
}

.wps-par-form-button {
	border: 2px solid var(--brand-main);
	background: #faf5ff;
	padding: 20px;
	border-radius: 20px;
}

.wps-par-form-button-span {
	color: white;
	background: var(--brand-main);
	padding: 4px;
	border-radius: 5px;
}

.wps-par-form-button h3 {
	color: #101828;
	font-weight: 600;
	font-size: 16px;
	margin: 0px 0px 10px;
}

.wps-par-form-button p {
	color: #4a5565;
	font-weight: 400;
	font-size: 14px;
	margin: 10px 0;
}

.wps-par_form-select-btn::after {
	content: "";
	position: absolute;
	height: 10px;
	width: 10px;
	background: #808080;
	border-radius: 100%;
	right: 35px;
}

.wps-par_form-select-btn.active-selected::after {
	background: var(--brand-main);
}

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