/* Netu Gift Cards - Frontend Styles */

/* ── Product page fields ── */
.netu-gc-fields {
	margin: 20px 0 24px;
}

.netu-gc-section {
	margin: 0 0 16px !important;
}

.netu-gc-label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #333;
}

/* Amount buttons (selected price type) */
.netu-gc-amounts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

.netu-gc-amount-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #ddd;
	border-radius: 8px;
	padding: 10px 18px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	transition: border-color .2s, background .2s, color .2s;
	background: #fff;
	color: #333;
	min-width: 80px;
	user-select: none;
}

.netu-gc-amount-btn input[type="radio"] {
	display: none;
}

.netu-gc-amount-btn:hover,
.netu-gc-amount-btn.selected {
	border-color: #e91e8c;
	background: #fce4f0;
	color: #c0166e;
}

.netu-gc-range-hint {
	display: block;
	font-size: 12px;
	color: #888;
	margin-top: 4px;
}

/* Delivery wrapper */
.netu-gc-delivery-wrap .netu-gc-label {
	margin-bottom: 10px;
}

.netu-gc-delivery-option {
	margin-bottom: 8px;
}

.netu-gc-delivery-option > label {
	font-weight: 600;
	margin-left: 6px;
	cursor: pointer;
}

.netu-gc-email-fields {
	margin: 10px 0 0 22px;
}

.netu-gc-email-fields .form-row {
	margin: 0 0 10px !important;
}

.netu-gc-email-fields label {
	display: block;
	font-size: 13px;
	color: #555;
	margin-bottom: 4px;
}

/* Character counter */
.netu-gc-charcount {
	display: block;
	font-size: 12px;
	color: #aaa;
	margin-top: 4px;
	text-align: right;
}

/* ── Cart balance info row ── */
.netu-gc-balance-row th,
.netu-gc-balance-row td {
	font-size: 13px !important;
	color: #888 !important;
	padding: 4px 0 !important;
	border: none !important;
	background: transparent !important;
}

/* ── My Account tab ── */
.netu-gc-myaccount h2 {
	margin-bottom: 20px;
}

.netu-gc-code {
	font-family: monospace;
	font-size: 14px;
	background: #f5f5f5;
	padding: 4px 8px;
	border-radius: 4px;
	letter-spacing: 2px;
}

.netu-gc-status.active { color: #2ecc71; font-weight: 600; }
.netu-gc-status.used   { color: #e74c3c; font-weight: 600; }

.netu-gc-bar-wrap {
	background: #eee;
	border-radius: 10px;
	height: 5px;
	margin-top: 6px;
	width: 100px;
	overflow: hidden;
}

.netu-gc-bar {
	background: #e91e8c;
	border-radius: 10px;
	height: 5px;
	transition: width .3s;
}

.netu-gc-hint {
	margin-top: 16px;
	color: #888;
	font-size: 13px;
}

/* ── Balance check shortcode ── */
.netu-gc-check-balance {
	background: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 10px;
	padding: 24px;
	max-width: 480px;
}

.netu-gc-check-balance h4 {
	margin: 0 0 16px;
}

.netu-gc-check-form {
	display: flex;
	gap: 10px;
}

.netu-gc-check-form input {
	flex: 1;
	font-family: monospace;
	font-size: 15px;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 10px 14px;
	border: 2px solid #ddd;
	border-radius: 6px;
}

.netu-gc-check-form input:focus {
	border-color: #e91e8c;
	outline: none;
}

#netu-gc-balance-result {
	padding: 12px 16px;
	border-radius: 6px;
	font-size: 14px;
}

#netu-gc-balance-result.success {
	background: #e8f8f0;
	border: 1px solid #2ecc71;
	color: #1a5c39;
}

#netu-gc-balance-result.error {
	background: #fdecea;
	border: 1px solid #e74c3c;
	color: #7b1d1d;
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.netu-gc-amounts { gap: 6px; }
	.netu-gc-amount-btn { padding: 8px 12px; font-size: 14px; min-width: 65px; }
	.netu-gc-check-form { flex-direction: column; }
}
