/* Golden Plan Choice - Formulario de Cancelación
   Paleta por defecto (sobrescrita por variables inline desde PHP) */
:root {
	--gpc-primary: #F5A623;
	--gpc-primary-dark: #D98812;
	--gpc-secondary: #F7C873;
	--gpc-gray: #8A8D8F;
	--gpc-dark: #231F20;
	--gpc-bg: #FAFAF8;
	--gpc-border: #E8E4DC;
	--gpc-radius: 14px;
}

.gpc-form-wrapper * {
	box-sizing: border-box;
}

.gpc-form-wrapper {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	max-width: 880px;
	margin: 32px auto;
	color: var(--gpc-dark);
	line-height: 1.55;
}

.gpc-form-card {
	background: #ffffff;
	border-radius: calc(var(--gpc-radius) + 6px);
	box-shadow: 0 10px 40px rgba(35, 31, 32, 0.08), 0 2px 8px rgba(35, 31, 32, 0.06);
	overflow: hidden;
	border: 1px solid var(--gpc-border);
}

/* ---------- Header ---------- */
.gpc-form-header {
	background: linear-gradient(135deg, var(--gpc-primary) 0%, var(--gpc-secondary) 100%);
	padding: 40px 36px 32px;
	text-align: center;
	position: relative;
}

.gpc-form-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--gpc-gray), var(--gpc-primary-dark));
}

.gpc-logo {
	max-width: 190px;
	max-height: 110px;
	width: auto;
	height: auto;
	margin: 0 auto 18px;
	display: block;
	filter: drop-shadow(0 4px 10px rgba(0,0,0,0.12));
}

.gpc-agency-name {
	color: #fff;
	font-size: 26px;
	margin: 0 0 12px;
	font-weight: 700;
}

.gpc-agency-contact {
	color: rgba(35,31,32,0.85);
	font-size: 13.5px;
	margin: 0 0 18px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
}

.gpc-form-title {
	color: var(--gpc-dark);
	font-size: 22px;
	font-weight: 800;
	margin: 6px auto 6px;
	max-width: 640px;
	letter-spacing: -0.2px;
}

.gpc-form-subtitle {
	color: rgba(35,31,32,0.7);
	font-size: 13px;
	margin: 0;
	font-style: italic;
}

/* ---------- Sections ---------- */
.gpc-form {
	padding: 8px 36px 36px;
}

.gpc-section {
	padding: 26px 0;
	border-bottom: 1px solid var(--gpc-border);
}

.gpc-section:last-of-type {
	border-bottom: none;
}

.gpc-section-highlight {
	background: linear-gradient(180deg, rgba(245,166,35,0.06), rgba(245,166,35,0));
	border-radius: var(--gpc-radius);
	padding: 26px 22px;
	margin: 10px 0;
}

.gpc-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--gpc-dark);
}

.gpc-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	background: var(--gpc-primary);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.gpc-legal-text {
	font-size: 13.5px;
	color: #4a4645;
	background: var(--gpc-bg);
	border-left: 3px solid var(--gpc-secondary);
	padding: 12px 16px;
	border-radius: 0 8px 8px 0;
	margin: 0 0 16px;
}

.gpc-legal-list, .gpc-services-list {
	margin: 0 0 16px;
	padding-left: 0;
	list-style: none;
}

.gpc-legal-list li, .gpc-services-list li {
	font-size: 13.5px;
	color: #4a4645;
	background: var(--gpc-bg);
	border-left: 3px solid var(--gpc-gray);
	padding: 12px 16px;
	border-radius: 0 8px 8px 0;
	margin-bottom: 10px;
}

.gpc-services-list li {
	border-left-color: var(--gpc-primary);
}

/* ---------- Grid & Fields ---------- */
.gpc-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.gpc-col-2 {
	grid-column: 1 / -1;
}

.gpc-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 4px;
}

.gpc-field label {
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--gpc-dark);
}

.gpc-field input[type="text"],
.gpc-field input[type="email"],
.gpc-field input[type="tel"],
.gpc-field input[type="date"] {
	border: 1.5px solid var(--gpc-border);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14.5px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
	width: 100%;
	font-family: inherit;
	color: var(--gpc-dark);
}

.gpc-field input:focus {
	outline: none;
	border-color: var(--gpc-primary);
	box-shadow: 0 0 0 3px rgba(245,166,35,0.18);
}

.gpc-conditional-input {
	margin-top: 10px;
	border: 1.5px solid var(--gpc-border);
	border-radius: 10px;
	padding: 11px 14px;
	font-size: 14px;
	width: 100%;
	font-family: inherit;
}

/* ---------- Radios & Checkboxes ---------- */
.gpc-radio-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.gpc-radio, .gpc-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	cursor: pointer;
	background: var(--gpc-bg);
	border: 1.5px solid var(--gpc-border);
	border-radius: 10px;
	padding: 12px 14px;
	transition: border-color .15s ease, background .15s ease;
}

.gpc-radio:hover, .gpc-checkbox:hover {
	border-color: var(--gpc-secondary);
}

