<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SERVIS TERGENDALA - MYKOPKB</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }
        
        .container {
            max-width: 500px;
            background: white;
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            text-align: center;
        }
        
        .logo {
            height: 80px;
            width: auto;
            margin-bottom: 32px;
        }
        
        .title {
            font-size: 2.25rem;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 8px;
        }
        
        .divider {
            width: 80px;
            height: 4px;
            background: #3b82f6;
            margin: 0 auto 24px;
            border-radius: 2px;
        }
        
        .description {
            color: #6b7280;
            line-height: 1.6;
            margin-bottom: 32px;
            font-size: 1rem;
        }
        
        .status-box {
            background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
            border: 1px solid #bfdbfe;
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 32px;
        }
        
        .status-header {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
        }
        
        .status-icon {
            width: 24px;
            height: 24px;
            color: #2563eb;
            margin-right: 8px;
        }
        
        .status-title {
            font-weight: 600;
            color: #1e40af;
        }
        
        .status-time {
            color: #1d4ed8;
            font-size: 0.875rem;
        }
        
        .status-time strong {
            font-size: 1.125rem;
            display: block;
            margin-top: 4px;
        }
        
        .contact-info {
            color: #6b7280;
            font-size: 0.875rem;
            margin-bottom: 32px;
        }
        
        .contact-info p {
            margin-bottom: 8px;
        }
        
        .contact-info strong {
            color: #374151;
        }
        
        .reload-btn {
            background: #3b82f6;
            color: white;
            font-weight: 500;
            padding: 12px 24px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            font-size: 1rem;
        }
        
        .reload-btn:hover {
            background: #2563eb;
            transform: translateY(-1px);
        }
        
        @media (max-width: 640px) {
            .container {
                padding: 24px;
            }
            
            .title {
                font-size: 1.875rem;
            }
            
            .logo {
                height: 60px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div>
            <img src="{{ asset('images/logo/koppkb-logo.png') }}" alt="MYKOPKB" class="logo">
        </div>
        
        <div>
            <h1 class="title">Sistem Dalam Penyelenggaraan</h1>
            <div class="divider"></div>
        </div>
        
        <p class="description">
            Sistem MYKOPKB sedang menjalani penyelenggaraan berjadual untuk meningkatkan prestasi dan keselamatan. 
            Kami mohon maaf atas sebarang kesulitan yang dihadapi.
        </p>
        
        <div class="status-box">
            <div class="status-header">
                <svg class="status-icon" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
                </svg>
                <span class="status-title">Status Penyelenggaraan</span>
            </div>
            <p class="status-time">
                Sistem dijangka aktif semula pada: <br>
                <strong>{{ now()->addHours(2)->format('d/m/Y \p\a\d\a H:i') }}</strong>
            </p>
        </div>
        
        <div class="contact-info">
            <p>🔧 Penambahbaikan sistem sedang dijalankan</p>
            <p>📧 Untuk kecemasan, hubungi: <strong>mykopkb@gmail.com</strong></p>
        </div>
        
        <div>
            <button onclick="window.location.reload()" class="reload-btn">
                Muat Semula Halaman
            </button>
        </div>
    </div>
</body>
</html>