/**
 * Estilos da página de documentação Geopay - Timeline
 *
 * @package WC_Geopay
 */

.geopay-doc-wrap {
	max-width: 720px;
	margin: 20px 0 40px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, sans-serif;
}

/* Header com logo */
.geopay-doc-header {
	text-align: center;
	padding: 40px 24px 48px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
	border-radius: 16px;
	margin-bottom: 40px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.geopay-doc-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
}

.geopay-doc-logo-img {
	height: 40px;
	width: auto;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.geopay-doc-title {
	margin: 0 0 8px;
	font-size: 1.75rem;
	font-weight: 700;
	color: #f8fafc;
	letter-spacing: -0.02em;
}

.geopay-doc-subtitle {
	margin: 0;
	font-size: 1rem;
	color: #94a3b8;
	font-weight: 500;
}

/* Timeline */
.geopay-doc-timeline {
	position: relative;
	padding-left: 0;
}

.geopay-doc-step {
	position: relative;
	display: flex;
	gap: 24px;
	margin-bottom: 32px;
	padding: 28px 24px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: box-shadow 0.2s, border-color 0.2s;
}

.geopay-doc-step:hover {
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.geopay-doc-step:last-child {
	margin-bottom: 0;
}

/* Remove linha conectora da timeline */
.geopay-doc-step::before {
	display: none !important;
}

/* Número do passo */
.geopay-doc-step-number {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
	z-index: 1;
}

.geopay-doc-step-success .geopay-doc-step-number {
	background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
}

/* Conteúdo do passo */
.geopay-doc-step-content {
	flex: 1;
	min-width: 0;
}

.geopay-doc-step-content h3 {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 600;
	color: #1e293b;
}

.geopay-doc-step-content p {
	margin: 0 0 16px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #64748b;
}

.geopay-doc-step-content p:last-of-type {
	margin-bottom: 16px;
}

/* Botões */
.geopay-doc-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #f1f5f9;
	color: #0f172a;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.geopay-doc-btn:hover {
	background: #e2e8f0;
	border-color: #cbd5e1;
	color: #0f172a;
}

.geopay-doc-btn-primary {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	color: #fff !important;
	border-color: transparent;
}

.geopay-doc-btn-primary:hover {
	background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
	color: #fff !important;
}

/* Imagens */
.geopay-doc-img {
	margin-top: 20px;
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	background: #0f172a;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.geopay-doc-img img {
	display: block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.geopay-doc-step-image {
	max-width: 200px;
}

/* Responsivo */
@media (max-width: 600px) {
	.geopay-doc-step {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 20px 16px;
	}

	.geopay-doc-step-number {
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
	}

	.geopay-doc-header {
		padding: 32px 20px 40px;
	}

	.geopay-doc-title {
		font-size: 1.5rem;
	}
}
