/* 1. Background Pattern & Center Alignment */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    /* Guna background-repeat: repeat dan saiz auto supaya tak zoom */
    background-image: url('backgroundMPT.jpg') !important;    
    background-repeat: no-repeat !important; 
    background-size: cover !important; 
    background-position: center !important;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 2. Layer Luar (Double Box Effect) */
.login-container {
    background: rgba(255, 255, 255, 0.15); 
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3. Kotak Utama (Transparent & Blur) */
.login-box {
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 40px; 
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 4. Header Section */
.logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.header-mpt b {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.header-mpt p {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
}

.login-title {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

/* 5. Input Fields */
.input-row {
    text-align: left;
    margin-bottom: 12px;
}

.input-row label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #555;
}

.input-row input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    background-color: rgba(249, 249, 249, 0.8);
}

/* 6. Buttons & Links */
.button-group {
    margin-top: 15px;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #d81b60; 
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

input[type="submit"]:hover {
    background-color: #ad1457;
}

.footer-links {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Bahagian yang dibetulkan: Paksa tebal guna !important */
input[type="reset"], .btn-kembali, .btn-daftar {
    background: none !important;
    border: none !important;
    color: #007BFF !important;
    font-size: 12px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    padding: 0 8px !important;
    font-weight: bold !important; /* WAJIB TEBAL */
    display: inline-block;
}

.btn-daftar:hover, .btn-kembali:hover {
    text-decoration: underline !important;
}

/* 7. Footer */
.nota {
    font-size: 10px;
    color: #888;
    margin-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 10px;
}

.copyright {
    font-size: 9px;
    color: #bbb;
    margin-top: 8px;
}