<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SayOne HRIS - Error</title>
    <link rel="icon" href="/favicon.png" type="image/png">
    <link rel="stylesheet" href="/css/style-9ee81bc9cd64bfc91d82ed1366b30643.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="/css/dark-mode-a7db22a2682a6931bdd837e4eefbf1ec.css">
    <link rel="stylesheet" href="/css/theme-system-e0a45c117fcb35d899614a3c775c0abd.css">
    <script src="/js/dark-mode-34030a74dc546d16bf45adedb6d50411.js"></script>
    <script>(function(){try{var t=localStorage.getItem('hris-color-theme');if(t)document.documentElement.setAttribute('data-theme',t);}catch(e){}})();</script>
    <style>
        .error-page { display:flex; align-items:center; justify-content:center; min-height:100vh; padding:2rem; background:var(--gray-50); }
        .error-card { text-align:center; max-width:480px; padding:3rem 2.5rem; background:var(--white); border-radius:var(--radius-xl); box-shadow:var(--shadow-lg); }
        .error-icon { width:5rem; height:5rem; margin:0 auto 1.5rem; background:linear-gradient(135deg,#fef3c7,#fde68a); border-radius:50%; display:flex; align-items:center; justify-content:center; }
        .error-icon svg { width:2.5rem; height:2.5rem; color:#92400e; }
        .error-card h2 { font-size:1.5rem; font-weight:800; color:var(--gray-900); margin-bottom:0.5rem; }
        .error-card .status { font-size:3rem; font-weight:800; color:var(--primary); line-height:1; margin-bottom:0.5rem; }
        .error-card p { font-size:0.9375rem; color:var(--gray-500); margin-bottom:1.5rem; line-height:1.6; }
        .btn-back { display:inline-flex; align-items:center; gap:0.5rem; padding:0.75rem 1.5rem; background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:var(--white); border:none; border-radius:var(--radius); font-size:0.875rem; font-weight:600; cursor:pointer; text-decoration:none; transition:all 0.2s; }
        .btn-back:hover { transform:translateY(-1px); box-shadow:var(--shadow-primary); }
    </style>
</head>
<body>
<div class="error-page">
    <div class="error-card">
        <div class="error-icon">
            <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"/><line x1="12" y1="9" x2="12" y2="13"/><line x1="12" y1="17" x2="12.01" y2="17"/></svg>
        </div>
        <div class="status">500</div>
        <h2>Oops! Something went wrong</h2>
        <p>An unexpected error occurred. Please try again or contact your administrator.</p>
        <a href="/login" class="btn-back">
            <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"/><polyline points="9 22 9 12 15 12 15 22"/></svg>
            <span>Back to Login</span>
        </a>
    </div>
</div>
</body>
</html>
