/* ═══════════════════════════════════════════════════
   Grupos de Conexão — Frontend Styles
   Modern, clean, app-like design
   ═══════════════════════════════════════════════════ */

:root {
	--gdc-primary: #6366f1;
	--gdc-primary-hover: #4f46e5;
	--gdc-disp: #22c55e;
	--gdc-ocup: #ef4444;
	--gdc-sel: #3b82f6;
	--gdc-radius: 16px;
	--gdc-radius-sm: 10px;
	--gdc-shadow: 0 4px 20px rgba(0,0,0,0.06);
	--gdc-shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
	--gdc-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ─── Lista de cards ─── */
.gdc-lista {
	display: grid;
	grid-template-columns: repeat(var(--gdc-cols, 3), 1fr);
	gap: 24px;
	font-family: var(--gdc-font);
}

@media (max-width: 1024px) {
	.gdc-lista { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.gdc-lista { grid-template-columns: 1fr; gap: 16px; }
}

.gdc-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 64px 24px;
	color: #64748b;
}
.gdc-empty-icon { font-size: 48px; margin-bottom: 12px; }

/* ─── Card ─── */
.gdc-card {
	background: #fff;
	border-radius: var(--gdc-radius);
	overflow: hidden;
	box-shadow: var(--gdc-shadow);
	border: 1px solid #f1f5f9;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}
.gdc-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--gdc-shadow-lg);
}
.gdc-card--esgotado { opacity: 0.75; }

.gdc-card-foto {
	height: 180px;
	background-size: cover;
	background-position: center;
	background-color: #f1f5f9;
	position: relative;
}
.gdc-card-foto--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
}

.gdc-card-body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.gdc-card-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.3;
}

.gdc-card-meta {
	margin: 0 0 6px;
	font-size: 14px;
	color: #64748b;
	display: flex;
	align-items: flex-start;
	gap: 6px;
	line-height: 1.4;
}
.gdc-card-meta .gdc-icon { flex-shrink: 0; }
.gdc-card-meta strong { color: #334155; }

.gdc-card-vagas {
	margin: 12px 0 16px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.gdc-vagas-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
}
.gdc-vagas--ok .gdc-vagas-badge { background: #dcfce7; color: #166534; }
.gdc-vagas--poucas .gdc-vagas-badge { background: #fef9c3; color: #854d0e; }
.gdc-vagas--esgotado .gdc-vagas-badge { background: #fee2e2; color: #991b1b; }
.gdc-vagas-detail { font-size: 12px; color: #94a3b8; }

.gdc-card-actions {
	margin-top: auto;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* ─── Buttons ─── */
.gdc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 20px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--gdc-font);
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
	line-height: 1.2;
	min-height: 44px; /* touch-friendly */
}
.gdc-btn--primary {
	background: var(--gdc-primary);
	color: #fff;
	flex: 1;
}
.gdc-btn--primary:hover {
	background: var(--gdc-primary-hover);
	color: #fff;
	transform: scale(1.02);
}
.gdc-btn--outline {
	background: transparent;
	color: var(--gdc-primary);
	border: 1.5px solid #e2e8f0;
}
.gdc-btn--outline:hover {
	border-color: var(--gdc-primary);
	background: #f5f3ff;
}
.gdc-btn--disabled {
	background: #e2e8f0;
	color: #94a3b8;
	cursor: not-allowed;
	flex: 1;
}
.gdc-btn--block { width: 100%; }
.gdc-btn--sm { padding: 8px 14px; font-size: 13px; min-height: 36px; }

/* ─── Detalhe do grupo ─── */
.gdc-grupo-detalhe {
	font-family: var(--gdc-font);
	max-width: 800px;
	margin: 0 auto;
}
.gdc-detalhe-header {
	display: flex;
	gap: 24px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.gdc-detalhe-foto {
	width: 240px;
	height: 180px;
	border-radius: var(--gdc-radius);
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
}
@media (max-width: 640px) {
	.gdc-detalhe-foto { width: 100%; height: 200px; }
}
.gdc-detalhe-title {
	margin: 0 0 12px;
	font-size: 24px;
	font-weight: 700;
	color: #1e293b;
}
.gdc-detalhe-meta {
	margin: 0 0 8px;
	font-size: 15px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 6px;
}
.gdc-detalhe-desc {
	margin-bottom: 32px;
	color: #475569;
	line-height: 1.6;
}

/* ─── Assentos ─── */
.gdc-assentos-wrap {
	background: #fff;
	border-radius: var(--gdc-radius);
	padding: 24px;
	box-shadow: var(--gdc-shadow);
	border: 1px solid #f1f5f9;
}
.gdc-assentos-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}
.gdc-assentos-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
}
.gdc-assentos-stats {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: #64748b;
}

.gdc-esgotado-msg {
	background: #fef2f2;
	color: #991b1b;
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 16px;
	font-weight: 600;
	text-align: center;
}

.gdc-assentos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.gdc-assento {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 12px 8px;
	border-radius: 12px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: var(--gdc-font);
	background: #f0fdf4;
	min-height: 64px;
	-webkit-tap-highlight-color: transparent;
}
.gdc-assento-icon { font-size: 22px; line-height: 1; }
.gdc-assento-num {
	font-size: 12px;
	font-weight: 700;
	color: #166534;
}

.gdc-assento--disponivel:hover {
	transform: scale(1.08);
	box-shadow: 0 4px 12px rgba(34,197,94,0.3);
	border-color: var(--gdc-disp);
}
.gdc-assento--ocupado {
	background: #fef2f2;
	cursor: not-allowed;
	opacity: 0.7;
}
.gdc-assento--ocupado .gdc-assento-num { color: #991b1b; }
.gdc-assento--selecionado {
	background: #eff6ff;
	border-color: var(--gdc-sel);
	transform: scale(1.08);
	box-shadow: 0 4px 12px rgba(59,130,246,0.35);
	animation: gdc-pulse 0.4s ease;
}
.gdc-assento--selecionado .gdc-assento-num { color: #1d4ed8; }

@keyframes gdc-pulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.15); }
	100% { transform: scale(1.08); }
}

.gdc-assentos-legenda {
	display: flex;
	gap: 20px;
	justify-content: center;
	font-size: 13px;
	color: #64748b;
	flex-wrap: wrap;
}
.gdc-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 4px;
	vertical-align: middle;
}
.gdc-dot--disp { background: var(--gdc-disp); }
.gdc-dot--ocup { background: var(--gdc-ocup); }
.gdc-dot--sel { background: var(--gdc-sel); }

/* ─── Modal ─── */
.gdc-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}
.gdc-modal.is-open {
	opacity: 1;
	visibility: visible;
}
.gdc-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15,23,42,0.5);
	backdrop-filter: blur(4px);
}
.gdc-modal-content {
	position: relative;
	background: #fff;
	border-radius: 20px;
	padding: 28px 24px;
	width: 100%;
	max-width: 420px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: var(--gdc-shadow-lg);
	transform: translateY(20px) scale(0.96);
	transition: transform 0.25s ease;
}
.gdc-modal.is-open .gdc-modal-content {
	transform: translateY(0) scale(1);
}
.gdc-modal-close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 28px;
	color: #94a3b8;
	cursor: pointer;
	line-height: 1;
	padding: 4px;
}
.gdc-modal-close:hover { color: #1e293b; }

.gdc-modal-step h3 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 700;
	color: #1e293b;
}
.gdc-modal-assento-info {
	margin: 0 0 20px;
	font-size: 14px;
	color: #64748b;
}

