.sg-guide-wrapper {
	margin: 10px 0;
}

.sg-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	letter-spacing: 0.02em;
	transition: opacity 0.15s ease, transform 0.1s ease;
}

.sg-trigger-btn:hover {
	opacity: 0.85;
}

.sg-trigger-btn:active {
	transform: scale(0.98);
}

/* --- Tabla --- */
.sg-table-scroll {
	overflow-x: auto;
	max-width: 100%;
}

.sg-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.sg-table th,
.sg-table td {
	border: 1px solid #e2e2e2;
	padding: 10px 12px;
	text-align: center;
	white-space: nowrap;
}

.sg-table thead th {
	background: #f7f7f7;
	font-weight: 700;
}

.sg-table tbody tr:nth-child(even) {
	background: #fafafa;
}

/* --- Popup / Modal --- */
.sg-panel-popup {
	display: none;
}

.sg-panel-popup.sg-open {
	display: block;
}

.sg-panel-popup .sg-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
}

.sg-panel-popup .sg-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	max-width: 600px;
	width: 92%;
	max-height: 85vh;
	overflow-y: auto;
	border-radius: 6px;
	padding: 28px 24px 24px;
	z-index: 100001;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

.sg-close-btn {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #333;
}

body.sg-modal-open {
	overflow: hidden;
}

/* --- Inline / acordeón --- */
.sg-panel-inline {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.sg-panel-inline.sg-open {
	max-height: 2000px;
}

.sg-panel-inline .sg-inline-content {
	padding-top: 14px;
}