.gpc-radio input, .gpc-checkbox input {
	margin-top: 2px;
	width: 18px;
	height: 18px;
	accent-color: var(--gpc-primary);
	flex-shrink: 0;
}

.gpc-checkbox {
	margin-top: 14px;
	font-weight: 600;
}

.gpc-radio:has(input:checked), .gpc-checkbox:has(input:checked) {
	border-color: var(--gpc-primary);
	background: rgba(245,166,35,0.08);
}

/* ---------- Signature ---------- */
.gpc-signature-wrapper {
	position: relative;
	border: 2px dashed var(--gpc-gray);
	border-radius: var(--gpc-radius);
	background: #fdfdfc;
	overflow: hidden;
}

.gpc-signature-pad {
	width: 100%;
	height: 200px;
	display: block;
	touch-action: none;
	cursor: crosshair;
	background: #fff;
}

.gpc-btn-clear-signature {
	position: absolute;
	top: 10px;
	right: 10px;
	background: #fff;
	border: 1.5px solid var(--gpc-border);
	color: var(--gpc-dark);
	font-size: 12px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: all .15s ease;
}

.gpc-btn-clear-signature:hover {
	border-color: var(--gpc-primary);
	color: var(--gpc-primary-dark);
}

.gpc-signature-hint {
	font-size: 12px;
	color: var(--gpc-gray);
	margin: 8px 0 0;
}

/* ---------- Submit ---------- */
.gpc-submit-row {
	margin-top: 30px;
	text-align: center;
}

.gpc-submit-btn {
	background: linear-gradient(135deg, var(--gpc-primary), var(--gpc-primary-dark));
	color: #fff;
	border: none;
	padding: 16px 48px;
	font-size: 16px;
	font-weight: 700;
	border-radius: 50px;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(245,166,35,0.35);
	transition: transform .15s ease, box-shadow .15s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.gpc-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(245,166,35,0.45);
}

.gpc-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
	transform: none;
}

.gpc-btn-spinner {
	width: 16px;
	height: 16px;
	border: 2.5px solid rgba(255,255,255,0.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: gpc-spin 0.8s linear infinite;
}

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

.gpc-form-error {
	color: #b3261e;
	background: #fdecea;
	border: 1px solid #f4c7c3;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 13.5px;
	margin-top: 16px;
	text-align: left;
}

/* ---------- Cambié de opinión ---------- */
.gpc-changed-mind-row {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px dashed var(--gpc-border);
	text-align: center;
}

.gpc-changed-mind-divider {
	display: block;
	font-size: 13px;
	color: var(--gpc-gray);
	margin-bottom: 10px;
}

.gpc-changed-mind-btn {
	background: #fff;
	color: var(--gpc-primary-dark);
	border: 1.5px solid var(--gpc-secondary);
	padding: 12px 26px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 50px;
	cursor: pointer;
	transition: all .15s ease;
}

.gpc-changed-mind-btn:hover {
	background: rgba(245,166,35,0.08);
	border-color: var(--gpc-primary);
}

.gpc-changed-mind-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* ---------- Bloque de contacto ---------- */
.gpc-contact-block {
	background: linear-gradient(135deg, var(--gpc-dark) 0%, #3a3533 100%);
	padding: 34px 36px 38px;
	text-align: center;
}

.gpc-contact-title {
	color: var(--gpc-secondary);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.5px;
	margin: 0 0 20px;
}

.gpc-contact-list {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: left;
}

.gpc-contact-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #f2efe9;
	font-size: 14px;
}

.gpc-contact-icon {
	flex-shrink: 0;
	font-size: 16px;
}

.gpc-contact-list a {
	color: var(--gpc-secondary);
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid rgba(247,200,115,0.4);
}

.gpc-contact-list a:hover {
	color: var(--gpc-primary);
	border-bottom-color: var(--gpc-primary);
}

/* ---------- Confirmation ---------- */
.gpc-confirmation {
	text-align: center;
	padding: 70px 40px 80px;
}

.gpc-confirmation-icon {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gpc-primary), var(--gpc-secondary));
	color: #fff;
	font-size: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
	box-shadow: 0 8px 24px rgba(245,166,35,0.35);
}

.gpc-confirmation-title {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 12px;
	color: var(--gpc-dark);
}

.gpc-confirmation-text {
	font-size: 15px;
	color: #55504e;
	max-width: 480px;
	margin: 0 auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.gpc-form-wrapper {
		margin: 12px auto;
	}
	.gpc-form-header {
		padding: 30px 20px 24px;
	}
	.gpc-form-title {
		font-size: 18px;
	}
	.gpc-form {
		padding: 6px 18px 26px;
	}
	.gpc-grid {
		grid-template-columns: 1fr;
	}
	.gpc-submit-btn {
		width: 100%;
		justify-content: center;
	}
	.gpc-signature-pad {
		height: 160px;
	}
	.gpc-confirmation {
		padding: 50px 20px 60px;
	}
	.gpc-contact-block {
		padding: 28px 20px 32px;
	}
	.gpc-contact-list li {
		font-size: 13.5px;
	}
}