.gdc-field {
	margin-bottom: 16px;
}
.gdc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
}
.gdc-field input {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	font-size: 15px;
	font-family: var(--gdc-font);
	transition: border-color 0.15s, box-shadow 0.15s;
	box-sizing: border-box;
}
.gdc-field input:focus {
	outline: none;
	border-color: var(--gdc-primary);
	box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.gdc-form-error {
	background: #fef2f2;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 12px;
}

/* Resumo */
.gdc-resumo {
	background: #f8fafc;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 20px;
	font-size: 14px;
}
.gdc-resumo-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid #f1f5f9;
}
.gdc-resumo-row:last-child { border-bottom: none; }
.gdc-resumo-label { color: #64748b; }
.gdc-resumo-value { font-weight: 600; color: #1e293b; text-align: right; }

/* Sucesso */
.gdc-sucesso {
	text-align: center;
	padding: 16px 0;
}
.gdc-sucesso-icon {
	font-size: 48px;
	margin-bottom: 12px;
	animation: gdc-bounce 0.6s ease;
}
@keyframes gdc-bounce {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.2); }
}
.gdc-sucesso h3 {
	margin: 0 0 8px;
	color: #166534;
}
.gdc-sucesso p {
	color: #64748b;
	font-size: 14px;
	margin: 0 0 24px;
	line-height: 1.5;
}

/* Loading */
.gdc-modal-loading {
	text-align: center;
	padding: 40px 0;
}
.gdc-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid #e2e8f0;
	border-top-color: var(--gdc-primary);
	border-radius: 50%;
	animation: gdc-spin 0.7s linear infinite;
	margin: 0 auto 12px;
}
@keyframes gdc-spin {
	to { transform: rotate(360deg); }
}

