.form-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;

    input:not([type="checkbox"]) {
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        -webkit-text-fill-color:  #222 !important;
        -webkit-box-shadow:      0 0 0px 1000px #fff inset !important;
        box-shadow:      0 0 0px 1000px #fff inset !important;
        transition: background-color 5000s ease-in-out 0s !important;

        &:focus {
            outline: none;
            border-color: var(--brand-color);
            box-shadow:
                inset 0 1px 2px rgba(0,0,0,0.05),
                0 0 0 3px rgba(0,116,228,0.3);
        }
    }

    .password {
        position: relative;

        .toggle-password {
            position: absolute;
            top: 50%;
            right: 0.75rem;
            transform: translateY(-50%);
            border: none;
            background: none;
            padding: 0;
            cursor: pointer;
            line-height: 1;
          }
    }

    .fieldError {
        color: var(--field-error);
        
        input {
            border-color: var(--field-error);
        }
    }

    .permissions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 16px;

        input[type="checkbox"] {
            margin: 0;
            padding: 0;
            position: initial;
            accent-color: var(--brand-color);
        }

        .checkbox {
            display: flex;
            gap: 10px;
            margin: 0;
            padding: 0;
        }

        .permission-wrapper {
            display: flex;
            flex-direction: column;
        }
    }
}