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

body {
    background-image: linear-gradient(to bottom, #A3EDEC, #C3F866);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-box {
    width: 90%;
    max-width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 50px 60px 70px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-box h1 {
    font-size: 30px;
    margin-bottom: 30px;
    background-color: #0f5132;
    text-align: center;
    position: relative;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-box h1::after {
    content: "";
    width: 30px;
    height: 4px;
    border-radius: 3px;
    background-color: #0f5132;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.input-field {
    background: #f6f6f6;
    margin: 15px 0;
    display: flex;
    width: 100%;
    max-height: 65px;
    transition: max-height 0.5s;
    overflow: hidden;
    align-items: center;
    border-color: black;
}

input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 18px 15px;
    border-radius: 10px;
}

input  i {
    position: absolute;
    margin-left: 15px;
    color: white;
}

form p {
    text-align: left;
    font-size: 13px;
}

form p a {
    text-decoration: none; }

.btn-field {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.btn-field button {
    flex-basis: 48%;
    background: #007bff;
    color: white;
    height: 45px;
    border: none;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}
.btn-field button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.btn-field button.disabled{
    background: lightgrey;
    color: grey;
}

.input-field {
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

#nameField {
    max-height: 0;
}

#signupBtn.disabled, #signInBtn.disabled {
    background-color: #ccc;
    pointer-events: none;
}