/* Mobile refinements */
@media (max-width: 480px) {
	.gdc-assentos-grid {
		grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
		gap: 8px;
	}
	.gdc-assento {
		min-height: 56px;
		padding: 8px 4px;
	}
	.gdc-card-actions {
		flex-direction: column;
	}
	.gdc-btn { width: 100%; }
}

/* WhatsApp button */
.gdc-btn--whatsapp {
	background: #25d366;
	color: #fff;
	margin-top: 4px;
}
.gdc-btn--whatsapp:hover {
	background: #1ebe57;
	color: #fff;
	transform: scale(1.02);
}
.gdc-btn--whatsapp::before {
	content: '';
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center/contain no-repeat;
	vertical-align: middle;
}

/* ─── Mapa ─── */
.gdc-mapa-wrap {
	font-family: var(--gdc-font);
	margin: 24px 0;
}
.gdc-mapa-header {
	margin-bottom: 16px;
}
.gdc-mapa-header h3 {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 700;
	color: #1e293b;
}
.gdc-mapa-header p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
}
.gdc-mapa {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--gdc-shadow);
	border: 1px solid #e2e8f0;
	background: #f1f5f9;
	z-index: 1;
}
.gdc-mapa-empty,
.gdc-mapa-hint {
	text-align: center;
	padding: 24px;
	color: #64748b;
	font-size: 14px;
}
.gdc-marker-wrap {
	background: transparent !important;
	border: none !important;
}
.gdc-marker {
	position: relative;
	width: 28px;
	height: 36px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.gdc-marker img,
.gdc-marker-fallback {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.3);
	background: #6366f1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	z-index: 2;
}
.gdc-marker-pin {
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 9px solid #6366f1;
	margin-top: -3px;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.gdc-map-popup {
	font-family: var(--gdc-font);
	font-size: 13px;
	min-width: 180px;
}
.gdc-map-popup strong {
	display: block;
	font-size: 14px;
	margin-bottom: 6px;
	color: #1e293b;
}
.gdc-map-popup p {
	margin: 4px 0;
	color: #64748b;
}
.gdc-map-popup a {
	color: #6366f1;
	font-weight: 600;
	text-decoration: none;
}


/* Force WhatsApp button visibility on success */
#gdc-step-sucesso #gdc-btn-whatsapp,
.gdc-sucesso #gdc-btn-whatsapp {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-top: 12px;
}
#gdc-btn-cancelar-reserva {
	margin-top: 10px;
}

.gdc-btn--whatsapp-alt {
	background: #128c7e;
}
.gdc-btn--whatsapp-alt:hover {
	background: #0e7a6e;
	color: #fff;
}
#gdc-step-sucesso #gdc-btn-wa-anfitriao,
#gdc-step-sucesso #gdc-btn-wa-inscrito,
.gdc-sucesso #gdc-btn-wa-anfitriao,
.gdc-sucesso #gdc-btn-wa-inscrito {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.gdc-dynamic-wrap {
	grid-column: 1 / -1;
	margin: 8px 0 24px;
}
.gdc-lista + .gdc-dynamic-wrap,
.gdc-card + .gdc-dynamic-wrap {
	width: 100%;
}
.gdc-assentos-wrap--destaque {
	border: 2px solid #6366f1;
	animation: gdc-slide-in 0.15s ease-out;
}
@keyframes gdc-slide-in {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: translateY(0); }
}
.gdc-assentos-grupo-nome {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: #6366f1;
}
.gdc-card-actions .gdc-btn--primary {
	width: 100%;
}

/* ═══ Famílias de grupos (avatars + botão + dropdown) ═══ */
.gdc-familias {
	display: flex;
	flex-direction: column;
	gap: 40px;
	font-family: var(--gdc-font);
	max-width: 720px;
	margin: 0 auto;
	padding: 8px 0 32px;
}

.gdc-familia {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.gdc-familia-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
}

/* Stack de fotos circulares sobrepostas */
.gdc-familia-avatars {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
}

