body{
    background: radial-gradient(circle at top, #031106, #000000);
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#eaeaea;
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
}

/* LOGIN / REGISTER CARD */
.login-card{
    background: rgba(255,255,255,0.04);
    border-radius:25px;
    padding:40px;
    width:100%;
    max-width:420px;
    text-align:center;
    border:1px solid rgba(250,204,21,0.18);

    backdrop-filter: blur(15px);

    box-shadow:
        0 0 40px rgba(34,197,94,0.12),
        0 0 25px rgba(250,204,21,0.08),
        inset 0 0 20px rgba(255,255,255,0.02);

    transition:0.4s;
}

/* HOVER */
.login-card:hover{
    box-shadow:
        0 0 60px rgba(34,197,94,0.18),
        0 0 35px rgba(250,204,21,0.15),
        inset 0 0 25px rgba(255,255,255,0.05);
}

/* LOGO IMAGE */
.logo{
    width:110px;
    margin-bottom:15px;
    filter: drop-shadow(0 0 15px rgba(250,204,21,0.45));
}

/* COMPANY NAME */
.company-name{
    font-size:34px;
    font-weight:700;
    background: linear-gradient(135deg,#4ade80,#facc15);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    letter-spacing:1px;
    margin-bottom:5px;
}

/* TAGLINE */
.tagline{
    color:#bdbdbd;
    font-size:15px;
    margin-bottom:30px;
}

/* INPUT FIELDS */
.custom-input{
    background: rgba(255,255,255,0.05) !important;
    border:1px solid rgba(255,255,255,0.08) !important;
    border-radius:15px !important;
    height:52px;
    color:#fff !important;
    padding:12px 18px;
    font-size:15px;
    transition:0.3s;
    box-shadow:none !important;
}

/* PLACEHOLDER */
.custom-input::placeholder{
    color:#9ca3af;
}

/* INPUT FOCUS */
.custom-input:focus{
    border-color:#4ade80 !important;
    background: rgba(255,255,255,0.08) !important;

    box-shadow:
        0 0 0 3px rgba(34,197,94,0.15) !important;
}

/* REMOVE NUMBER ARROWS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
}

/* BUTTON */
.connect-btn{
    position: relative;
    padding:14px;
    width:100%;
    border-radius:50px;
    border:none;
    font-size:16px;
    font-weight:700;
    letter-spacing:0.5px;

    color:#111;

    background: linear-gradient(
        145deg,
        #fff6b0 0%,
        #facc15 25%,
        #22c55e 55%,
        #facc15 80%,
        #fff1a8 100%
    );

    box-shadow:
        inset 0 2px 5px rgba(255,255,255,0.6),
        inset 0 -3px 8px rgba(0,0,0,0.35),
        0 5px 15px rgba(250,204,21,0.3);

    overflow:hidden;
    transition:0.4s;
}

/* SHINE EFFECT */
.connect-btn::before{
    content:'';
    position:absolute;
    top:0;
    left:-80%;
    width:50%;
    height:100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.8),
        transparent
    );

    transform: skewX(-25deg);
}

/* HOVER */
.connect-btn:hover::before{
    left:130%;
    transition:0.8s;
}

.connect-btn:hover{
    transform: translateY(-3px) scale(1.02);

    box-shadow:
        inset 0 2px 6px rgba(255,255,255,0.8),
        inset 0 -4px 10px rgba(0,0,0,0.4),
        0 8px 25px rgba(34,197,94,0.4);
}

/* REGISTER / LOGIN TEXT */
.register-text{
    color:#bdbdbd;
    font-size:14px;
}

/* REGISTER BUTTON */
.register-btn{
    display:inline-block;
    color:#4ade80;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}

.register-btn:hover{
    color:#facc15;
}

/* REF TEXT */
.ref-text{
    color:#facc15;
    margin-top:10px;
    font-size:13px;
}

/* ALERT */
.alert-box{
    margin-top:15px;
}

/* MOBILE */
@media(max-width:576px){

    body{
        padding:15px;
    }

    .login-card{
        padding:30px 22px;
        border-radius:22px;
    }

    .company-name{
        font-size:28px;
    }

    .tagline{
        font-size:14px;
    }

    .custom-input{
        height:48px;
        font-size:14px;
    }

    .connect-btn{
        font-size:15px;
        padding:13px;
    }

}

.password-toggle{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    cursor:pointer;
    color:#bdbdbd;
    z-index:10;
    font-size:18px;
}

.password-toggle:hover{
    color:#facc15;
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup Box */
.popup {
    width: 400px;
    background: linear-gradient(145deg, #000000, #1a1a1a);
    border: 2px solid gold;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
    animation: popupFade 0.5s ease;
}

/* Popup Header */
.popup-header {
    background: linear-gradient(45deg, #ffffff, #ffffff, #ffffff);
    padding: 10px;
    text-align: center;
    position: relative;
}

.company-logo {
    height: 40px;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 5px;
    background: black;
    color: gold;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Popup Content */
.popup-content {
    padding: 20px;
    text-align: center;
    color: white;
}

.congratulations {
    color: gold;
    margin-bottom: 15px;
}

.message {
    color: #ccc;
    line-height: 1.6;
}

/* Login Button */
.login-btn {
    background: linear-gradient(45deg, #4ec50b, #326b1b, #da2828);
    border: none;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
}

/* Animation */
@keyframes popupFade {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
