File: /var/www/middleware-citas/resources/views/error-procesar-pago.blade.php
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Error al procesar su pago</title>
<link rel="shortcut icon" href="{{ asset(URL_LOGO_FAVICON) }}">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
min-height: 100vh;
background: linear-gradient(135deg, #1a0a0a, #2d1117, #3b1a23);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
align-items: center;
padding: 2rem 1rem;
}
.card {
background: #fff;
border-radius: 16px;
max-width: 500px;
width: 100%;
padding: 2.5rem 2rem;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
animation: slideUp 0.6s ease-out;
}
.icon-circle {
width: 72px;
height: 72px;
border-radius: 50%;
background: #f59e0b;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.2rem;
animation: popIn 0.5s ease-out 0.3s both;
}
.icon-circle svg {
width: 36px;
height: 36px;
stroke: #fff;
stroke-width: 3;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
}
h1 {
text-align: center;
color: #b45309;
font-size: 1.5rem;
margin-bottom: 0.3rem;
}
.subtitle {
text-align: center;
color: #6b7280;
font-size: 0.9rem;
margin-bottom: 2rem;
}
.error-box {
background: #fffbeb;
border: 1px solid #fde68a;
border-radius: 10px;
padding: 1.2rem 1.5rem;
margin-bottom: 1.5rem;
}
.error-box .error-label {
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #92400e;
margin-bottom: 0.5rem;
}
.error-box ul {
list-style: none;
padding: 0;
}
.error-box ul li {
font-size: 0.88rem;
color: #78350f;
line-height: 1.8;
padding-left: 1rem;
position: relative;
}
.error-box ul li::before {
content: "\2022";
color: #f59e0b;
font-weight: bold;
position: absolute;
left: 0;
}
.actions {
display: flex;
gap: 0.8rem;
margin-top: 2rem;
}
.btn {
flex: 1;
display: inline-block;
padding: 0.75rem 1.2rem;
border-radius: 10px;
font-size: 0.9rem;
font-weight: 600;
text-align: center;
text-decoration: none;
cursor: pointer;
border: none;
transition: transform 0.15s, box-shadow 0.15s;
}
.btn:hover {
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-primary {
background: #003A8F;
color: #fff;
}
.footer {
text-align: center;
margin-top: 1.5rem;
font-size: 0.8rem;
color: #9ca3af;
}
@keyframes slideUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
from { opacity: 0; transform: scale(0.5); }
to { opacity: 1; transform: scale(1); }
}
</style>
</head>
<body>
<div class="card">
<div class="icon-circle">
<svg viewBox="0 0 24 24">
<circle cx="12" cy="12" r="10"/>
<line x1="12" y1="8" x2="12" y2="12"/>
<line x1="12" y1="16" x2="12.01" y2="16"/>
</svg>
</div>
<h1>Error al procesar su pago</h1>
<p class="subtitle">Los datos enviados no pudieron ser validados correctamente.</p>
@if(!empty($errors))
<div class="error-box">
<div class="error-label">Detalle</div>
<ul>
@foreach($errors as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<div class="actions">
@if(!empty($postulacionId))
<a href="{{ rtrim($odooSiteUrl, '/') . '/postulacion/' . $postulacionId . '/postulacion' }}" class="btn btn-primary">Volver a postulacion</a>
@else
<a href="{{ $odooSiteUrl }}" class="btn btn-primary">Volver al sitio</a>
@endif
</div>
<p class="footer">Si el problema persiste, contacte a soporte.</p>
</div>
</body>
</html>