/* Weekly Events Email – Signup Form */

.wee-signup-wrapper {
	margin: 32px 0;
}

.wee-signup-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px;
	max-width: 520px;
	margin: 0 auto;
	text-align: center;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
	position: relative;
	overflow: hidden;
}

.wee-signup-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #e11d48 0%, #f59e0b 16%, #84cc16 32%, #10b981 48%, #06b6d4 64%, #3b82f6 80%, #8b5cf6 100%);
}

.wee-signup-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #ede9fe 0%, #e0e7ff 100%);
	border-radius: 14px;
	color: #7c3aed;
	margin-bottom: 16px;
}

.wee-signup-title {
	margin: 0 0 8px;
	font-size: 1.4em;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.wee-signup-description {
	margin: 0 0 24px;
	color: #64748b;
	font-size: 0.95em;
	line-height: 1.6;
}

.wee-signup-form {
	margin: 0;
}

.wee-form-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.wee-email-input {
	flex: 1;
	padding: 12px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-size: 15px;
	font-family: inherit;
	background: #f8fafc;
	color: #1e293b;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	outline: none;
	min-width: 0;
	box-sizing: border-box;
}

.wee-email-input:focus {
	border-color: #7c3aed;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
	background: #fff;
}

.wee-email-input::placeholder {
	color: #94a3b8;
}

.wee-submit-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 24px;
	background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
	white-space: nowrap;
	letter-spacing: 0.01em;
}

.wee-submit-btn:hover {
	background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
	box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
	transform: translateY(-1px);
}

.wee-submit-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

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

.wee-btn-loading svg {
	display: block;
}

.wee-message {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 0.9em;
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
}

.wee-message.wee-success {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	color: #065f46;
	border: 1px solid #6ee7b7;
	display: block;
}

.wee-message.wee-error {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	color: #991b1b;
	border: 1px solid #fca5a5;
	display: block;
}

.wee-privacy-note {
	margin: 16px 0 0;
	font-size: 0.78em;
	color: #94a3b8;
	line-height: 1.5;
}

/* ==========================================================================
   Event Card Inline Signup
   Matches the RSVP row styling pattern
   ========================================================================== */

.wee-eventcard-wrapper {
	display: block;
}

.evocard_box.eventdetails .wee-eventcard-wrapper,
#event_eventdetails .wee-eventcard-wrapper {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e5e7eb;
}

.evo_metarow_wee {
	display: flex;
	align-items: flex-start;
	padding: 16px 20px;
	background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
	border-radius: 12px;
	border: 1px solid #ddd6fe;
}

.evo_metarow_wee > .evcal_evdata_icons {
	flex-shrink: 0;
	margin-right: 14px;
	background: none !important;
}

.evo_metarow_wee > .evcal_evdata_icons i {
	font-size: 20px;
	color: #7c3aed;
}

.evo_metarow_wee .evcal_evdata_cell {
	flex: 1;
	min-width: 0;
}

.wee-eventcard-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.wee-eventcard-text {
	flex-shrink: 0;
}

.wee-eventcard-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #7c3aed;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1;
	margin-bottom: 4px;
}

.wee-eventcard-desc {
	display: block;
	font-size: 13px;
	color: #64748b;
	line-height: 1.4;
}

.wee-eventcard-form-wrap {
	flex: 1;
	min-width: 0;
}

.wee-eventcard-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.wee-eventcard-input {
	flex: 1;
	padding: 9px 12px !important;
	border: 2px solid #ddd6fe !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	background: #fff !important;
	color: #1e293b !important;
	min-width: 0;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wee-eventcard-input:focus {
	border-color: #7c3aed !important;
	box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12) !important;
	outline: none;
}

.wee-eventcard-input::placeholder {
	color: #a5b4c8;
}

.wee-eventcard-btn {
	padding: 9px 18px !important;
	font-size: 13px !important;
	border-radius: 8px !important;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25) !important;
}

.wee-eventcard-form .wee-message {
	margin-top: 8px;
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 6px;
}

/* Responsive */
@media (max-width: 520px) {
	.wee-signup-card {
		padding: 24px 20px;
		border-radius: 12px;
	}

	.wee-form-row {
		flex-direction: column;
	}

	.wee-submit-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 680px) {
	.wee-eventcard-content {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.wee-eventcard-text {
		text-align: center;
	}
}

@media (max-width: 420px) {
	.evo_metarow_wee {
		flex-direction: column;
		padding: 14px 16px;
	}

	.evo_metarow_wee > .evcal_evdata_icons {
		margin-right: 0;
		margin-bottom: 8px;
	}

	.wee-eventcard-row {
		flex-direction: column;
	}

	.wee-eventcard-btn {
		width: 100% !important;
		justify-content: center;
	}
}
