* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #c8c8d5;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.429), rgba(168, 168, 168, 0.05)),
        url('../images/bg-wh5.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: local;
}

.warehouse-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.forklift {
    position: absolute;
    bottom: 0px;
    left: -120px;
    width: 70px;
    z-index: -1;
    animation: moveForklift 20s linear infinite;
}

@keyframes moveForklift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(40vw);
    }
}

.login-container {
    position: relative;
    z-index: 2;
    width: 340px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border: 1px solid #3434642c;
    box-shadow: 0 20px 40px #ededff;
    animation: cardEnter 0.8s ease;
    transition: all 0.3s ease;
}

.login-container:hover {
    box-shadow: 0 25px 60px #42427aa8;
    transform: translateY(-3px);
}

@keyframes cardEnter {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-header {
    background: linear-gradient(135deg, #343464, #4a4a8a);
    color: #fff;
    padding: 15px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.logo {
    font-family: 'Exo 2', sans-serif;
    font-weight: bold;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: bold;
}

.btn-create {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text h1 {
    font-size: 16px;
}

.hero-text p {
    font-size: 11px;
    opacity: 0.9;
}

.lock-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 22px;
}

.login-form-section {
    padding: 18px;
    text-align: center;
    background: white;
}

.login-form-section h2 {
    color: #343464;
    font-size: 16px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.input-group {
    background: #f6f6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 10px;
    border: 1px solid #3434641f;
    position: relative;
    /* Penting untuk posisi eye icon */
}

.input-group .icon {
    margin-right: 8px;
    font-size: 16px;
    color: #343464;
    width: 20px;
}

.input-group input {
    border: none;
    background: #e9e9f5;
    border-radius: 5px;
    padding: 5px;
    outline: none;
    width: 100%;
    font-size: 12px;
    color: #2d2d2d;
    /* Diubah ke gelap agar teks input terlihat di bg terang */
    font-weight: bold;
}

.input-group input:hover,
.input-group input:focus {
    background: transparent;
    border-radius: 0px;
    border-bottom: 1px solid #2d2d57ed;
    color: #343464;
}

/* Tombol Mata */
.toggle-password {
    cursor: pointer;
    margin-left: 8px;
    color: #343464;
    font-size: 14px;
    transition: 0.2s;
}

.input-group input:focus::placeholder, .input-group input:hover::placeholder
{
    color: #343464;
}

.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 14px;
    color: #343464;
}

.form-options a {
    color: #343464;
    text-decoration: none;
}

.btn-login {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 30px;
    background: #343464d8;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(52, 52, 100, 0.5);
    transition: 0.2s;
}

.btn-login:hover {
    background: #23234a;
    transform: translateY(-1px);
}