.gdc-familia-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 6px 18px rgba(0,0,0,0.2);
	margin-left: -18px;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	flex-shrink: 0;
	position: relative;
	will-change: transform;
	animation: gdc-float 3.6s ease-in-out infinite;
	transition: box-shadow 0.2s ease, z-index 0s;
}
.gdc-familia-avatar:first-child {
	margin-left: 0;
}
.gdc-familia-avatar:nth-child(1) { animation-delay: 0s; animation-duration: 3.4s; }
.gdc-familia-avatar:nth-child(2) { animation-delay: 0.35s; animation-duration: 3.8s; }
.gdc-familia-avatar:nth-child(3) { animation-delay: 0.7s; animation-duration: 3.5s; }
.gdc-familia-avatar:nth-child(4) { animation-delay: 1.05s; animation-duration: 4s; }
.gdc-familia-avatar:nth-child(5) { animation-delay: 0.5s; animation-duration: 3.7s; }
.gdc-familia-avatar:nth-child(6) { animation-delay: 0.9s; animation-duration: 3.9s; }
.gdc-familia-avatar:nth-child(7) { animation-delay: 0.2s; animation-duration: 3.6s; }
.gdc-familia-avatar:nth-child(8) { animation-delay: 1.2s; animation-duration: 4.1s; }
.gdc-familia-avatar:hover {
	animation-play-state: paused;
	transform: translateY(-10px) scale(1.08);
	box-shadow: 0 12px 28px rgba(0,0,0,0.28);
	z-index: 20 !important;
}
@keyframes gdc-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	25% { transform: translateY(-8px) rotate(1deg); }
	50% { transform: translateY(-14px) rotate(0deg); }
	75% { transform: translateY(-6px) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) {
	.gdc-familia-avatar { animation: none !important; }
}
.gdc-familia-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gdc-familia-avatar-fallback,
.gdc-familia-avatar--more span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: 700;
	font-size: 22px;
	text-transform: uppercase;
}
.gdc-familia-avatar--more {
	background: #334155;
}
.gdc-familia-avatar--more span {
	font-size: 14px;
}

/* Botão pílula com nome do grupo */
.gdc-familia-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 220px;
	max-width: 100%;
	padding: 16px 40px;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(185, 28, 28, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
	font-family: var(--gdc-font);
	line-height: 1.2;
}
.gdc-familia-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(185, 28, 28, 0.45);
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.gdc-familia-btn[aria-expanded="true"] {
	background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}
.gdc-familia-btn-chevron {
	font-size: 10px;
	opacity: 0.85;
	transition: transform 0.25s ease;
}
.gdc-familia-btn[aria-expanded="true"] .gdc-familia-btn-chevron {
	transform: rotate(180deg);
}

/* Painel suspenso com cards */
.gdc-familia-panel {
	width: 100%;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
	margin-top: 0;
}
.gdc-familia-panel.is-open {
	max-height: 3000px;
	opacity: 1;
	margin-top: 8px;
}
.gdc-familia-panel[hidden] {
	display: block !important; /* control via max-height */
	max-height: 0;
	opacity: 0;
	pointer-events: none;
}
.gdc-familia-panel.is-open[hidden] {
	pointer-events: auto;
}

.gdc-familia-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	padding: 8px 4px 4px;
}

/* Card moderno do anfitrião */
.gdc-host-card {
	background: #fff;
	border-radius: 20px;
	padding: 20px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.07);
	border: 1px solid #f1f5f9;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gdc-host-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.gdc-host-card--esgotado {
	opacity: 0.72;
}
.gdc-host-card-top {
	display: flex;
	align-items: center;
	gap: 14px;
}
.gdc-host-card-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: linear-gradient(135deg, #6366f1, #a855f7);
	box-shadow: 0 2px 10px rgba(99,102,241,0.35);
}
.gdc-host-card-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gdc-host-card-avatar span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #fff;
	font-weight: 700;
	font-size: 20px;
	text-transform: uppercase;
}
.gdc-host-card-title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	line-height: 1.25;
}
.gdc-host-card-name {
	margin: 0;
	font-size: 13px;
	color: #64748b;
}
.gdc-host-card-meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: #475569;
}
.gdc-host-card-addr {
	line-height: 1.35;
}
.gdc-host-card .gdc-card-actions .gdc-btn {
	width: 100%;
}

@media (max-width: 640px) {
	.gdc-familia-avatar {
		width: 56px;
		height: 56px;
		margin-left: -14px;
		border-width: 2px;
	}
	.gdc-familia-btn {
		padding: 14px 28px;
		font-size: 14px;
		min-width: 180px;
	}
	.gdc-familia-cards {
		grid-template-columns: 1fr;
	}
}

/* Grupo inativo */
.gdc-host-card--inativo {
	opacity: 0.72;
	filter: grayscale(0.35);
	pointer-events: none;
	position: relative;
	border-color: #e2e8f0;
	background: #f8fafc;
}
.gdc-host-card--inativo .gdc-btn {
	pointer-events: none;
}
.gdc-host-status-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	border: 1px dashed #cbd5e1;
}
.gdc-vagas--inativo .gdc-vagas-badge {
	color: #64748b;
}
.gdc-assentos-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}
.gdc-fechar-x {
	border: none;
	background: #f1f5f9;
	color: #475569;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s, color 0.15s;
}
.gdc-fechar-x:hover {
	background: #fee2e2;
	color: #b91c1c;
}
