﻿/* =========================
   BACKGROUND IMAGE
========================= */
body {
    height: 100vh;
    margin: 0;
    background: url('/images/login-bg.webp') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Segoe UI', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

    /* soft light glow background */
    body::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(10,125,94,0.4), transparent 60%);
        top: 10%;
        left: 10%;
        filter: blur(60px);
    }




/* dark overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
}


/* =========================
   GLASS LOGIN CARD
========================= */
.login-box {
    position: relative;
    z-index: 2;
    width: 380px;
    /* 🔥 glass effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
    text-align: center;
    animation: fadeIn 0.4s ease-in-out;
}
/* =========================
   LOGO
========================= */
.logo-area {
    margin-bottom: 20px;
}

.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
}

.logo-area h2 {
    font-size: 22px;
    color: #0a7d5e;
    margin: 0;
}

.logo-area p {
    font-size: 12px;
    color: #666;
}

/* =========================
   INPUT
========================= */
.form-group {
    text-align: left;
    margin-bottom: 15px;
}

    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
        display: block;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 10px;
        outline: none;
    }

/* =========================
   PASSWORD TOGGLE
========================= */
.input-wrapper {
    position: relative;
}

    .input-wrapper input {
        width: 100%;
        padding-right: 40px;
    }

.toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

/* =========================
   BUTTON
========================= */
.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0a7d5e, #0f5132);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

    .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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