/* ================================
   AICA VMS - Login & Pre Check-In UI
   Premium Glassmorphism Theme
   ================================ */

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background: url('aica-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

/* Overlay Gelap */
.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(6px);
    z-index: 1;
}

/* LOGIN CARD GLASS */
.login-card {
    position: relative;
    z-index: 2;
    width: 400px;
    padding: 35px 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.30);
    text-align: center;
}

/* TITLE */
.login-title {
    margin: 0;
    margin-bottom: 20px;
    color: #7A0000;
    font-size: 28px;
    font-weight: 700;
}

/* Floating Label Form */
.form-group {
    position: relative;
    margin-top: 25px;
    text-align: left;
}

.form-group input {
    width: 100%;
    padding: 14px 14px 14px 14px;
    padding-top: 20px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background: rgba(255, 255, 255, 0.85);
    outline: none;
    transition: 0.2s ease;
}

.form-group input:focus {
    border-color: #7A0000;
    box-shadow: 0 0 6px rgba(122, 0, 0, 0.4);
}

/* Floating Label */
.float-label {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #777;
    font-size: 14px;
    transition: 0.3s ease;
    pointer-events: none;
}

input:focus + .float-label,
input:not(:placeholder-shown) + .float-label {
    top: -8px;
    left: 10px;
    font-size: 12px;
    padding: 0 5px;
    color: #7A0000;
    background: rgba(255,255,255,0.9);
    border-radius: 4px;
}

/* LOGIN BUTTON */
.btn-login {
    width: 100%;
    background: #7A0000;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 25px;
    transition: 0.2s;
    font-weight: bold;
}

.btn-login:hover {
    background: #a00000;
}

/* PRE CHECK-IN BUTTON */
.btn-pre {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 15px;
    font-size: 16px;
    background: transparent;
    color: #7A0000;
    border: 2px solid #7A0000;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
}

.btn-pre:hover {
    background: #7A0000;
    color: white;
}

/* MOBILE RESPONSIVE */
@media(max-width: 450px) {
    .login-card {
        width: 90%;
        padding: 25px;
    }
    .login-title {
        font-size: 24px;
    }
}
