/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body background */
body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f0000; /* dark background */
    
    background-size: 100px 100px; /* subtle Tetris block pattern */
}

/* Container for the login form */
.jk {
    background: linear-gradient(145deg, #6e6c6c, #4a4848); /* gradient panel */
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7), 0 0 15px #ffcc00; /* neon glow */
    text-align: center;
    min-width: 320px;
}

/* Page heading */
h1 {
    color: #fff;
    margin-bottom: 30px;
    font-size: 2.2rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

/* Form labels */
label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffcc00;
    text-align: left;
}

/* Inputs */
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid #ccc;
    border-radius: 10px;
    background-color: #1a1a1a;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 10px #ffcc00;
}

/* Submit button */
button {
    width: 45%;
    padding: 12px;
    background-color: #ffcc00;
    color: #111;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

button:hover {
    background-color: #ffaa00;
    transform: scale(1.05);
}

/* Flash messages */
ul {
    list-style: none;
    margin-bottom: 20px;
}

li {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-weight: bold;
}

li.success {
    background-color: #00cc66;
    color: #fff;
}

li.error {
    background-color: #ff4444;
    color: #fff;
}
