*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif, Arial, Helvetica; 
}
:root{
    --bg-color: rgb(245, 248, 255); 
    --primary-color: rgb(126, 106, 247);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1); 
    --shadow-curve: 0 0 20px rgba(126, 106, 247, 0.3); 
    --mute-color: #777777; 
    --border-color: #ddd;
}
html{
    font-size: 10px;
}

body{
    width: 100%;
    min-height: 100vh; /* Use min-height */
    background: var(--bg-color);
    position: relative;
}
.web-logo{
    width: 200px;
}
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.topCurve{
    background: var(--primary-color);
    width: 100%;
    height: 120px; 
    border-bottom-left-radius: 60%; 
    border-bottom-right-radius: 60%;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    box-shadow: var(--shadow-curve);
}
.dash{
    width: 90%;
    max-width: 520px; 
    height: 110px;
    background: #fff; 
    box-shadow: var(--shadow-light);
    
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 15px;
    transform: translateY(50%); 
    z-index: 10;
}
.dash h1{
    font-size: 2.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}
.dash p{
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--mute-color);
}
.signup-form{ 
    width: 90%;
    max-width: 520px; 
    padding: 30px;
    display: flex;
    flex-direction: column;
    margin-top: 80px; 
    box-shadow: var(--shadow-light);
    background: #fff;
    border-radius: 15px;
    gap: 20px;
    z-index: 5;
}
.input-wraper{
    display: flex;
    flex-direction: column;
    gap: 5px; /* Reduced gap */
}
.input-wraper label{
    font-size: 1.4rem;
    font-weight: 600;
    color: #444;
}
.input-wraper input{
    border: 1px solid var(--border-color);
    padding: 14px 15px; /* More padding */
    outline: none;
    border-radius: 4px; /* Slightly more rounded corners */
    font-size: 1.4rem;
    font-weight: 400;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.input-wraper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(126, 106, 247, 0.2);
}
.input-wraper input::placeholder {
    color: var(--mute-color);
    font-weight: 300;
}

/* New: Sign Up Button Styling */
.signup-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.1s;
    letter-spacing: 0.5px;
}
.signup-btn:hover {
    background: rgb(100, 80, 220);
}
.signup-btn:active {
    transform: scale(0.99);
}

/* New: Login Link Styling */
.login-link {
    text-align: center;
    font-size: 1.4rem;
    color: var(--mute-color);
    margin-top: 5px;
}
.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.login-link a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .web-logo{
        width: 170px;
        
    }
}
/* Responsive adjustment for small screens */
@media (max-width: 500px) {
    .dash {
        width: 100%;
        max-width: 100%;
        box-shadow: unset;
        border-radius: unset;
        align-items: start;
    }
    .web-logo{
        width: 130px;
        
    }
    .topCurve{
        border-bottom-left-radius: unset;
        border-bottom-right-radius: unset;
    }
    .signup-form {
        width: 100%;
        border-radius: unset;
        margin-top:unset;
    }
    .signup-form.login{
        margin-top: unset;
    }

    .topCurve {
        height: 70px;
    }
    .signup-btn{
        border-radius: unset;
        padding: 10px;
    }
    .dash{
        transform:unset; 
    }
    .dash h1 {
        font-size: 2.5rem;
    }
    .dash p {
        font-size: 1.1rem;
    }
}