﻿.curso-container {
	background-color: #f3f4f6;
	border-radius: 1rem;
	overflow: hidden;
	margin-bottom: 2rem;
}

body.dark .curso-container {
	background-color: #404040;
}

.header-curso {
	background: linear-gradient(135deg, #ff6b6b, #ffa726);
	color: white;
	padding: 2rem;
	text-align: center;
	position: relative;
}

	.header-curso h2 {
		margin: 0 0 0.5rem 0;
		font-weight: 700;
	}

	.header-curso p {
		margin: 0;
		opacity: 0.9;
		font-size: 1.1rem;
	}

.form-container {
	padding: 2rem;
}

body.dark .form-container {
	color: #f3f4f6;
}

.step-indicator {
	display: flex;
	justify-content: center;
	margin-bottom: 2rem;
}

.step-item {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #e0e7ff;
	color: #6366f1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	margin: 0 0.5rem;
	transition: all 0.3s ease;
}

	.step-item.active {
		background-color: #6366f1;
		color: white;
		transform: scale(1.1);
	}

	.step-item.completed {
		background-color: #10b981;
		color: white;
	}

body.dark .step-item {
	background-color: #374151;
	color: #d1d5db;
}

	body.dark .step-item.active {
		background-color: #6366f1;
		color: white;
	}

.input-field input:focus + label {
	color: #6366f1 !important;
}

.input-field input:focus {
	border-bottom: 1px solid #6366f1 !important;
	box-shadow: 0 1px 0 0 #6366f1 !important;
}

.input-field input.valid {
	border-bottom: 1px solid #10b981 !important;
	box-shadow: 0 1px 0 0 #10b981 !important;
}

.input-field input.invalid {
	border-bottom: 1px solid #ef4444 !important;
	box-shadow: 0 1px 0 0 #ef4444 !important;
}

.btn-curso {
	background-color: #6366f1;
	width: 100%;
	border-radius: 8px;
	padding: 0 2rem;
	height: 3rem;
	line-height: 3rem;
}

	.btn-curso:hover {
		background-color: #4f46e5;
		box-shadow: 0 8px 17px 0 rgba(99, 102, 241, 0.3);
	}

	.btn-curso:disabled {
		background-color: #9ca3af !important;
		cursor: not-allowed;
	}

.alert-container {
	margin-bottom: 1.5rem;
}

.alert-success {
	background-color: #d1fae5;
	color: #065f46;
	border: 1px solid #10b981;
	border-radius: 8px;
	padding: 1rem;
	display: flex;
	align-items: center;
}

.alert-danger {
	background-color: #fee2e2;
	color: #991b1b;
	border: 1px solid #ef4444;
	border-radius: 8px;
	padding: 1rem;
	display: flex;
	align-items: center;
}

body.dark .alert-success {
	background-color: #064e3b;
	color: #10b981;
}

body.dark .alert-danger {
	background-color: #7f1d1d;
	color: #fca5a5;
}

.datos-usuario {
	background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
	border-radius: 8px;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	border-left: 4px solid #6366f1;
}

body.dark .datos-usuario {
	background: linear-gradient(135deg, #1e293b, #334155);
	color: #f1f5f9;
}

.datos-row {
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

	.datos-row:last-child {
		border-bottom: none;
	}

.datos-label {
	font-weight: 600;
	color: #374151;
}

.datos-value {
	color: #1f2937;
	text-align: right;
}

body.dark .datos-label {
	color: #d1d5db;
}

body.dark .datos-value {
	color: #f3f4f6;
}

.payment-options {
	margin-bottom: 1.5rem;
}

.payment-card {
	background: white;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	padding: 1rem;
	margin-bottom: 1rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

	.payment-card:hover {
		border-color: #6366f1;
		box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
	}

	.payment-card.selected {
		border-color: #6366f1;
		background: #f0f9ff;
	}

body.dark .payment-card {
	background: #374151;
	border-color: #4b5563;
	color: #f3f4f6;
}

	body.dark .payment-card.selected {
		background: #1e293b;
		border-color: #6366f1;
	}

.payment-card h6 {
	margin: 0 0 0.5rem 0;
	font-weight: 600;
}

.payment-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: #059669;
	margin: 0;
}

body.dark .payment-price {
	color: #10b981;
}

.success-container {
	text-align: center;
	padding: 2rem 0;
}

.success-icon {
	font-size: 4rem;
	color: #10b981;
	margin-bottom: 1rem;
}

.success-title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #1f2937;
	margin-bottom: 1rem;
}

body.dark .success-title {
	color: #f3f4f6;
}

.btn-download {
	background-color: #10b981;
	color: white;
	padding: 0.8rem 2rem;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.3s ease;
}

	.btn-download:hover {
		background-color: #059669;
		color: white;
		text-decoration: none;
		box-shadow: 0 8px 17px 0 rgba(16, 185, 129, 0.3);
	}

.info-evento {
	background: white;
	border-radius: 8px;
	padding: 1.5rem;
	margin-top: 2rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.dark .info-evento {
	background: #374151;
	color: #f3f4f6;
}

.hidden {
	display: none !important;
}

.show {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

#formStep2.show,
#formStep3.show {
	display: block !important;
}

.fade-in {
	animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.spinner-custom {
	border: 2px solid #f3f3f3;
	border-top: 2px solid #6366f1;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
	display: inline-block;
	margin-right: 8px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@media only screen and (max-width: 600px) {
	.form-container {
		padding: 1rem;
	}

	.header-curso {
		padding: 1.5rem 1rem;
	}

		.header-curso h2 {
			font-size: 1.5rem;
		}
}