@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    border: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

label, a {
    color: #fff;
}

.mt-1 {
    margin-top: 1rem;
}

.fundoTrans {
    background: rgba(43, 43, 43, 0) !important;
    border-radius: 8px !important;
    border-color: rgba(0, 0, 0, 0) !important;
    outline: none !important; 
    height: 45px !important;
}

.form-control {
    background-color: transparent !important;
    border: none !important;
}

/* Remove fundo branco do autofill no Chrome */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.87) !important;
    transition: background-color 9999s ease-in-out 0s;
}
input:-webkit-autofill {
    -webkit-background-clip: text;
}

.container {
    background: rgba(22, 22, 22, 0.39);
    padding: 2rem;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.container h2 {
    font-weight: 600;
    margin-bottom: 2rem;
    position: relative;
}

.container h2::before {
    content: '';
    position: absolute;
    height: 4px;
    width: 35px;
    bottom: 3px;
    left: 0;
    border-radius: 8px;
    background: linear-gradient(45deg, #ff3f3f, #ff0000);
}

form {
    display: flex;
    flex-direction: column;
}

.input-field {
    position: relative;
}

form .input-field:first-child {
    margin-bottom: 1.5rem;
}

.input-field .underline::before {
    content: '';
    position: absolute;
    height: 1px;
    width: 96%;
    bottom: -5px;
    left: 11px;
    background: rgba(255, 255, 255, 0.384);
}

.input-field .underline::after {
    content: '';
    position: absolute;
    height: 1px;
    width: 96%;
    bottom: -5px;
    left: 11px;
    background: linear-gradient(45deg, #ff3f3f, #ff0000);
    transform: scaleX(0);
    transition: all .3s ease-in-out;
    transform-origin: left;
}

.input-field input:focus ~ .underline::after {
    transform: scaleX(1);
}

.input-field input {
    outline: none;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.87);
    width: 100%;
}

.input-field input::placeholder {
    color: rgba(255, 255, 255, 0.493);
}

.btn-red {
    padding: 0.4rem;
    width: 100%;
    background: linear-gradient(to left, #ff6161, #ff0000);
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
    font-weight: 300;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-align: center;
}

.btn-red:hover {
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #ff6161, #ff0000);
    color: white !important;
    text-decoration: none !important;
    text-align: center;
}