/* Daily Pregnancy Affirmation Generator */

.da-wrap {
	max-width: 100%;
	margin: 0 auto 24px;
	padding: 24px 16px 0;
}

/* ── Category Filters ── */
.da-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 24px;
}

.da-filter {
	padding: 8px 18px;
	border: 1.5px solid rgba(139, 123, 184, 0.2);
	border-radius: 20px;
	background: #fff;
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	font-family: Nunito, sans-serif;
}

.da-filter:hover {
	border-color: var(--primary);
	color: var(--primary);
}

.da-filter.active {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

/* ── Affirmation Card ── */
.da-card-area {
	display: flex;
	justify-content: center;
	margin-bottom: 24px;
}

.da-card {
	width: 100%;
	max-width: 480px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(61, 47, 80, 0.12);
}

.da-card-inner {
	position: relative;
	background: linear-gradient(145deg, #f8f0ff 0%, #f0e6ff 30%, #e8e0f8 60%, #f2e8f5 100%);
	padding: 48px 36px 32px;
	text-align: center;
	overflow: hidden;
}

/* Corner decorations */
.da-card-decoration {
	position: absolute;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	opacity: 0.08;
	pointer-events: none;
}

.da-card-decoration-tl {
	top: -40px;
	left: -40px;
	background: var(--primary);
}

.da-card-decoration-br {
	bottom: -40px;
	right: -40px;
	background: var(--accent);
}

/* Trimester badge */
.da-badge {
	display: inline-block;
	padding: 4px 14px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 12px;
	color: #fff;
	background: var(--primary);
}

.da-badge[data-trimester="1"] {
	background: linear-gradient(135deg, #e8a0bf, #d47fa6);
}

.da-badge[data-trimester="2"] {
	background: linear-gradient(135deg, #a0c8e8, #7fb0d4);
}

.da-badge[data-trimester="3"] {
	background: linear-gradient(135deg, #a0d8b8, #7fc4a0);
}

.da-badge[data-trimester="general"] {
	background: linear-gradient(135deg, #c4b0e0, #a898cc);
}

/* Quote marks */
.da-quote-mark {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 36px;
	line-height: 1;
	color: var(--primary);
	opacity: 0.2;
	user-select: none;
	margin-bottom: -6px;
}

.da-quote-mark-end {
	margin-top: 10px;
	margin-bottom: 0;
}

/* Affirmation text */
.da-text {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text);
	padding: 0 12px;
	min-height: 72px;
	transition: opacity 0.3s;
}

.da-text.da-text-fade {
	opacity: 0;
}

/* Card footer */
.da-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 24px;
	padding-top: 16px;
	border-top: 1px solid rgba(139, 123, 184, 0.12);
}

.da-date {
	font-size: 13px;
	color: var(--text-muted);
	font-weight: 600;
}

.da-site {
	font-size: 12px;
	color: var(--text-muted);
	opacity: 0.6;
	font-weight: 600;
}

/* ── Generate Button ── */
.da-btn-row {
	text-align: center;
	margin-bottom: 16px;
}

.da-generate {
	padding: 14px 32px;
	border: none;
	border-radius: 28px;
	background: linear-gradient(135deg, var(--primary), #a898cc);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 4px 16px rgba(139, 123, 184, 0.3);
	font-family: Nunito, sans-serif;
}

.da-generate:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(139, 123, 184, 0.4);
}

.da-generate:active {
	transform: translateY(0);
}

/* ── Action Buttons ── */
.da-actions {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}

.da-action {
	padding: 10px 20px;
	border: 1.5px solid rgba(139, 123, 184, 0.2);
	border-radius: 20px;
	background: #fff;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	font-family: Nunito, sans-serif;
}

.da-action:hover {
	border-color: var(--primary);
	color: var(--primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(139, 123, 184, 0.15);
}

.da-action.da-action-success {
	border-color: var(--accent);
	color: var(--accent);
}

/* ── Override global calc-section-card max-width ── */
.da-wrap ~ .calc-section-card {
	max-width: none;
}

/* ── List styling inside section cards ── */
.da-wrap ~ .calc-section-card ul {
	padding-left: 20px;
	margin: 0;
}

.da-wrap ~ .calc-section-card li {
	font-size: 16px;
	color: var(--text-muted, #695A80);
	line-height: 1.65;
	margin-bottom: 10px;
}

.da-wrap ~ .calc-section-card li:last-child {
	margin-bottom: 0;
}

/* ── Disclaimer ── */
.da-disclaimer {
	max-width: 100%;
	margin: 0 auto 24px;
	text-align: center;
	font-size: 13px;
	color: var(--text-muted);
	padding: 0 16px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
	.da-card-inner {
		padding: 36px 24px 24px;
	}

	.da-text {
		font-size: 20px;
	}

	.da-quote-mark {
		font-size: 34px;
	}

	.da-filters {
		gap: 6px;
	}

	.da-filter {
		padding: 6px 14px;
		font-size: 13px;
	}

	.da-actions {
		gap: 8px;
	}

	.da-action {
		padding: 8px 16px;
		font-size: 13px;
	}
}

@media (max-width: 414px) {
	.da-text {
		font-size: 18px;
	}

	.da-card-inner {
		padding: 28px 20px 20px;
	}
}
