/**
 * Estilos para las páginas de Agradecimiento y Error de PayPhone.
 */

.payphone-thankyou-container,
.payphone-error-container {
	max-width: 780px;
	margin: 2rem auto;
	padding: 0 1rem;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #2d3748;
}

.payphone-header-success,
.payphone-header-error {
	text-align: center;
	margin-bottom: 2rem;
}

.payphone-icon-circle {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #def7ec;
	color: #0e9f6e;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	box-shadow: 0 4px 12px rgba(14, 159, 110, 0.15);
}

.payphone-icon-error {
	background: #fde8e8;
	color: #e02424;
	box-shadow: 0 4px 12px rgba(224, 36, 36, 0.15);
}

.payphone-title {
	font-size: 1.875rem;
	font-weight: 700;
	margin: 0.5rem 0;
	color: #1a202c;
}

.payphone-title-error {
	color: #9b1c1c;
}

.payphone-subtitle {
	font-size: 1.05rem;
	color: #718096;
	margin-top: 0;
}

.payphone-card {
	background: #ffffff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payphone-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #edf2f7;
	padding-bottom: 1rem;
	margin-bottom: 1.25rem;
}

.payphone-card-header h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
	color: #2d3748;
}

.payphone-header-with-icon {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #ff6400;
}

.payphone-header-with-icon h3 {
	color: #ff6400;
}

.payphone-badge-success {
	background: #def7ec;
	color: #03543f;
	padding: 0.35rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.85rem;
	font-weight: 600;
}

.payphone-grid-details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.25rem;
}

.payphone-detail-item {
	display: flex;
	flex-direction: column;
}

.payphone-label {
	font-size: 0.85rem;
	color: #718096;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.25rem;
}

.payphone-value {
	font-size: 1.05rem;
	font-weight: 600;
	color: #1a202c;
}

.payphone-value-total {
	font-size: 1.35rem;
	font-weight: 700;
	color: #0e9f6e;
}

.payphone-table-responsive {
	overflow-x: auto;
}

.payphone-items-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 0.5rem;
}

.payphone-items-table th,
.payphone-items-table td {
	padding: 0.85rem;
	border-bottom: 1px solid #edf2f7;
}

.payphone-items-table th {
	background: #f7fafc;
	font-size: 0.85rem;
	text-transform: uppercase;
	color: #4a5568;
	font-weight: 600;
}

.payphone-product-cell {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.payphone-thumb img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.payphone-product-name {
	font-weight: 600;
	color: #2d3748;
}

.payphone-item-meta {
	font-size: 0.85rem;
	color: #718096;
	margin-top: 0.2rem;
}

.payphone-customer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	font-size: 0.95rem;
}

.payphone-booking-item {
	background: #fffaf0;
	border: 1px solid #feebc8;
	padding: 1rem;
	border-radius: 8px;
	margin-bottom: 0.75rem;
}

.payphone-booking-item p {
	margin: 0.25rem 0;
}

.payphone-meta-list {
	margin: 0.5rem 0 0 1.2rem;
	padding: 0;
}

.payphone-tips-box {
	background: #f7fafc;
	border-left: 4px solid #ff6400;
	padding: 1rem 1.25rem;
	border-radius: 0 8px 8px 0;
	margin: 1.5rem 0;
	text-align: left;
}

.payphone-tips-box h4 {
	margin: 0 0 0.5rem 0;
	color: #2d3748;
}

.payphone-tips-box ul {
	margin: 0;
	padding-left: 1.2rem;
	color: #4a5568;
}

.payphone-tips-box li {
	margin-bottom: 0.35rem;
}

.payphone-actions {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
	flex-wrap: wrap;
}

.payphone-actions-center {
	justify-content: center;
}

.payphone-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.payphone-btn-primary {
	background: #ff6400;
	color: #ffffff !important;
}

.payphone-btn-primary:hover {
	background: #e65a00;
	transform: translateY(-1px);
}

.payphone-btn-danger {
	background: #e02424;
	color: #ffffff !important;
}

.payphone-btn-danger:hover {
	background: #c81e1e;
	transform: translateY(-1px);
}

.payphone-btn-secondary {
	background: #edf2f7;
	color: #4a5568 !important;
}

.payphone-btn-secondary:hover {
	background: #e2e8f0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.font-bold { font-weight: 700; }
