body { 
    margin: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    text-align: center;
    user-select: none;
    align-items: center;
    font-family: "Poppins", sans-serif;
    background: linear-gradient(135deg, #5988ec, #013feb, #0f172a);
}

.circle1 {
     position:absolute;
    z-index: 1;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #38bdf8;
    filter: blur(70px);
    top: -20px;
    right: 10px;
    animation: float 8s ease-in-out infinite;
}

.circle2 {
    position:absolute;
    z-index: 1;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: #699dff;
    filter: blur(60px);
    bottom: 10px;
    left : 90px;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translate(0px, 0px);
    }
    25%{
        transform: translate(-30px, 20px);
    }
    50% {
        transform: translate(20px, -20px);
    }
    75% {
        transform: translate(-15px, 25px);
    }
    100% {
        transform: translate(0px, 0px);
    }
}

.singupBox {
    width: 600px;
    padding-top: 55px;
    padding:60px;
    padding-bottom: 90px;
    background-color: white;
    border: 0px solid black;
    box-shadow: 0px 0px 10px gray;
    height: 650px;
    border: 1.5px solid rgba(255,255,255,0.35);
    box-shadow:inset 0 1px 1px rgba(255,255,255,0.35), 0 25px 60px rgba(0,0,0,0.30);
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.00));
    backdrop-filter: blur(10px);
    color:white;
    border-radius: 18px;
}

input:not([type="checkbox"]) {
    width: 100%;
    height: 45px;
    margin-bottom: 5px;
    padding: 0 15px;
    font-size: 15px;
    border-radius: 5px;
    box-sizing: border-box;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.12);
    color: white;
}



input:not([type="checkbox"]):focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255,255,255,0.25);
}

.termsBox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
    margin-bottom: 0px;
    margin-top: 0px;
}

#terms {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.termsBox input {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-left: 1px;
    cursor: pointer;
}

.termsBox label {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 10px;
    cursor: pointer;
    color:white;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.termsBox label::before {
     content: "";
    width: 22px;
    height: 16px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(8px);
    transition: 0.3s;
}

#terms:checked + label::before {
    background: #38bdf8;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56,189,248,.7);
}

#terms:checked + label::after {
    content: "\2714";
    position: absolute;
    margin-left: 7px;
    margin-top: 0px;
    font-size: 12px;
    color: white;
}

#termsBoxError {
    margin-top: 10px;
    font-weight: 550;
}

h1 {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 1px;
}

.singupForm > label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-bottom: 6px;
}

.loginBox {
    font-weight: 550;
    text-align: center;
    margin-top: 30px;
    font-size: 16px
}

#createAccountBtn {
   cursor: pointer;
    border-radius: 5px;
    padding: 10px 40px;
    margin-top: 2px;
    border: none;
    transition: all 0.3s ease;
    background: rgba(0,170,255,0.45);
    backdrop-filter: blur(15px);
    color: white;
    font-weight: bold;
    font-size: 15px;
    width: 100%;
    height: 47px;
    box-shadow: 0 10px 25px rgba(37,00,235,.4);
    
}

#createAccountBtn:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(56,189,248,0.55);
    
}

#createAccountBtn:active {
    transform: translateY(-1px) scale(.98);
}

.buttonBox {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 18px;
}

#loginLink {
    color: rgb(198, 232, 243);
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    margin-left: 5px;
}

#loginLink:hover {
    text-decoration: underline;
    text-shadow: 0 0 8px rgb(98, 181, 230);
    color: #ffffff;
}


.passwordBox {
    position: relative;
}

.togglePassword {
    position: absolute;
    right: 18px;
    top: 35%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
}

input::placeholder {
    font-size: 14px;
}

 #eyeIcon {
   position: absolute;
    font-size: 15px;
    top: 5px;
    right: 25px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: 0.3s;
    color: rgba(255,255,255,0.75)
}

#eyeIcon:hover {
    color: white;
    text-shadow: 0 0 8px rgba(255,255,255,0.7);
}

.errorMessage {
    color: #f85748;
    font-size: 14px;
    font-weight: 600;
    margin: 2px 0 12px 0;
    text-align: left;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-height: 18px;
}

.errorMessage.show {
    opacity: 1;
    transform: translateY(0);
}

input::placeholder {
    color: rgba(255,255,255,0.7)
}

.activeLabel {
    color: white;
    text-shadow: 0 0 15px rgba(255,255,255,0.9);
    transition: 0.3s;
}

.divider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.25);
}

.divider span{
    margin: 0 12px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.07) inset !important;
    box-shadow: 0 0 0 1000px rgba(255,255,255,0.07) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

@media (max-width: 768px) {
    .singupBox {
        width: calc(90% - 40px);
        padding: 35px 25px;
        min-height: 700px;
    }

    #singupBtn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .loginBox {
        width: 100%;
        text-align: center;
        margin-top: 20px;
        padding: 0 10px;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    .singupBox {
        width: calc(90% - 40px);
        padding: 25px 20px;
        height: 700px;
    }

    .singupBox h1 {
        font-size: 38px;
    }

    .singupBox input {
        height: 45px;
        font-size: 15px;
    }


    .circle1 {
        width: 160px;
        height: 160px;
    }

    .circle2 {
        width: 200px;
        height: 200px;
    }

    }
    
