.share-event {
	padding: 2rem 1rem;
	display: flex;
	justify-content: center;
}

.share-event-card {
	width: min(900px, 100%);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.share-event-name {
	margin: 0;
	color: var(--color-text-muted);
}

.share-event-error {
	color: var(--color-error-text);
}

.share-event-media-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.2rem;
}

.share-event-media-item {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.share-event-media-title {
	font-weight: 600;
	color: var(--color-text-strong);
}

.share-event-media {
	border: 1px solid var(--color-border-light);
	background: var(--color-surface-panel);
	border-radius: 10px;
	padding: 1rem;
	display: flex;
	justify-content: center;
	align-items: center;
}

.share-event-media img {
	max-width: 100%;
	max-height: 60vh;
	border-radius: 8px;
	object-fit: contain;
}

.share-event-actions {
	display: flex;
	justify-content: flex-end;
}

.share-event-button {
	border: 1px solid var(--color-cta-primary);
	background: var(--color-cta-primary);
	color: var(--color-white);
	border-radius: 6px;
	padding: 0.6rem 1rem;
	text-decoration: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.share-event-button.outline {
	background: transparent;
	color: var(--color-cta-primary);
}

.share-event-link {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.share-event-link-row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.share-event-link-row input {
	flex: 1 1 280px;
	padding: 0.6rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
}

.share-event-copy-status {
	font-size: 0.85rem;
	color: var(--color-text-muted);
	min-height: 1rem;
}

.share-event-how {
	background: var(--color-surface-alt);
	border: 1px solid var(--color-border-light);
	border-radius: 12px;
	padding: 1rem 1.2rem;
}

.share-event-how h2 {
	margin: 0 0 0.6rem;
	font-size: 1.1rem;
	color: var(--color-text-strong);
}

.share-event-how ul {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--color-text-muted);
	display: grid;
	gap: 0.4rem;
}

@media (max-width: 600px) {
	.share-event-actions {
		justify-content: stretch;
	}

	.share-event-button {
		width: 100%;
	}
}
