/**
 * Module 07 — resume widget + order-builder banner.
 *
 * Self-contained: button/input styles are scoped to the resume containers so
 * the standalone "Find your negotiation" page (which loads only this stylesheet)
 * renders correctly, and so nothing here overrides the global .ldi-btn used
 * elsewhere on the order builder.
 */

/* ── Widget card ─────────────────────────────────────────────── */
.ldi-resume-card {
	max-width: 520px;
	margin: 2rem auto;
	padding: 28px 28px 24px;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #0f172a;
}

.ldi-resume-card__title {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #0f172a;
}

.ldi-resume-card__intro {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.55;
	color: #475569;
}

.ldi-resume-form__label {
	display: block;
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 500;
	color: #334155;
}

.ldi-resume-form__row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ldi-resume-form__input {
	flex: 1 1 220px;
	min-width: 0;
	padding: 11px 13px;
	font-size: 15px;
	color: #0f172a;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	box-sizing: border-box;
}

.ldi-resume-form__input:focus {
	outline: none;
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Scoped buttons — render without the global .ldi-btn base rules. */
.ldi-resume-card .ldi-btn,
.ldi-resume-banner .ldi-btn {
	display: inline-block;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	border-radius: 8px;
	border: 1px solid transparent;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ldi-resume-card .ldi-btn--primary,
.ldi-resume-banner .ldi-btn--primary {
	background: #4f46e5;
	color: #ffffff;
}

.ldi-resume-card .ldi-btn--primary:hover,
.ldi-resume-banner .ldi-btn--primary:hover {
	background: #4338ca;
}

.ldi-resume-card .ldi-btn--primary[disabled],
.ldi-resume-card .ldi-btn--primary[aria-busy="true"] {
	opacity: 0.6;
	cursor: default;
}

.ldi-resume-banner .ldi-btn--secondary {
	background: transparent;
	color: #475569;
	border-color: #cbd5e1;
}

.ldi-resume-banner .ldi-btn--secondary:hover {
	background: #f1f5f9;
}

/* ── Result message ──────────────────────────────────────────── */
.ldi-resume-result {
	margin-top: 14px;
	font-size: 14px;
	line-height: 1.5;
	min-height: 1em;
}

.ldi-resume-result--ok {
	color: #047857;
}

.ldi-resume-result--error {
	color: #b91c1c;
}

/* ── Order-builder banner ────────────────────────────────────── */
.ldi-resume-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 18px;
	padding: 14px 18px;
	background: #eef2ff;
	border: 1px solid #c7d2fe;
	border-radius: 10px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #312e81;
}

.ldi-resume-banner__body {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.45;
}

.ldi-resume-banner__icon {
	font-size: 16px;
	line-height: 1;
}

.ldi-resume-banner__body strong {
	font-weight: 600;
}

.ldi-resume-banner__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

@media (max-width: 540px) {
	.ldi-resume-banner {
		flex-direction: column;
		align-items: stretch;
	}
	.ldi-resume-banner__actions {
		justify-content: stretch;
	}
	.ldi-resume-banner__actions .ldi-btn {
		flex: 1 1 auto;
		text-align: center;
	}
}
