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


body{
    background:#f5f5f5;
    color:#111;
    overflow-x:hidden;
    min-height:100vh;
   
}

/* ================= BUBBLE BACKGROUND ================= */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -120px;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 12s linear infinite, fade 5s infinite alternate;
}

/* Individual bubbles */
.bubble:nth-child(1){
    width: 60px;
    height: 60px;
    background:#0056b3;
    left:10%;
    animation-delay:0s;
}

.bubble:nth-child(2){
    width: 30px;
    height: 30px;
    background:#333;
    left:30%;
    animation-delay:2s;
}

.bubble:nth-child(3){
    width: 45px;
    height: 45px;
    background:#888;
    left:50%;
    animation-delay:4s;
}

.bubble:nth-child(4){
    width: 70px;
    height: 70px;
    background:#0056b3;
    left:70%;
    animation-delay:1s;
}

.bubble:nth-child(5){
    width: 25px;
    height: 25px;
    background:#333;
    left:85%;
    animation-delay:3s;
}


/* Floating animation */
@keyframes float {
    0%   { transform: translateY(0) scale(1); }
    50%  { transform: translateY(-60vh) scale(1.1); }
    100% { transform: translateY(-120vh) scale(1); }
}

 @keyframes fade {
    0%   { opacity:0.3; }
    100% { opacity:0.8; }
}

/* ===== Modal Styling ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

/* IMPORTANT FIX HERE */
.modal-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 25px 20px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    border: 1.5px solid #0056b3;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    animation: slidedown 0.3s ease-in-out;
}
.auth-container{
    position:relative;
    z-index:10;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.auth-box{
    background:rgba(250, 251, 251, 0.64);
    backdrop-filter: blur(10px);
    padding:40px 35px;
    width:350px;
    border-radius:15px;
    border:1.5px solid #0056b3;
    display:flex;
    flex-direction:column;
    gap:15px;
    box-shadow:0 10px 30px rgba(0,86,179,0.15);
    animation: fadeIn 0.5s ease;
}

.auth-box h2{
    text-align:center;
    color:#0056b3;
    font-size:1.8rem;
    margin-bottom:10px;
}

.auth-box input{
    width:100%;
    background:rgba(250, 251, 251, 0.9);
    backdrop-filter: blur(10px);
    padding:12px;
    border-radius:8px;
    border:1px solid #ccc;
    outline:none;
    font-size:14px;
    transition:0.3s;
}

.auth-box input:focus{
    border-color:#0056b3;
    box-shadow:0 0 6px rgba(0,86,179,0.3);
}

.auth-box button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:8px;
    background:#075ff7c4;
    backdrop-filter: blur(10px);
    color:white;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.auth-box button:hover{
    background:#003f85;
    transform:translateY(-2px);
}

/* Bottom text */
.auth-box p{
    text-align:center;
    font-size:13px;
    color:#555;
}

.auth-box span{
    color:#0056b3;
    font-weight:bold;
    cursor:pointer;
    text-decoration:underline;
}

/* Fade in card */
@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media screen and (max-width: 550px) {
    .auth-box{
        width:95%;
       height: 100%;
        padding:30px 20px;
    }
    
    
}