@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

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

body{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=1974&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    overflow:hidden;
}

.login-container{
    width:420px;
    padding:45px;
    border-radius:25px;
    background:rgba(255,255,255,0.08);
    border:1px solid rgba(255,255,255,0.2);
    backdrop-filter:blur(18px);
    box-shadow:
    0 8px 32px rgba(0,0,0,0.37);
    position:relative;
    overflow:hidden;
}

.login-container::before{
    content:'';
    position:absolute;
    width:200px;
    height:200px;
    background:#8b5cf6;
    border-radius:50%;
    top:-80px;
    right:-80px;
    filter:blur(60px);
}

.login-container::after{
    content:'';
    position:absolute;
    width:180px;
    height:180px;
    background:#06b6d4;
    border-radius:50%;
    bottom:-80px;
    left:-80px;
    filter:blur(60px);
}

.login-container h1{
    text-align:center;
    color:white;
    margin-bottom:35px;
    font-size:42px;
    font-weight:600;
    position:relative;
    z-index:1;
}

.input-group{
    margin-bottom:25px;
    position:relative;
    z-index:1;
}

.input-group input{
    width:100%;
    padding:16px 20px;
    border:none;
    outline:none;
    border-radius:15px;
    background:rgba(255,255,255,0.12);
    color:white;
    font-size:16px;
    border:1px solid rgba(255,255,255,0.2);
    transition:0.3s;
}

.input-group input:focus{
    background:rgba(255,255,255,0.18);
    border:1px solid #8b5cf6;
    box-shadow:0 0 15px rgba(139,92,246,0.5);
}

.input-group input::placeholder{
    color:rgba(255,255,255,0.7);
}

.btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:15px;
    background:linear-gradient(135deg,#8b5cf6,#06b6d4);
    color:white;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
    position:relative;
    z-index:1;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(139,92,246,0.5);
}

.error{
    background:rgba(255,0,0,0.15);
    border:1px solid rgba(255,0,0,0.4);
    color:white;
    padding:12px;
    border-radius:12px;
    margin-bottom:20px;
    text-align:center;
    position:relative;
    z-index:1;
}

.dashboard{
    width:500px;
    padding:50px;
    border-radius:25px;
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,0.2);
    text-align:center;
    color:white;
    box-shadow:0 8px 32px rgba(0,0,0,0.37);
}

.dashboard h1{
    margin-bottom:20px;
    font-size:38px;
}

.dashboard p{
    margin-bottom:30px;
    font-size:18px;
    color:#ddd;
}