@media (max-width:768px) {

    /* TOP BAR (Back button ekdom upore) */
    .mobile-login-home-topbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 999;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: calc(8px + env(safe-area-inset-top)) 14px 8px 14px;
        background: rgba(0, 0, 0, .35);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .mobile-login-home-backbtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        color: #fff;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(255, 255, 255, .15);
        cursor: pointer;
        transition: transform .12s ease, box-shadow .2s ease;
    }

    .mobile-login-home-backbtn:active {
        transform: scale(.96);
    }

    .mobile-login-home-topbar-title {
        font-size: 18px;
        font-weight: 700;
        margin: 0;
    }

    /* Wrapper gets top padding to avoid overlap with fixed topbar */
    .mobile-login-home-wrapper {
        max-width: 420px;
        margin: auto;
        padding: 25px 20px 20px;
        animation: fadeSlideIn 1s ease forwards;
        margin-top: 50px;
    }

    .mobile-login-home-card {
        background: #1a2b1e;
        border-radius: 15px;
        padding: 20px;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }


    /* Neon moving border animation */
    .mobile-login-home-card::before {
        content: "";
        position: absolute;
        inset: -3px;
        background: linear-gradient(270deg, #0f9, #021a63, #f0f, #005f37, #5b00a6);
        background-size: 1000% 1000%;
        border-radius: 14px;
        z-index: -1;
        animation: neonBorder 8s linear infinite;
    }

    @keyframes neonBorder {
        0% {
            background-position: 0% 50%
        }

        50% {
            background-position: 100% 50%
        }

        100% {
            background-position: 0% 50%
        }
    }

    .mobile-login-home-logo {
        text-align: center;
        margin-bottom: 15px;
        animation: bounceLogo 2s infinite;
    }

    .mobile-login-home-logo img {
        height: 70px;
    }

    .mobile-login-home-title {
        text-align: center;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 20px;
        animation: fadeIn 1.5s ease;
    }

    .mobile-login-home-form-control {
        background: black;
        border: 1px solid #2e4131;
        color: #fff;
        transition: all .3s ease;
    }

    .mobile-login-home-form-control:focus {
        background: #142418;
        border-color: #00ff99;
        box-shadow: 0 0 12px rgba(0, 255, 140, .5);
        color: #fff;
    }

    .mobile-login-home-btn-login {
        background: linear-gradient(to right, #00c851, #00e676);
        color: #fff;
        font-weight: 700;
        border-radius: 50px;
        padding: 10px;
        border: none;
        width: 100%;
        transition: transform .2s ease, box-shadow .2s ease;
    }

    .mobile-login-home-btn-login:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 255, 130, .4);
    }

    .mobile-login-home-social {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
        animation: fadeIn 2s ease;
    }

    .mobile-login-home-social button {
        flex: 1;
        transition: transform .3s ease;
    }

    .mobile-login-home-social button:hover {
        transform: translateY(-3px);
    }

    .mobile-login-home-extra {
        text-align: center;
        margin-top: 10px;
        animation: fadeIn 2s ease;
    }

    .mobile-login-home-extra a {
        color: #00ff7f;
        text-decoration: none;
    }

    .mobile-login-home-remember {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        margin: 10px 0;
    }

    /* animations */
    @keyframes fadeSlideIn {
        from {
            opacity: 0;
            transform: translateY(50px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }

    @keyframes bounceLogo {

        0%,
        100% {
            transform: translateY(0)
        }

        50% {
            transform: translateY(-5px)
        }
    }
}

/* ===== Desktop: keep black page ===== */
@media (min-width:769px) {

    .mobile-login-home-wrapper,
    .mobile-login-home-topbar {
        display: none;
    }
}

#button-logins {
    justify-content: space-around;
}

.login-homes-page {
    height: 50px !important;
}

.lebel-rgister {
    color: white;
    padding-bottom: 5px;
}

.login-homes-page::placeholder {
    color: white !important;
    opacity: 0.5;
}