.form {
    margin: 0 0;
    max-width: 50rem;
    font-size: 1.2rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
}

.form__group--checkbox {
    outline: none;
}


.form__label {
    margin-bottom: 0.2rem;
}

.form__field {
    font-size: inherit;
    font-family: inherit;
    padding: 0.5rem 0.5rem;
    border-radius: 5px;
    border-width: 2.5px;
}

.form__field_small {
    font-size: inherit;
    font-family: inherit;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    border-width: 2.5px;
}

.form__field:focus {
    border-width: 4px;
}

.form__small {
    font-size: 1rem;
}

.form__link {
    text-decoration: none;
}

.form__link:hover {
    font-weight: bold;
    color: blue;
}

.form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form__checkbox-input {
    -webkit-appearance: none; /* Remove default browser styling (for WebKit browsers) */
    -moz-appearance: none; /* Remove default browser styling (for Firefox) */
    appearance: none; /* Standard property */
    font-size: inherit;
    font-family: inherit;
    width: 25px;
    height: 25px;
    border: 2.5px solid;
    border-radius: 5px;
    margin-bottom: 0;
    cursor: pointer; /* Add a pointer cursor for interactivity */
    position: relative;
    margin-bottom: 5px;
}

/* Add a tick mark when checked */
.form__checkbox-input:checked::after {
    content: "✔"; /* Unicode for a checkmark */
    color: black; /* Tick color */
    font-size: 20px; /* Adjust the size of the tick */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form__error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
}

.form__flash {
    color: blue;
}

.form__flash--error {
    color: red;
}


.button {
    padding: 2.5px 20px 2.5px 20px;
    border: 2.5px solid;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.button:hover {
    font-weight: bold;
    cursor: pointer;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container .form__field {
    width: 100%;
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    z-index: 1;
}

#verify-text-fields {
    display: flex;
    flex-direction: column;
    justify-content:space-between; align-items:center;
}