@import url('../partial/style.main.css');

.wrap {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1.7rem;
    height: fit-content;
    background-color: var(--primary);
    border-radius: 1rem;
    width: 25%;
}

form
h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: -.7rem;
    text-align: center;
}

label {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: .7rem;
}

input {
    padding: .5rem;
    padding-right: 2rem;
    font-size: 1rem;
    border: 2px solid var(--primary);
    background-color: white;
    color: black;
    vertical-align: middle;
    font: inherit;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 1.5rem;
}

input::placeholder {
    color: gray;
}

input:-ms-input-placeholder {
    color: gray;
}

input::-webkit-input-placeholder {
    color: gray;
}

input::-moz-placeholder {
    color: gray;
}

input[type="checkbox"] {
    display: none;
}

.remember {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
}

.remember
label {
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    cursor: pointer;
}

.remember
label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid black;
    border-radius: 0.2rem;
    background-color: white;
    box-sizing: border-box;
}

.remember
input:checked + label::after {
    content: "✔";
    position: absolute;
    left: 0.15rem;
    top: 0.05rem;
    font-size: 1rem;
    color: var(--primary);
    font-weight: bold;
}

button {
    margin-top: 1rem;
    background-color: white;
    padding: .5rem;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
    border: 3px solid white;
    border-radius: .5rem;
    cursor: pointer;
}

button:hover {
    color: white;
    background: none;
    border: 3px solid white;
}

.g-recaptcha {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}
