:root {
    --success-color: #2691d9;
    --error-color: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(120deg, #3ca7ee, #9b408f);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 400px;
    border: none;
    border-radius: 10px;
    background: white;
    padding: 40px;
}

.container h1 {
    text-align: center;
}

.form-control {
    width: 100%;
    position: relative;
    margin-top: 40px;
}

.form-control input {
    width: 100%;
    height: 40px;
    font-size: 16px;
    border: none;
    outline: none;
    border-bottom: 2px solid #dadada;
}

.form-control span {
    position: absolute;
    width: 0%;
    top: 38px;
    left: 0;
    border-bottom: 2px solid var(--success-color);
    transition: 0.3s;
}

.form-control input:focus ~ span {
    width: 100%;
}

.form-control.error small {
    color: var(--error-color);
}

.form-control.error input {
    border-bottom: 2px solid var(--error-color);
}

.btn-submit {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: none;
    outline: none;
    background: var(--success-color);
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 25px 0;
    cursor: pointer;
    transition: 0.1s;
}

.btn-submit:hover {
    background: #08609a;
}

.signup-link {
    text-align: center;
}

.signup-link a {
    color: var(--success-color);
    text-decoration: none;
}

.signup-link a:hover {
    text-decoration: underline;
}







