<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>WIMAS | Secure Operations Portal</title>

    <!-- 100% Offline Local Assets -->
    <link rel="stylesheet" href="assets/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="assets/dist/css/adminlte.min.css">
    
   <style>
    body {
        margin: 0;
        padding: 0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8)), 
                    url('assets/img/sketch-bg.jpg') no-repeat center center fixed;
        background-size: cover;
    }

    .login-card {
        background: rgba(255, 255, 255, 0.95);
        border-radius: 20px;
        padding: 30px 40px 40px 40px;
        width: 100%;
        max-width: 450px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.5);
        
        /* Crucial: Creates a positioning context for the absolute logo */
        position: relative; 
        margin-top: 60px; /* Makes room for the overlapping logo */
    }

    .logo-wrapper {
        width: 110px;
        height: 110px;
        background: white;
        border-radius: 50%;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        padding: 15px;
        
        /* Crucial: Pulls the logo out of the document flow so it doesn't break centering */
        position: absolute;
        top: -55px; 
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-wrapper img {
        max-width: 100%;
        height: auto;
    }

    .login-card h2 {
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 5px;
        font-size: 2.2rem;
        margin-top: 45px; /* Pushes text down below the overlapping logo */
    }

    .login-card p.subtitle {
        color: #8c98a4;
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .input-group {
        margin-bottom: 20px;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
        background: white;
        overflow: hidden;
        transition: 0.3s;
    }

    .input-group:focus-within {
        border-color: #ff7b00;
        box-shadow: 0 0 0 0.2rem rgba(255, 123, 0, 0.15);
    }

    .input-group-text {
        background: transparent;
        border: none;
        color: #6c757d;
        padding-left: 15px;
    }

    .form-control {
        border: none;
        height: 50px;
        padding-left: 10px;
        font-size: 1rem;
    }

    .form-control:focus { box-shadow: none; }

    .forgot-pass {
        display: block;
        text-align: right;
        color: #ff7b00;
        font-weight: 600;
        font-size: 0.9rem;
        margin-bottom: 25px;
        text-decoration: none;
    }

    .forgot-pass:hover { color: #cc6200; text-decoration: none; }

    .btn-orange {
        background-color: #ff7b00;
        color: white;
        font-weight: bold;
        font-size: 1.1rem;
        padding: 12px;
        border-radius: 12px;
        border: none;
        width: 100%;
        transition: all 0.3s;
        box-shadow: 0 4px 10px rgba(255, 123, 0, 0.3);
    }

    .btn-orange:hover {
        background-color: #e66e00;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(255, 123, 0, 0.4);
    }
    
    .lang-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        background: white;
        padding: 8px 15px;
        border-radius: 20px;
        font-weight: bold;
        color: #1a1a1a;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    .lang-toggle span { color: #ff7b00; margin-left: 5px; }
</style>
</head>
<body>