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

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

body{
    min-height:100vh;
    background:url("../assets/images/gym.jpg") center center/cover no-repeat;
}

.overlay{
    width:100%;
    min-height:100vh;
    background:rgba(0,0,0,.75);
    display:flex;
    justify-content:center;
    align-items:center;
}

.container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.overlay{
    padding:20px;
}

.register-card{
    width:100%;
    max-width:420px;
    box-sizing:border-box;
    background:rgba(15,23,42,.85);
    backdrop-filter:blur(10px);
    padding:45px;
    border-radius:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.6);
    border:1px solid rgba(255,255,255,.08);
}

.logo{
    text-align:center;
    margin-bottom:35px;
}

.logo i{
    font-size:60px;
    color:#facc15;
}

.logo h1{
    color:#fff;
    margin-top:15px;
    font-size:32px;
}

.logo{
    text-align:center;
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(250,204,21,.25);
}

.gym-logo{
    width:130px;
    height:130px;
    object-fit:contain;
    display:block;
    margin:0 auto 15px;
}

.logo h1{
    color:#fff;
    margin-bottom:8px;
}

.logo p{
    color:#cbd5e1;
}

.logo p{
    color:#999;
    margin-top:8px;
}

.input-box{
    position:relative;
    margin-bottom:20px;
}

.input-box i{
    position:absolute;
    left:18px;
    top:18px;
    color:#facc15;
}

.input-box input,
.input-box select{
    width:100%;
    padding:15px 15px 15px 50px;
    border:none;
    outline:none;
    border-radius:12px;
    background:#1e293b;
    color:white;
    font-size:15px;
}

.input-box input:focus,
.input-box select:focus{
    border:2px solid #facc15;
}

.btn{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#facc15;
    color:#111;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.btn:hover{
    background:#eab308;
    transform:translateY(-3px);
}

.login-link{
    margin-top:25px;
    text-align:center;
    color:#aaa;
}

.login-link a{
    color:#facc15;
    text-decoration:none;
    font-weight:600;
}

.popup{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(0);
    background:#111827;
    width:calc(100% - 40px);
    max-width:380px;
    box-sizing:border-box;
    padding:40px;
    border-radius:25px;
    text-align:center;
    color:#fff;
    box-shadow:0 20px 50px rgba(0,0,0,.6);
    z-index:999;
    transition:.4s;
}

.popup.show{
    transform:translate(-50%,-50%) scale(1);
}

.check-container{
    display:flex;
    justify-content:center;
    margin-bottom:25px;
}

.check-circle{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#22c55e;
    display:flex;
    align-items:center;
    justify-content:center;
    animation:pop .6s ease;
}

.check-circle i{
    font-size:45px;
    color:white;
    animation:check .8s ease;
}

.popup h2{
    margin-bottom:10px;
    font-size:28px;
}

.popup p{
    color:#9ca3af;
}

@keyframes pop{
    0%{
        transform:scale(0);
    }
    80%{
        transform:scale(1.2);
    }
    100%{
        transform:scale(1);
    }
}

@keyframes check{
    from{
        opacity:0;
        transform:scale(0);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}
@keyframes slide{
    from{
        opacity:0;
        transform:translateX(100px);
    }
    to{
        opacity:1;
        transform:translateX(0);
    }
}
@media(max-width:480px){
    .register-card{
        padding:30px 22px;
    }

    .logo i{
        font-size:46px;
    }

    .logo h1{
        font-size:26px;
    }

    .popup{
        padding:30px 22px;
    }
}

.error-banner{
    background:rgba(239,68,68,0.12);
    border:1px solid #ef4444;
    color:#fca5a5;
    padding:12px 16px;
    border-radius:8px;
    margin-bottom:18px;
    font-size:14px;
    display:flex;
    align-items:center;
    gap:8px;
}
